@icij/murmur-next 4.0.3 → 4.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Brand.vue +9 -9
- package/lib/components/OrdinalLegend.vue +1 -1
- package/lib/components/RangePicker.vue +15 -8
- package/lib/components/SelectableDropdown.vue +2 -1
- package/lib/composables/chart.ts +10 -7
- package/lib/composables/resizeObserver.ts +1 -1
- package/lib/composables/sendEmail.ts +0 -1
- package/lib/config.ts +2 -2
- package/lib/locales/en.json +1 -1
- package/lib/locales/fr.json +1 -1
- package/lib/main.ts +18 -12
- package/lib/maps/ChoroplethMap.vue +1 -1
- package/lib/maps/ChoroplethMapAnnotation.vue +2 -2
- package/lib/maps/SymbolMap.vue +5 -4
- package/lib/shims-pym.d.ts +7 -0
- package/lib/shims-vue.d.ts +1 -1
- package/lib/types.ts +5 -5
- package/lib/utils/iframe-resizer.ts +1 -1
- package/lib/utils/placeholder.ts +0 -1
- package/package.json +44 -40
- package/dist/lib/components/AccordionStep.vue.d.ts +0 -79
- package/dist/lib/components/AccordionWrapper.vue.d.ts +0 -33
- package/dist/lib/components/ActiveTextTruncate.vue.d.ts +0 -101
- package/dist/lib/components/AdvancedLinkForm.vue.d.ts +0 -168
- package/dist/lib/components/Brand.vue.d.ts +0 -55
- package/dist/lib/components/BrandExpansion.vue.d.ts +0 -105
- package/dist/lib/components/ConfirmButton.vue.d.ts +0 -158
- package/dist/lib/components/ContentPlaceholder.vue.d.ts +0 -44
- package/dist/lib/components/CustomPagination.vue.d.ts +0 -130
- package/dist/lib/components/DigitsInput.vue.d.ts +0 -66
- package/dist/lib/components/DonateForm.vue.d.ts +0 -46
- package/dist/lib/components/EmbedForm.vue.d.ts +0 -121
- package/dist/lib/components/EmbeddableFooter.vue.d.ts +0 -103
- package/dist/lib/components/FollowUsPopover.vue.d.ts +0 -16
- package/dist/lib/components/GenericFooter.vue.d.ts +0 -47
- package/dist/lib/components/GenericHeader.vue.d.ts +0 -928
- package/dist/lib/components/HapticCopy.vue.d.ts +0 -156
- package/dist/lib/components/ImddbHeader.vue.d.ts +0 -960
- package/dist/lib/components/OrdinalLegend.vue.d.ts +0 -87
- package/dist/lib/components/RangePicker.vue.d.ts +0 -196
- package/dist/lib/components/ResponsiveIframe.vue.d.ts +0 -45
- package/dist/lib/components/ScaleLegend.vue.d.ts +0 -101
- package/dist/lib/components/SecretInput.vue.d.ts +0 -99
- package/dist/lib/components/SelectableDropdown.vue.d.ts +0 -210
- package/dist/lib/components/SharingOptions.vue.d.ts +0 -153
- package/dist/lib/components/SharingOptionsLink.vue.d.ts +0 -200
- package/dist/lib/components/SignUpForm.vue.d.ts +0 -141
- package/dist/lib/components/SlideUpDown.vue.d.ts +0 -74
- package/dist/lib/components/TexturedDeck.vue.d.ts +0 -89
- package/dist/lib/components/TinyPagination.vue.d.ts +0 -188
- package/dist/lib/composables/chart.d.ts +0 -48
- package/dist/lib/composables/resizeObserver.d.ts +0 -22
- package/dist/lib/composables/sendEmail.d.ts +0 -6
- package/dist/lib/config.d.ts +0 -19
- package/dist/lib/config.default.d.ts +0 -34
- package/dist/lib/datavisualisations/BarChart.vue.d.ts +0 -234
- package/dist/lib/datavisualisations/ColumnChart.vue.d.ts +0 -404
- package/dist/lib/datavisualisations/LineChart.vue.d.ts +0 -200
- package/dist/lib/datavisualisations/StackedBarChart.vue.d.ts +0 -342
- package/dist/lib/datavisualisations/StackedColumnChart.vue.d.ts +0 -412
- package/dist/lib/enums.d.ts +0 -32
- package/dist/lib/i18n.d.ts +0 -4
- package/dist/lib/keys.d.ts +0 -2
- package/dist/lib/main.d.ts +0 -52
- package/dist/lib/maps/ChoroplethMap.vue.d.ts +0 -460
- package/dist/lib/maps/ChoroplethMapAnnotation.vue.d.ts +0 -188
- package/dist/lib/maps/SymbolMap.vue.d.ts +0 -276
- package/dist/lib/murmur.css +0 -1
- package/dist/lib/murmur.js +0 -44661
- package/dist/lib/murmur.js.map +0 -1
- package/dist/lib/murmur.umd.cjs +0 -837
- package/dist/lib/murmur.umd.cjs.map +0 -1
- package/dist/lib/types.d.ts +0 -44
- package/dist/lib/utils/animation.d.ts +0 -8
- package/dist/lib/utils/assets.d.ts +0 -2
- package/dist/lib/utils/clipboard.d.ts +0 -2
- package/dist/lib/utils/iframe-resizer.d.ts +0 -10
- package/dist/lib/utils/placeholder.d.ts +0 -12
- package/dist/lib/utils/placeholderTypes.d.ts +0 -18
- package/dist/lib/utils/strings.d.ts +0 -1
- package/lib/locales/locales/en.json +0 -140
- package/lib/locales/locales/fr.json +0 -117
package/dist/lib/murmur.umd.cjs
DELETED
|
@@ -1,837 +0,0 @@
|
|
|
1
|
-
(function(Ce,a){typeof exports=="object"&&typeof module!="undefined"?a(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],a):(Ce=typeof globalThis!="undefined"?globalThis:Ce||self,a(Ce["@icij/murmur"]={},Ce.Vue))})(this,function(Ce,a){"use strict";var G7e=Object.defineProperty,Y7e=Object.defineProperties;var q7e=Object.getOwnPropertyDescriptors;var O1=Object.getOwnPropertySymbols;var xA=Object.prototype.hasOwnProperty,EA=Object.prototype.propertyIsEnumerable;var p3=(Ce,a)=>(a=Symbol[Ce])?a:Symbol.for("Symbol."+Ce),g3=Math.pow,m3=(Ce,a,bt)=>a in Ce?G7e(Ce,a,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Ce[a]=bt,de=(Ce,a)=>{for(var bt in a||(a={}))xA.call(a,bt)&&m3(Ce,bt,a[bt]);if(O1)for(var bt of O1(a))EA.call(a,bt)&&m3(Ce,bt,a[bt]);return Ce},Le=(Ce,a)=>Y7e(Ce,q7e(a));var ar=(Ce,a)=>{var bt={};for(var an in Ce)xA.call(Ce,an)&&a.indexOf(an)<0&&(bt[an]=Ce[an]);if(Ce!=null&&O1)for(var an of O1(Ce))a.indexOf(an)<0&&EA.call(Ce,an)&&(bt[an]=Ce[an]);return bt};var Bc=(Ce,a,bt)=>(m3(Ce,typeof a!="symbol"?a+"":a,bt),bt);var Ge=(Ce,a,bt)=>new Promise((an,Wt)=>{var xn=Ln=>{try{I(bt.next(Ln))}catch(Ol){Wt(Ol)}},Ja=Ln=>{try{I(bt.throw(Ln))}catch(Ol){Wt(Ol)}},I=Ln=>Ln.done?an(Ln.value):Promise.resolve(Ln.value).then(xn,Ja);I((bt=bt.apply(Ce,a)).next())}),K7e=function(Ce,a){this[0]=Ce,this[1]=a};var BA=Ce=>{var a=Ce[p3("asyncIterator")],bt=!1,an,Wt={};return a==null?(a=Ce[p3("iterator")](),an=xn=>Wt[xn]=Ja=>a[xn](Ja)):(a=a.call(Ce),an=xn=>Wt[xn]=Ja=>{if(bt){if(bt=!1,xn==="throw")throw Ja;return Ja}return bt=!0,{done:!1,value:new K7e(new Promise(I=>{var Ln=a[xn](Ja);if(!(Ln instanceof Object))throw TypeError("Object expected");I(Ln)}),1)}}),Wt[p3("iterator")]=()=>Wt,an("next"),"throw"in a?an("throw"):Wt.throw=xn=>{throw xn},"return"in a&&an("return"),Wt};var bt=Object.defineProperty,an=(e,t,n)=>t in e?bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wt=(e,t,n)=>(an(e,typeof t!="symbol"?t+"":t,n),n);const xn=e=>a.computed(()=>{const t=a.toValue(e);return t?`justify-content-${t}`:""}),Ja=e=>typeof e=="boolean"||e==="true"||e==="false",I=e=>a.computed(()=>{const t=a.toValue(e);return Ja(t)?!!t:t}),Ln=(e,t)=>{const n=I(e),r=a.toRef(t);return a.computed(()=>n.value===!0?"true":typeof n.value=="string"?n.value:r.value===!1?"true":n.value===!1?"false":void 0)},Ol=/_/g,y3=/([a-z])([A-Z])/g,NA=/^[0-9]*\.?[0-9]+$/,TA=/(\s|^)(\w)/g,$A=/(\s|^)(\w)/,Lf=/\s+/,AA=/^#/,OA=/^#[A-Za-z]+[\w\-:.]*$/,MA=/[-/\\^$*+?.()|[\]{}]/g,PA=/[\s\uFEFF\xA0]+/g,M1=e=>a.computed(()=>{const t=a.toValue(e);return NA.test(String(t))?`${Number(t)}px`:t});class Ro{constructor(t,n={}){if(Wt(this,"cancelable",!0),Wt(this,"componentId",null),Wt(this,"_defaultPrevented",!1),Wt(this,"eventType",""),Wt(this,"nativeEvent",null),Wt(this,"_preventDefault"),Wt(this,"relatedTarget",null),Wt(this,"target",null),!t)throw new TypeError(`Failed to construct '${this.constructor.name}'. 1 argument required, ${arguments.length} given.`);Object.assign(this,Ro.Defaults,n,{eventType:t}),this._preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)}}get defaultPrevented(){return this._defaultPrevented}set defaultPrevented(t){this._defaultPrevented=t}get preventDefault(){return this._preventDefault}set preventDefault(t){this._preventDefault=t}static get Defaults(){return{cancelable:!0,componentId:null,eventType:"",nativeEvent:null,relatedTarget:null,target:null}}}class Ml extends Ro{constructor(t,n={}){super(t,n),Wt(this,"trigger",null),Object.assign(this,Ro.Defaults,n,{eventType:t})}static get Defaults(){return Le(de({},super.Defaults),{trigger:null})}}class IA extends Ro{constructor(t,n){super(t,n),Wt(this,"from"),Wt(this,"to"),Wt(this,"direction"),Object.assign(this,Ro.Defaults,n,{eventType:t});const{from:r,direction:o,to:i}=n;this.from=r,this.to=i,this.direction=o}static get Defaults(){return de({},super.Defaults)}}const VA=(e,t={})=>{const n=(o=[])=>{const{activeElement:i}=document;return i&&!o.some(l=>l===i)?i:null},r=o=>o===n();try{e.focus(t)}catch(o){console.error(o)}return r(e)},bn=e=>{var t;return((t=e==null?void 0:e())!=null?t:[]).length===0},RA=e=>{if(e.getAttribute("display")==="none")return!1;const t=e.getBoundingClientRect();return!!(t&&t.height>0&&t.width>0)},P1=e=>{const t=window.getComputedStyle(e),n=t.transitionDelay.split(",")[0]||"",r=t.transitionDuration.split(",")[0]||"",o=Number(n.slice(0,-1))*1e3,i=Number(r.slice(0,-1))*1e3;return o+i},I1=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",LA=e=>(()=>{let t=!1;if(I1)try{const n={get passive(){t=!0}};WINDOW.addEventListener("test",n,n),WINDOW.removeEventListener("test",n,n)}catch(n){t=!1}return t})()?typeof e=="object"?e:{capture:!!e||!1}:typeof e=="object"?e.capture:e,DA=(e,t,n,r)=>{e&&e.addEventListener&&e.addEventListener(t,n,LA(r))},zA=(e,t,n,r)=>{e&&e.removeEventListener&&e.removeEventListener(t,n,r)},v3=(e,t)=>{(e?DA:zA)(...t)},FA=["TD","TH","TR"],HA=["a","a *","button","button *","input:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])","textarea:not(.disabled):not([disabled])",'[role="link"]','[role="link"] *','[role="button"]','[role="button"] *',"[tabindex]:not(.disabled):not([disabled])"].join(","),Df=e=>{if(!e||!e.target)return!1;const t=e.target;if("disabled"in t&&t.disabled||FA.indexOf(t.tagName)!==-1)return!1;if(t.closest(".dropdown-menu"))return!0;const n=t.tagName==="LABEL"?t:t.closest("label");if(n){const r=n.getAttribute("for"),o=r?document.getElementById(r):n.querySelector("input, select, textarea");if(o&&!o.disabled)return!0}return t.matches(HA)},b3=["top","right","bottom","left"],_3=["start","end"],w3=b3.reduce((e,t)=>e.concat(t,t+"-"+_3[0],t+"-"+_3[1]),[]),aa=Math.min,En=Math.max,zf=Math.round,Ff=Math.floor,Lo=e=>({x:e,y:e}),UA={left:"right",right:"left",bottom:"top",top:"bottom"},WA={start:"end",end:"start"};function V1(e,t,n){return En(e,aa(t,n))}function Qa(e,t){return typeof e=="function"?e(t):e}function Pr(e){return e.split("-")[0]}function oa(e){return e.split("-")[1]}function S3(e){return e==="x"?"y":"x"}function R1(e){return e==="y"?"height":"width"}function Pl(e){return["top","bottom"].includes(Pr(e))?"y":"x"}function L1(e){return S3(Pl(e))}function k3(e,t,n){n===void 0&&(n=!1);const r=oa(e),o=L1(e),i=R1(o);let l=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Uf(l)),[l,Uf(l)]}function jA(e){const t=Uf(e);return[Hf(e),t,Hf(t)]}function Hf(e){return e.replace(/start|end/g,t=>WA[t])}function GA(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:l;default:return[]}}function YA(e,t,n,r){const o=oa(e);let i=GA(Pr(e),n==="start",r);return o&&(i=i.map(l=>l+"-"+o),t&&(i=i.concat(i.map(Hf)))),i}function Uf(e){return e.replace(/left|right|bottom|top/g,t=>UA[t])}function qA(e){return de({top:0,right:0,bottom:0,left:0},e)}function D1(e){return typeof e!="number"?qA(e):{top:e,right:e,bottom:e,left:e}}function Il(e){return Le(de({},e),{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function C3(e,t,n){let{reference:r,floating:o}=e;const i=Pl(t),l=L1(t),s=R1(l),c=Pr(t),u=i==="y",d=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,m=r[s]/2-o[s]/2;let g;switch(c){case"top":g={x:d,y:r.y-o.height};break;case"bottom":g={x:d,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:p};break;case"left":g={x:r.x-o.width,y:p};break;default:g={x:r.x,y:r.y}}switch(oa(t)){case"start":g[l]-=m*(n&&u?-1:1);break;case"end":g[l]+=m*(n&&u?-1:1);break}return g}const KA=(e,t,n)=>Ge(this,null,function*(){const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),c=yield l.isRTL==null?void 0:l.isRTL(t);let u=yield l.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:p}=C3(u,r,c),m=r,g={},v=0;for(let w=0;w<s.length;w++){const{name:_,fn:y}=s[w],{x:C,y:S,data:k,reset:x}=yield y({x:d,y:p,initialPlacement:r,placement:m,strategy:o,middlewareData:g,rects:u,platform:l,elements:{reference:e,floating:t}});d=C!=null?C:d,p=S!=null?S:p,g=Le(de({},g),{[_]:de(de({},g[_]),k)}),x&&v<=50&&(v++,typeof x=="object"&&(x.placement&&(m=x.placement),x.rects&&(u=x.rects===!0?yield l.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:d,y:p}=C3(u,m,c)),w=-1)}return{x:d,y:p,placement:m,strategy:o,middlewareData:g}});function Vl(e,t){return Ge(this,null,function*(){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:l,elements:s,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=Qa(t,e),v=D1(g),w=s[m?p==="floating"?"reference":"floating":p],_=Il(yield i.getClippingRect({element:(n=yield i.isElement==null?void 0:i.isElement(w))==null||n?w:w.contextElement||(yield i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:c})),y=p==="floating"?Le(de({},l.floating),{x:r,y:o}):l.reference,C=yield i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating),S=(yield i.isElement==null?void 0:i.isElement(C))?(yield i.getScale==null?void 0:i.getScale(C))||{x:1,y:1}:{x:1,y:1},k=Il(i.convertOffsetParentRelativeRectToViewportRelativeRect?yield i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:C,strategy:c}):y);return{top:(_.top-k.top+v.top)/S.y,bottom:(k.bottom-_.bottom+v.bottom)/S.y,left:(_.left-k.left+v.left)/S.x,right:(k.right-_.right+v.right)/S.x}})}const XA=e=>({name:"arrow",options:e,fn(n){return Ge(this,null,function*(){const{x:r,y:o,placement:i,rects:l,platform:s,elements:c,middlewareData:u}=n,{element:d,padding:p=0}=Qa(e,n)||{};if(d==null)return{};const m=D1(p),g={x:r,y:o},v=L1(i),w=R1(v),_=yield s.getDimensions(d),y=v==="y",C=y?"top":"left",S=y?"bottom":"right",k=y?"clientHeight":"clientWidth",x=l.reference[w]+l.reference[v]-g[v]-l.floating[w],B=g[v]-l.reference[v],N=yield s.getOffsetParent==null?void 0:s.getOffsetParent(d);let $=N?N[k]:0;(!$||!(yield s.isElement==null?void 0:s.isElement(N)))&&($=c.floating[k]||l.floating[w]);const T=x/2-B/2,M=$/2-_[w]/2-1,A=aa(m[C],M),F=aa(m[S],M),z=A,O=$-_[w]-F,L=$/2-_[w]/2+T,V=V1(z,L,O),H=!u.arrow&&oa(i)!=null&&L!==V&&l.reference[w]/2-(L<z?A:F)-_[w]/2<0,G=H?L<z?L-z:L-O:0;return{[v]:g[v]+G,data:de({[v]:V,centerOffset:L-V-G},H&&{alignmentOffset:G}),reset:H}})}});function ZA(e,t,n){return(e?[...n.filter(r=>oa(r)===e),...n.filter(r=>oa(r)!==e)]:n.filter(r=>Pr(r)===r)).filter(r=>e?oa(r)===e||(t?Hf(r)!==r:!1):!0)}const JA=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,fn(n){return Ge(this,null,function*(){var r,o,i;const{rects:l,middlewareData:s,placement:c,platform:u,elements:d}=n,M=Qa(e,n),{crossAxis:p=!1,alignment:m,allowedPlacements:g=w3,autoAlignment:v=!0}=M,w=ar(M,["crossAxis","alignment","allowedPlacements","autoAlignment"]),_=m!==void 0||g===w3?ZA(m||null,v,g):g,y=yield Vl(n,w),C=((r=s.autoPlacement)==null?void 0:r.index)||0,S=_[C];if(S==null)return{};const k=k3(S,l,yield u.isRTL==null?void 0:u.isRTL(d.floating));if(c!==S)return{reset:{placement:_[0]}};const x=[y[Pr(S)],y[k[0]],y[k[1]]],B=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:S,overflows:x}],N=_[C+1];if(N)return{data:{index:C+1,overflows:B},reset:{placement:N}};const $=B.map(A=>{const F=oa(A.placement);return[A.placement,F&&p?A.overflows.slice(0,2).reduce((z,O)=>z+O,0):A.overflows[0],A.overflows]}).sort((A,F)=>A[1]-F[1]),T=((i=$.filter(A=>A[2].slice(0,oa(A[0])?2:3).every(F=>F<=0))[0])==null?void 0:i[0])||$[0][0];return T!==c?{data:{index:C+1,overflows:B},reset:{placement:T}}:{}})}}},QA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn(n){return Ge(this,null,function*(){var r,o;const{placement:i,middlewareData:l,rects:s,initialPlacement:c,platform:u,elements:d}=n,z=Qa(e,n),{mainAxis:p=!0,crossAxis:m=!0,fallbackPlacements:g,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:_=!0}=z,y=ar(z,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((r=l.arrow)!=null&&r.alignmentOffset)return{};const C=Pr(i),S=Pr(c)===c,k=yield u.isRTL==null?void 0:u.isRTL(d.floating),x=g||(S||!_?[Uf(c)]:jA(c));!g&&w!=="none"&&x.push(...YA(c,_,w,k));const B=[c,...x],N=yield Vl(n,y),$=[];let T=((o=l.flip)==null?void 0:o.overflows)||[];if(p&&$.push(N[C]),m){const O=k3(i,s,k);$.push(N[O[0]],N[O[1]])}if(T=[...T,{placement:i,overflows:$}],!$.every(O=>O<=0)){var M,A;const O=(((M=l.flip)==null?void 0:M.index)||0)+1,L=B[O];if(L)return{data:{index:O,overflows:T},reset:{placement:L}};let V=(A=T.filter(H=>H.overflows[0]<=0).sort((H,G)=>H.overflows[1]-G.overflows[1])[0])==null?void 0:A.placement;if(!V)switch(v){case"bestFit":{var F;const H=(F=T.map(G=>[G.placement,G.overflows.filter(W=>W>0).reduce((W,ne)=>W+ne,0)]).sort((G,W)=>G[1]-W[1])[0])==null?void 0:F[0];H&&(V=H);break}case"initialPlacement":V=c;break}if(i!==V)return{reset:{placement:V}}}return{}})}}};function x3(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function E3(e){return b3.some(t=>e[t]>=0)}const eO=function(e){return e===void 0&&(e={}),{name:"hide",options:e,fn(n){return Ge(this,null,function*(){const{rects:r}=n,l=Qa(e,n),{strategy:o="referenceHidden"}=l,i=ar(l,["strategy"]);switch(o){case"referenceHidden":{const s=yield Vl(n,Le(de({},i),{elementContext:"reference"})),c=x3(s,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:E3(c)}}}case"escaped":{const s=yield Vl(n,Le(de({},i),{altBoundary:!0})),c=x3(s,r.floating);return{data:{escapedOffsets:c,escaped:E3(c)}}}default:return{}}})}}};function B3(e){const t=aa(...e.map(i=>i.left)),n=aa(...e.map(i=>i.top)),r=En(...e.map(i=>i.right)),o=En(...e.map(i=>i.bottom));return{x:t,y:n,width:r-t,height:o-n}}function tO(e){const t=e.slice().sort((o,i)=>o.y-i.y),n=[];let r=null;for(let o=0;o<t.length;o++){const i=t[o];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(o=>Il(B3(o)))}const nO=function(e){return e===void 0&&(e={}),{name:"inline",options:e,fn(n){return Ge(this,null,function*(){const{placement:r,elements:o,rects:i,platform:l,strategy:s}=n,{padding:c=2,x:u,y:d}=Qa(e,n),p=Array.from((yield l.getClientRects==null?void 0:l.getClientRects(o.reference))||[]),m=tO(p),g=Il(B3(p)),v=D1(c);function w(){if(m.length===2&&m[0].left>m[1].right&&u!=null&&d!=null)return m.find(y=>u>y.left-v.left&&u<y.right+v.right&&d>y.top-v.top&&d<y.bottom+v.bottom)||g;if(m.length>=2){if(Pl(r)==="y"){const A=m[0],F=m[m.length-1],z=Pr(r)==="top",O=A.top,L=F.bottom,V=z?A.left:F.left,H=z?A.right:F.right,G=H-V,W=L-O;return{top:O,bottom:L,left:V,right:H,width:G,height:W,x:V,y:O}}const y=Pr(r)==="left",C=En(...m.map(A=>A.right)),S=aa(...m.map(A=>A.left)),k=m.filter(A=>y?A.left===S:A.right===C),x=k[0].top,B=k[k.length-1].bottom,N=S,$=C,T=$-N,M=B-x;return{top:x,bottom:B,left:N,right:$,width:T,height:M,x:N,y:x}}return g}const _=yield l.getElementRects({reference:{getBoundingClientRect:w},floating:o.floating,strategy:s});return i.reference.x!==_.reference.x||i.reference.y!==_.reference.y||i.reference.width!==_.reference.width||i.reference.height!==_.reference.height?{reset:{rects:_}}:{}})}}};function rO(e,t){return Ge(this,null,function*(){const{placement:n,platform:r,elements:o}=e,i=yield r.isRTL==null?void 0:r.isRTL(o.floating),l=Pr(n),s=oa(n),c=Pl(n)==="y",u=["left","top"].includes(l)?-1:1,d=i&&c?-1:1,p=Qa(t,e);let{mainAxis:m,crossAxis:g,alignmentAxis:v}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:de({mainAxis:0,crossAxis:0,alignmentAxis:null},p);return s&&typeof v=="number"&&(g=s==="end"?v*-1:v),c?{x:g*d,y:m*u}:{x:m*u,y:g*d}})}const N3=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return Ge(this,null,function*(){var r,o;const{x:i,y:l,placement:s,middlewareData:c}=n,u=yield rO(n,e);return s===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+u.x,y:l+u.y,data:Le(de({},u),{placement:s})}})}}},aO=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return Ge(this,null,function*(){const{x:r,y:o,placement:i}=n,y=Qa(e,n),{mainAxis:l=!0,crossAxis:s=!1,limiter:c={fn:C=>{let{x:S,y:k}=C;return{x:S,y:k}}}}=y,u=ar(y,["mainAxis","crossAxis","limiter"]),d={x:r,y:o},p=yield Vl(n,u),m=Pl(Pr(i)),g=S3(m);let v=d[g],w=d[m];if(l){const C=g==="y"?"top":"left",S=g==="y"?"bottom":"right",k=v+p[C],x=v-p[S];v=V1(k,v,x)}if(s){const C=m==="y"?"top":"left",S=m==="y"?"bottom":"right",k=w+p[C],x=w-p[S];w=V1(k,w,x)}const _=c.fn(Le(de({},n),{[g]:v,[m]:w}));return Le(de({},_),{data:{x:_.x-r,y:_.y-o}})})}}},oO=function(e){return e===void 0&&(e={}),{name:"size",options:e,fn(n){return Ge(this,null,function*(){const{placement:r,rects:o,platform:i,elements:l}=n,N=Qa(e,n),{apply:s=()=>{}}=N,c=ar(N,["apply"]),u=yield Vl(n,c),d=Pr(r),p=oa(r),m=Pl(r)==="y",{width:g,height:v}=o.floating;let w,_;d==="top"||d==="bottom"?(w=d,_=p===((yield i.isRTL==null?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(_=d,w=p==="end"?"top":"bottom");const y=v-u[w],C=g-u[_],S=!n.middlewareData.shift;let k=y,x=C;if(m){const $=g-u.left-u.right;x=p||S?aa(C,$):$}else{const $=v-u.top-u.bottom;k=p||S?aa(y,$):$}if(S&&!p){const $=En(u.left,0),T=En(u.right,0),M=En(u.top,0),A=En(u.bottom,0);m?x=g-2*($!==0||T!==0?$+T:En(u.left,u.right)):k=v-2*(M!==0||A!==0?M+A:En(u.top,u.bottom))}yield s(Le(de({},n),{availableWidth:x,availableHeight:k}));const B=yield i.getDimensions(l.floating);return g!==B.width||v!==B.height?{reset:{rects:!0}}:{}})}}};function eo(e){return z1(e)?(e.nodeName||"").toLowerCase():"#document"}function vr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function to(e){var t;return(t=(z1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function z1(e){return e instanceof Node||e instanceof vr(e).Node}function no(e){return e instanceof Element||e instanceof vr(e).Element}function Ta(e){return e instanceof HTMLElement||e instanceof vr(e).HTMLElement}function T3(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof vr(e).ShadowRoot}function Nc(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ir(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function iO(e){return["table","td","th"].includes(eo(e))}function F1(e){const t=H1(),n=Ir(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function $3(e){let t=Rl(e);for(;Ta(t)&&!Wf(t);){if(F1(t))return t;t=Rl(t)}return null}function H1(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Wf(e){return["html","body","#document"].includes(eo(e))}function Ir(e){return vr(e).getComputedStyle(e)}function jf(e){return no(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Rl(e){if(eo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||T3(e)&&e.host||to(e);return T3(t)?t.host:t}function A3(e){const t=Rl(e);return Wf(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ta(t)&&Nc(t)?t:A3(t)}function Tc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=A3(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),l=vr(o);return i?t.concat(l,l.visualViewport||[],Nc(o)?o:[],l.frameElement&&n?Tc(l.frameElement):[]):t.concat(o,Tc(o,[],n))}function O3(e){const t=Ir(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ta(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,s=zf(n)!==i||zf(r)!==l;return s&&(n=i,r=l),{width:n,height:r,$:s}}function U1(e){return no(e)?e:e.contextElement}function Ll(e){const t=U1(e);if(!Ta(t))return Lo(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=O3(t);let l=(i?zf(n.width):n.width)/r,s=(i?zf(n.height):n.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const lO=Lo(0);function M3(e){const t=vr(e);return!H1()||!t.visualViewport?lO:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function sO(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==vr(e)?!1:t}function ki(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=U1(e);let l=Lo(1);t&&(r?no(r)&&(l=Ll(r)):l=Ll(e));const s=sO(i,n,r)?M3(i):Lo(0);let c=(o.left+s.x)/l.x,u=(o.top+s.y)/l.y,d=o.width/l.x,p=o.height/l.y;if(i){const m=vr(i),g=r&&no(r)?vr(r):r;let v=m.frameElement;for(;v&&r&&g!==m;){const w=Ll(v),_=v.getBoundingClientRect(),y=Ir(v),C=_.left+(v.clientLeft+parseFloat(y.paddingLeft))*w.x,S=_.top+(v.clientTop+parseFloat(y.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,p*=w.y,c+=C,u+=S,v=vr(v).frameElement}}return Il({width:d,height:p,x:c,y:u})}const cO=[":popover-open",":modal"];function P3(e){let t=!1,n=0,r=0;function o(i){try{t=t||e.matches(i)}catch(l){}}if(cO.forEach(i=>{o(i)}),t){const i=$3(e);if(i){const l=i.getBoundingClientRect();n=l.x,r=l.y}}return[t,n,r]}function uO(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=to(r),[l]=t?P3(t.floating):[!1];if(r===i||l)return n;let s={scrollLeft:0,scrollTop:0},c=Lo(1);const u=Lo(0),d=Ta(r);if((d||!d&&o!=="fixed")&&((eo(r)!=="body"||Nc(i))&&(s=jf(r)),Ta(r))){const p=ki(r);c=Ll(r),u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x,y:n.y*c.y-s.scrollTop*c.y+u.y}}function fO(e){return Array.from(e.getClientRects())}function I3(e){return ki(to(e)).left+jf(e).scrollLeft}function dO(e){const t=to(e),n=jf(e),r=e.ownerDocument.body,o=En(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=En(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+I3(e);const s=-n.scrollTop;return Ir(r).direction==="rtl"&&(l+=En(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:s}}function hO(e,t){const n=vr(e),r=to(e),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,s=0,c=0;if(o){i=o.width,l=o.height;const u=H1();(!u||u&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:l,x:s,y:c}}function pO(e,t){const n=ki(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ta(e)?Ll(e):Lo(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,c=o*i.x,u=r*i.y;return{width:l,height:s,x:c,y:u}}function V3(e,t,n){let r;if(t==="viewport")r=hO(e,n);else if(t==="document")r=dO(to(e));else if(no(t))r=pO(t,n);else{const o=M3(e);r=Le(de({},t),{x:t.x-o.x,y:t.y-o.y})}return Il(r)}function R3(e,t){const n=Rl(e);return n===t||!no(n)||Wf(n)?!1:Ir(n).position==="fixed"||R3(n,t)}function mO(e,t){const n=t.get(e);if(n)return n;let r=Tc(e,[],!1).filter(s=>no(s)&&eo(s)!=="body"),o=null;const i=Ir(e).position==="fixed";let l=i?Rl(e):e;for(;no(l)&&!Wf(l);){const s=Ir(l),c=F1(l);!c&&s.position==="fixed"&&(o=null),(i?!c&&!o:!c&&s.position==="static"&&o&&["absolute","fixed"].includes(o.position)||Nc(l)&&!c&&R3(e,l))?r=r.filter(u=>u!==l):o=s,l=Rl(l)}return t.set(e,r),r}function gO(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?mO(t,this._c):[].concat(n),r],l=i[0],s=i.reduce((c,u)=>{const d=V3(t,u,o);return c.top=En(d.top,c.top),c.right=aa(d.right,c.right),c.bottom=aa(d.bottom,c.bottom),c.left=En(d.left,c.left),c},V3(t,l,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function yO(e){const{width:t,height:n}=O3(e);return{width:t,height:n}}function vO(e,t,n,r){const o=Ta(t),i=to(t),l=n==="fixed",s=ki(e,!0,l,t);let c={scrollLeft:0,scrollTop:0};const u=Lo(0);if(o||!o&&!l)if((eo(t)!=="body"||Nc(i))&&(c=jf(t)),o){const w=ki(t,!0,l,t);u.x=w.x+t.clientLeft,u.y=w.y+t.clientTop}else i&&(u.x=I3(i));let d=s.left+c.scrollLeft-u.x,p=s.top+c.scrollTop-u.y;const[m,g,v]=P3(r);return m&&(d+=g,p+=v,o&&(d+=t.clientLeft,p+=t.clientTop)),{x:d,y:p,width:s.width,height:s.height}}function L3(e,t){return!Ta(e)||Ir(e).position==="fixed"?null:t?t(e):e.offsetParent}function D3(e,t){const n=vr(e);if(!Ta(e))return n;let r=L3(e,t);for(;r&&iO(r)&&Ir(r).position==="static";)r=L3(r,t);return r&&(eo(r)==="html"||eo(r)==="body"&&Ir(r).position==="static"&&!F1(r))?n:r||$3(e)||n}const bO=function(e){return Ge(this,null,function*(){const t=this.getOffsetParent||D3,n=this.getDimensions;return{reference:vO(e.reference,yield t(e.floating),e.strategy,e.floating),floating:de({x:0,y:0},yield n(e.floating))}})};function _O(e){return Ir(e).direction==="rtl"}const wO={convertOffsetParentRelativeRectToViewportRelativeRect:uO,getDocumentElement:to,getClippingRect:gO,getOffsetParent:D3,getElementRects:bO,getClientRects:fO,getDimensions:yO,getScale:Ll,isElement:no,isRTL:_O};function SO(e,t){let n=null,r;const o=to(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function l(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),i();const{left:u,top:d,width:p,height:m}=e.getBoundingClientRect();if(s||t(),!p||!m)return;const g=Ff(d),v=Ff(o.clientWidth-(u+p)),w=Ff(o.clientHeight-(d+m)),_=Ff(u),y={rootMargin:-g+"px "+-v+"px "+-w+"px "+-_+"px",threshold:En(0,aa(1,c))||1};let C=!0;function S(k){const x=k[0].intersectionRatio;if(x!==c){if(!C)return l();x?l(!1,x):r=setTimeout(()=>{l(!1,1e-7)},100)}C=!1}try{n=new IntersectionObserver(S,Le(de({},y),{root:o.ownerDocument}))}catch(k){n=new IntersectionObserver(S,y)}n.observe(e)}return l(!0),i}function z3(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=U1(e),d=o||i?[...u?Tc(u):[],...Tc(t)]:[];d.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const p=u&&s?SO(u,n):null;let m=-1,g=null;l&&(g=new ResizeObserver(y=>{let[C]=y;C&&C.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var S;(S=g)==null||S.observe(t)})),n()}),u&&!c&&g.observe(u),g.observe(t));let v,w=c?ki(e):null;c&&_();function _(){const y=ki(e);w&&(y.x!==w.x||y.y!==w.y||y.width!==w.width||y.height!==w.height)&&n(),w=y,v=requestAnimationFrame(_)}return n(),()=>{var y;d.forEach(C=>{o&&C.removeEventListener("scroll",n),i&&C.removeEventListener("resize",n)}),p==null||p(),(y=g)==null||y.disconnect(),g=null,c&&cancelAnimationFrame(v)}}const kO=JA,F3=aO,H3=QA,U3=oO,CO=eO,xO=XA,EO=nO,BO=(e,t,n)=>{const r=new Map,o=de({platform:wO},n),i=Le(de({},o.platform),{_c:r});return KA(e,t,Le(de({},o),{platform:i}))};function NO(e){return e!=null&&typeof e=="object"&&"$el"in e}function W1(e){if(NO(e)){const t=e.$el;return z1(t)&&eo(t)==="#comment"?null:t}return e}function TO(e){return{name:"arrow",options:e,fn(t){const n=W1(a.unref(e.element));return n==null?{}:xO({element:n,padding:e.padding}).fn(t)}}}function W3(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function j3(e,t){const n=W3(e);return Math.round(t*n)/n}function G3(e,t,n){n===void 0&&(n={});const r=n.whileElementsMounted,o=a.computed(()=>{var N;return(N=a.unref(n.open))!=null?N:!0}),i=a.computed(()=>a.unref(n.middleware)),l=a.computed(()=>{var N;return(N=a.unref(n.placement))!=null?N:"bottom"}),s=a.computed(()=>{var N;return(N=a.unref(n.strategy))!=null?N:"absolute"}),c=a.computed(()=>{var N;return(N=a.unref(n.transform))!=null?N:!0}),u=a.computed(()=>W1(e.value)),d=a.computed(()=>W1(t.value)),p=a.ref(0),m=a.ref(0),g=a.ref(s.value),v=a.ref(l.value),w=a.shallowRef({}),_=a.ref(!1),y=a.computed(()=>{const N={position:g.value,left:"0",top:"0"};if(!d.value)return N;const $=j3(d.value,p.value),T=j3(d.value,m.value);return c.value?de(Le(de({},N),{transform:"translate("+$+"px, "+T+"px)"}),W3(d.value)>=1.5&&{willChange:"transform"}):{position:g.value,left:$+"px",top:T+"px"}});let C;function S(){u.value==null||d.value==null||BO(u.value,d.value,{middleware:i.value,placement:l.value,strategy:s.value}).then(N=>{p.value=N.x,m.value=N.y,g.value=N.strategy,v.value=N.placement,w.value=N.middlewareData,_.value=!0})}function k(){typeof C=="function"&&(C(),C=void 0)}function x(){if(k(),r===void 0){S();return}if(u.value!=null&&d.value!=null){C=r(u.value,d.value,S);return}}function B(){o.value||(_.value=!1)}return a.watch([i,l,s],S,{flush:"sync"}),a.watch([u,d],x,{flush:"sync"}),a.watch(o,B,{flush:"sync"}),a.getCurrentScope()&&a.onScopeDispose(k),{x:a.shallowReadonly(p),y:a.shallowReadonly(m),strategy:a.shallowReadonly(g),placement:a.shallowReadonly(v),middlewareData:a.shallowReadonly(w),isPositioned:a.shallowReadonly(_),floatingStyles:y,update:S}}const $O=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),AO=/^aria-[\w-]*$/i,OO=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,MO=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,PO=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?$O.has(n)?!!(OO.test(e.nodeValue||"")||MO.test(e.nodeValue||"")):!0:t.filter(r=>r instanceof RegExp).some(r=>r.test(n))},Dl={"*":["class","dir","id","lang","role",AO],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],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:[]},zl=(e,t,n)=>{if(!e.length)return e;if(n&&typeof n=="function")return n(e);const r=new window.DOMParser().parseFromString(e,"text/html"),o=r.body.querySelectorAll("*");for(const i of o){const l=i.nodeName.toLowerCase();if(!Object.keys(t).includes(l)){i.remove();continue}const s=i.attributes,c=[...t["*"]||[],...t[l]||[]];for(const u of s)PO(u,c)||i.removeAttribute(u.nodeName)}return r.body.innerHTML};function Do(e){return a.getCurrentScope()?(a.onScopeDispose(e),!0):!1}function IO(e,t){if(typeof Symbol<"u"){const n=de({},e);return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let r=0;return{next:()=>({value:t[r++],done:r>t.length})}}}),n}else return Object.assign([...t],e)}function ia(e){return typeof e=="function"?e():a.unref(e)}const Gf=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const VO=e=>typeof e<"u",RO=e=>e!=null,LO=Object.prototype.toString,DO=e=>LO.call(e)==="[object Object]",Vr=()=>{},j1=zO();function zO(){var e,t;return Gf&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Y3(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const q3=e=>e();function FO(e,t={}){let n,r,o=Vr;const i=l=>{clearTimeout(l),o(),o=Vr};return l=>{const s=ia(e),c=ia(t.maxWait);return n&&i(n),s<=0||c!==void 0&&c<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((u,d)=>{o=t.rejectOnCancel?d:u,c&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,u(l())},c)),n=setTimeout(()=>{r&&i(r),r=null,u(l())},s)})}}function HO(e=q3){const t=a.ref(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...i)=>{t.value&&e(...i)};return{isActive:a.readonly(t),pause:n,resume:r,eventFilter:o}}function UO(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const WO=/-(\w)/g,jO=UO(e=>e.replace(WO,(t,n)=>n?n.toUpperCase():""));function GO(...e){if(e.length!==1)return a.toRef(...e);const t=e[0];return typeof t=="function"?a.readonly(a.customRef(()=>({get:t,set:Vr}))):a.ref(t)}function YO(e,t=200,n={}){return Y3(FO(t,n),e)}function qO(e,t,n={}){const i=n,{eventFilter:r=q3}=i,o=ar(i,["eventFilter"]);return a.watch(e,Y3(r,t),o)}function K3(e,t,n={}){const u=n,{eventFilter:r}=u,o=ar(u,["eventFilter"]),{eventFilter:i,pause:l,resume:s,isActive:c}=HO(r);return{stop:qO(e,t,Le(de({},o),{eventFilter:i})),pause:l,resume:s,isActive:c}}function G1(e,t,...[n]){const{flush:r="sync",deep:o=!1,immediate:i=!0,direction:l="both",transform:s={}}=n||{},c=[],u="ltr"in s&&s.ltr||(p=>p),d="rtl"in s&&s.rtl||(p=>p);return(l==="both"||l==="ltr")&&c.push(K3(e,p=>{c.forEach(m=>m.pause()),t.value=u(p),c.forEach(m=>m.resume())},{flush:r,deep:o,immediate:i})),(l==="both"||l==="rtl")&&c.push(K3(t,p=>{c.forEach(m=>m.pause()),e.value=d(p),c.forEach(m=>m.resume())},{flush:r,deep:o,immediate:i})),()=>{c.forEach(p=>p.stop())}}function X3(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n;let i=null;const l=a.ref(!1);function s(){i&&(clearInterval(i),i=null)}function c(){l.value=!1,s()}function u(){const d=ia(t);d<=0||(l.value=!0,o&&e(),s(),i=setInterval(e,d))}if(r&&Gf&&u(),a.isRef(t)||typeof t=="function"){const d=a.watch(t,()=>{l.value&&Gf&&u()});Do(d)}return Do(c),{isActive:l,pause:c,resume:u}}function it(e,t={}){const{method:n="parseFloat",radix:r,nanToZero:o}=t;return a.computed(()=>{let i=ia(e);return typeof i=="string"&&(i=Number[n](i,r)),o&&Number.isNaN(i)&&(i=0),i})}function Yf(e={}){const{inheritAttrs:t=!0}=e,n=a.shallowRef(),r=a.defineComponent({setup(i,{slots:l}){return()=>{n.value=l.default}}}),o=a.defineComponent({inheritAttrs:t,setup(i,{attrs:l,slots:s}){return()=>{var c;if(!n.value&&process.env.NODE_ENV!=="production")throw new Error("[VueUse] Failed to find the definition of reusable template");const u=(c=n.value)==null?void 0:c.call(n,Le(de({},KO(l)),{$slots:s}));return t&&(u==null?void 0:u.length)===1?u[0]:u}}});return IO({define:r,reuse:o},[r,o])}function KO(e){const t={};for(const n in e)t[jO(n)]=e[n];return t}function Rr(e){var t;const n=ia(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ro=Gf?window:void 0;function en(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=ro):[t,n,r,o]=e,!t)return Vr;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],l=()=>{i.forEach(d=>d()),i.length=0},s=(d,p,m,g)=>(d.addEventListener(p,m,g),()=>d.removeEventListener(p,m,g)),c=a.watch(()=>[Rr(t),ia(o)],([d,p])=>{if(l(),!d)return;const m=DO(p)?de({},p):p;i.push(...n.flatMap(g=>r.map(v=>s(d,g,v,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),l()};return Do(u),u}let Z3=!1;function J3(e,t,n={}){const{window:r=ro,ignore:o=[],capture:i=!0,detectIframe:l=!1}=n;if(!r)return Vr;j1&&!Z3&&(Z3=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",Vr)),r.document.documentElement.addEventListener("click",Vr));let s=!0;const c=d=>o.some(p=>{if(typeof p=="string")return Array.from(r.document.querySelectorAll(p)).some(m=>m===d.target||d.composedPath().includes(m));{const m=Rr(p);return m&&(d.target===m||d.composedPath().includes(m))}}),u=[en(r,"click",d=>{const p=Rr(e);if(!(!p||p===d.target||d.composedPath().includes(p))){if(d.detail===0&&(s=!c(d)),!s){s=!0;return}t(d)}},{passive:!0,capture:i}),en(r,"pointerdown",d=>{const p=Rr(e);s=!c(d)&&!!(p&&!d.composedPath().includes(p))},{passive:!0}),l&&en(r,"blur",d=>{setTimeout(()=>{var p;const m=Rr(e);((p=r.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(d)},0)})].filter(Boolean);return()=>u.forEach(d=>d())}function XO(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function br(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=ro,eventName:i="keydown",passive:l=!1,dedupe:s=!1}=r,c=XO(t);return en(o,i,u=>{u.repeat&&ia(s)||c(u)&&n(u)},l)}function ZO(){const e=a.ref(!1);return a.getCurrentInstance()&&a.onMounted(()=>{e.value=!0}),e}function Q3(e){const t=ZO();return a.computed(()=>(t.value,!!e()))}function JO(e){return JSON.parse(JSON.stringify(e))}const qf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Kf="__vueuse_ssr_handlers__",QO=eM();function eM(){return Kf in qf||(qf[Kf]=qf[Kf]||{}),qf[Kf]}function tM(e,t){return QO[e]||t}function nM(e,t,n={}){const p=n,{window:r=ro}=p,o=ar(p,["window"]);let i;const l=Q3(()=>r&&"MutationObserver"in r),s=()=>{i&&(i.disconnect(),i=void 0)},c=a.watch(()=>Rr(e),m=>{s(),l.value&&r&&m&&(i=new MutationObserver(t),i.observe(m,o))},{immediate:!0}),u=()=>i==null?void 0:i.takeRecords(),d=()=>{s(),c()};return Do(d),{isSupported:l,stop:d,takeRecords:u}}function Y1(e,t={}){const{delayEnter:n=0,delayLeave:r=0,window:o=ro}=t,i=a.ref(!1);let l;const s=c=>{const u=c?n:r;l&&(clearTimeout(l),l=void 0),u?l=setTimeout(()=>i.value=c,u):i.value=c};return o&&(en(e,"mouseenter",()=>s(!0),{passive:!0}),en(e,"mouseleave",()=>s(!1),{passive:!0})),i}function rM(e,t,n={}){const{root:r,rootMargin:o="0px",threshold:i=.1,window:l=ro,immediate:s=!0}=n,c=Q3(()=>l&&"IntersectionObserver"in l),u=a.computed(()=>{const v=ia(e);return(Array.isArray(v)?v:[v]).map(Rr).filter(RO)});let d=Vr;const p=a.ref(s),m=c.value?a.watch(()=>[u.value,Rr(r),p.value],([v,w])=>{if(d(),!p.value||!v.length)return;const _=new IntersectionObserver(t,{root:Rr(w),rootMargin:o,threshold:i});v.forEach(y=>y&&_.observe(y)),d=()=>{_.disconnect(),d=Vr}},{immediate:s,flush:"post"}):Vr,g=()=>{d(),m(),p.value=!1};return Do(g),{isSupported:c,isActive:p,pause(){d(),p.value=!1},resume(){p.value=!0},stop:g}}function or(e,t={}){const{initialValue:n=!1,focusVisible:r=!1}=t,o=a.ref(!1),i=a.computed(()=>Rr(e));en(i,"focus",s=>{var c,u;(!r||(u=(c=s.target).matches)!=null&&u.call(c,":focus-visible"))&&(o.value=!0)}),en(i,"blur",()=>o.value=!1);const l=a.computed({get:()=>o.value,set(s){var c,u;!s&&o.value?(c=i.value)==null||c.blur():s&&!o.value&&((u=i.value)==null||u.focus())}});return a.watch(i,()=>{l.value=n},{immediate:!0,flush:"post"}),{focused:l}}function q1(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const aM={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function oM(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:o={x:0,y:0},window:i=ro,target:l=i,scroll:s=!0,eventFilter:c}=e;let u=null;const d=a.ref(o.x),p=a.ref(o.y),m=a.ref(null),g=typeof t=="function"?t:aM[t],v=x=>{const B=g(x);u=x,B&&([d.value,p.value]=B,m.value="mouse")},w=x=>{if(x.touches.length>0){const B=g(x.touches[0]);B&&([d.value,p.value]=B,m.value="touch")}},_=()=>{if(!u||!i)return;const x=g(u);u instanceof MouseEvent&&x&&(d.value=x[0]+i.scrollX,p.value=x[1]+i.scrollY)},y=()=>{d.value=o.x,p.value=o.y},C=c?x=>c(()=>v(x),{}):x=>v(x),S=c?x=>c(()=>w(x),{}):x=>w(x),k=c?()=>c(()=>_(),{}):()=>_();if(l){const x={passive:!0};en(l,["mousemove","dragover"],C,x),n&&t!=="movement"&&(en(l,["touchstart","touchmove"],S,x),r&&en(l,"touchend",y,x)),s&&t==="page"&&en(i,"scroll",k,{passive:!0})}return{x:d,y:p,sourceType:m}}function e4(e,t={}){const{handleOutside:n=!0,window:r=ro}=t,o=t.type||"page",{x:i,y:l,sourceType:s}=oM(t),c=a.ref(e!=null?e:r==null?void 0:r.document.body),u=a.ref(0),d=a.ref(0),p=a.ref(0),m=a.ref(0),g=a.ref(0),v=a.ref(0),w=a.ref(!0);let _=()=>{};return r&&(_=a.watch([c,i,l],()=>{const y=Rr(c);if(!y)return;const{left:C,top:S,width:k,height:x}=y.getBoundingClientRect();p.value=C+(o==="page"?r.pageXOffset:0),m.value=S+(o==="page"?r.pageYOffset:0),g.value=x,v.value=k;const B=i.value-p.value,N=l.value-m.value;w.value=k===0||x===0||B<0||N<0||B>k||N>x,(n||!w.value)&&(u.value=B,d.value=N)},{immediate:!0}),en(document,"mouseleave",()=>{w.value=!0})),{x:i,y:l,sourceType:s,elementX:u,elementY:d,elementPositionX:p,elementPositionY:m,elementHeight:g,elementWidth:v,isOutside:w,stop:_}}function t4(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:t4(n)}}function iM(e){const t=e||window.event,n=t.target;return t4(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Xf=new WeakMap;function lM(e,t=!1){const n=a.ref(t);let r=null,o;a.watch(GO(e),s=>{const c=q1(ia(s));if(c){const u=c;Xf.get(u)||Xf.set(u,o),n.value&&(u.style.overflow="hidden")}},{immediate:!0});const i=()=>{const s=q1(ia(e));!s||n.value||(j1&&(r=en(s,"touchmove",c=>{iM(c)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},l=()=>{var s;const c=q1(ia(e));!c||!n.value||(j1&&(r==null||r()),c.style.overflow=(s=Xf.get(c))!=null?s:"",Xf.delete(c),n.value=!1)};return Do(l),a.computed({get(){return n.value},set(s){s?i():l()}})}function sM(e,t={}){const{threshold:n=50,onSwipe:r,onSwipeEnd:o,onSwipeStart:i,passive:l=!0,window:s=ro}=t,c=a.reactive({x:0,y:0}),u=a.reactive({x:0,y:0}),d=a.computed(()=>c.x-u.x),p=a.computed(()=>c.y-u.y),{max:m,abs:g}=Math,v=a.computed(()=>m(g(d.value),g(p.value))>=n),w=a.ref(!1),_=a.computed(()=>v.value?g(d.value)>g(p.value)?d.value>0?"left":"right":p.value>0?"up":"down":"none"),y=$=>[$.touches[0].clientX,$.touches[0].clientY],C=($,T)=>{c.x=$,c.y=T},S=($,T)=>{u.x=$,u.y=T};let k;const x=cM(s==null?void 0:s.document);l?k=x?{passive:!0}:{capture:!1}:k=x?{passive:!1,capture:!0}:{capture:!0};const B=$=>{w.value&&(o==null||o($,_.value)),w.value=!1},N=[en(e,"touchstart",$=>{if($.touches.length!==1)return;k.capture&&!k.passive&&$.preventDefault();const[T,M]=y($);C(T,M),S(T,M),i==null||i($)},k),en(e,"touchmove",$=>{if($.touches.length!==1)return;const[T,M]=y($);S(T,M),!w.value&&v.value&&(w.value=!0),w.value&&(r==null||r($))},k),en(e,["touchend","touchcancel"],B,k)];return{isPassiveEventSupported:x,isSwiping:w,direction:_,coordsStart:c,coordsEnd:u,lengthX:d,lengthY:p,stop:()=>N.forEach($=>$())}}function cM(e){if(!e)return!1;let t=!1;const n={get passive(){return t=!0,!1}};return e.addEventListener("x",Vr,n),e.removeEventListener("x",Vr),t}function St(e,t,n,r={}){var o,i,l;const{clone:s=!1,passive:c=!1,eventName:u,deep:d=!1,defaultValue:p,shouldEmit:m}=r,g=a.getCurrentInstance(),v=n||(g==null?void 0:g.emit)||((o=g==null?void 0:g.$emit)==null?void 0:o.bind(g))||((l=(i=g==null?void 0:g.proxy)==null?void 0:i.$emit)==null?void 0:l.bind(g==null?void 0:g.proxy));let w=u;t||(t="modelValue"),w=w||`update:${t.toString()}`;const _=S=>s?typeof s=="function"?s(S):JO(S):S,y=()=>VO(e[t])?_(e[t]):p,C=S=>{m?m(S)&&v(w,S):v(w,S)};if(c){const S=y(),k=a.ref(S);let x=!1;return a.watch(()=>e[t],B=>{x||(x=!0,k.value=_(B),a.nextTick(()=>x=!1))}),a.watch(k,B=>{!x&&(B!==e[t]||d)&&C(B)},{deep:d}),k}else return a.computed({get(){return y()},set(S){C(S)}})}const uM=["id"],fM=["innerHTML"],dM=["innerHTML"],Ci=a.defineComponent({inheritAttrs:!1,__name:"BPopover",props:{boundary:{default:"clippingAncestors"},boundaryPadding:{default:void 0},click:{type:[Boolean,String],default:!1},container:{default:void 0},content:{default:void 0},customClass:{default:""},delay:{default:()=>({show:100,hide:300})},floatingMiddleware:{default:void 0},hide:{type:[Boolean,String],default:void 0},html:{type:[Boolean,String],default:!1},id:{default:void 0},inline:{type:[Boolean,String],default:!1},manual:{type:[Boolean,String],default:!1},modelValue:{type:[Boolean,String],default:!1},noAutoClose:{type:[Boolean,String],default:!1},noFade:{type:[Boolean,String],default:!1},noFlip:{type:[Boolean,String],default:!1},noHide:{type:[Boolean,String],default:!1},noShift:{type:[Boolean,String],default:!1},noSize:{type:[Boolean,String],default:!1},noninteractive:{type:[Boolean,String],default:!1},offset:{default:null},placement:{default:"top"},persistent:{type:[Boolean,String],default:!1},realtime:{type:[Boolean,String],default:!1},reference:{default:null},strategy:{default:"absolute"},target:{default:null},title:{default:void 0},tooltip:{type:[Boolean,String],default:!1},variant:{default:null}},emits:["hidden","hide","hide-prevented","show","show-prevented","shown","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=I(()=>r.modelValue),l=a.ref(i.value),s=a.ref(i.value);a.watchEffect(()=>{o("update:modelValue",l.value)}),a.watch(i,()=>{i.value!==l.value&&(i.value?ye():_e(new Event("update:modelValue")))});const c=Mt(()=>r.id,"popover"),u=I(()=>r.click),d=I(()=>r.manual),p=I(()=>r.noShift),m=I(()=>r.noSize),g=I(()=>r.noFlip),v=I(()=>r.noFade),w=I(()=>r.noAutoClose),_=I(()=>r.noHide),y=I(()=>r.realtime),C=I(()=>r.inline),S=I(()=>r.persistent),k=I(()=>r.tooltip),x=I(()=>r.noninteractive),B=I(()=>r.html),N=a.ref(!1),$=a.ref(null),T=a.ref(null),M=a.ref(null),A=a.ref(null),F=a.ref(null),z=a.computed(()=>r.title?zl(r.title,Dl):""),O=a.computed(()=>r.content?zl(r.content,Dl):""),L=a.toRef(()=>r.placement.startsWith("auto")),V=it(()=>{var ee;return(ee=r.offset)!=null?ee:NaN}),H=a.computed(()=>r.boundary==="document"||r.boundary==="viewport"?void 0:r.boundary),G=a.computed(()=>r.boundary==="document"||r.boundary==="viewport"?r.boundary:void 0),W=a.ref({}),ne=a.computed(()=>{if(r.floatingMiddleware!==void 0)return r.floatingMiddleware;const ee=r.offset!==null?V.value:k.value?6:8,he=[N3(ee)];return g.value===!1&&!L.value&&he.push(H3({boundary:H.value,rootBoundary:G.value,padding:r.boundaryPadding})),L.value&&he.push(kO({alignment:r.placement.split("-")[1]||void 0,boundary:H.value,rootBoundary:G.value,padding:r.boundaryPadding})),p.value===!1&&he.push(F3({boundary:H.value,rootBoundary:G.value,padding:r.boundaryPadding})),_.value===!1&&he.push(CO({boundary:H.value,rootBoundary:G.value,padding:r.boundaryPadding})),C.value===!0&&he.push(EO()),he.push(TO({element:M,padding:10})),m.value===!1&&he.push(U3({boundary:H.value,rootBoundary:G.value,padding:r.boundaryPadding,apply({availableWidth:Ke,availableHeight:Fe}){W.value={maxHeight:Fe?`${Fe}px`:void 0,maxWidth:Ke?`${Ke}px`:void 0}}})),he}),se=a.toRef(()=>L.value?void 0:r.placement),{floatingStyles:U,middlewareData:oe,placement:le,update:ue}=G3(T,$,{placement:se,middleware:ne,strategy:a.toRef(()=>r.strategy),whileElementsMounted:(...ee)=>z3(...ee,{animationFrame:y.value})}),K=a.ref({position:"absolute"});a.watch(oe,()=>{var ee;if(_.value===!1&&((ee=oe.value.hide)!=null&&ee.referenceHidden?N.value=!0:N.value=!1),oe.value.arrow){const{x:he,y:Ke}=oe.value.arrow;K.value={position:"absolute",top:Ke?`${Ke}px`:"",left:he?`${he}px`:""}}});const J=a.computed(()=>{const ee=k.value?"tooltip":"popover";return[ee,`b-${ee}`,{[`b-${ee}-${r.variant}`]:r.variant!==null,show:l.value&&!N.value,"pe-none":!l.value,fade:!v.value,"d-none":!l.value&&v.value,[`${r.customClass}`]:r.customClass!==void 0,[`bs-${ee}-${pM(le.value)}`]:le.value!==void 0}]}),{isOutside:q}=e4($),{isOutside:j}=e4(A),re=ee=>{const he=ee!=null?ee:new Event("click");l.value?_e(he):ye()},X=(ee,he={})=>new Ml(ee,Le(de({cancelable:!1,target:$.value||null,relatedTarget:null,trigger:null},he),{componentId:c.value}));let Q;const ye=()=>{const ee=X("show",{cancelable:!0});if(o("show",ee),ee.defaultPrevented){o("show-prevented");return}s.value=!0,a.nextTick(()=>{var he;ue(),Q=setTimeout(()=>{ue(),l.value=!0,a.nextTick(()=>{o("shown",X("shown"))})},typeof r.delay=="number"?r.delay:((he=r.delay)==null?void 0:he.show)||0)})},_e=ee=>{var he;const Ke=X("hide",{cancelable:!0});if(o("hide",Ke),Ke.defaultPrevented){o("hide-prevented");return}Q&&(clearTimeout(Q),Q=void 0);const Fe=typeof r.delay=="number"?r.delay:((he=r.delay)==null?void 0:he.hide)||0;setTimeout(()=>{var ut,be;(ee==null?void 0:ee.type)==="click"||(ee==null?void 0:ee.type)==="forceHide"||(ee==null?void 0:ee.type)==="update:modelValue"&&d.value||!x.value&&q.value&&j.value&&!((ut=$.value)!=null&&ut.contains(document==null?void 0:document.activeElement))&&!((be=A.value)!=null&&be.contains(document==null?void 0:document.activeElement))||x.value&&j.value?(l.value=!1,a.nextTick(()=>{setTimeout(()=>{s.value=!1},$.value?P1($.value):150),o("hidden",X("hidden"))})):setTimeout(()=>{_e(ee)},Fe<50?50:Fe)},Fe)};t({hide:_e,show:ye,toggle:re});const Ne=()=>{var ee;if(r.target){const he=xi(r.target);he?A.value=he:console.warn("Target element not found",r.target)}else A.value=(ee=F.value)==null?void 0:ee.nextElementSibling;if(r.reference){const he=xi(r.reference);he?T.value=he:console.warn("Reference element not found",r.reference)}else T.value=A.value;if(!(!A.value||d.value)&&I1){if(A.value.addEventListener("forceHide",_e),u.value){A.value.addEventListener("click",re);return}A.value.addEventListener("pointerenter",ye),A.value.addEventListener("pointerleave",_e),A.value.addEventListener("focus",ye),A.value.addEventListener("blur",_e)}},ke=()=>{A.value&&(A.value.removeEventListener("forceHide",_e),A.value.removeEventListener("click",re),A.value.removeEventListener("pointerenter",ye),A.value.removeEventListener("pointerleave",_e),A.value.removeEventListener("focus",ye),A.value.removeEventListener("blur",_e))};return J3($,()=>{l.value&&u.value&&!w.value&&!d.value&&_e(new Event("clickOutside"))},{ignore:[A]}),a.watch([()=>r.click,()=>r.target,()=>r.reference],()=>{ke(),Ne()}),a.onMounted(Ne),a.onBeforeUnmount(ke),(ee,he)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createElementVNode("span",{ref_key:"placeholder",ref:F},null,512),a.renderSlot(ee.$slots,"target",{show:ye,hide:_e,toggle:re,showState:l.value}),(a.openBlock(),a.createBlock(a.Teleport,{to:ee.container||"body",disabled:!ee.container},[s.value||a.unref(S)?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0,id:ee.id},ee.$attrs,{ref_key:"element",ref:$,class:J.value,role:"tooltip",tabindex:"-1",style:a.unref(U)}),[a.createElementVNode("div",{ref_key:"arrow",ref:M,class:a.normalizeClass(`${a.unref(k)?"tooltip":"popover"}-arrow`),style:a.normalizeStyle(K.value),"data-popper-arrow":""},null,6),a.createElementVNode("div",{class:"overflow-auto",style:a.normalizeStyle(W.value)},[ee.title||ee.$slots.title?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.unref(B)?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["position-sticky top-0",a.unref(k)?"tooltip-inner":"popover-header"]),innerHTML:z.value},null,10,fM)):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["position-sticky top-0",a.unref(k)?"tooltip-inner":"popover-header"])},[a.renderSlot(ee.$slots,"title",{},()=>[a.createTextVNode(a.toDisplayString(ee.title),1)])],2))],64)):a.createCommentVNode("",!0),a.unref(k)&&!ee.$slots.title&&!ee.title||!a.unref(k)?(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.unref(B)?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(a.unref(k)?"tooltip-inner":"popover-body"),innerHTML:O.value},null,10,dM)):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(k)?"tooltip-inner":"popover-body")},[a.renderSlot(ee.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(ee.content),1)])],2))],64)):a.createCommentVNode("",!0)],4)],16,uM)):a.createCommentVNode("",!0)],8,["to","disabled"]))],64))}}),hM=({top:e,end:t,start:n,alignCenter:r,alignEnd:o})=>{const i=e?"top":n?"left":t?"right":"bottom",l=o?"end":r?null:"start";return`${i}${l?`-${l}`:""}`},pM=e=>{const[t]=e.split("-");switch(t){case"left":return"start";case"right":return"end";default:return t}},$c=e=>typeof e!="object"||e.active!==!1,Zf=(e,t)=>{if(!$c(e))return{};const n=typeof e>"u"||typeof e=="object"&&!e.title&&!e.content,r=t.getAttribute("title")||t.getAttribute("data-original-title");return n?r?(t.removeAttribute("title"),t.setAttribute("data-original-title",r),{content:zl(r,Dl)}):{}:typeof e=="string"?{content:zl(e,Dl)}:{title:e!=null&&e.title?zl(e==null?void 0:e.title,Dl):void 0,content:e!=null&&e.content?zl(e==null?void 0:e.content,Dl):void 0}},Fl=(e,t)=>Le(de(de({target:t,modelValue:e.modifiers.show,inline:e.modifiers.inline,click:e.modifiers.click,realtime:e.modifiers.realtime,persistent:e.modifiers.persistent,placement:e.modifiers.left?"left":e.modifiers.right?"right":e.modifiers.bottom?"bottom":e.modifiers.top?"top":void 0,html:!0},typeof e.value=="object"?e.value:{}),e.modifiers.interactive?{noninteractive:!1}:{}),{title:null,content:null}),Jf=(e,t)=>{var n;const r=document.createElement("span");t.modifiers.body?document.body.appendChild(r):t.modifiers.child?e.appendChild(r):(n=e.parentNode)==null||n.insertBefore(r,e.nextSibling),e.$__app=a.createApp({render:()=>{var o;return a.h(Ci,de({},(o=e.$__state)==null?void 0:o.value))}}),e.$__app.mount(r),e.$__element=r},n4=e=>{var t;const n=e.$__element;(t=e.$__app)==null||t.unmount(),delete e.$__app,delete e.$__state,setTimeout(()=>{n==null||n.remove()},0),delete e.$__element},r4=(e,t,n)=>{const r=la(e,t);return n&&typeof n=="function"?n(r,t,e):r},Qf=(e,t,n)=>t.concat(["sm","md","lg","xl","xxl"]).reduce((r,o)=>(r[e?`${e}${o.charAt(0).toUpperCase()+o.slice(1)}`:o]=n,r),{}),a4=(e,t,n,r=n)=>Object.keys(t).reduce((o,i)=>(e[i]&&o.push([r,i.replace(n,""),e[i]].filter(l=>l&&typeof l!="boolean").join("-").toLowerCase()),o),[]),xi=e=>{var t,n,r;if(e)return typeof e=="string"?typeof document>"u"?void 0:(n=(t=document.getElementById(e))!=null?t:document.querySelector(e))!=null?n:void 0:(r=e.$el)!=null?r:e},Ac=(e="")=>`__BVID__${Math.random().toString().slice(2,8)}___BV_${e}__`,mM=(e,t)=>{var n;return((n=e==null?void 0:e())!=null?n:[]).reduce((r,o)=>(typeof o.type=="symbol"?r=r.concat(o.children):r.push(o),r),[]).filter(r=>{var o;return((o=r.type)==null?void 0:o.__name)===t})},K1=e=>e.replace(Ol," ").replace(y3,(t,n,r)=>`${n} ${r}`).replace($A,(t,n,r)=>n+r.toUpperCase()),o4=e=>e.replace(Ol," ").replace(y3,(t,n,r)=>`${n} ${r}`).replace(TA,(t,n,r)=>n+r.toUpperCase()),gM=e=>{const t=e.trim();return t.charAt(0).toUpperCase()+t.slice(1)},yM=e=>e.replace(MA,"\\$&"),vM=e=>yM(e).replace(PA,"\\s"),ed=e=>typeof e=="string"?o4(e):e.label!==void 0?e.label:typeof e.key=="string"?o4(e.key):e.key,bM=e=>!!(e.href||e.to),i4=Symbol("carousel"),l4=Symbol("tabs"),s4=Symbol("progress"),c4=Symbol("listGroup"),u4=Symbol("avatarGroup"),f4=Symbol("accordion"),d4=Symbol("checkboxGroup"),h4=Symbol("radioGroup"),X1=Symbol("collapse"),p4=Symbol("collapse"),Z1=Symbol("navbar"),m4=Symbol("toastPlugin"),g4=Symbol("rtlPlugin"),y4=Symbol("breadcrumbPlugin"),v4=Symbol("modalControllerPlugin"),b4=Symbol("modalManagerPlugin"),Oc=(e,t={},n={})=>{const r=[e];let o;for(let i=0;i<r.length&&!o;i++){const l=r[i];o=n[l]}return o&&typeof o=="function"?o(t):o},td=(e,t)=>Object.keys(e).filter(n=>!t.map(r=>r.toString()).includes(n)).reduce((n,r)=>Le(de({},n),{[r]:e[r]}),{}),J1=(e,t)=>[...t].reduce((n,r)=>(n[r]=e[r],n),{}),la=(e,t,n)=>{const r=t.split(/[.[\]]/g);let o=e;for(const i of r){if(o==null)return n;i.trim()!==""&&(o=o[i])}return o===void 0?n:o},_4=(e,t)=>{const l=e,{all:n}=l,r=ar(l,["all"]),o={};n&&t.forEach(s=>{o[s]=n});const i=de(de({},o),r);return Object.entries(i).filter(([s,c])=>!!c&&t.includes(s)).map(([s])=>s)},w4=(e,t)=>t+(e?gM(e):""),Ei=(e,t)=>{const n=a.toRef(t),r=a.toRef(e),o=a.toRef(()=>bM(r.value)),i=a.computed(()=>{var l;return o.value?J1(r.value,(l=n.value)!=null?l:["active","activeClass","append","href","rel","replace","routerComponentName","target","to","variant","opacity","opacityHover","underlineVariant","underlineOffset","underlineOffsetHover","underlineOpacity","underlineOpacityHover"]):{}});return{computedLink:o,computedLinkProps:i}},_M=()=>de({},a.inject(y4)),sa=e=>a.computed(()=>{var n,r,o;let t=a.toValue(e);return t=Le(de({},t),{variant:(n=t.variant)!=null?n:null,bgVariant:(r=t.bgVariant)!=null?r:null,textVariant:(o=t.textVariant)!=null?o:null}),{[`text-bg-${t.variant}`]:t.variant!==null,[`text-${t.textVariant}`]:t.textVariant!==null&&t.variant===null,[`bg-${t.bgVariant}`]:t.bgVariant!==null&&t.variant===null}}),wM=e=>a.computed(()=>{const t=a.toValue(e);return{container:t===!0,[`container-${t}`]:typeof t=="string"}}),S4=(e,t=a.ref(1e3),n={})=>{const r=a.readonly(a.toRef(e)),o=a.readonly(a.toRef(t)),i=a.ref(!1),l=a.ref(0),s=a.toRef(()=>Math.ceil(r.value/o.value)),c=a.toRef(()=>p.value||i.value?Math.round(r.value-l.value*o.value):0),{pause:u,resume:d,isActive:p}=X3(()=>{l.value=l.value+1},t,n),m=()=>{i.value=!1,l.value=0,d()},g=()=>{i.value=!1,l.value=s.value};a.watchEffect(()=>{l.value>s.value&&(l.value=s.value),l.value===s.value&&u()}),a.watch([o,r],()=>{g(),m()});const v=()=>{p.value!==!1&&(i.value=!0,u())},w=()=>{l.value!==s.value&&(i.value=!1,d())};return{isActive:a.readonly(p),isPaused:a.readonly(i),restart:m,stop:g,pause:v,resume:w,value:c}},Bi=e=>a.computed(()=>{const t=a.toValue(e);return t===!0?"is-valid":t===!1?"is-invalid":null}),k4=e=>a.computed(()=>{const t=a.toValue(e);return{"form-check":t.plain===!1&&t.button===!1,"form-check-inline":t.inline===!0,"form-switch":t.switch===!0,[`form-control-${t.size}`]:t.size!==void 0&&t.size!=="md"&&t.button===!1}}),C4=e=>{const t=a.toRef(e),n=Bi(()=>{var r;return(r=t.value.state)!=null?r:null});return a.computed(()=>[n.value,{"form-check-input":t.value.plain===!1&&t.value.button===!1,"btn-check":t.value.button===!0}])},x4=e=>a.computed(()=>{const t=a.toValue(e);return{"form-check-label":t.plain===!1&&t.button===!1,btn:t.button===!0,[`btn-${t.buttonVariant}`]:t.button===!0&&t.buttonVariant!==void 0&&t.buttonVariant!==null,[`btn-${t.size}`]:t.button&&t.size&&t.size!=="md"}}),E4=e=>{const t=a.toRef(e),n=Ln(()=>t.value.ariaInvalid,()=>t.value.state);return a.computed(()=>({"aria-invalid":n.value,"aria-required":t.value.required===!0?!0:void 0}))},B4=e=>a.computed(()=>{const t=a.toValue(e);return{"was-validated":t.validated===!0,"btn-group":t.buttons===!0&&t.stacked===!1,"btn-group-vertical":t.stacked===!0&&t.buttons===!0,[`btn-group-${t.size}`]:t.size!==void 0}}),Mt=(e,t)=>a.computed(()=>a.toValue(e)||Ac(t)),N4=(e,t)=>{const n=a.ref(null),r=St(e,"modelValue",t,{passive:!0}),o=Mt(()=>e.id,"input"),i=I(()=>e.autofocus),l=I(()=>e.disabled),s=I(()=>e.lazy),c=I(()=>e.lazyFormatter),u=I(()=>e.number),d=I(()=>e.state),p=I(()=>e.trim),m=it(()=>{var k;return(k=e.debounce)!=null?k:0}),g=it(()=>{var k;return(k=e.debounceMaxWait)!=null?k:NaN}),v=YO(k=>{r.value=k},()=>s.value===!0?0:m.value,{maxWait:()=>s.value===!0?NaN:g.value}),w=(k,x=!1)=>{s.value===!0&&x===!1||v(k)},{focused:_}=or(n,{initialValue:i.value}),y=(k,x,B=!1)=>e.formatter!==void 0&&(!c.value||B)?e.formatter(k,x):k,C=k=>p.value?k.trim():u.value?Number.parseFloat(k):k;a.onMounted(()=>{var x;var k;n.value&&(n.value.value=(x=(k=r.value)==null?void 0:k.toString())!=null?x:"")}),a.onActivated(()=>{a.nextTick(()=>{i.value&&(_.value=!0)})});const S=Ln(()=>e.ariaInvalid,d);return{input:n,computedId:o,computedAriaInvalid:S,onInput:k=>{const{value:x}=k.target,B=y(x,k);if(k.defaultPrevented){k.preventDefault();return}const N=C(B);w(N)},onChange:k=>{const{value:x}=k.target,B=y(x,k);if(k.defaultPrevented){k.preventDefault();return}const N=C(B);r.value!==N&&w(B,!0)},onBlur:k=>{if(!s.value&&!c.value)return;const{value:x}=k.target,B=y(x,k,!0),N=C(B);r.value!==N&&w(B,!0)},focus:()=>{l.value||(_.value=!0)},blur:()=>{l.value||(_.value=!1)}}},T4=(e,t)=>{const n=i=>typeof i=="object"&&i!==null&&"label"in i,r=i=>{if(typeof i=="string")return{value:i,text:i};const l=la(i,t.valueField),s=la(i,t.textField),c=la(i,t.htmlField),u=la(i,t.disabledField),d=t.optionsField?la(i,t.optionsField):void 0;return d!==void 0?{label:la(i,t.labelField)||s,options:d}:{value:l,text:s,html:c,disabled:u}},o=i=>i.map(l=>r(l));return{normalizedOptions:a.computed(()=>o(a.toValue(e))),isComplex:n}},Q1="modal-open",e0=()=>{const e=a.inject(b4),t=r=>{e==null||e.removeStack(r),e==null||e.removeRegistry(r)},n=tM("updateHTMLAttrs",(r,o,i)=>{const l=typeof r=="string"?window==null?void 0:window.document.querySelector(r):Rr(r);l&&(o==="class"?l.classList.toggle(Q1,i===Q1):l.setAttribute(o,i))});return Do(()=>{n("body","class","")}),a.watch(()=>e==null?void 0:e.countStack.value,r=>{r!==void 0&&n("body","class",r>0?Q1:"")}),Le(de({},e),{dispose:t})},SM=e=>{const{pushRegistry:t,pushStack:n,removeStack:r,stack:o,dispose:i,countStack:l}=e0(),s=a.getCurrentInstance();if(!s||s.type.__name!=="BModal")throw new Error("useModalManager must only use in BModal component");return t==null||t(s),Do(()=>{i(s)}),a.watch(e,(c,u)=>{c?n==null||n(s):u&&!c&&(r==null||r(s))},{immediate:!0}),{activePosition:a.computed(()=>o==null?void 0:o.value.findIndex(c=>{var u,d;return((u=c.exposed)==null?void 0:u.id)===((d=s.exposed)==null?void 0:d.id)})),activeModalCount:l}},kM=(e=void 0)=>{const{registry:t}=e0(),n=a.getCurrentInstance(),r=l=>l.parent?l.parent.type.__name==="BModal"?l.parent:r(l.parent):null,o=a.computed(()=>{const l=a.toValue(e);return l?(t==null?void 0:t.value.find(s=>{var c;return((c=s.exposed)==null?void 0:c.id.value)===l}))||null:n?r(n):null}),i=a.toRef(()=>{var l;return(l=o.value)==null?void 0:l.proxy});return{show(){var l,s;(s=(l=o.value)==null?void 0:l.exposed)==null||s.show()},hide(l=""){var s,c;(c=(s=o.value)==null?void 0:s.exposed)==null||c.hide(l)},modal:i}},CM=()=>{const{lastStack:e,stack:t}=e0();return Le(de({},a.inject(v4)),{hide:(n="")=>{var r;e!=null&&e.value&&((r=e==null?void 0:e.value.exposed)==null||r.hide(n))},hideAll:(n="")=>{t==null||t.value.forEach(r=>{var o;(o=r.exposed)==null||o.hide(n)})}})},t0=e=>{const t=(c,u)=>{const d=u===null?"":`${u}-`;return c==="circle"?`${d}rounded-circle`:c==="pill"?`${d}rounded-pill`:typeof c=="number"||c==="0"||c==="1"||c==="2"||c==="3"||c==="4"||c==="5"?`${d}rounded-${c}`:c==="none"?`${d}rounded-0`:c==="sm"?`${d}rounded-1`:c==="lg"?`${d}rounded-5`:`${d}rounded`},n=a.readonly(a.toRef(e)),r=I(()=>n.value.rounded),o=I(()=>n.value.roundedTop),i=I(()=>n.value.roundedBottom),l=I(()=>n.value.roundedStart),s=I(()=>n.value.roundedEnd);return a.computed(()=>({[`${t(r.value,null)}`]:!!r.value,[`${t(o.value,"top")}`]:!!o.value,[`${t(i.value,"bottom")}`]:!!i.value,[`${t(l.value,"start")}`]:!!l.value,[`${t(s.value,"end")}`]:!!s.value}))},xM=()=>{const e=a.inject(g4);return a.onMounted(()=>{a.watch([()=>e==null?void 0:e.isRtl.value,()=>e==null?void 0:e.locale.value],([t,n])=>{const r=document.documentElement;r.setAttribute("dir",t!=null&&t?"rtl":"ltr"),r.setAttribute("lang",n!=null?n:"")},{immediate:!0})}),de({},e)},$4=(e,t)=>{const n=a.readonly(a.toRef(e)),r=a.readonly(a.toRef(t)),o=a.toRef(()=>!r.value);a.onMounted(()=>{const i=lM(document.body,n.value&&o.value);a.watch([n,o],([l,s])=>{i.value=l&&s})})},EM=(e,t,n={})=>{const r=a.toRef(e),o=a.toRef(t),i=a.ref(xi(r.value)),l=a.ref(xi(o.value));a.watch([r,o],()=>{y()});const{contentQuery:s=":scope > [id]",targetQuery:c="[href]",manual:u=!1,root:d,rootMargin:p="0px 0px -25%",threshold:m=[.1,.5,1],watchChanges:g=!0}=n,v=a.ref(null),w=a.ref([]),_=a.ref([]);a.getCurrentInstance()?a.onMounted(()=>{G1(r,i,{transform:{ltr:T=>xi(T)},direction:"ltr",immediate:!0}),G1(o,l,{transform:{ltr:T=>xi(T)},direction:"ltr",immediate:!0}),y()}):a.nextTick(()=>{y()});const y=()=>{_.value=i.value?Array.from(i.value.querySelectorAll(s)):[],w.value=_.value.map(T=>({id:T.id,el:T,visible:!1,text:T.textContent}))};let C=!0,S=0;const k=a.computed(()=>i.value&&getComputedStyle(i.value).overflowY==="visible"?null:i.value),x=rM(_,T=>{var M,A,F,z;const O=(M=k.value||(document==null?void 0:document.documentElement))==null?void 0:M.scrollTop;C=O>S,S=O,T.forEach(V=>{if(V.isIntersecting){w.value.forEach(H=>{H.el===V.target&&(H.visible=!0)});return}w.value.forEach(H=>{H.el===V.target&&(H.visible=!1)})});let L=null;C?L=((A=[...w.value].reverse().find(V=>V.visible))==null?void 0:A.id)||null:L=((F=w.value.find(V=>V.visible))==null?void 0:F.id)||null,L!==null&&(v.value=L),v.value||(v.value=((z=w.value[0])==null?void 0:z.id)||null)},{root:d?xi(d):k,rootMargin:p,threshold:m});a.watch(v,T=>{var M;if(u)return;const A=(M=l.value)==null?void 0:M.querySelectorAll(c);if(A===void 0)return;let F=!1,z=null;A.forEach(O=>{var L,V,H,G,W,ne,se,U,oe,le,ue;const K=O.closest(".dropdown");if((L=O.getAttribute("href"))!=null&&L.includes(`#${T}`)){z=O,O.classList.add("active"),K&&((V=K==null?void 0:K.querySelector(".dropdown-toggle"))==null||V.classList.add("active"),F=!0);let J=(H=O.closest(".nav"))==null?void 0:H.previousSibling;for(;(G=J==null?void 0:J.classList)!=null&&G.contains("nav-item");)F=!0,(W=J.querySelector(".nav-link"))==null||W.classList.add("active"),J=(ne=J.closest(".nav"))==null?void 0:ne.previousSibling}else if(O.classList.remove("active"),K&&!F&&((se=K==null?void 0:K.querySelector(".dropdown-toggle"))==null||se.classList.remove("active")),!F){let J=(U=O.closest(".nav"))==null?void 0:U.previousSibling;for(;(oe=J==null?void 0:J.classList)!=null&&oe.contains("nav-item");)F=!0,J.querySelector(".nav-link")!==z&&((le=J.querySelector(".nav-link"))==null||le.classList.remove("active")),J=(ue=J.closest(".nav"))==null?void 0:ue.previousSibling}})});const B=g?nM(i,()=>{y()},{childList:!0}):{stop:()=>{}},N=(T,M=!1)=>{var A,F;T.preventDefault();const z=(F=(A=T.target)==null?void 0:A.getAttribute)==null?void 0:F.call(A,"href"),O=z?document==null?void 0:document.querySelector(z):null;O&&i.value&&(i.value.scrollTo?i.value.scrollTo({top:O.offsetTop,behavior:M?"smooth":"auto"}):i.value.scrollTop=O.offsetTop)},$=()=>{x.stop(),B.stop()};return{current:a.readonly(v),list:w,content:i,target:l,scrollIntoView:N,updateList:y,cleanup:$}},BM=()=>de({},a.inject(m4)),Hl=a.defineComponent({__name:"BTransition",props:{appear:{type:[Boolean,String],default:!1},mode:{default:void 0},noFade:{type:[Boolean,String],default:!1},transProps:{default:void 0}},emits:["after-appear","after-enter","after-leave","appear","before-appear","before-enter","before-leave","enter","appear-cancelled","enter-cancelled","leave","leave-cancelled"],setup(e,{emit:t}){const n=e,r=t,o=I(()=>n.appear),i=I(()=>n.noFade),l=a.computed(()=>{const c={name:"",enterActiveClass:"",enterToClass:"",leaveActiveClass:"",leaveToClass:"showing",enterFromClass:"showing",leaveFromClass:""},u=Le(de({},c),{enterActiveClass:"fade showing",leaveActiveClass:"fade showing"});return i.value?c:u}),s=a.computed(()=>de({mode:n.mode,css:!0},l.value));return(c,u)=>(a.openBlock(),a.createBlock(a.Transition,a.mergeProps(de(de({},s.value),c.transProps),{appear:a.unref(o),onAfterAppear:u[0]||(u[0]=d=>r("after-appear",d)),onAfterEnter:u[1]||(u[1]=d=>r("after-enter",d)),onAfterLeave:u[2]||(u[2]=d=>r("after-leave",d)),onAppear:u[3]||(u[3]=d=>r("appear",d)),onBeforeAppear:u[4]||(u[4]=d=>r("before-appear",d)),onBeforeEnter:u[5]||(u[5]=d=>r("before-enter",d)),onBeforeLeave:u[6]||(u[6]=d=>r("before-leave",d)),onEnter:u[7]||(u[7]=d=>r("enter",d)),onAppearCancelled:u[8]||(u[8]=d=>r("appear-cancelled",d)),onEnterCancelled:u[9]||(u[9]=d=>r("enter-cancelled",d)),onLeave:u[10]||(u[10]=d=>r("leave",d)),onLeaveCancelled:u[11]||(u[11]=d=>r("leave-cancelled",d))}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["appear"]))}}),NM=["type","disabled","aria-label"],Ul=a.defineComponent({__name:"BCloseButton",props:{ariaLabel:{default:"Close"},disabled:{type:[Boolean,String],default:!1},type:{default:"button"}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,o=I(()=>n.disabled);return(i,l)=>(a.openBlock(),a.createElementBlock("button",{type:i.type,class:"btn-close",disabled:a.unref(o),"aria-label":i.ariaLabel,onClick:l[0]||(l[0]=s=>r("click",s))},null,8,NM))}}),A4="active",$a=a.defineComponent({__name:"BLink",props:{active:{type:[Boolean,String],default:void 0},activeClass:{default:"router-link-active"},append:{type:[Boolean,String],default:!1},disabled:{type:[Boolean,String],default:!1},exactActiveClass:{default:"router-link-exact-active"},href:{default:void 0},icon:{type:[Boolean,String],default:!1},opacity:{default:void 0},opacityHover:{default:void 0},rel:{default:void 0},replace:{type:[Boolean,String],default:!1},routerComponentName:{default:"router-link"},routerTag:{default:"a"},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:null},variant:{default:null}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,o=a.useAttrs(),i=I(()=>n.active),l=I(()=>n.icon);I(()=>n.append);const s=I(()=>n.disabled);I(()=>n.replace);const c=a.inject(X1,null),u=a.inject(Z1,null),d=a.getCurrentInstance(),p=a.computed(()=>{const y=n.routerComponentName.split("-").map(C=>C.charAt(0).toUpperCase()+C.slice(1)).join("");return(d==null?void 0:d.appContext.app.component(y))===void 0||s.value||!n.to?"a":n.routerComponentName}),m=a.computed(()=>{const y="#";if(n.href)return n.href;if(typeof n.to=="string")return n.to||y;const{to:C}=n;if(C!==void 0&&"path"in C){const S=C.path||"",k=C.query?`?${Object.keys(C.query).map(B=>{var N;return`${B}=${(N=C.query)==null?void 0:N[B]}`}).join("=")}`:"",x=!C.hash||C.hash.charAt(0)==="#"?C.hash||"":`#${C.hash}`;return`${S}${k}${x}`||y}return y}),g=a.computed(()=>({[`link-${n.variant}`]:n.variant!==null,[`link-opacity-${n.opacity}`]:n.opacity!==void 0,[`link-opacity-${n.opacityHover}-hover`]:n.opacityHover!==void 0,[`link-underline-${n.underlineVariant}`]:n.underlineVariant!==null,[`link-offset-${n.underlineOffset}`]:n.underlineOffset!==void 0,[`link-offset-${n.underlineOffsetHover}-hover`]:n.underlineOffsetHover!==void 0,[`link-underline-opacity-${n.underlineOpacity}`]:n.underlineOpacity!==void 0,[`link-underline-opacity-${n.underlineOpacityHover}-hover`]:n.underlineOpacityHover!==void 0,"icon-link":l.value===!0})),v=a.computed(()=>{var y;return{class:g.value,to:n.to,href:m.value,target:n.target,rel:n.target==="_blank"?(y=n.rel)!=null?y:"noopener":void 0,tabindex:s.value?"-1":typeof o.tabindex>"u"?null:o.tabindex,"aria-disabled":s.value?!0:null}}),w=a.computed(()=>({[A4]:i.value,disabled:s.value})),_=y=>{var C,S,k;if(s.value){y.preventDefault(),y.stopImmediatePropagation();return}(((C=c==null?void 0:c.isNav)==null?void 0:C.value)===!0&&u===null||u!==null&&((S=u.autoClose)==null?void 0:S.value)===!0)&&((k=c==null?void 0:c.close)==null||k.call(c)),r("click",y)};return(y,C)=>p.value==="router-link"?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(p.value),a.mergeProps({key:0},v.value,{custom:""}),{default:a.withCtx(({href:S,navigate:k,isActive:x,isExactActive:B})=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(y.routerTag),a.mergeProps({href:S,class:{[A4]:a.unref(i),[y.activeClass]:x,[y.exactActiveClass]:B}},y.$attrs,{onClick:N=>{k(N),_(N)}}),{default:a.withCtx(()=>[a.renderSlot(y.$slots,"default")]),_:2},1040,["href","class","onClick"]))]),_:3},16)):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(p.value),a.mergeProps({key:1,class:w.value},v.value,{onClick:_}),{default:a.withCtx(()=>[a.renderSlot(y.$slots,"default")]),_:3},16,["class"]))}}),TM=["aria-valuenow","aria-valuemax"],O4=a.defineComponent({__name:"BProgressBar",props:{animated:{type:[Boolean,String],default:!1},label:{default:void 0},labelHtml:{default:void 0},max:{default:void 0},precision:{default:0},showProgress:{type:[Boolean,String],default:!1},showValue:{type:[Boolean,String],default:!1},striped:{type:[Boolean,String],default:!1},value:{default:0},variant:{default:null},bgVariant:{default:null},textVariant:{default:null}},setup(e){const t=e,n=a.inject(s4,null),r=I(()=>t.animated),o=I(()=>t.showProgress),i=I(()=>t.showValue),l=I(()=>t.striped),s=sa(t),c=a.computed(()=>[s.value,{"progress-bar-animated":r.value||(n==null?void 0:n.animated.value),"progress-bar-striped":l.value||(n==null?void 0:n.striped.value)||r.value||(n==null?void 0:n.animated.value)}]),u=it(()=>t.precision),d=it(()=>t.value),p=it(()=>{var w;return(w=t.max)!=null?w:NaN}),m=it(()=>{var w;return(w=n==null?void 0:n.max.value)!=null?w:NaN}),g=a.computed(()=>t.labelHtml!==void 0?t.labelHtml:i.value||n!=null&&n.showValue.value?d.value.toFixed(u.value):o.value||n!=null&&n.showProgress.value?(d.value*100/(p.value||100)).toFixed(u.value):t.label!==void 0?t.label:""),v=a.computed(()=>m.value?`${d.value*100/m.value}%`:p.value?`${d.value*100/p.value}%`:typeof t.value=="string"?t.value:`${t.value}%`);return(w,_)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["progress-bar",c.value]),role:"progressbar","aria-valuenow":w.value,"aria-valuemin":"0","aria-valuemax":w.max,style:a.normalizeStyle({width:v.value})},[a.renderSlot(w.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(g.value),1)])],14,TM))}}),M4=a.defineComponent({__name:"BProgress",props:{height:{default:void 0},animated:{type:[Boolean,String],default:void 0},max:{default:100},precision:{default:void 0},showProgress:{type:[Boolean,String],default:void 0},showValue:{type:[Boolean,String],default:void 0},striped:{type:[Boolean,String],default:void 0},value:{default:void 0},variant:{default:void 0},bgVariant:{default:void 0},textVariant:{default:void 0}},setup(e){const t=e,n=I(()=>t.animated),r=I(()=>t.showProgress),o=I(()=>t.showValue),i=I(()=>t.striped);return a.provide(s4,{animated:n,max:a.toRef(()=>t.max),showProgress:r,showValue:o,striped:i}),(l,s)=>(a.openBlock(),a.createElementBlock("div",{class:"progress",style:a.normalizeStyle({height:l.height})},[a.renderSlot(l.$slots,"default",{},()=>[a.createVNode(O4,{animated:l.animated,max:l.max,precision:l.precision,"show-progress":l.showProgress,"show-value":l.showValue,striped:l.striped,value:l.value,variant:l.variant,"text-variant":l.textVariant,"bg-variant":l.bgVariant},null,8,["animated","max","precision","show-progress","show-value","striped","value","variant","text-variant","bg-variant"])])],4))}}),$M=["id","role","aria-live","aria-atomic"],AM={class:"me-auto"},P4=a.defineComponent({__name:"BToast",props:{body:{default:void 0},bodyClass:{default:void 0},headerClass:{default:void 0},headerTag:{default:"div"},id:{default:void 0},interval:{default:1e3},isStatus:{type:[Boolean,String],default:!1},modelValue:{type:[Boolean,Number],default:!1},noCloseButton:{type:[Boolean,String],default:!1},noFade:{type:[Boolean,String],default:!1},noHoverPause:{type:[Boolean,String],default:!1},progressProps:{default:void 0},showOnPause:{type:[Boolean,String],default:!0},solid:{type:[Boolean,String],default:!1},title:{default:void 0},toastClass:{default:void 0},transProps:{default:void 0},variant:{default:void 0},bgVariant:{default:null},textVariant:{default:null},active:{type:[Boolean,String],default:void 0},activeClass:{default:void 0},append:{type:[Boolean,String],default:void 0},disabled:{type:[Boolean,String],default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:[Boolean,String],default:void 0},opacity:{default:void 0},opacityHover:{default:void 0},rel:{default:void 0},replace:{type:[Boolean,String],default:void 0},routerComponentName:{default:void 0},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:void 0}},emits:["close","close-countdown","hide","hidden","show","shown","show-prevented","hide-prevented","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=a.ref(null),l=Y1(i),s=St(r,"modelValue",o,{passive:!0}),{computedLink:c,computedLinkProps:u}=Ei(r),d=I(()=>r.isStatus),p=I(()=>r.noCloseButton),m=I(()=>r.noFade),g=I(()=>r.noHoverPause),v=I(()=>r.showOnPause),w=it(()=>r.interval);I(()=>r.solid);const _=sa(r),y=a.toRef(()=>typeof s.value=="boolean"?0:s.value),{isActive:C,pause:S,restart:k,resume:x,stop:B,isPaused:N,value:$}=S4(y,w,{immediate:typeof s.value=="number"});a.watchEffect(()=>{o("close-countdown",$.value)});const T=a.toRef(()=>c.value?$a:"div"),M=a.toRef(()=>typeof s.value=="boolean"?s.value:C.value||v.value&&N.value),A=a.computed(()=>[_.value,{show:M.value}]),F=()=>{g.value||S()};a.watch(l,W=>{if(W){F();return}x()});const z=(W,ne={})=>new Ml(W,Le(de({cancelable:!1,target:i.value||null,relatedTarget:null,trigger:null},ne),{componentId:r.id})),O=()=>{const W=z("show",{cancelable:!0});if(o("show",W),W.defaultPrevented){s.value&&(s.value=!1),o("show-prevented");return}s.value||(s.value=!0)},L=(W="")=>{const ne=z("hide",{cancelable:W!=="",trigger:W});if(o("hide",ne),W==="close"&&o("close",ne),ne.defaultPrevented){o("hide-prevented"),s.value||(s.value=!0);return}typeof s.value=="boolean"?s.value=!1:(s.value=0,B())},V=()=>{O()},H=()=>{o("shown",z("shown"))},G=()=>{o("hidden",z("hidden"))};return a.watch(C,W=>{W===!1&&N.value===!1&&s.value&&L()}),a.onBeforeUnmount(B),t({pause:S,restart:k,resume:x,stop:B}),(W,ne)=>(a.openBlock(),a.createBlock(Hl,a.mergeProps({"no-fade":a.unref(m)},W.transProps,{onBeforeEnter:V,onAfterEnter:H,onAfterLeave:G}),{default:a.withCtx(()=>[M.value?(a.openBlock(),a.createElementBlock("div",{key:0,id:W.id,ref_key:"element",ref:i,class:a.normalizeClass(["toast",[W.toastClass,A.value]]),tabindex:"0",role:M.value?a.unref(d)?"status":"alert":void 0,"aria-live":M.value?a.unref(d)?"polite":"assertive":void 0,"aria-atomic":M.value?!0:void 0},[W.$slots.title||W.title?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(W.headerTag),{key:0,class:"toast-header"},{default:a.withCtx(()=>[a.renderSlot(W.$slots,"title",{hide:L},()=>[a.createElementVNode("strong",AM,a.toDisplayString(W.title),1)]),a.unref(p)?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(Ul,{key:0,onClick:ne[0]||(ne[0]=se=>L("close"))}))]),_:3})):a.createCommentVNode("",!0),W.$slots.default||W.body?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(T.value),a.mergeProps({key:1,class:["toast-body",W.bodyClass],style:{display:"block"}},a.unref(u),{onClick:ne[1]||(ne[1]=se=>a.unref(c)?L():()=>{})}),{default:a.withCtx(()=>[a.renderSlot(W.$slots,"default",{hide:L},()=>[a.createTextVNode(a.toDisplayString(W.body),1)])]),_:3},16,["class"])):a.createCommentVNode("",!0),typeof a.unref(s)=="number"&&W.progressProps!==void 0?(a.openBlock(),a.createBlock(M4,{key:2,animated:W.progressProps.animated,precision:W.progressProps.precision,"show-progress":W.progressProps.showProgress,"show-value":W.progressProps.showValue,striped:W.progressProps.striped,variant:W.progressProps.variant,max:a.unref(s),value:a.unref($),height:"4px"},null,8,["animated","precision","show-progress","show-value","striped","variant","max","value"])):a.createCommentVNode("",!0)],10,$M)):a.createCommentVNode("",!0)]),_:3},16,["no-fade"]))}}),OM="top-right",MM={install(e){const t=a.shallowRef([]),n=a.ref(!1),r=l=>{n.value=l},o=l=>{const s=Symbol(),c=a.computed(()=>{var d;const u=a.toValue(l.props);return{component:(d=a.toValue(l.component))!=null?d:P4,props:Le(de({},u),{pos:(u==null?void 0:u.pos)||OM,_modelValue:(u==null?void 0:u.value)||5e3,_self:s})}});return(c.value.props.appendToast!==void 0?c.value.props.appendToast:n.value)?t.value=[...t.value,c]:t.value=[c,...t.value],s},i=l=>{t.value=t.value.filter(s=>s.value.props._self!==l)};e.provide(m4,{_setIsAppend:r,toasts:t,show:o,remove:i})}},PM={install(e){const t=a.ref([]),n=()=>{t.value.splice(0,t.value.length)};e.provide(y4,{items:t,reset:n})}},IM={key:0,class:"visually-hidden"},nd=a.defineComponent({__name:"BSpinner",props:{label:{default:void 0},role:{default:"status"},small:{type:[Boolean,String],default:!1},tag:{default:"span"},type:{default:"border"},variant:{default:null}},setup(e){const t=e,n=a.useSlots(),r=I(()=>t.small),o=a.computed(()=>[`spinner-${t.type}`,{[`spinner-${t.type}-sm`]:r.value,[`text-${t.variant}`]:t.variant!==null}]),i=a.toRef(()=>!bn(n.label));return(l,s)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(l.tag),{class:a.normalizeClass(o.value),role:l.label||i.value?l.role:null,"aria-hidden":l.label||i.value?null:!0},{default:a.withCtx(()=>[l.label||i.value?(a.openBlock(),a.createElementBlock("span",IM,[a.renderSlot(l.$slots,"label",{},()=>[a.createTextVNode(a.toDisplayString(l.label),1)])])):a.createCommentVNode("",!0)]),_:3},8,["class","role","aria-hidden"]))}}),Lr=a.defineComponent({__name:"BButton",props:{loading:{type:[Boolean,String],default:!1},loadingFill:{type:[Boolean,String],default:!1},loadingText:{default:"Loading..."},pill:{type:[Boolean,String],default:!1},pressed:{type:[Boolean,String],default:void 0},size:{default:"md"},squared:{type:[Boolean,String],default:!1},tag:{default:"button"},type:{default:"button"},variant:{default:"secondary"},active:{type:[Boolean,String],default:!1},activeClass:{default:void 0},append:{type:[Boolean,String],default:void 0},disabled:{type:[Boolean,String],default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:[Boolean,String],default:void 0},opacity:{default:void 0},opacityHover:{default:void 0},rel:{default:void 0},replace:{type:[Boolean,String],default:void 0},routerComponentName:{default:void 0},routerTag:{default:void 0},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:void 0}},emits:["click","update:pressed"],setup(e,{emit:t}){const n=e,r=t,o=St(n,"pressed",r),i=I(()=>n.active),l=I(()=>n.disabled),s=I(()=>n.pill),c=I(()=>n.pressed),u=I(()=>n.squared),d=I(()=>n.loading),p=I(()=>n.loadingFill),{computedLink:m,computedLinkProps:g}=Ei(n,["active-class","exact-active-class","replace","routerComponentName","routerTag"]),v=a.toRef(()=>typeof c.value=="boolean"),w=a.toRef(()=>n.tag==="button"&&n.href===void 0&&n.to===void 0),_=a.toRef(()=>n.to!==void 0),y=a.toRef(()=>n.href!==void 0?!1:!w.value),C=a.computed(()=>_.value?g.value:[]),S=a.computed(()=>[[`btn-${n.size}`],{[`btn-${n.variant}`]:n.variant!==null,active:i.value||c.value,"rounded-pill":s.value,"rounded-0":u.value,disabled:l.value}]),k=a.toRef(()=>_.value?$a:n.href?"a":n.tag),x=B=>{if(l.value){B.preventDefault(),B.stopPropagation();return}r("click",B),v.value&&(o.value=!c.value)};return(B,N)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(k.value),a.mergeProps({class:"btn"},C.value,{class:S.value,"aria-disabled":y.value?a.unref(l):null,"aria-pressed":v.value?a.unref(c):null,autocomplete:v.value?"off":null,disabled:w.value?a.unref(l):null,href:B.href,rel:a.unref(m)?B.rel:null,role:y.value||a.unref(m)?"button":null,target:a.unref(m)?B.target:null,type:w.value?B.type:null,to:w.value?null:B.to,append:a.unref(m)?B.append:null,onClick:x}),{default:a.withCtx(()=>[a.unref(d)?a.renderSlot(B.$slots,"loading",{key:0},()=>[a.unref(p)?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createTextVNode(a.toDisplayString(B.loadingText),1)],64)),a.renderSlot(B.$slots,"loading-spinner",{},()=>[a.createVNode(nd,{small:B.size!=="lg",label:a.unref(p)?B.loadingText:void 0},null,8,["small","label"])])]):a.renderSlot(B.$slots,"default",{key:1})]),_:3},16,["class","aria-disabled","aria-pressed","autocomplete","disabled","href","rel","role","target","type","to","append"]))}}),rd=a.defineComponent({__name:"BOverlay",props:{bgColor:{default:void 0},blur:{default:"2px"},fixed:{type:[Boolean,String],default:!1},noCenter:{type:[Boolean,String],default:!1},noFade:{type:[Boolean,String],default:!1},noSpinner:{type:[Boolean,String],default:!1},noWrap:{type:[Boolean,String],default:!1},opacity:{default:.85},overlayTag:{default:"div"},show:{type:[Boolean,String],default:!1},spinnerSmall:{type:[Boolean,String],default:!1},spinnerType:{default:"border"},spinnerVariant:{default:void 0},variant:{default:"light"},wrapTag:{default:"div"},zIndex:{default:10},rounded:{type:[String,Number,Boolean],default:!1},roundedTop:{type:[String,Number,Boolean],default:void 0},roundedBottom:{type:[String,Number,Boolean],default:void 0},roundedStart:{type:[String,Number,Boolean],default:void 0},roundedEnd:{type:[String,Number,Boolean],default:void 0}},emits:["click","hidden","shown"],setup(e,{emit:t}){const n=e,r=t,o={top:0,left:0,bottom:0,right:0},i=I(()=>n.fixed),l=I(()=>n.noSpinner),s=I(()=>n.noCenter),c=I(()=>n.noWrap),u=I(()=>n.show),d=I(()=>n.spinnerSmall),p=I(()=>n.rounded),m=I(()=>n.roundedTop),g=I(()=>n.roundedBottom),v=I(()=>n.roundedStart),w=I(()=>n.roundedEnd),_=t0(()=>({rounded:p.value,roundedTop:m.value,roundedBottom:g.value,roundedStart:v.value,roundedEnd:w.value})),y=a.toRef(()=>n.variant!==null&&!n.bgColor?`bg-${n.variant}`:""),C=a.toRef(()=>u.value?!0:null),S=a.computed(()=>({type:n.spinnerType,variant:n.spinnerVariant,small:d.value})),k=a.computed(()=>Le(de({},o),{zIndex:n.zIndex||10})),x=a.computed(()=>({"position-absolute":!c.value||!i.value,"position-fixed":c.value&&i.value})),B=a.computed(()=>[y.value,_.value]),N=a.computed(()=>Le(de({},o),{opacity:n.opacity,backgroundColor:n.bgColor||void 0,backdropFilter:n.blur?`blur(${n.blur})`:void 0})),$=a.computed(()=>s.value?o:{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"});return(T,M)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(T.wrapTag),{class:"b-overlay-wrap position-relative","aria-busy":C.value},{default:a.withCtx(()=>[a.renderSlot(T.$slots,"default"),a.createVNode(Hl,{"no-fade":T.noFade,"trans-props":{enterToClass:"show"},name:"fade",onAfterEnter:M[1]||(M[1]=A=>r("shown")),onAfterLeave:M[2]||(M[2]=A=>r("hidden"))},{default:a.withCtx(()=>[a.unref(u)?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(T.overlayTag),{key:0,class:a.normalizeClass(["b-overlay",x.value]),style:a.normalizeStyle(k.value),onClick:M[0]||(M[0]=A=>r("click",A))},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(["position-absolute",B.value]),style:a.normalizeStyle(N.value)},null,6),a.createElementVNode("div",{class:"position-absolute",style:a.normalizeStyle($.value)},[a.renderSlot(T.$slots,"overlay",a.normalizeProps(a.guardReactiveProps(S.value)),()=>[a.unref(l)?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(nd,a.normalizeProps(a.mergeProps({key:0},S.value)),null,16))])],4)]),_:3},8,["class","style"])):a.createCommentVNode("",!0)]),_:3},8,["no-fade"])]),_:3},8,["aria-busy"]))}}),VM=["id","aria-labelledby","aria-describedby"],RM=["id"],I4=1056,LM=a.defineComponent({inheritAttrs:!1,__name:"BModal",props:{autoFocus:{type:[Boolean,String],default:!0},autoFocusButton:{default:void 0},body:{default:void 0},backdropVariant:{default:void 0},bodyBgVariant:{default:null},bodyClass:{default:void 0},bodyScrolling:{type:[Boolean,String],default:!1},bodyTextVariant:{default:null},bodyVariant:{default:null},busy:{type:[Boolean,String],default:!1},buttonSize:{default:"md"},cancelDisabled:{type:[Boolean,String],default:!1},cancelTitle:{default:"Cancel"},cancelVariant:{default:"secondary"},centered:{type:[Boolean,String],default:!1},contentClass:{default:void 0},dialogClass:{default:void 0},footerBgVariant:{default:null},footerBorderVariant:{default:null},footerClass:{default:void 0},footerTextVariant:{default:null},footerVariant:{default:null},fullscreen:{type:[Boolean,String],default:!1},headerBgVariant:{default:null},headerBorderVariant:{default:null},headerClass:{default:void 0},headerCloseClass:{default:void 0},headerCloseLabel:{default:"Close"},headerCloseVariant:{default:"secondary"},headerTextVariant:{default:null},headerVariant:{default:null},hideBackdrop:{type:[Boolean,String],default:!1},hideFooter:{type:[Boolean,String],default:!1},hideHeader:{type:[Boolean,String],default:!1},hideHeaderClose:{type:[Boolean,String],default:!1},id:{default:void 0},lazy:{type:[Boolean,String],default:!1},modalClass:{default:void 0},modelValue:{type:[Boolean,String],default:!1},noCloseOnBackdrop:{type:[Boolean,String],default:!1},noCloseOnEsc:{type:[Boolean,String],default:!1},noFade:{type:[Boolean,String],default:!1},okDisabled:{type:[Boolean,String],default:!1},okOnly:{type:[Boolean,String],default:!1},okTitle:{default:"Ok"},okVariant:{default:"primary"},scrollable:{type:[Boolean,String],default:!1},size:{default:"md"},teleportDisabled:{type:[Boolean,String],default:!1},teleportTo:{default:"body"},title:{default:void 0},titleClass:{default:void 0},titleSrOnly:{type:[Boolean,String],default:!1},titleTag:{default:"h5"},transProps:{default:void 0}},emits:["cancel","close","hidden","hide","hide-prevented","ok","show","show-prevented","shown","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=a.useSlots(),l=Mt(()=>r.id,"modal"),s=St(r,"modelValue",o,{passive:!0}),c=I(()=>r.busy),u=I(()=>r.lazy),d=I(()=>r.cancelDisabled),p=I(()=>r.centered),m=I(()=>r.hideBackdrop),g=I(()=>r.hideFooter),v=I(()=>r.hideHeader),w=I(()=>r.hideHeaderClose),_=I(s),y=I(()=>r.noCloseOnBackdrop),C=I(()=>r.noCloseOnEsc),S=I(()=>r.noFade),k=I(()=>r.autoFocus),x=I(()=>r.okDisabled),B=I(()=>r.okOnly),N=I(()=>r.scrollable),$=I(()=>r.titleSrOnly),T=I(()=>r.teleportDisabled),M=I(()=>r.bodyScrolling),A=I(()=>r.fullscreen),F=a.ref(null),z=a.ref(null),O=a.ref(null),L=a.ref(null),V=a.ref(_.value),H=a.ref(!1);br("Escape",()=>{he("esc")},{target:F}),$4(_,M);const{focused:G}=or(F,{initialValue:_.value&&r.autoFocusButton===void 0}),{focused:W}=or(z,{initialValue:_.value&&r.autoFocusButton==="ok"}),{focused:ne}=or(O,{initialValue:_.value&&r.autoFocusButton==="cancel"}),{focused:se}=or(L,{initialValue:_.value&&r.autoFocusButton==="close"}),U=a.computed(()=>[r.modalClass,{fade:!S.value,show:V.value}]),oe=a.toRef(()=>u.value===!1||u.value===!0&&H.value===!0||u.value===!0&&_.value===!0),le=a.toRef(()=>r.backdropVariant!==void 0?r.backdropVariant:m.value?"transparent":"dark"),ue=a.toRef(()=>!bn(i["header-close"])),K=a.computed(()=>[r.dialogClass,{"modal-fullscreen":A.value===!0,[`modal-fullscreen-${A.value}-down`]:typeof A.value=="string",[`modal-${r.size}`]:r.size!=="md","modal-dialog-centered":p.value,"modal-dialog-scrollable":N.value}]),J=sa(()=>({bgVariant:r.bodyBgVariant,textVariant:r.bodyTextVariant,variant:r.bodyVariant})),q=a.computed(()=>[r.bodyClass,J.value]),j=sa(()=>({bgVariant:r.headerBgVariant,textVariant:r.headerTextVariant,variant:r.headerVariant})),re=a.computed(()=>[r.headerClass,j.value,{[`border-${r.headerBorderVariant}`]:r.headerBorderVariant!==null}]),X=a.computed(()=>({variant:ue.value?r.headerCloseVariant:void 0,class:r.headerCloseClass})),Q=sa(()=>({bgVariant:r.footerBgVariant,textVariant:r.footerTextVariant,variant:r.footerVariant})),ye=a.computed(()=>[r.footerClass,Q.value,{[`border-${r.footerBorderVariant}`]:r.footerBorderVariant!==null}]),_e=a.computed(()=>[r.titleClass,{"visually-hidden":$.value}]),Ne=a.toRef(()=>d.value||c.value),ke=a.toRef(()=>x.value||c.value),ee=(Se,De={})=>new Ml(Se,Le(de({cancelable:!1,target:F.value||null,relatedTarget:null,trigger:null},De),{componentId:l.value}));a.watch(_,(Se,De)=>{Se!==De&&(Se===!0?Ke():he())});const he=(Se="")=>{if(Se==="backdrop"&&y.value||Se==="esc"&&C.value){o("hide-prevented");return}const De=ee("hide",{cancelable:Se!=="",trigger:Se});if(Se==="ok"&&o(Se,De),Se==="cancel"&&o(Se,De),Se==="close"&&o(Se,De),o("hide",De),De.defaultPrevented){o("hide-prevented"),s.value||(s.value=!0);return}s.value&&(s.value=!1)},Ke=()=>{if(V.value)return;const Se=ee("show",{cancelable:!0});if(o("show",Se),Se.defaultPrevented){s.value&&(s.value=!1),o("show-prevented");return}s.value||(s.value=!0)},Fe=()=>{k.value!==!1&&(r.autoFocusButton==="ok"?W.value=!0:r.autoFocusButton==="close"?se.value=!0:r.autoFocusButton==="cancel"?ne.value=!0:G.value=!0)},ut=()=>{Ke()},be=()=>{V.value=!0,Fe(),o("shown",ee("shown")),u.value===!0&&(H.value=!0)},Ee=()=>{V.value=!1},Ye=()=>{o("hidden",ee("hidden")),u.value===!0&&(H.value=!1)},{activePosition:pt,activeModalCount:qe}=SM(V),ce=a.computed(()=>{var Se,De;return{"z-index":V.value?I4-(((Se=qe==null?void 0:qe.value)!=null?Se:0)-((De=pt==null?void 0:pt.value)!=null?De:0)):I4}});en(F,"bv-toggle",()=>{_.value?he():Ke()});const ge=a.computed(()=>({cancel:()=>{he("cancel")},close:()=>{he("close")},hide:he,ok:()=>{he("ok")},visible:_.value}));return t({hide:he,id:l,show:Ke}),(Se,De)=>{var Zt;return a.openBlock(),a.createBlock(a.Teleport,{to:Se.teleportTo,disabled:a.unref(T)},[a.createVNode(Hl,a.mergeProps({"no-fade":!0},Se.transProps,{"trans-props":de({enterToClass:"show"},(Zt=Se.transProps)==null?void 0:Zt.transProps),onBeforeEnter:ut,onAfterEnter:be,onLeave:Ee,onAfterLeave:Ye}),{default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("div",a.mergeProps({id:a.unref(l),ref_key:"element",ref:F,class:["modal",U.value],role:"dialog","aria-labelledby":a.unref(v)?void 0:`${a.unref(l)}-label`,"aria-describedby":`${a.unref(l)}-body`,tabindex:"-1"},Se.$attrs,{style:ce.value}),[a.createElementVNode("div",{class:a.normalizeClass(["modal-dialog",K.value])},[oe.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["modal-content",Se.contentClass])},[a.unref(v)?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["modal-header",re.value])},[a.renderSlot(Se.$slots,"header",a.normalizeProps(a.guardReactiveProps(ge.value)),()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(Se.titleTag),{id:`${a.unref(l)}-label`,class:a.normalizeClass(["modal-title",_e.value])},{default:a.withCtx(()=>[a.renderSlot(Se.$slots,"title",a.normalizeProps(a.guardReactiveProps(ge.value)),()=>[a.createTextVNode(a.toDisplayString(Se.title),1)],!0)]),_:3},8,["id","class"])),a.unref(w)?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[ue.value?(a.openBlock(),a.createBlock(Lr,a.mergeProps({key:0},X.value,{onClick:De[0]||(De[0]=yn=>he("close"))}),{default:a.withCtx(()=>[a.renderSlot(Se.$slots,"header-close",{},void 0,!0)]),_:3},16)):(a.openBlock(),a.createBlock(Ul,a.mergeProps({key:1,"aria-label":Se.headerCloseLabel},X.value,{onClick:De[1]||(De[1]=yn=>he("close"))}),null,16,["aria-label"]))],64))],!0)],2)),a.createElementVNode("div",{id:`${a.unref(l)}-body`,class:a.normalizeClass(["modal-body",q.value])},[a.renderSlot(Se.$slots,"default",a.normalizeProps(a.guardReactiveProps(ge.value)),()=>[a.createTextVNode(a.toDisplayString(Se.body),1)],!0)],10,RM),a.unref(g)?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["modal-footer",ye.value])},[a.renderSlot(Se.$slots,"footer",a.normalizeProps(a.guardReactiveProps(ge.value)),()=>[a.renderSlot(Se.$slots,"cancel",a.normalizeProps(a.guardReactiveProps(ge.value)),()=>[a.unref(B)?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(Lr,{key:0,ref_key:"cancelButton",ref:O,disabled:Ne.value,size:Se.buttonSize,variant:Se.cancelVariant,onClick:De[2]||(De[2]=yn=>he("cancel"))},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(Se.cancelTitle),1)]),_:1},8,["disabled","size","variant"]))],!0),a.renderSlot(Se.$slots,"ok",a.normalizeProps(a.guardReactiveProps(ge.value)),()=>[a.createVNode(Lr,{ref_key:"okButton",ref:z,disabled:ke.value,size:Se.buttonSize,variant:Se.okVariant,onClick:De[3]||(De[3]=yn=>he("ok"))},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(Se.okTitle),1)]),_:1},8,["disabled","size","variant"])],!0)],!0)],2))],2)):a.createCommentVNode("",!0)],2),a.renderSlot(Se.$slots,"backdrop",{},()=>[a.createVNode(rd,{variant:le.value,show:a.unref(_),"no-spinner":"",fixed:"","no-wrap":"",blur:null,onClick:De[4]||(De[4]=yn=>he("backdrop"))},null,8,["variant","show"])],!0)],16,VM),[[a.vShow,a.unref(_)]])]),_:3},16,["trans-props"])],8,["to","disabled"])}}}),ad=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Wl=ad(LM,[["__scopeId","data-v-e2619669"]]),DM={install(e){const t=a.shallowRef([]),n=()=>{let l=()=>{};return{value:new Promise(s=>{l=s}),resolve:l}},r=l=>{const s=n(),c=Symbol();return t.value=[...t.value,a.computed(()=>{var u;return{component:(u=a.toValue(l.component))!=null?u:Wl,props:Le(de({},a.toValue(l.props)),{_isConfirm:!1,_promise:s,_self:c,_modelValue:!0})}})],s.value},o=l=>{const s=n(),c=Symbol();return t.value=[...t.value,a.computed(()=>{var u;return{component:(u=a.toValue(l.component))!=null?u:Wl,props:Le(de({},a.toValue(l.props)),{_isConfirm:!0,_promise:s,_self:c,_modelValue:!0})}})],s.value},i=l=>{t.value=t.value.filter(s=>s.value.props._self!==l)};e.provide(v4,{modals:t,remove:i,show:r,confirm:o})}},zM={install(e){const t=a.shallowRef([]),n=a.toRef(()=>t.value.length),r=a.toRef(()=>t.value[t.value.length-1]),o=u=>{t.value=[...t.value,u]},i=u=>{t.value=t.value.filter(d=>d.uid!==u.uid)},l=a.shallowRef([]),s=u=>{l.value=[...l.value,u]},c=u=>{l.value=l.value.filter(d=>d.uid!==u.uid)};e.provide(b4,{stack:t,countStack:n,lastStack:r,registry:l,pushStack:o,removeStack:i,pushRegistry:s,removeRegistry:c})}},FM={install(e,t){var c,u;var n,r;const o=typeof(t==null?void 0:t.rtl)=="boolean"?!1:(c=(n=t==null?void 0:t.rtl)==null?void 0:n.rtlInitial)!=null?c:!1,i=typeof(t==null?void 0:t.rtl)=="boolean"?void 0:(u=(r=t==null?void 0:t.rtl)==null?void 0:r.localeInitial)!=null?u:void 0,l=a.ref(o),s=a.ref(i);e.provide(g4,{isRtl:l,locale:s})}},HM=["id"],UM=a.defineComponent({__name:"BAccordion",props:{flush:{type:[Boolean,String],default:!1},free:{type:[Boolean,String],default:!1},id:{default:void 0},modelValue:{default:void 0}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=St(n,"modelValue",t,{passive:!0}),o=Mt(()=>n.id,"accordion"),i=I(()=>n.flush),l=I(()=>n.free),s=a.computed(()=>({"accordion-flush":i.value}));return a.provide(f4,{openItem:a.readonly(r),free:l,setOpenItem:c=>{r.value=c}}),(c,u)=>(a.openBlock(),a.createElementBlock("div",{id:a.unref(o),class:a.normalizeClass(["accordion",s.value])},[a.renderSlot(c.$slots,"default")],10,HM))}}),n0=a.defineComponent({inheritAttrs:!1,__name:"BCollapse",props:{horizontal:{type:[Boolean,String],default:!1},id:{default:void 0},isNav:{type:[Boolean,String],default:!1},modelValue:{type:[Boolean,String],default:!1},skipAnimation:{type:[Boolean,String],default:!1},tag:{default:"div"},toggle:{type:[Boolean,String],default:!1},visible:{type:[Boolean,String],default:!1}},emits:["hidden","hide","hide-prevented","show","show-prevented","shown","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=(A,F={})=>new Ml(A,Le(de({cancelable:!1,target:v.value||null,relatedTarget:null,trigger:null},F),{componentId:g.value})),l=St(r,"modelValue",o,{passive:!0}),s=I(l),c=I(()=>r.toggle),u=I(()=>r.horizontal),d=I(()=>r.isNav),p=I(()=>r.visible),m=I(()=>r.skipAnimation),g=Mt(()=>r.id,"collapse"),v=a.ref(null),w=a.ref(!1),_=a.ref(s.value),y=a.computed(()=>({show:_.value,"navbar-collapse":d.value,collapsing:w.value,closing:_.value&&!s.value,"collapse-horizontal":u.value})),C=()=>{l.value=!1},S=()=>{l.value=!0},k=()=>{l.value=!s.value},x=a.computed(()=>({toggle:k,open:S,close:C,id:g.value,visible:s.value}));let B,N,$=m.value;const T=()=>{const A=i("show",{cancelable:!0});if(o("show",A),A.defaultPrevented){o("show-prevented");return}clearTimeout(N),clearTimeout(B),_.value=!0,!$&&(w.value=!0,a.nextTick(()=>{v.value!==null&&(u.value?v.value.style.width=`${v.value.scrollWidth}px`:v.value.style.height=`${v.value.scrollHeight}px`,B=setTimeout(()=>{w.value=!1,o("shown"),v.value!==null&&(v.value.style.height="",v.value.style.width="")},P1(v.value)))}))},M=()=>{const A=i("hide",{cancelable:!0});if(o("hide",A),A.defaultPrevented){o("hide-prevented");return}if(clearTimeout(B),clearTimeout(N),v.value!==null){if($){_.value=!1;return}w.value?(v.value.style.height="",v.value.style.width=""):u.value?v.value.style.width=`${v.value.scrollWidth}px`:v.value.style.height=`${v.value.scrollHeight}px`,v.value.offsetHeight,w.value=!0,a.nextTick(()=>{v.value!==null&&(v.value.style.height="",v.value.style.width="",N=setTimeout(()=>{_.value=!1,w.value=!1,o("hidden")},P1(v.value)))})}};return a.watch(l,()=>{s.value?T():M()}),a.onMounted(()=>{v.value!==null&&!s.value&&c.value&&a.nextTick(()=>{l.value=!0})}),a.watch(m,A=>{$=A}),p.value&&($=!0,l.value=!0,a.nextTick(()=>{$=m.value})),a.watch(p,A=>{$=!0,A?S():C(),a.nextTick(()=>{$=m.value})}),en(v,"bv-toggle",()=>{l.value=!s.value}),t({close:C,isNav:d,open:S,toggle:k,visible:a.readonly(_)}),a.provide(X1,{id:g,close:C,open:S,toggle:k,visible:a.readonly(_),isNav:d}),(A,F)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.renderSlot(A.$slots,"header",a.normalizeProps(a.guardReactiveProps(x.value))),(a.openBlock(),a.createBlock(a.resolveDynamicComponent(A.tag),a.mergeProps({id:a.unref(g),ref_key:"element",ref:v,class:["collapse",y.value],"is-nav":a.unref(d)},A.$attrs),{default:a.withCtx(()=>[a.renderSlot(A.$slots,"default",a.normalizeProps(a.guardReactiveProps(x.value)))]),_:3},16,["id","class","is-nav"])),a.renderSlot(A.$slots,"footer",a.normalizeProps(a.guardReactiveProps(x.value)))],64))}}),WM=["aria-expanded","aria-controls","onClick"],jM=a.defineComponent({inheritAttrs:!1,__name:"BAccordionItem",props:{bodyAttrs:{default:void 0},bodyClass:{default:void 0},buttonAttrs:{default:void 0},buttonClass:{default:void 0},collapseClass:{default:void 0},headerAttrs:{default:void 0},headerClass:{default:void 0},headerTag:{default:"h2"},horizontal:{type:[Boolean,String],default:void 0},id:{default:void 0},isNav:{type:[Boolean,String],default:void 0},modelValue:{type:Boolean,default:!1},tag:{default:void 0},title:{default:void 0},toggle:{type:[Boolean,String],default:void 0},visible:{type:[Boolean,String],default:!1},wrapperAttrs:{default:void 0}},emits:["hidden","hide","hide-prevented","show","show-prevented","shown","update:modelValue"],setup(e,{emit:t}){const u=a.useAttrs(),{class:n}=u,r=ar(u,["class"]),o=e,i=t,l=St(o,"modelValue",i,{passive:!0}),s=a.inject(f4,null),c=Mt(()=>o.id,"accordion_item");return a.onMounted(()=>{l.value&&!(s!=null&&s.free.value)&&(s==null||s.setOpenItem(c.value)),!l.value&&(s==null?void 0:s.openItem.value)===c.value&&(l.value=!0)}),a.watch(()=>s==null?void 0:s.openItem.value,()=>l.value=(s==null?void 0:s.openItem.value)===c.value&&!(s!=null&&s.free.value)),a.watch(l,()=>{l.value&&!(s!=null&&s.free.value)&&(s==null||s.setOpenItem(c.value))}),(d,p)=>(a.openBlock(),a.createElementBlock("div",a.mergeProps({class:"accordion-item"},d.wrapperAttrs,{class:a.unref(n)}),[a.createVNode(n0,a.mergeProps({id:a.unref(c),modelValue:a.unref(l),"onUpdate:modelValue":p[0]||(p[0]=m=>a.isRef(l)?l.value=m:null),class:["accordion-collapse",d.collapseClass],"aria-labelledby":`${a.unref(c)}-heading`},r,{tag:d.tag,toggle:d.toggle,horizontal:d.horizontal,visible:d.visible,"is-nav":d.isNav,onShow:p[1]||(p[1]=m=>i("show",m)),onShown:p[2]||(p[2]=m=>i("shown")),onHide:p[3]||(p[3]=m=>i("hide",m)),onHidden:p[4]||(p[4]=m=>i("hidden")),onHidePrevented:p[5]||(p[5]=m=>i("hide-prevented")),onShowPrevented:p[6]||(p[6]=m=>i("show-prevented"))}),{header:a.withCtx(({visible:m,toggle:g})=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(d.headerTag),a.mergeProps({id:`${a.unref(c)}-heading`,class:["accordion-header",d.headerClass]},d.headerAttrs),{default:a.withCtx(()=>[a.createElementVNode("button",a.mergeProps({class:"accordion-button"},d.buttonAttrs,{class:[{collapsed:!m},d.buttonClass],type:"button","aria-expanded":m?"true":"false","aria-controls":a.unref(c),onClick:g}),[a.renderSlot(d.$slots,"title",{},()=>[a.createTextVNode(a.toDisplayString(d.title),1)])],16,WM)]),_:2},1040,["id","class"]))]),default:a.withCtx(()=>[a.createElementVNode("div",a.mergeProps({class:"accordion-body"},d.bodyAttrs,{class:d.bodyClass}),[a.renderSlot(d.$slots,"default")],16)]),_:3},16,["id","modelValue","class","aria-labelledby","tag","toggle","horizontal","visible","is-nav"])],16))}}),GM=a.defineComponent({__name:"BAlert",props:{closeClass:{default:void 0},closeContent:{default:void 0},closeLabel:{default:"Close"},closeVariant:{default:"secondary"},dismissible:{type:[Boolean,String],default:!1},fade:{type:[Boolean,String],default:!1},immediate:{type:[Boolean,String],default:!0},interval:{default:1e3},modelValue:{type:[Boolean,Number],default:!1},noHoverPause:{type:[Boolean,String],default:!1},showOnPause:{type:[Boolean,String],default:!0},variant:{default:"info"}},emits:["close","close-countdown","closed","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=a.useSlots(),l=a.ref(null),s=St(r,"modelValue",o),c=Y1(l),u=I(()=>r.dismissible),d=I(()=>r.fade),p=I(()=>r.immediate),m=I(()=>r.showOnPause),g=I(()=>r.noHoverPause),v=it(()=>r.interval),w=a.toRef(()=>!bn(i.close)),_=a.toRef(()=>typeof s.value=="boolean"?0:s.value),y=a.computed(()=>({[`alert-${r.variant}`]:r.variant!==null,"alert-dismissible":u.value})),C=a.computed(()=>[r.closeClass,{"btn-close-custom":w.value}]),{isActive:S,pause:k,restart:x,resume:B,stop:N,isPaused:$,value:T}=S4(_,v,{immediate:typeof s.value=="number"&&p.value}),M=a.toRef(()=>typeof s.value=="boolean"?s.value:S.value||m.value&&$.value),A=a.computed(()=>({variant:w.value?r.closeVariant:void 0,class:C.value}));a.watchEffect(()=>{o("close-countdown",T.value)});const F=()=>{o("close"),typeof s.value=="boolean"?s.value=!1:(s.value=0,N()),o("closed")},z=()=>{g.value||k()};return a.watch(c,O=>{if(O){z();return}B()}),a.onBeforeUnmount(N),t({pause:k,restart:x,resume:B,stop:N}),(O,L)=>(a.openBlock(),a.createBlock(Hl,{"no-fade":!a.unref(d),"trans-props":{enterToClass:"show"}},{default:a.withCtx(()=>[M.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"element",ref:l,class:a.normalizeClass(["alert",y.value]),role:"alert","aria-live":"polite","aria-atomic":"true"},[a.renderSlot(O.$slots,"default",{},void 0,!0),a.unref(u)?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[w.value||O.closeContent?(a.openBlock(),a.createBlock(Lr,a.mergeProps({key:0},A.value,{onClick:F}),{default:a.withCtx(()=>[a.renderSlot(O.$slots,"close",{},()=>[a.createTextVNode(a.toDisplayString(O.closeContent),1)],!0)]),_:3},16)):(a.openBlock(),a.createBlock(Ul,a.mergeProps({key:1,"aria-label":O.closeLabel},A.value,{onClick:F}),null,16,["aria-label"]))],64)):a.createCommentVNode("",!0)],2)):a.createCommentVNode("",!0)]),_:3},8,["no-fade"]))}}),YM=ad(GM,[["__scopeId","data-v-80abc89a"]]),qM={key:0,class:"b-avatar-custom"},KM={key:1,class:"b-avatar-img"},XM=["src","alt"],V4=.4,ZM=a.defineComponent({__name:"BAvatar",props:{alt:{default:"avatar"},badge:{type:[Boolean,String],default:!1},badgeBgVariant:{default:null},badgeOffset:{default:void 0},badgeStart:{type:[Boolean,String],default:!1},badgeTextVariant:{default:null},badgeTop:{type:[Boolean,String],default:!1},badgeVariant:{default:"primary"},button:{type:[Boolean,String],default:!1},buttonType:{default:"button"},icon:{type:[String,Boolean],default:void 0},size:{default:void 0},square:{type:[Boolean,String],default:!1},src:{default:void 0},text:{default:void 0},active:{type:[Boolean,String],default:void 0},activeClass:{default:void 0},append:{type:[Boolean,String],default:void 0},disabled:{type:[Boolean,String],default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},opacity:{default:void 0},opacityHover:{default:void 0},rel:{default:void 0},replace:{type:[Boolean,String],default:void 0},routerComponentName:{default:void 0},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:void 0},variant:{default:"secondary"},bgVariant:{default:null},textVariant:{default:null},rounded:{type:[String,Number,Boolean],default:!1},roundedTop:{type:[String,Number,Boolean],default:void 0},roundedBottom:{type:[String,Number,Boolean],default:void 0},roundedStart:{type:[String,Number,Boolean],default:void 0},roundedEnd:{type:[String,Number,Boolean],default:void 0}},emits:["click","img-error"],setup(e,{emit:t}){const n=e,r=t,o=a.useSlots(),{computedLink:i,computedLinkProps:l}=Ei(n),s=a.inject(u4,null),c=["sm",null,"lg"],u=V4*.7,d=I(()=>n.badgeStart),p=I(()=>n.badgeTop),m=I(()=>n.button),g=I(()=>n.disabled),v=I(()=>n.square),w=I(()=>n.rounded),_=I(()=>n.roundedTop),y=I(()=>n.roundedBottom),C=I(()=>n.roundedStart),S=I(()=>n.roundedEnd),k=a.toRef(()=>!bn(o.default)),x=a.toRef(()=>!bn(o.badge)),B=a.toRef(()=>!!n.badge||n.badge===""||x.value),N=a.toRef(()=>{var X;return(X=s==null?void 0:s.size.value)!=null?X:v.value}),$=M1(()=>n.size),T=M1(()=>s==null?void 0:s.size.value),M=a.computed(()=>{var X;return(X=T.value)!=null?X:$.value}),A=a.toRef(()=>{var X;return(X=s==null?void 0:s.variant.value)!=null?X:n.variant}),F=a.toRef(()=>{var X;return(X=s==null?void 0:s.rounded.value)!=null?X:w.value}),z=a.toRef(()=>{var X;return(X=s==null?void 0:s.roundedTop.value)!=null?X:_.value}),O=a.toRef(()=>{var X;return(X=s==null?void 0:s.roundedBottom.value)!=null?X:y.value}),L=a.toRef(()=>{var X;return(X=s==null?void 0:s.roundedStart.value)!=null?X:C.value}),V=a.toRef(()=>{var X;return(X=s==null?void 0:s.roundedEnd.value)!=null?X:S.value}),H=t0(()=>({rounded:F.value,roundedTop:z.value,roundedBottom:O.value,roundedStart:L.value,roundedEnd:V.value})),G=sa(()=>({variant:n.badgeVariant,bgVariant:n.badgeBgVariant,textVariant:n.badgeTextVariant})),W=a.toRef(()=>n.badge===!0?"":n.badge),ne=a.toRef(()=>{var X;return(X=s==null?void 0:s.textVariant.value)!=null?X:n.textVariant}),se=a.toRef(()=>{var X;return(X=s==null?void 0:s.bgVariant.value)!=null?X:n.bgVariant}),U=sa(()=>({bgVariant:se.value,textVariant:ne.value,variant:A.value})),oe=a.computed(()=>[U.value,N.value===!0?void 0:H.value,{[`b-avatar-${n.size}`]:!!n.size&&c.indexOf($.value)!==-1,[`btn-${A.value}`]:m.value?A.value!==null:!1,badge:!m.value&&A.value!==null&&k.value,btn:m.value,"rounded-0":N.value===!0}]),le=a.computed(()=>{const X=n.badgeOffset||"0px";return{fontSize:(c.indexOf(M.value||null)===-1?`calc(${M.value} * ${u})`:"")||"",top:p.value?X:"",bottom:p.value?"":X,left:d.value?X:"",right:d.value?"":X}}),ue=a.computed(()=>{const X=c.indexOf(M.value||null)===-1?`calc(${M.value} * ${V4})`:null;return X?{fontSize:X}:{}}),K=a.computed(()=>{var X;const Q=((X=s==null?void 0:s.overlapScale)==null?void 0:X.value)||0,ye=M.value&&Q?`calc(${M.value} * -${Q})`:null;return ye?{marginLeft:ye,marginRight:ye}:{}}),J=a.toRef(()=>i.value?$a:m.value?"button":"span"),q=a.computed(()=>{var X,Q;return Le(de({},K.value),{width:(X=M.value)!=null?X:void 0,height:(Q=M.value)!=null?Q:void 0})}),j=X=>{!g.value&&(i.value||m.value)&&r("click",X)},re=X=>{r("img-error",X)};return(X,Q)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(J.value),a.mergeProps({class:["b-avatar",oe.value],style:q.value},a.unref(l),{type:a.unref(m)&&!a.unref(i)?n.buttonType:void 0,disabled:a.unref(g)||null,onClick:j}),{default:a.withCtx(()=>[k.value?(a.openBlock(),a.createElementBlock("span",qM,[a.renderSlot(X.$slots,"default")])):X.src?(a.openBlock(),a.createElementBlock("span",KM,[a.createElementVNode("img",{src:X.src,alt:X.alt,onError:re},null,40,XM)])):X.text?(a.openBlock(),a.createElementBlock("span",{key:2,class:"b-avatar-text",style:a.normalizeStyle(ue.value)},a.toDisplayString(X.text),5)):a.createCommentVNode("",!0),B.value?(a.openBlock(),a.createElementBlock("span",{key:3,class:a.normalizeClass(["b-avatar-badge",a.unref(G)]),style:a.normalizeStyle(le.value)},[a.renderSlot(X.$slots,"badge",{},()=>[a.createTextVNode(a.toDisplayString(W.value),1)])],6)):a.createCommentVNode("",!0)]),_:3},16,["class","style","type","disabled"]))}}),JM=a.defineComponent({__name:"BAvatarGroup",props:{overlap:{default:.3},size:{default:void 0},square:{type:[Boolean,String],default:!1},tag:{default:"div"},variant:{default:null},bgVariant:{default:null},textVariant:{default:null},rounded:{type:[String,Number,Boolean],default:!1},roundedTop:{type:[String,Number,Boolean],default:void 0},roundedBottom:{type:[String,Number,Boolean],default:void 0},roundedStart:{type:[String,Number,Boolean],default:void 0},roundedEnd:{type:[String,Number,Boolean],default:void 0}},setup(e){const t=e,n=I(()=>t.square),r=I(()=>t.rounded),o=I(()=>t.roundedTop),i=I(()=>t.roundedBottom),l=I(()=>t.roundedStart),s=I(()=>t.roundedEnd),c=it(()=>t.overlap),u=M1(()=>t.size),d=a.toRef(()=>Math.min(Math.max(c.value,0),1)/2),p=a.computed(()=>{const m=u.value?`calc(${u.value} * ${d.value})`:null;return m?{paddingLeft:m,paddingRight:m}:{}});return a.provide(u4,{overlapScale:d,size:a.toRef(()=>t.size),square:n,rounded:r,roundedTop:o,roundedBottom:i,roundedStart:l,roundedEnd:s,variant:a.toRef(()=>t.variant),bgVariant:a.toRef(()=>t.bgVariant),textVariant:a.toRef(()=>t.textVariant)}),(m,g)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(m.tag),{class:"b-avatar-group",role:"group"},{default:a.withCtx(()=>[a.createElementVNode("div",{class:"b-avatar-group-inner",style:a.normalizeStyle(p.value)},[a.renderSlot(m.$slots,"default")],4)]),_:3}))}}),QM=a.defineComponent({__name:"BBadge",props:{dotIndicator:{type:[Boolean,String],default:!1},pill:{type:[Boolean,String],default:!1},tag:{default:"span"},textIndicator:{type:[Boolean,String],default:!1},active:{type:[Boolean,String],default:void 0},activeClass:{default:void 0},append:{type:[Boolean,String],default:void 0},disabled:{type:[Boolean,String],default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:[Boolean,String],default:void 0},opacity:{default:void 0},opacityHover:{default:void 0},rel:{default:void 0},replace:{type:[Boolean,String],default:void 0},routerComponentName:{default:void 0},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:void 0},variant:{default:"secondary"},bgVariant:{default:null},textVariant:{default:null}},setup(e){const t=e,n=I(()=>t.pill),r=I(()=>t.textIndicator),o=I(()=>t.dotIndicator),i=I(()=>t.active),l=I(()=>t.disabled),s=sa(t),{computedLink:c,computedLinkProps:u}=Ei(t,["active","activeClass","append","disabled","href","rel","replace","routerComponentName","target","to","opacity","opacityHover","underlineVariant","underlineOffset","underlineOffsetHover","underlineOpacity","underlineOpacityHover","icon"]),d=a.toRef(()=>c.value?$a:t.tag),p=a.computed(()=>[s.value,{active:i.value,disabled:l.value,"rounded-pill":n.value,"position-absolute top-0 start-100 translate-middle":r.value||o.value,"p-2 border border-light rounded-circle":o.value,"text-decoration-none":c.value}]);return(m,g)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(d.value),a.mergeProps({class:["badge",p.value]},a.unref(u)),{default:a.withCtx(()=>[a.renderSlot(m.$slots,"default")]),_:3},16,["class"]))}}),R4=a.defineComponent({__name:"BBreadcrumbItem",props:{ariaCurrent:{default:"location"},text:{default:void 0},active:{type:[Boolean,String],default:!1},activeClass:{default:void 0},append:{type:[Boolean,String],default:void 0},disabled:{type:[Boolean,String],default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:[Boolean,String],default:void 0},opacity:{default:void 0},opacityHover:{default:void 0},rel:{default:void 0},replace:{type:[Boolean,String],default:void 0},routerComponentName:{default:void 0},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:void 0},variant:{default:void 0}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,o=I(()=>n.active),i=I(()=>n.disabled),l=a.computed(()=>({active:o.value})),s=a.toRef(()=>o.value?"span":$a),c=a.toRef(()=>o.value?n.ariaCurrent:void 0),u=a.computed(()=>s.value!=="span"?J1(n,["active","activeClass","append","disabled","href","rel","replace","routerComponentName","target","to","variant","opacity","opacityHover","underlineVariant","underlineOffset","underlineOffsetHover","underlineOpacity","underlineOpacityHover","icon"]):{}),d=p=>{if(i.value||o.value){p.preventDefault(),p.stopImmediatePropagation();return}i.value||r("click",p)};return(p,m)=>(a.openBlock(),a.createElementBlock("li",{class:a.normalizeClass(["breadcrumb-item",l.value])},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.value),a.mergeProps({"aria-current":c.value},u.value,{onClick:d}),{default:a.withCtx(()=>[a.renderSlot(p.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(p.text),1)])]),_:3},16,["aria-current"]))],2))}}),eP={"aria-label":"breadcrumb"},tP={class:"breadcrumb"},nP=a.defineComponent({__name:"BBreadcrumb",props:{items:{default:void 0}},setup(e){const t=e,n=_M(),r=a.computed(()=>{var o;const i=t.items||((o=n.items)==null?void 0:o.value)||[];let l=!1;return i.map((s,c)=>(typeof s=="string"&&(s={text:s},c<i.length-1&&(s.href="#")),s.active&&(l=!0),!s.active&&!l&&(s.active=c+1===i.length),s))});return(o,i)=>(a.openBlock(),a.createElementBlock("nav",eP,[a.createElementVNode("ol",tP,[a.renderSlot(o.$slots,"prepend"),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.value,(l,s)=>(a.openBlock(),a.createBlock(R4,a.mergeProps({key:s},l),{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(l.text),1)]),_:2},1040))),128)),a.renderSlot(o.$slots,"default"),a.renderSlot(o.$slots,"append")])]))}}),rP=a.defineComponent({__name:"BButtonGroup",props:{ariaLabel:{default:"Group"},size:{default:"md"},tag:{default:"div"},vertical:{type:[Boolean,String],default:!1}},setup(e){const t=e,n=I(()=>t.vertical),r=a.computed(()=>({"btn-group":!n.value,[`btn-group-${t.size}`]:t.size!=="md","btn-group-vertical":n.value}));return(o,i)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.tag),{class:a.normalizeClass(r.value),role:"group","aria-label":o.ariaLabel},{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},8,["class","aria-label"]))}}),aP=["role","aria-label"],oP=a.defineComponent({__name:"BButtonToolbar",props:{ariaLabel:{default:"Group"},justify:{type:[Boolean,String],default:!1},role:{default:"toolbar"}},setup(e){const t=e,n=I(()=>t.justify),r=a.computed(()=>({"justify-content-between":n.value}));return(o,i)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([r.value,"btn-toolbar"]),role:o.role,"aria-label":o.ariaLabel},[a.renderSlot(o.$slots,"default")],10,aP))}}),iP=["src","width","height","srcset","sizes","loading"],r0=a.defineComponent({__name:"BImg",props:{blank:{type:[Boolean,String],default:!1},blankColor:{default:"transparent"},block:{type:[Boolean,String],default:!1},center:{type:[Boolean,String],default:!1},end:{type:[Boolean,String],default:!1},fluid:{type:[Boolean,String],default:!1},fluidGrow:{type:[Boolean,String],default:!1},height:{default:void 0},lazy:{type:[Boolean,String],default:!1},sizes:{default:void 0},src:{default:void 0},srcset:{default:void 0},start:{type:[Boolean,String],default:!1},thumbnail:{type:[Boolean,String],default:!1},width:{default:void 0},rounded:{type:[String,Number,Boolean],default:!1},roundedTop:{type:[String,Number,Boolean],default:void 0},roundedBottom:{type:[String,Number,Boolean],default:void 0},roundedStart:{type:[String,Number,Boolean],default:void 0},roundedEnd:{type:[String,Number,Boolean],default:void 0}},setup(e){const t=e,n=I(()=>t.lazy),r=I(()=>t.blank),o=I(()=>t.block),i=I(()=>t.center),l=I(()=>t.fluid),s=I(()=>t.fluidGrow),c=I(()=>t.start),u=I(()=>t.end),d=I(()=>t.thumbnail),p=it(()=>{var M;return(M=t.height)!=null?M:NaN}),m=it(()=>{var M;return(M=t.width)!=null?M:NaN}),g=I(()=>t.rounded),v=I(()=>t.roundedTop),w=I(()=>t.roundedBottom),_=I(()=>t.roundedStart),y=I(()=>t.roundedEnd),C=t0(()=>({rounded:g.value,roundedTop:v.value,roundedBottom:w.value,roundedStart:_.value,roundedEnd:y.value})),S=a.computed(()=>typeof t.srcset=="string"?t.srcset.split(",").filter(M=>M).join(","):Array.isArray(t.srcset)?t.srcset.filter(M=>M).join(","):void 0),k=a.computed(()=>typeof t.sizes=="string"?t.sizes.split(",").filter(M=>M).join(","):Array.isArray(t.sizes)?t.sizes.filter(M=>M).join(","):void 0),x=a.computed(()=>{const M=Number.isNaN(m.value)?void 0:m.value,A=Number.isNaN(p.value)?void 0:p.value;return r.value?M!==void 0&&A===void 0?{height:M,width:M}:M===void 0&&A!==void 0?{height:A,width:A}:{height:1,width:1}:{width:M,height:A}}),B=a.toRef(()=>T(x.value.width,x.value.height,t.blankColor)),N=a.toRef(()=>c.value?"float-start":u.value?"float-end":i.value?"mx-auto":void 0),$=a.computed(()=>[C.value,{"img-thumbnail":d.value,"img-fluid":l.value||s.value,"w-100":s.value,[`${N.value}`]:N.value!==void 0,"d-block":o.value||i.value}]),T=(M,A,F)=>`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(`<svg width="${M}" height="${A}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${M} ${A}" preserveAspectRatio="none">
|
|
2
|
-
<rect width="100%" height="100%" style="fill:${F};"></rect>
|
|
3
|
-
</svg>`)}`;return(M,A)=>(a.openBlock(),a.createElementBlock("img",{class:a.normalizeClass($.value),src:a.unref(r)?B.value:M.src,width:x.value.width||void 0,height:x.value.height||void 0,srcset:a.unref(r)?void 0:S.value,sizes:a.unref(r)?void 0:k.value,loading:a.unref(n)?"lazy":"eager"},null,10,iP))}}),a0=a.defineComponent({__name:"BCardImg",props:{bottom:{type:[Boolean,String],default:!1},top:{type:[Boolean,String],default:!1},blank:{type:[Boolean,String],default:void 0},blankColor:{default:void 0},block:{type:[Boolean,String],default:void 0},center:{type:[Boolean,String],default:void 0},end:{type:[Boolean,String],default:void 0},fluid:{type:[Boolean,String],default:void 0},fluidGrow:{type:[Boolean,String],default:void 0},height:{default:void 0},lazy:{type:[Boolean,String],default:void 0},sizes:{default:void 0},src:{default:void 0},srcset:{default:void 0},start:{type:[Boolean,String],default:void 0},thumbnail:{type:[Boolean,String],default:void 0},width:{default:void 0},rounded:{type:[String,Number,Boolean],default:void 0},roundedTop:{type:[String,Number,Boolean],default:void 0},roundedBottom:{type:[String,Number,Boolean],default:void 0},roundedStart:{type:[String,Number,Boolean],default:void 0},roundedEnd:{type:[String,Number,Boolean],default:void 0}},setup(e){const t=e,n=I(()=>t.bottom),r=I(()=>t.end),o=I(()=>t.start),i=I(()=>t.top),l=a.toRef(()=>i.value?"card-img-top":r.value?"card-img-right":n.value?"card-img-bottom":o.value?"card-img-left":"card-img"),s=a.computed(()=>td(t,["bottom","top","end","start"]));return(c,u)=>(a.openBlock(),a.createBlock(r0,a.mergeProps(s.value,{class:l.value}),null,16,["class"]))}}),lP=["innerHTML"],L4=a.defineComponent({__name:"BCardHeadFoot",props:{borderVariant:{default:null},html:{default:void 0},tag:{default:"div"},text:{default:void 0},variant:{default:null},bgVariant:{default:null},textVariant:{default:null}},setup(e){const t=e,n=sa(t),r=a.computed(()=>[n.value,{[`border-${t.borderVariant}`]:t.borderVariant!==null}]);return(o,i)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.tag),{class:a.normalizeClass(r.value)},{default:a.withCtx(()=>[o.html?(a.openBlock(),a.createElementBlock("div",{key:0,innerHTML:o.html},null,8,lP)):a.renderSlot(o.$slots,"default",{key:1},()=>[a.createTextVNode(a.toDisplayString(o.text),1)])]),_:3},8,["class"]))}}),D4=a.defineComponent({__name:"BCardHeader",props:{borderVariant:{default:void 0},html:{default:void 0},tag:{default:"div"},text:{default:void 0},variant:{default:void 0},bgVariant:{default:void 0},textVariant:{default:void 0}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(L4,a.mergeProps({class:"card-header"},t),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),z4=a.defineComponent({__name:"BCardTitle",props:{tag:{default:"h4"},text:{default:void 0}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(t.tag),{class:"card-title"},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(t.text),1)])]),_:3}))}}),F4=a.defineComponent({__name:"BCardSubtitle",props:{text:{default:void 0},tag:{default:"h6"},textVariant:{default:"body-secondary"}},setup(e){const t=e,n=a.computed(()=>({[`text-${t.textVariant}`]:t.textVariant!==null}));return(r,o)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(r.tag),{class:a.normalizeClass(["card-subtitle mb-2",n.value])},{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(r.text),1)])]),_:3},8,["class"]))}}),H4=a.defineComponent({__name:"BCardBody",props:{overlay:{type:[Boolean,String],default:!1},subtitle:{default:void 0},subtitleTag:{default:"h4"},subtitleTextVariant:{default:void 0},tag:{default:"div"},text:{default:void 0},title:{default:void 0},titleTag:{default:"h4"},variant:{default:null},bgVariant:{default:null},textVariant:{default:null}},setup(e){const t=e,n=a.useSlots(),r=I(()=>t.overlay),o=sa(t),i=a.toRef(()=>!bn(n.title)),l=a.toRef(()=>!bn(n.subtitle)),s=a.computed(()=>[o.value,{"card-img-overlay":r.value}]);return(c,u)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.tag),{class:a.normalizeClass(["card-body",s.value])},{default:a.withCtx(()=>[c.title||i.value?(a.openBlock(),a.createBlock(z4,{key:0,tag:c.titleTag},{default:a.withCtx(()=>[a.renderSlot(c.$slots,"title",{},()=>[a.createTextVNode(a.toDisplayString(c.title),1)])]),_:3},8,["tag"])):a.createCommentVNode("",!0),c.subtitle||l.value?(a.openBlock(),a.createBlock(F4,{key:1,tag:c.subtitleTag,"text-variant":c.subtitleTextVariant},{default:a.withCtx(()=>[a.renderSlot(c.$slots,"subtitle",{},()=>[a.createTextVNode(a.toDisplayString(c.subtitle),1)])]),_:3},8,["tag","text-variant"])):a.createCommentVNode("",!0),a.renderSlot(c.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(c.text),1)])]),_:3},8,["class"]))}}),U4=a.defineComponent({__name:"BCardFooter",props:{borderVariant:{default:void 0},html:{default:void 0},tag:{default:"div"},text:{default:void 0},variant:{default:void 0},bgVariant:{default:void 0},textVariant:{default:void 0}},setup(e){const t=e;return(n,r)=>(a.openBlock(),a.createBlock(L4,a.mergeProps({class:"card-footer"},t),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(n.text),1)])]),_:3},16))}}),o0=a.defineComponent({__name:"BCard",props:{align:{default:void 0},bodyBgVariant:{default:void 0},bodyClass:{default:void 0},bodyTag:{default:"div"},bodyText:{default:""},bodyTextVariant:{default:void 0},borderVariant:{default:null},footer:{default:void 0},footerBgVariant:{default:void 0},footerBorderVariant:{default:void 0},footerClass:{default:void 0},footerHtml:{default:""},footerTag:{default:"div"},footerTextVariant:{default:void 0},footerVariant:{default:null},header:{default:void 0},headerBgVariant:{default:void 0},headerBorderVariant:{default:void 0},headerClass:{default:void 0},headerHtml:{default:""},headerTag:{default:"div"},headerTextVariant:{default:void 0},headerVariant:{default:null},imgAlt:{default:void 0},imgBottom:{type:[Boolean,String],default:!1},imgEnd:{type:[Boolean,String],default:!1},imgHeight:{default:void 0},imgSrc:{default:void 0},imgStart:{type:[Boolean,String],default:!1},imgTop:{type:[Boolean,String],default:!1},imgWidth:{default:void 0},noBody:{type:[Boolean,String],default:!1},overlay:{type:[Boolean,String],default:!1},subtitle:{default:void 0},subtitleTag:{default:"h6"},subtitleTextVariant:{default:"body-secondary"},tag:{default:"div"},title:{default:void 0},titleTag:{default:"h4"},variant:{default:null},bgVariant:{default:null},textVariant:{default:null}},setup(e){const t=e,n=a.useSlots(),r=I(()=>t.imgBottom),o=I(()=>t.imgEnd),i=I(()=>t.imgStart),l=I(()=>t.noBody),s=a.toRef(()=>!bn(n.header)),c=a.toRef(()=>!bn(n.footer)),u=sa(t),d=a.computed(()=>[u.value,{[`text-${t.align}`]:t.align!==void 0,[`border-${t.borderVariant}`]:t.borderVariant!==null,"flex-row":i.value,"flex-row-reverse":o.value}]),p=a.computed(()=>({src:t.imgSrc,alt:t.imgAlt,height:t.imgHeight,width:t.imgWidth,bottom:t.imgBottom,end:t.imgEnd,start:t.imgStart,top:t.imgTop})),m=Yf();return(g,v)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(g.tag),{class:a.normalizeClass(["card",d.value])},{default:a.withCtx(()=>[a.createVNode(a.unref(m).define,null,{default:a.withCtx(()=>[a.renderSlot(g.$slots,"img",{},()=>[g.imgSrc?(a.openBlock(),a.createBlock(a0,a.normalizeProps(a.mergeProps({key:0},p.value)),null,16)):a.createCommentVNode("",!0)])]),_:3}),a.unref(r)?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.unref(m).reuse,{key:0})),g.header||s.value||g.headerHtml?(a.openBlock(),a.createBlock(D4,{key:1,"bg-variant":g.headerBgVariant,variant:g.headerVariant,"border-variant":g.headerBorderVariant,html:g.headerHtml,tag:g.headerTag,"text-variant":g.headerTextVariant,class:a.normalizeClass(g.headerClass)},{default:a.withCtx(()=>[a.renderSlot(g.$slots,"header",{},()=>[a.createTextVNode(a.toDisplayString(g.header),1)])]),_:3},8,["bg-variant","variant","border-variant","html","tag","text-variant","class"])):a.createCommentVNode("",!0),a.unref(l)?a.renderSlot(g.$slots,"default",{key:3},()=>[a.createTextVNode(a.toDisplayString(g.bodyText),1)]):(a.openBlock(),a.createBlock(H4,{key:2,overlay:g.overlay,"bg-variant":g.bodyBgVariant,tag:g.bodyTag,"text-variant":g.bodyTextVariant,subtitle:g.subtitle,"subtitle-tag":g.subtitleTag,"subtitle-text-variant":g.subtitleTextVariant,title:g.title,"title-tag":g.titleTag,class:a.normalizeClass(g.bodyClass)},{default:a.withCtx(()=>[a.renderSlot(g.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(g.bodyText),1)])]),_:3},8,["overlay","bg-variant","tag","text-variant","subtitle","subtitle-tag","subtitle-text-variant","title","title-tag","class"])),g.footer||c.value||g.footerHtml?(a.openBlock(),a.createBlock(U4,{key:4,"bg-variant":g.footerBgVariant,"border-variant":g.footerBorderVariant,variant:g.footerVariant,html:g.footerHtml,tag:g.footerTag,"text-variant":g.footerTextVariant,class:a.normalizeClass(g.footerClass)},{default:a.withCtx(()=>[a.renderSlot(g.$slots,"footer",{},()=>[a.createTextVNode(a.toDisplayString(g.footer),1)])]),_:3},8,["bg-variant","border-variant","variant","html","tag","text-variant","class"])):a.createCommentVNode("",!0),a.unref(r)?(a.openBlock(),a.createBlock(a.unref(m).reuse,{key:5})):a.createCommentVNode("",!0)]),_:3},8,["class"]))}}),sP=a.defineComponent({__name:"BCardGroup",props:{columns:{type:[Boolean,String],default:!1},deck:{type:[Boolean,String],default:!1},tag:{default:"div"}},setup(e){const t=e,n=I(()=>t.columns),r=I(()=>t.deck),o=a.toRef(()=>r.value?"card-deck":n.value?"card-columns":"card-group");return(i,l)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(i.tag),{class:a.normalizeClass(o.value)},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["class"]))}}),cP=a.defineComponent({__name:"BCardText",props:{tag:{default:"p"},text:{default:void 0}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(t.tag),{class:"card-text"},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(t.text),1)])]),_:3}))}}),uP=["id"],fP={key:0,class:"carousel-indicators"},dP=["aria-current","aria-label","onClick"],hP=a.createElementVNode("span",{class:"carousel-control-prev-icon","aria-hidden":"true"},null,-1),pP={class:"visually-hidden"},mP=a.createElementVNode("span",{class:"carousel-control-next-icon","aria-hidden":"true"},null,-1),gP={class:"visually-hidden"},yP=a.defineComponent({__name:"BCarousel",props:{background:{default:void 0},controls:{type:[Boolean,String],default:!1},controlsNextText:{default:"Next"},controlsPrevText:{default:"Previous"},fade:{type:[Boolean,String],default:!1},id:{default:void 0},imgHeight:{default:void 0},imgWidth:{default:void 0},indicators:{type:[Boolean,String],default:!1},indicatorsButtonLabel:{default:"Slide"},interval:{default:5e3},keyboard:{type:[Boolean,String],default:!0},modelValue:{default:0},noHoverPause:{type:[Boolean,String],default:!1},noTouch:{type:[Boolean,String],default:!1},noWrap:{type:[Boolean,String],default:!1},ride:{type:[Boolean,String],default:!1},rideReverse:{type:[Boolean,String],default:!1},touchThreshold:{default:50}},emits:["slide","slid","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=a.useSlots(),l=Mt(()=>r.id,"carousel"),s=St(r,"modelValue",o,{passive:!0}),c=I(()=>r.keyboard),u=I(()=>r.rideReverse),d=I(()=>r.noHoverPause),p=I(()=>r.fade),m=I(()=>r.controls),g=I(()=>r.indicators),v=I(()=>r.noTouch),w=I(()=>r.noWrap),_=it(()=>r.touchThreshold),y=it(()=>r.interval),C=I(()=>r.ride),S=a.ref(!1),k=a.ref(!1),x=a.ref(!0),B=a.ref(null),N=a.ref(null),$=a.ref(s.value),T=Y1(N),M=a.toRef(()=>`carousel-item carousel-item-${x.value?"prev":"next"} carousel-item-${x.value?"end":"start"}`),A=a.toRef(()=>`carousel-item active carousel-item-${x.value?"start":"end"}`),{pause:F,resume:z}=X3(()=>{u.value?W():ne()},y,{immediate:C.value==="carousel"}),O=a.toRef(()=>C.value===!0&&k.value===!0||C.value==="carousel"),L=a.computed(()=>mM(i.default,"BCarouselSlide")),V=a.computed(()=>({"carousel-fade":p.value})),H=q=>{var re;var j;return new IA(q,{componentId:l.value,cancelable:!1,target:N.value,direction:x.value?"right":"left",from:$.value,to:s.value,relatedTarget:(re=(j=B.value)==null?void 0:j.children[s.value])!=null?re:null})},G=q=>{if(S.value!==!0){if(C.value===!0&&(k.value=!0),O.value===!0&&z(),x.value=!(q<s.value),q>=L.value.length){if(w.value)return;s.value=0;return}if(q<0){if(w.value)return;s.value=L.value.length-1;return}$.value=s.value,s.value=q}},W=()=>{G(s.value-1)},ne=()=>{G(s.value+1)},se=q=>{c.value!==!1&&q()},U=()=>{d.value||F()},oe=()=>{O.value&&z()},{lengthX:le}=sM(N,{passive:!0,onSwipeStart(){v.value!==!0&&F()},onSwipeEnd(){if(v.value===!0)return;const q=()=>{O.value!==!1&&z()};if(le.value>=_.value){ne(),q();return}le.value<=-_.value&&(W(),q())}}),ue=()=>{o("slide",H("slide")),S.value=!0},K=()=>{o("slid",H("slid")),S.value=!1},J=q=>{s.value!==0&&q.classList.add("carousel-item")};return br("ArrowLeft",()=>{se(W)},{target:N}),br("ArrowRight",()=>{se(ne)},{target:N}),a.watch(C,()=>{k.value=!1}),a.watch(T,q=>{if(q){U();return}oe()}),t({next:ne,pause:F,prev:W,resume:z}),a.provide(i4,{background:a.toRef(()=>r.background),width:a.toRef(()=>r.imgWidth),height:a.toRef(()=>r.imgHeight)}),(q,j)=>(a.openBlock(),a.createElementBlock("div",{id:a.unref(l),ref_key:"element",ref:N,class:a.normalizeClass(["carousel slide pointer-event",V.value])},[a.unref(g)?(a.openBlock(),a.createElementBlock("div",fP,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(L.value.length,(re,X)=>(a.openBlock(),a.createElementBlock("button",{key:X,type:"button","data-bs-target":"",class:a.normalizeClass(X===a.unref(s)?"active":""),"aria-current":X===a.unref(s)?!0:void 0,"aria-label":`${q.indicatorsButtonLabel} ${X}`,onClick:Q=>G(X)},null,10,dP))),128))])):a.createCommentVNode("",!0),a.createElementVNode("div",{ref_key:"relatedTarget",ref:B,class:"carousel-inner"},[a.createVNode(a.TransitionGroup,{"enter-from-class":M.value,"enter-active-class":M.value,"enter-to-class":M.value,"leave-from-class":A.value,"leave-active-class":A.value,"leave-to-class":A.value,onBeforeLeave:ue,onAfterLeave:K,onAfterEnter:J},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(L.value,(re,X)=>a.withDirectives((a.openBlock(),a.createBlock(a.resolveDynamicComponent(re),{key:X,class:a.normalizeClass({active:X===a.unref(s)&&S.value===!1})},null,8,["class"])),[[a.vShow,X===a.unref(s)]])),128))]),_:1},8,["enter-from-class","enter-active-class","enter-to-class","leave-from-class","leave-active-class","leave-to-class"])],512),a.unref(m)?(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createElementVNode("button",{class:"carousel-control-prev",type:"button",onClick:W},[hP,a.createElementVNode("span",pP,a.toDisplayString(q.controlsPrevText),1)]),a.createElementVNode("button",{class:"carousel-control-next",type:"button",onClick:ne},[mP,a.createElementVNode("span",gP,a.toDisplayString(q.controlsNextText),1)])],64)):a.createCommentVNode("",!0)],10,uP))}}),vP=["innerHTML"],bP={key:1},_P=["innerHTML"],wP={key:1},SP=a.defineComponent({__name:"BCarouselSlide",props:{background:{default:void 0},caption:{default:void 0},captionHtml:{default:void 0},captionTag:{default:"h3"},contentTag:{default:"div"},contentVisibleUp:{default:void 0},id:{default:void 0},imgAlt:{default:void 0},imgBlank:{type:[Boolean,String],default:!1},imgBlankColor:{default:"transparent"},imgHeight:{default:void 0},imgSrc:{default:void 0},imgSrcset:{default:void 0},imgWidth:{default:void 0},interval:{default:void 0},text:{default:void 0},textHtml:{default:void 0},textTag:{default:"p"}},setup(e){const t=e,n=a.useSlots(),r=a.inject(i4,null),o=a.toRef(()=>t.text||t.textHtml||!bn(n.text)),i=a.toRef(()=>t.caption||t.captionHtml||!bn(n.caption)),l=a.toRef(()=>o.value||i.value||!bn(n.default)),s=a.computed(()=>({background:`${t.background||(r==null?void 0:r.background.value)||"rgb(171, 171, 171)"} none repeat scroll 0% 0%`})),c=a.computed(()=>({"d-none":t.contentVisibleUp!==void 0,[`d-${t.contentVisibleUp}-block`]:t.contentVisibleUp!==void 0}));return(u,d)=>(a.openBlock(),a.createElementBlock("div",{class:"carousel-item",style:a.normalizeStyle(s.value)},[a.renderSlot(u.$slots,"img",{},()=>{var p,m;return[a.createVNode(r0,{class:"d-block w-100",alt:u.imgAlt,srcset:u.imgSrcset,src:u.imgSrc,width:u.imgWidth||((p=a.unref(r))==null?void 0:p.width.value),height:u.imgHeight||((m=a.unref(r))==null?void 0:m.height.value),blank:u.imgBlank,"blank-color":u.imgBlankColor},null,8,["alt","srcset","src","width","height","blank","blank-color"])]}),l.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(u.contentTag),{key:0,class:a.normalizeClass(["carousel-caption",c.value])},{default:a.withCtx(()=>[i.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(u.captionTag),{key:0},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"caption",{},()=>[u.captionHtml?(a.openBlock(),a.createElementBlock("span",{key:0,innerHTML:u.captionHtml},null,8,vP)):(a.openBlock(),a.createElementBlock("span",bP,a.toDisplayString(u.caption),1))])]),_:3})):a.createCommentVNode("",!0),o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(u.textTag),{key:1},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"text",{},()=>[u.textHtml?(a.openBlock(),a.createElementBlock("span",{key:0,innerHTML:u.textHtml},null,8,_P)):(a.openBlock(),a.createElementBlock("span",wP,a.toDisplayString(u.text),1))])]),_:3})):a.createCommentVNode("",!0),a.renderSlot(u.$slots,"default")]),_:3},8,["class"])):a.createCommentVNode("",!0)],4))}}),W4=Qf("",[],{type:[Boolean,String,Number],default:!1}),j4=Qf("offset",[""],{type:[String,Number],default:null}),G4=Qf("order",[""],{type:[String,Number],default:null}),kP=a.defineComponent({name:"BCol",slots:Object,props:Le(de(Le(de(Le(de({col:{type:[Boolean,String],default:!1},cols:{type:[String,Number],default:null}},W4),{offset:{type:[String,Number],default:null}}),j4),{order:{type:[String,Number],default:null}}),G4),{alignSelf:{type:String,default:null},tag:{type:String,default:"div"}}),setup(e){const t=[{content:W4,propPrefix:"cols",classPrefix:"col"},{content:j4,propPrefix:"offset"},{content:G4,propPrefix:"order"}],n=I(()=>e.col),r=a.computed(()=>t.flatMap(o=>a4(e,o.content,o.propPrefix,o.classPrefix)));return{computedClasses:a.computed(()=>[r.value,{col:n.value||!r.value.some(o=>/^col-/.test(o))&&!e.cols,[`col-${e.cols}`]:!!e.cols,[`offset-${e.offset}`]:!!e.offset,[`order-${e.order}`]:!!e.order,[`align-self-${e.alignSelf}`]:!!e.alignSelf}])}}});function CP(e,t,n,r,o,i){return a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.tag),{class:a.normalizeClass(e.computedClasses)},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default")]),_:3},8,["class"])}const Mc=ad(kP,[["render",CP]]),xP=a.defineComponent({__name:"BContainer",props:{fluid:{type:[Boolean,String],default:!1},gutterX:{default:void 0},gutterY:{default:void 0},tag:{default:"div"}},setup(e){const t=e,n=it(()=>{var l;return(l=t.gutterX)!=null?l:NaN},{method:"parseInt"}),r=it(()=>{var l;return(l=t.gutterY)!=null?l:NaN},{method:"parseInt"}),o=I(()=>t.fluid),i=a.computed(()=>({container:o.value===!1,"container-fluid":o.value===!0,[`container-${o.value}`]:typeof o.value=="string",[`gx-${n.value}`]:!Number.isNaN(n.value),[`gy-${r.value}`]:!Number.isNaN(r.value)}));return(l,s)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(l.tag),{class:a.normalizeClass(i.value)},{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},8,["class"]))}}),EP={class:"visually-hidden"},BP=["aria-labelledby","role"],Y4=a.defineComponent({__name:"BDropdown",props:{ariaLabel:{default:void 0},autoClose:{type:[Boolean,String],default:!0},boundary:{default:"clippingAncestors"},boundaryPadding:{default:void 0},center:{type:[Boolean,String],default:!1},container:{default:void 0},disabled:{type:[Boolean,String],default:!1},dropend:{type:[Boolean,String],default:!1},dropstart:{type:[Boolean,String],default:!1},dropup:{type:[Boolean,String],default:!1},end:{type:[Boolean,String],default:!1},floatingMiddleware:{default:void 0},id:{default:void 0},isNav:{type:[Boolean,String],default:!1},lazy:{type:[Boolean,String],default:!1},menuClass:{default:void 0},modelValue:{type:[Boolean,String],default:!1},noCaret:{type:[Boolean,String],default:!1},noFlip:{type:[Boolean,String],default:!1},noShift:{type:[Boolean,String],default:!1},noSize:{type:[Boolean,String],default:!1},offset:{default:0},role:{default:"menu"},size:{default:"md"},split:{type:[Boolean,String],default:!1},splitButtonType:{default:"button"},splitClass:{default:void 0},splitDisabled:{type:[Boolean,String],default:void 0},splitHref:{default:void 0},splitTo:{default:void 0},splitVariant:{default:void 0},strategy:{default:"absolute"},text:{default:void 0},toggleClass:{default:void 0},toggleText:{default:"Toggle dropdown"},variant:{default:"secondary"}},emits:["click","hidden","hide","hide-prevented","show","show-prevented","shown","toggle","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=Mt(()=>r.id,"dropdown"),l=St(r,"modelValue",o,{passive:!0}),s=I(l),c=I(()=>r.dropup),u=I(()=>r.dropend),d=I(()=>r.isNav),p=I(()=>r.dropstart),m=I(()=>r.center),g=I(()=>r.end),v=I(()=>r.split),w=I(()=>r.noCaret),_=I(()=>r.noFlip),y=I(()=>r.noShift),C=I(()=>r.noSize),S=I(()=>r.lazy),k=I(()=>r.splitDisabled),x=a.toRef(()=>typeof r.offset=="string"||typeof r.offset=="number"?r.offset:NaN),B=it(x),N=a.ref(null),$=a.ref(null),T=a.ref(null),M=a.ref(null),A=a.computed(()=>r.boundary==="document"||r.boundary==="viewport"?void 0:r.boundary),F=a.computed(()=>r.boundary==="document"||r.boundary==="viewport"?r.boundary:void 0),z=a.toRef(()=>v.value?$.value:T.value);br("Escape",()=>{l.value=!s},{target:z}),br("Escape",()=>{l.value=!s},{target:N});const O=(q,j)=>{var re,X,Q,ye;if(q.preventDefault(),!s.value){K(),a.nextTick(()=>O(q,j));return}const _e=(re=N.value)==null?void 0:re.querySelectorAll(".dropdown-item:not(.disabled):not(:disabled)");if(_e)if((X=N.value)!=null&&X.contains(document.activeElement)){const Ne=N.value.querySelector(".dropdown-item:focus"),ke=Array.prototype.indexOf.call(_e,Ne)+j;ke>=0&&ke<(_e==null?void 0:_e.length)&&((Q=_e[ke])==null||Q.focus())}else(ye=_e[j===-1?_e.length-1:0])==null||ye.focus()};br("ArrowUp",q=>O(q,-1),{target:z}),br("ArrowDown",q=>O(q,1),{target:z}),br("ArrowUp",q=>O(q,-1),{target:N}),br("ArrowDown",q=>O(q,1),{target:N});const L=a.computed(()=>hM({top:c.value,start:p.value,end:u.value,alignCenter:m.value,alignEnd:g.value})),V=a.ref({}),H=a.computed(()=>{if(r.floatingMiddleware!==void 0)return r.floatingMiddleware;const q=typeof r.offset=="string"||typeof r.offset=="number"?B.value:r.offset,j=[N3(q)];return _.value===!1&&j.push(H3({boundary:A.value,rootBoundary:F.value,padding:r.boundaryPadding})),y.value===!1&&j.push(F3({boundary:A.value,rootBoundary:F.value,padding:r.boundaryPadding})),C.value===!1&&j.push(U3({boundary:A.value,rootBoundary:F.value,padding:r.boundaryPadding,apply({availableWidth:re,availableHeight:X}){V.value={maxHeight:X&&s.value?`${X}px`:void 0,maxWidth:re&&s.value?`${re}px`:void 0}}})),j}),{update:G,floatingStyles:W}=G3(z,N,{placement:L,middleware:H,strategy:a.toRef(()=>r.strategy),whileElementsMounted:z3}),ne=a.computed(()=>({dropup:c.value,dropend:u.value,dropstart:p.value,"position-static":r.boundary!=="clippingAncestors"&&!d.value})),se=a.computed(()=>[v.value?r.splitClass:r.toggleClass,{"nav-link":d.value,"dropdown-toggle":!v.value,"dropdown-toggle-no-caret":w.value&&!v.value,show:v.value?void 0:s.value}]),U=()=>{J()},oe=q=>{v.value?o("click",q):U()};J3(N,()=>{s.value&&(r.autoClose===!0||r.autoClose==="outside")&&J()},{ignore:[$,T]});const le=()=>{s.value&&(r.autoClose===!0||r.autoClose==="inside")&&J()},ue=()=>{l.value&&J()},K=()=>{l.value||J()},J=()=>{var q;o("toggle");const j=s.value,re=new Ml(j?"hide":"show");if(o(j?"hide":"show",re),re.defaultPrevented){o(j?"hide-prevented":"show-prevented");return}l.value=!j,o(j?"hidden":"shown"),(q=M.value)==null||q.dispatchEvent(new Event("forceHide"))};return a.watch(s,()=>{G()}),t({close:ue,open:K,toggle:J}),a.provide(p4,{id:i,open:K,close:ue,toggle:J,visible:s,isNav:d}),(q,j)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"wrapper",ref:M,class:a.normalizeClass([ne.value,"btn-group"])},[a.createVNode(Lr,{id:a.unref(i),ref_key:"splitButton",ref:T,variant:q.splitVariant||q.variant,size:q.size,class:a.normalizeClass(se.value),disabled:a.unref(k)||q.disabled,type:q.splitButtonType,"aria-label":q.ariaLabel,"aria-expanded":a.unref(v)?void 0:a.unref(s),"aria-haspopup":a.unref(v)?void 0:"menu",href:a.unref(v)?q.splitHref:void 0,to:a.unref(v)&&q.splitTo?q.splitTo:void 0,onClick:oe},{default:a.withCtx(()=>[a.renderSlot(q.$slots,"button-content",{},()=>[a.createTextVNode(a.toDisplayString(q.text),1)])]),_:3},8,["id","variant","size","class","disabled","type","aria-label","aria-expanded","aria-haspopup","href","to"]),a.unref(v)?(a.openBlock(),a.createBlock(Lr,{key:0,ref_key:"button",ref:$,variant:q.variant,size:q.size,disabled:q.disabled,class:a.normalizeClass([[q.toggleClass,{show:a.unref(s)}],"dropdown-toggle-split dropdown-toggle"]),"aria-expanded":a.unref(s),"aria-haspopup":"menu",onClick:U},{default:a.withCtx(()=>[a.createElementVNode("span",EP,[a.renderSlot(q.$slots,"toggle-text",{},()=>[a.createTextVNode(a.toDisplayString(q.toggleText),1)])])]),_:3},8,["variant","size","disabled","class","aria-expanded"])):a.createCommentVNode("",!0),(a.openBlock(),a.createBlock(a.Teleport,{to:q.container||"body",disabled:!q.container},[!a.unref(S)||a.unref(s)?a.withDirectives((a.openBlock(),a.createElementBlock("ul",{key:0,ref_key:"floating",ref:N,style:a.normalizeStyle([a.unref(W),V.value]),class:a.normalizeClass(["dropdown-menu overflow-auto",[q.menuClass,{show:a.unref(s)}]]),"aria-labelledby":a.unref(i),role:q.role,onClick:le},[a.renderSlot(q.$slots,"default",{hide:ue,show:K})],14,BP)),[[a.vShow,a.unref(S)||a.unref(s)]]):a.createCommentVNode("",!0)],8,["to","disabled"]))],2))}}),NP={role:"presentation"},TP=a.defineComponent({__name:"BDropdownDivider",props:{tag:{default:"hr"}},setup(e){return(t,n)=>(a.openBlock(),a.createElementBlock("li",NP,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(t.tag),{class:"dropdown-divider",role:"separator","aria-orientation":"horizontal"}))]))}}),$P={role:"presentation"},AP=a.defineComponent({__name:"BDropdownForm",setup(e){return(t,n)=>(a.openBlock(),a.createElementBlock("li",$P,[a.createElementVNode("form",a.mergeProps({class:"dropdown-item-text"},t.$attrs),[a.renderSlot(t.$slots,"default")],16)]))}}),OP={role:"presentation"},MP=["id","aria-describedby"],PP=a.defineComponent({inheritAttrs:!1,__name:"BDropdownGroup",props:{ariaDescribedby:{default:void 0},header:{default:void 0},headerClass:{default:void 0},headerTag:{default:"header"},headerVariant:{default:null},id:{default:void 0}},setup(e){const t=e,n=a.toRef(()=>t.id?`${t.id}_group_dd_header`:void 0),r=a.toRef(()=>t.headerTag==="header"?void 0:"heading"),o=a.computed(()=>[t.headerClass,{[`text-${t.headerVariant}`]:t.headerVariant!==null}]);return(i,l)=>(a.openBlock(),a.createElementBlock("li",OP,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(i.headerTag),{id:n.value,class:a.normalizeClass(["dropdown-header",o.value]),role:r.value},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"header",{},()=>[a.createTextVNode(a.toDisplayString(i.header),1)])]),_:3},8,["id","class","role"])),a.createElementVNode("ul",a.mergeProps({id:i.id,role:"group",class:"list-unstyled"},i.$attrs,{"aria-describedby":i.ariaDescribedby||n.value}),[a.renderSlot(i.$slots,"default")],16,MP)]))}}),IP={class:"dropdown-header"},VP=a.defineComponent({__name:"BDropdownHeader",setup(e){return(t,n)=>(a.openBlock(),a.createElementBlock("li",null,[a.createElementVNode("h6",IP,[a.renderSlot(t.$slots,"default")])]))}}),i0=a.defineComponent({inheritAttrs:!1,__name:"BDropdownItem",props:{linkClass:{default:void 0},wrapperAttrs:{default:void 0},active:{type:[Boolean,String],default:void 0},activeClass:{default:void 0},append:{type:[Boolean,String],default:void 0},disabled:{type:[Boolean,String],default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:[Boolean,String],default:void 0},opacity:{default:void 0},opacityHover:{default:void 0},rel:{default:void 0},replace:{type:[Boolean,String],default:void 0},routerComponentName:{default:void 0},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:void 0},variant:{default:null}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,_=a.useAttrs(),{class:o}=_,i=ar(_,["class"]),l=I(()=>n.active),s=I(()=>n.disabled),{computedLink:c,computedLinkProps:u}=Ei(n),d=a.computed(()=>[n.linkClass,{active:l.value,disabled:s.value,[`text-${n.variant}`]:n.variant!==null}]),p=a.toRef(()=>c.value?$a:n.href?"a":"button"),m=a.inject(X1,null),g=a.inject(p4,null),v=a.inject(Z1,null),w=y=>{var C,S,k;r("click",y),v!==null&&((C=v==null?void 0:v.autoClose)==null?void 0:C.value)===!0&&((S=m==null?void 0:m.close)==null||S.call(m)),(k=g==null?void 0:g.close)==null||k.call(g)};return(y,C)=>(a.openBlock(),a.createElementBlock("li",a.mergeProps({role:"presentation",class:a.unref(o)},y.wrapperAttrs),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(p.value),a.mergeProps({class:["dropdown-item",d.value],disabled:a.unref(s),"aria-disabled":a.unref(s)?!0:null,"aria-current":a.unref(l)?!0:null,href:p.value==="a"?y.href:null,rel:y.rel,role:"menuitem",type:p.value==="button"?"button":null,target:y.target},de(de({},a.unref(u)),i),{onClick:w}),{default:a.withCtx(()=>[a.renderSlot(y.$slots,"default")]),_:3},16,["class","disabled","aria-disabled","aria-current","href","rel","type","target"]))],16))}}),RP={role:"presentation"},LP=["disabled"],DP=a.defineComponent({inheritAttrs:!1,__name:"BDropdownItemButton",props:{active:{type:[Boolean,String],default:!1},activeClass:{default:"active"},buttonClass:{default:void 0},disabled:{type:[Boolean,String],default:!1},variant:{default:null}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,o=I(()=>n.active),i=I(()=>n.disabled),l=a.computed(()=>[n.buttonClass,{[n.activeClass]:o.value,disabled:i.value,[`text-${n.variant}`]:n.variant!==null}]),s=c=>{r("click",c)};return(c,u)=>(a.openBlock(),a.createElementBlock("li",RP,[a.createElementVNode("button",{role:"menu",type:"button",class:a.normalizeClass(["dropdown-item",l.value]),disabled:a.unref(i),onClick:s},[a.renderSlot(c.$slots,"default")],10,LP)]))}}),zP={role:"presentation"},FP=a.defineComponent({__name:"BDropdownText",props:{text:{default:""}},setup(e){return(t,n)=>(a.openBlock(),a.createElementBlock("li",zP,[a.createElementVNode("span",a.mergeProps({class:"dropdown-item-text"},t.$attrs),[a.renderSlot(t.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(t.text),1)])],16)]))}}),HP=["id","novalidate"],q4=a.defineComponent({__name:"BForm",props:{floating:{type:[Boolean,String],default:!1},id:{default:void 0},novalidate:{type:[Boolean,String],default:!1},validated:{type:[Boolean,String],default:!1}},emits:["submit"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=a.ref(null),l=I(()=>r.floating),s=I(()=>r.novalidate),c=I(()=>r.validated),u=a.computed(()=>({"form-floating":l.value,"was-validated":c.value})),d=p=>{o("submit",p)};return t({element:i}),(p,m)=>(a.openBlock(),a.createElementBlock("form",{id:p.id,ref_key:"element",ref:i,novalidate:a.unref(s),class:a.normalizeClass(u.value),onSubmit:a.withModifiers(d,["prevent"])},[a.renderSlot(p.$slots,"default")],42,HP))}}),UP={class:"form-floating"},WP=["for"],jP=a.defineComponent({__name:"BFormFloatingLabel",props:{label:{default:void 0},labelFor:{default:void 0},text:{default:void 0}},setup(e){return(t,n)=>(a.openBlock(),a.createElementBlock("div",UP,[a.renderSlot(t.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(t.text),1)]),a.createElementVNode("label",{for:t.labelFor},[a.renderSlot(t.$slots,"label",{},()=>[a.createTextVNode(a.toDisplayString(t.label),1)])],8,WP)]))}}),l0=a.defineComponent({__name:"BFormInvalidFeedback",props:{ariaLive:{default:void 0},forceShow:{type:[Boolean,String],default:!1},id:{default:void 0},role:{default:void 0},state:{type:[Boolean,String,null],default:null},tag:{default:"div"},text:{default:void 0},tooltip:{type:[Boolean,String],default:!1}},setup(e){const t=e,n=I(()=>t.forceShow),r=I(()=>t.state),o=I(()=>t.tooltip),i=a.toRef(()=>n.value===!0||r.value===!1),l=a.computed(()=>({"d-block":i.value,"invalid-feedback":!o.value,"invalid-tooltip":o.value}));return(s,c)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.tag),{id:s.id,role:s.role,"aria-live":s.ariaLive,"aria-atomic":s.ariaLive?!0:void 0,class:a.normalizeClass(l.value)},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(s.text),1)])]),_:3},8,["id","role","aria-live","aria-atomic","class"]))}}),od=a.defineComponent({__name:"BFormRow",props:{tag:{default:"div"}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(t.tag),{class:"row d-flex flex-wrap"},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default")]),_:3}))}}),s0=a.defineComponent({__name:"BFormText",props:{id:{default:void 0},inline:{type:[Boolean,String],default:!1},tag:{default:"small"},text:{default:void 0},textVariant:{default:"body-secondary"}},setup(e){const t=e,n=I(()=>t.inline),r=a.computed(()=>({[`text-${t.textVariant}`]:t.textVariant!==null,"form-text":!n.value}));return(o,i)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.tag),{id:o.id,class:a.normalizeClass(r.value)},{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(o.text),1)])]),_:3},8,["id","class"]))}}),c0=a.defineComponent({__name:"BFormValidFeedback",props:{ariaLive:{default:void 0},forceShow:{type:[Boolean,String],default:!1},id:{default:void 0},role:{default:void 0},state:{type:[Boolean,String,null],default:null},tag:{default:"div"},text:{default:void 0},tooltip:{type:[Boolean,String],default:!1}},setup(e){const t=e,n=I(()=>t.forceShow),r=I(()=>t.state),o=I(()=>t.tooltip),i=a.toRef(()=>n.value===!0||r.value===!0),l=a.computed(()=>({"d-block":i.value,"valid-feedback":!o.value,"valid-tooltip":o.value}));return(s,c)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.tag),{id:s.id,role:s.role,"aria-live":s.ariaLive,"aria-atomic":s.ariaLive?!0:void 0,class:a.normalizeClass(l.value)},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(s.text),1)])]),_:3},8,["id","role","aria-live","aria-atomic","class"]))}}),K4=a.defineComponent({name:"ComponentOrEmpty",slots:Object,props:{tag:{type:String,default:"div"},to:{type:[String,Object],default:null},skip:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return()=>{var r,o,i;return e.skip?(r=t.default)==null?void 0:r.call(t):e.tag==="Teleport"?a.h(a.Teleport,{to:e.to},[(o=t.default)==null?void 0:o.call(t)]):a.h(e.tag,de({},n),[(i=t.default)==null?void 0:i.call(t)])}}}),GP=["id","disabled","required","name","form","aria-label","aria-labelledby","aria-required","value","true-value","false-value","indeterminate"],YP=["for"],X4=a.defineComponent({inheritAttrs:!1,__name:"BFormCheckbox",props:{ariaLabel:{default:void 0},ariaLabelledby:{default:void 0},autofocus:{type:[Boolean,String],default:!1},button:{type:[Boolean,String],default:!1},buttonGroup:{type:[Boolean,String],default:!1},buttonVariant:{default:null},disabled:{type:[Boolean,String],default:!1},form:{default:void 0},id:{default:void 0},indeterminate:{type:[Boolean,String],default:!1},inline:{type:[Boolean,String],default:!1},modelValue:{type:[Boolean,String,Object,Number,null],default:void 0},name:{default:void 0},plain:{type:[Boolean,String],default:!1},required:{type:[Boolean,String],default:void 0},size:{default:void 0},state:{type:[Boolean,String,null],default:null},switch:{type:[Boolean,String],default:!1},uncheckedValue:{type:[Boolean,String,Object,Number,null],default:!1},value:{type:[Boolean,String,Object,Number,null],default:!0}},emits:["update:modelValue","update:indeterminate"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=a.useSlots(),l=St(r,"modelValue",o,{passive:!0}),s=St(r,"indeterminate",o),c=Mt(()=>r.id,"form-check"),u=I(()=>r.indeterminate),d=I(()=>r.autofocus),p=I(()=>r.plain),m=I(()=>r.button),g=I(()=>r.buttonGroup),v=I(()=>r.switch),w=I(()=>r.disabled),_=I(()=>r.inline),y=I(()=>r.required),C=I(()=>r.state),S=a.inject(d4,null),k=a.ref(null),{focused:x}=or(k,{initialValue:d.value}),B=a.toRef(()=>!bn(i.default)),N=a.computed({get:()=>{var O;return(O=S==null?void 0:S.modelValue.value)!=null?O:l.value},set:O=>{if(O!==void 0){if(s.value=!1,S!==null&&Array.isArray(O)){S.modelValue.value=O;return}l.value=O}}}),$=a.toRef(()=>{var O;return!!((O=r.name)!=null?O:S!=null&&S.name.value)&&(y.value||(S==null?void 0:S.required.value))}),T=a.toRef(()=>{var O;return g.value||((O=S==null?void 0:S.buttons.value)!=null?O:!1)}),M=a.computed(()=>{var O,L,V,H,G,W,ne,se;return{plain:p.value||((O=S==null?void 0:S.plain.value)!=null?O:!1),button:m.value||((L=S==null?void 0:S.buttons.value)!=null?L:!1),inline:_.value||((V=S==null?void 0:S.inline.value)!=null?V:!1),switch:v.value||((H=S==null?void 0:S.switch.value)!=null?H:!1),state:C.value||(S==null?void 0:S.state.value),size:(W=(G=r.size)!=null?G:S==null?void 0:S.size.value)!=null?W:"md",buttonVariant:(se=(ne=r.buttonVariant)!=null?ne:S==null?void 0:S.buttonVariant.value)!=null?se:"secondary"}}),A=k4(M),F=C4(M),z=x4(M);return t({blur:()=>{x.value=!1},element:k,focus:()=>{x.value=!0}}),(O,L)=>(a.openBlock(),a.createBlock(K4,{skip:T.value,class:a.normalizeClass(a.unref(A))},{default:a.withCtx(()=>{var V,H,G;return[a.withDirectives(a.createElementVNode("input",a.mergeProps({id:a.unref(c)},O.$attrs,{ref_key:"input",ref:k,"onUpdate:modelValue":L[0]||(L[0]=W=>N.value=W),class:a.unref(F),type:"checkbox",disabled:a.unref(w)||((V=a.unref(S))==null?void 0:V.disabled.value),required:$.value||void 0,name:O.name||((H=a.unref(S))==null?void 0:H.name.value),form:O.form||((G=a.unref(S))==null?void 0:G.form.value),"aria-label":O.ariaLabel,"aria-labelledby":O.ariaLabelledby,"aria-required":$.value||void 0,value:O.value,"true-value":O.value,"false-value":O.uncheckedValue,indeterminate:a.unref(u)}),null,16,GP),[[a.vModelCheckbox,N.value]]),B.value||a.unref(p)===!1?(a.openBlock(),a.createElementBlock("label",{key:0,for:a.unref(c),class:a.normalizeClass(a.unref(z))},[a.renderSlot(O.$slots,"default")],10,YP)):a.createCommentVNode("",!0)]}),_:3},8,["skip","class"]))}}),qP=["id"],KP=["innerHTML"],XP=a.defineComponent({__name:"BFormCheckboxGroup",props:{ariaInvalid:{type:[Boolean,String],default:void 0},autofocus:{type:[Boolean,String],default:!1},buttonVariant:{default:"secondary"},buttons:{type:[Boolean,String],default:!1},disabled:{type:[Boolean,String],default:!1},disabledField:{default:"disabled"},form:{default:void 0},htmlField:{default:"html"},id:{default:void 0},modelValue:{default:()=>[]},name:{default:void 0},options:{default:()=>[]},plain:{type:[Boolean,String],default:!1},required:{type:[Boolean,String],default:!1},size:{default:"md"},stacked:{type:[Boolean,String],default:!1},state:{type:[Boolean,String,null],default:null},switches:{type:[Boolean,String],default:!1},textField:{default:"text"},validated:{type:[Boolean,String],default:!1},valueField:{default:"value"}},emits:["change","input","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=St(r,"modelValue",o,{passive:!0}),l=Mt(()=>r.id,"checkbox"),s=Mt(()=>r.name,"checkbox"),c=I(()=>r.autofocus),u=I(()=>r.buttons),d=I(()=>r.disabled),p=I(()=>r.plain),m=I(()=>r.required),g=I(()=>r.stacked),v=I(()=>r.state),w=I(()=>r.switches),_=I(()=>r.validated),y=a.ref(null),{focused:C}=or(y,{initialValue:c.value});a.provide(d4,{modelValue:i,switch:w,buttonVariant:a.toRef(()=>r.buttonVariant),form:a.toRef(()=>r.form),name:s,state:v,plain:p,size:a.toRef(()=>r.size),inline:a.toRef(()=>!g.value),required:m,buttons:u,disabled:d}),a.watch(i,N=>{o("input",[...N]),a.nextTick(()=>{o("change",[...N])})});const S=a.computed(()=>r.options.map((N,$)=>typeof N=="string"||typeof N=="number"?{props:{value:N,disabled:d.value},text:N.toString(),html:void 0,self:Symbol(`checkboxGroupOptionItem${$}`)}:{props:de({value:N[r.valueField],disabled:N[r.disabledField]},N.props?N.props:{}),text:N[r.textField],html:N[r.htmlField],self:Symbol(`checkboxGroupOptionItem${$}`)})),k=a.computed(()=>({required:m.value,ariaInvalid:r.ariaInvalid,state:v.value,validated:_.value,buttons:u.value,stacked:g.value,size:r.size})),x=E4(k),B=B4(k);return t({blur:()=>{C.value=!1},focus:()=>{C.value=!0}}),(N,$)=>(a.openBlock(),a.createElementBlock("div",a.mergeProps(a.unref(x),{id:a.unref(l),ref_key:"element",ref:y,role:"group",class:[a.unref(B),"bv-no-focus-ring"],tabindex:"-1"}),[a.renderSlot(N.$slots,"first"),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(S.value,T=>(a.openBlock(),a.createBlock(X4,a.mergeProps({key:T.self},T.props),{default:a.withCtx(()=>[T.html?(a.openBlock(),a.createElementBlock("span",{key:0,innerHTML:T.html},null,8,KP)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(T.text),1)],64))]),_:2},1040))),128)),a.renderSlot(N.$slots,"default")],16,qP))}}),ZP=["for"],JP=["id","form","name","multiple","disabled","capture","accept","required","aria-required","directory","webkitdirectory"],QP=a.defineComponent({inheritAttrs:!1,__name:"BFormFile",props:{accept:{default:""},autofocus:{type:[Boolean,String],default:!1},capture:{type:[Boolean,String],default:!1},directory:{type:[Boolean,String],default:!1},disabled:{type:[Boolean,String],default:!1},form:{default:void 0},id:{default:void 0},label:{default:""},labelClass:{default:void 0},modelValue:{default:null},multiple:{type:[Boolean,String],default:!1},name:{default:void 0},noDrop:{type:[Boolean,String],default:!1},noTraverse:{type:[Boolean,String],default:!1},required:{type:[Boolean,String],default:!1},size:{default:void 0},state:{type:[Boolean,String,null],default:null}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){const r=a.useSlots(),o=e,i=St(o,"modelValue",n,{passive:!0}),l=Mt(()=>o.id),s=I(()=>o.autofocus),c=I(()=>o.directory),u=I(()=>o.disabled),d=I(()=>o.multiple),p=I(()=>o.noDrop);I(()=>o.noTraverse);const m=I(()=>o.required),g=I(()=>o.state),v=I(()=>o.capture),w=Bi(g),_=a.ref(null),{focused:y}=or(_,{initialValue:s.value}),C=a.toRef(()=>!bn(r.label)),S=a.toRef(()=>typeof o.accept=="string"?o.accept:o.accept.join(",")),k=a.computed(()=>[w.value,{[`form-control-${o.size}`]:o.size!==void 0}]),x=()=>{var $,T;const M=(($=_.value)==null?void 0:$.files)===null||((T=_.value)==null?void 0:T.files)===void 0?null:[..._.value.files];i.value=M===null?null:d.value===!0?M:M[0]},B=$=>{p.value===!0&&$.preventDefault()},N=()=>{i.value=null};return a.watch(i,$=>{$===null&&_.value!==null&&(_.value.value="")}),t({blur:()=>{y.value=!1},element:_,focus:()=>{y.value=!0},reset:N}),($,T)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[C.value||$.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:a.unref(l),class:a.normalizeClass(["form-label",$.labelClass])},[a.renderSlot($.$slots,"label",{},()=>[a.createTextVNode(a.toDisplayString($.label),1)])],10,ZP)):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps({id:a.unref(l)},$.$attrs,{ref_key:"input",ref:_,type:"file",class:["form-control",k.value],form:$.form,name:$.name,multiple:a.unref(d),disabled:a.unref(u),capture:a.unref(v),accept:S.value||void 0,required:a.unref(m)||void 0,"aria-required":a.unref(m)||void 0,directory:a.unref(c),webkitdirectory:a.unref(c),onChange:x,onDrop:B}),null,16,JP)],64))}}),Z4=["input","select","textarea"],eI=Z4.map(e=>`${e}:not([disabled])`).join(),tI=[...Z4,"a","button","label"],nI="label",rI="invalid-feedback",aI="valid-feedback",oI="description",iI="default",lI=a.defineComponent({components:{BCol:Mc,BFormInvalidFeedback:l0,BFormRow:od,BFormText:s0,BFormValidFeedback:c0},props:{ariaInvalid:{type:[Boolean,String],default:void 0},contentCols:{type:[Boolean,String,Number],default:void 0},contentColsLg:{type:[Boolean,String,Number],default:void 0},contentColsMd:{type:[Boolean,String,Number],default:void 0},contentColsSm:{type:[Boolean,String,Number],default:void 0},contentColsXl:{type:[Boolean,String,Number],default:void 0},description:{type:[String],default:void 0},disabled:{type:[Boolean,String],default:!1},feedbackAriaLive:{type:String,default:"assertive"},id:{type:String,default:void 0},invalidFeedback:{type:String,default:void 0},label:{type:String,default:void 0},labelAlign:{type:[Boolean,String,Number],default:void 0},labelAlignLg:{type:[Boolean,String,Number],default:void 0},labelAlignMd:{type:[Boolean,String,Number],default:void 0},labelAlignSm:{type:[Boolean,String,Number],default:void 0},labelAlignXl:{type:[Boolean,String,Number],default:void 0},labelClass:{type:[Array,Object,String],default:void 0},labelCols:{type:[Boolean,String,Number],default:void 0},labelColsLg:{type:[Boolean,String,Number],default:void 0},labelColsMd:{type:[Boolean,String,Number],default:void 0},labelColsSm:{type:[Boolean,String,Number],default:void 0},labelColsXl:{type:[Boolean,String,Number],default:void 0},labelFor:{type:String,default:void 0},labelSize:{type:String,default:void 0},labelSrOnly:{type:[Boolean,String],default:!1},state:{type:[Boolean,String],default:null},tooltip:{type:[Boolean,String],default:!1},validFeedback:{type:String,default:void 0},validated:{type:[Boolean,String],default:!1},floating:{type:[Boolean,String],default:!1}},setup(e){const t=I(()=>e.disabled),n=I(()=>e.labelSrOnly),r=I(()=>e.state),o=I(()=>e.tooltip),i=I(()=>e.validated),l=I(()=>e.floating),s=null,c=["xs","sm","md","lg","xl"],u=(S,k)=>c.reduce((x,B)=>{const N=w4(B==="xs"?"":B,`${k}Align`),$=S[N]||null;return $&&(B==="xs"?x.push(`text-${$}`):x.push(`text-${B}-${$}`)),x},[]),d=(S,k)=>c.reduce((x,B)=>{const N=w4(B==="xs"?"":B,`${k}Cols`);let $=S[N];if($=$===""?!0:$||!1,typeof $!="boolean"&&$!=="auto"){const T=Number.parseInt($);$=Number.isNaN(T)?0:T,$=$>0?$:!1}return $&&(B==="xs"?x[typeof $=="boolean"?"col":"cols"]=$:x[B||(typeof $=="boolean"?"col":"cols")]=$),x},{}),p=a.ref(null),m=(S,k=null)=>{if(I1&&e.labelFor&&p.value!==null){const x=p.value.querySelector(`#${CSS.escape(e.labelFor)}`);if(x){const B="aria-describedby",N=(S||"").split(Lf),$=(k||"").split(Lf),T=(x.getAttribute(B)||"").split(Lf).filter(M=>!$.includes(M)).concat(N).filter((M,A,F)=>F.indexOf(M)===A).filter(M=>M).join(" ").trim();T?x.setAttribute(B,T):x.removeAttribute(B)}}},g=a.computed(()=>d(e,"content")),v=a.computed(()=>u(e,"label")),w=a.computed(()=>d(e,"label")),_=a.computed(()=>Object.keys(g.value).length>0||Object.keys(w.value).length>0),y=Bi(r),C=Ln(()=>e.ariaInvalid,r);return a.watch(()=>s,(S,k)=>{S!==k&&m(S,k)}),a.onMounted(()=>{a.nextTick(()=>{m(s)})}),{disabledBoolean:t,labelSrOnlyBoolean:n,stateBoolean:r,tooltipBoolean:o,validatedBoolean:i,floatingBoolean:l,ariaDescribedby:s,computedAriaInvalid:C,contentColProps:g,isHorizontal:_,labelAlignClasses:v,labelColProps:w,onLegendClick:S=>{if(e.labelFor||p.value===null)return;const{target:k}=S,x=k?k.tagName:"";if(tI.indexOf(x)!==-1)return;const B=[...p.value.querySelectorAll(eI)].filter(RA),[N]=B;B.length===1&&N instanceof HTMLElement&&VA(N)},stateClass:y}},render(){const e=this.$props,t=this.$slots,n=Mt(),r=!e.labelFor;let o=null;const i=Oc(nI,{},t)||e.label,l=i?Ac("_BV_label_"):null;if(i||this.isHorizontal){const k=r?"legend":"label";if(this.labelSrOnlyBoolean)i&&(o=a.h(k,{class:"visually-hidden",id:l,for:e.labelFor||null},i)),this.isHorizontal?o=a.h(Mc,this.labelColProps,{default:()=>o}):o=a.h("div",{},[o]);else{const x=Le(de({onClick:r?this.onLegendClick:null},this.isHorizontal?this.labelColProps:{}),{tag:this.isHorizontal?k:null,id:l,for:e.labelFor||null,tabIndex:r?"-1":null,class:[this.isHorizontal?"col-form-label":"form-label",{"bv-no-focus-ring":r,"col-form-label":this.isHorizontal||r,"pt-0":!this.isHorizontal&&r,"d-block":!this.isHorizontal&&!r,[`col-form-label-${e.labelSize}`]:!!e.labelSize},this.labelAlignClasses,e.labelClass]});this.isHorizontal?o=a.h(Mc,x,{default:()=>i}):o=a.h(k,x,i)}}let s=null;const c=Oc(rI,{},t)||this.invalidFeedback,u=c?Ac("_BV_feedback_invalid_"):void 0;c&&(s=a.h(l0,{ariaLive:e.feedbackAriaLive,id:u,state:this.stateBoolean,tooltip:this.tooltipBoolean},{default:()=>c}));let d=null;const p=Oc(aI,{},t)||this.validFeedback,m=p?Ac("_BV_feedback_valid_"):void 0;p&&(d=a.h(c0,{ariaLive:e.feedbackAriaLive,id:m,state:this.stateBoolean,tooltip:this.tooltipBoolean},{default:()=>p}));let g=null;const v=Oc(oI,{},t)||this.description,w=v?Ac("_BV_description_"):void 0;v&&(g=a.h(s0,{id:w},{default:()=>v}));const _=this.ariaDescribedby=[w,this.stateBoolean===!1?u:null,this.stateBoolean===!0?m:null].filter(k=>k).join(" ")||null,y=[Oc(iI,{ariaDescribedby:_,descriptionId:w,id:n,labelId:l},t)||"",s,d,g];!this.isHorizontal&&this.floatingBoolean&&y.push(o);let C=a.h("div",{ref:"content",class:[{"form-floating":!this.isHorizontal&&this.floatingBoolean}]},y);this.isHorizontal&&(C=a.h(Mc,de({ref:"content"},this.contentColProps),{default:()=>y}));const S={class:[this.stateClass,{"was-validated":this.validatedBoolean}],id:Mt(()=>e.id).value,disabled:r?this.disabledBoolean:null,role:r?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":r&&this.isHorizontal?l:null};return this.isHorizontal&&!r?a.h(od,S,{default:()=>[o,C]}):a.h(r?"fieldset":"div",S,this.isHorizontal&&r?[a.h(od,null,{default:()=>[o,C]})]:this.isHorizontal||!this.floatingBoolean?[o,C]:[C])}}),sI=["id","value","name","form","type","disabled","placeholder","required","autocomplete","readonly","min","max","step","list","aria-required","aria-invalid"],jl=a.defineComponent({__name:"BFormInput",props:{max:{default:void 0},min:{default:void 0},step:{default:void 0},type:{default:"text"},ariaInvalid:{type:[Boolean,String],default:void 0},autocomplete:{default:void 0},autofocus:{type:[Boolean,String],default:!1},disabled:{type:[Boolean,String],default:!1},form:{default:void 0},formatter:{type:Function,default:void 0},id:{default:void 0},lazy:{type:[Boolean,String],default:!1},lazyFormatter:{type:[Boolean,String],default:!1},list:{default:void 0},modelValue:{default:""},name:{default:void 0},number:{type:[Boolean,String],default:!1},placeholder:{default:void 0},plaintext:{type:[Boolean,String],default:!1},readonly:{type:[Boolean,String],default:!1},required:{type:[Boolean,String],default:!1},size:{default:void 0},state:{type:[Boolean,String,null],default:null},trim:{type:[Boolean,String],default:!1},debounce:{default:0},debounceMaxWait:{default:NaN}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,{input:i,computedId:l,computedAriaInvalid:s,onInput:c,onChange:u,onBlur:d,focus:p,blur:m}=N4(r,o),g=I(()=>r.disabled),v=I(()=>r.required),w=I(()=>r.readonly),_=I(()=>r.plaintext),y=I(()=>r.state),C=Bi(y),S=a.ref(!1),k=a.computed(()=>{const x=r.type==="range",B=r.type==="color";return[C.value,{"form-control-highlighted":S.value,"form-range":x,"form-control":B||!_.value&&!x,"form-control-color":B,"form-control-plaintext":_.value&&!x&&!B,[`form-control-${r.size}`]:!!r.size}]});return t({blur:m,element:i,focus:p}),(x,B)=>(a.openBlock(),a.createElementBlock("input",{id:a.unref(l),ref_key:"input",ref:i,value:x.modelValue,class:a.normalizeClass(k.value),name:x.name||void 0,form:x.form||void 0,type:x.type,disabled:a.unref(g),placeholder:x.placeholder,required:a.unref(v)||void 0,autocomplete:x.autocomplete||void 0,readonly:a.unref(w)||a.unref(_),min:x.min,max:x.max,step:x.step,list:x.type!=="password"?x.list:void 0,"aria-required":a.unref(v)||void 0,"aria-invalid":a.unref(s),onInput:B[0]||(B[0]=N=>a.unref(c)(N)),onChange:B[1]||(B[1]=N=>a.unref(u)(N)),onBlur:B[2]||(B[2]=N=>a.unref(d)(N))},null,42,sI))}}),cI=["id","disabled","required","name","form","aria-label","aria-labelledby","value","aria-required"],uI=["for"],J4=a.defineComponent({inheritAttrs:!1,__name:"BFormRadio",props:{ariaLabel:{default:void 0},ariaLabelledby:{default:void 0},autofocus:{type:[Boolean,String],default:!1},button:{type:[Boolean,String],default:!1},buttonGroup:{type:[Boolean,String],default:!1},buttonVariant:{default:null},disabled:{type:[Boolean,String],default:!1},form:{default:void 0},id:{default:void 0},inline:{type:[Boolean,String],default:!1},modelValue:{type:[String,Boolean,Object,Number,null],default:void 0},name:{default:void 0},plain:{type:[Boolean,String],default:!1},required:{type:[Boolean,String],default:!1},size:{default:void 0},state:{type:[Boolean,String,null],default:null},value:{type:[String,Boolean,Object,Number,null],default:!0}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=a.useSlots(),l=St(r,"modelValue",o,{passive:!0}),s=Mt(()=>r.id,"form-check"),c=I(()=>r.autofocus),u=I(()=>r.plain),d=I(()=>r.button),p=I(()=>r.buttonGroup),m=I(()=>r.disabled),g=I(()=>r.inline),v=I(()=>r.required),w=I(()=>r.state),_=a.inject(h4,null),y=a.ref(null),{focused:C}=or(y,{initialValue:c.value}),S=a.toRef(()=>!bn(i.default)),k=a.computed({get:()=>{var A;return(A=_==null?void 0:_.modelValue.value)!=null?A:l.value},set:A=>{if(A!==void 0){if(_!==null){_.modelValue.value=A;return}l.value=A}}}),x=a.toRef(()=>{var A;return!!((A=r.name)!=null?A:_!=null&&_.name.value)&&(v.value||(_==null?void 0:_.required.value))}),B=a.toRef(()=>{var A;return p.value||((A=_==null?void 0:_.buttons.value)!=null?A:!1)}),N=a.computed(()=>{var A,F,z,O,L,V,H;return{plain:u.value||((A=_==null?void 0:_.plain.value)!=null?A:!1),button:d.value||((F=_==null?void 0:_.buttons.value)!=null?F:!1),inline:g.value||((z=_==null?void 0:_.inline.value)!=null?z:!1),state:w.value||(_==null?void 0:_.state.value),size:(L=(O=r.size)!=null?O:_==null?void 0:_.size.value)!=null?L:"md",buttonVariant:(H=(V=r.buttonVariant)!=null?V:_==null?void 0:_.buttonVariant.value)!=null?H:"secondary"}}),$=k4(N),T=C4(N),M=x4(N);return t({blur:()=>{C.value=!1},element:y,focus:()=>{C.value=!0}}),(A,F)=>(a.openBlock(),a.createBlock(K4,{skip:B.value,class:a.normalizeClass(a.unref($))},{default:a.withCtx(()=>{var z,O,L;return[a.withDirectives(a.createElementVNode("input",a.mergeProps({id:a.unref(s)},A.$attrs,{ref_key:"input",ref:y,"onUpdate:modelValue":F[0]||(F[0]=V=>k.value=V),class:a.unref(T),type:"radio",disabled:a.unref(m)||((z=a.unref(_))==null?void 0:z.disabled.value),required:x.value||void 0,name:A.name||((O=a.unref(_))==null?void 0:O.name.value),form:A.form||((L=a.unref(_))==null?void 0:L.form.value),"aria-label":A.ariaLabel,"aria-labelledby":A.ariaLabelledby,value:A.value,"aria-required":x.value||void 0}),null,16,cI),[[a.vModelRadio,k.value]]),S.value||a.unref(u)===!1?(a.openBlock(),a.createElementBlock("label",{key:0,for:a.unref(s),class:a.normalizeClass(a.unref(M))},[a.renderSlot(A.$slots,"default")],10,uI)):a.createCommentVNode("",!0)]}),_:3},8,["skip","class"]))}}),fI=["id"],dI=["innerHTML"],hI=a.defineComponent({__name:"BFormRadioGroup",props:{ariaInvalid:{type:[Boolean,String],default:void 0},autofocus:{type:[Boolean,String],default:!1},buttonVariant:{default:"secondary"},buttons:{type:[Boolean,String],default:!1},disabled:{type:[Boolean,String],default:!1},disabledField:{default:"disabled"},form:{default:void 0},htmlField:{default:"html"},id:{default:void 0},modelValue:{type:[String,Boolean,Object,Number,null],default:null},name:{default:void 0},options:{default:()=>[]},plain:{type:[Boolean,String],default:!1},required:{type:[Boolean,String],default:!1},size:{default:"md"},stacked:{type:[Boolean,String],default:!1},state:{type:[Boolean,String,null],default:null},textField:{default:"text"},validated:{type:[Boolean,String],default:!1},valueField:{default:"value"}},emits:["change","input","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=St(r,"modelValue",o,{passive:!0}),l=Mt(()=>r.id,"radio"),s=Mt(()=>r.name,"checkbox"),c=I(()=>r.autofocus),u=I(()=>r.buttons),d=I(()=>r.disabled),p=I(()=>r.plain),m=I(()=>r.required),g=I(()=>r.stacked),v=I(()=>r.state),w=I(()=>r.validated),_=a.ref(null),{focused:y}=or(_,{initialValue:c.value});a.provide(h4,{modelValue:i,buttonVariant:a.toRef(()=>r.buttonVariant),form:a.toRef(()=>r.form),name:s,buttons:u,state:v,plain:p,size:a.toRef(()=>r.size),inline:a.toRef(()=>!g.value),required:m,disabled:d}),a.watch(i,B=>{o("input",B),a.nextTick(()=>{o("change",B)})});const C=a.computed(()=>r.options.map((B,N)=>typeof B=="string"||typeof B=="number"?{value:B,disabled:d.value,text:B.toString(),html:void 0,self:Symbol(`radioGroupOptionItem${N}`)}:Le(de({value:B[r.valueField],disabled:B[r.disabledField]},B.props?B.props:{}),{text:B[r.textField],html:B[r.htmlField],self:Symbol(`radioGroupOptionItem${N}`)}))),S=a.computed(()=>({required:m.value,ariaInvalid:r.ariaInvalid,state:v.value,validated:w.value,buttons:u.value,stacked:g.value,size:r.size})),k=E4(S),x=B4(S);return t({blur:()=>{y.value=!1},focus:()=>{y.value=!0}}),(B,N)=>(a.openBlock(),a.createElementBlock("div",a.mergeProps(a.unref(k),{id:a.unref(l),ref_key:"element",ref:_,role:"radiogroup",class:[a.unref(x),"bv-no-focus-ring"],tabindex:"-1"}),[a.renderSlot(B.$slots,"first"),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(C.value,$=>(a.openBlock(),a.createBlock(J4,{key:$.self,disabled:$.disabled,value:$.value},{default:a.withCtx(()=>[$.html?(a.openBlock(),a.createElementBlock("span",{key:0,innerHTML:$.html},null,8,dI)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString($.text),1)],64))]),_:2},1032,["disabled","value"]))),128)),a.renderSlot(B.$slots,"default")],16,fI))}}),pI=["value","disabled"],u0=a.defineComponent({__name:"BFormSelectOption",props:{disabled:{type:[Boolean,String],default:!1},value:{default:void 0}},setup(e){const t=e,n=I(()=>t.disabled);return(r,o)=>(a.openBlock(),a.createElementBlock("option",{value:r.value,disabled:a.unref(n)},[a.renderSlot(r.$slots,"default")],8,pI))}}),mI=["label"],gI=["innerHTML"],Q4=a.defineComponent({__name:"BFormSelectOptionGroup",props:{disabledField:{default:"disabled"},htmlField:{default:"html"},label:{default:void 0},options:{default:()=>[]},textField:{default:"text"},valueField:{default:"value"}},setup(e){const t=e,{normalizedOptions:n}=T4(()=>t.options,t),r=a.computed(()=>n.value);return(o,i)=>(a.openBlock(),a.createElementBlock("optgroup",{label:o.label},[a.renderSlot(o.$slots,"first"),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.value,(l,s)=>(a.openBlock(),a.createBlock(u0,a.mergeProps({key:s,disabled:l.disabled,value:l.value},o.$attrs),{default:a.withCtx(()=>[l.html?(a.openBlock(),a.createElementBlock("span",{key:0,innerHTML:l.html},null,8,gI)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(l.text),1)],64))]),_:2},1040,["disabled","value"]))),128)),a.renderSlot(o.$slots,"default")],8,mI))}}),yI=["id","name","form","multiple","size","disabled","required","aria-required","aria-invalid"],vI=["innerHTML"],bI=a.defineComponent({__name:"BFormSelect",props:{ariaInvalid:{type:[Boolean,String],default:void 0},autofocus:{type:[Boolean,String],default:!1},disabled:{type:[Boolean,String],default:!1},disabledField:{default:"disabled"},form:{default:void 0},htmlField:{default:"html"},id:{default:void 0},labelField:{default:"label"},modelValue:{type:[String,Object,Number,Boolean,null],default:""},multiple:{type:[Boolean,String],default:!1},name:{default:void 0},options:{default:()=>[]},optionsField:{default:"options"},plain:{type:[Boolean,String],default:!1},required:{type:[Boolean,String],default:!1},selectSize:{default:0},size:{default:"md"},state:{type:[Boolean,String,null],default:null},textField:{default:"text"},valueField:{default:"value"}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=St(r,"modelValue",n,{passive:!0}),i=Mt(()=>r.id,"input"),l=I(()=>r.autofocus),s=I(()=>r.disabled),c=I(()=>r.multiple),u=I(()=>r.plain),d=I(()=>r.required),p=I(()=>r.state),m=it(()=>r.selectSize),g=Bi(p),v=a.ref(null),{focused:w}=or(v,{initialValue:l.value}),_=a.computed(()=>[g.value,{"form-control":u.value,[`form-control-${r.size}`]:r.size!=="md"&&u.value,"form-select":!u.value,[`form-select-${r.size}`]:r.size!=="md"&&!u.value}]),y=a.toRef(()=>m.value||u.value?m.value:void 0),C=Ln(()=>r.ariaInvalid,p),{normalizedOptions:S,isComplex:k}=T4(()=>r.options,r),x=a.computed(()=>S.value),B=a.computed({get:()=>o.value,set:N=>{o.value=N}});return t({blur:()=>{w.value=!1},element:v,focus:()=>{w.value=!0}}),(N,$)=>a.withDirectives((a.openBlock(),a.createElementBlock("select",{id:a.unref(i),ref_key:"input",ref:v,"onUpdate:modelValue":$[0]||($[0]=T=>B.value=T),class:a.normalizeClass(_.value),name:N.name,form:N.form||void 0,multiple:a.unref(c)||void 0,size:y.value,disabled:a.unref(s),required:a.unref(d)||void 0,"aria-required":a.unref(d)||void 0,"aria-invalid":a.unref(C)},[a.renderSlot(N.$slots,"first"),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(x.value,(T,M)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:M},[a.unref(k)(T)?(a.openBlock(),a.createBlock(Q4,{key:0,label:T.label,options:T.options,"value-field":N.valueField,"text-field":N.textField,"html-field":N.htmlField,"disabled-field":N.disabledField},null,8,["label","options","value-field","text-field","html-field","disabled-field"])):(a.openBlock(),a.createBlock(u0,{key:1,value:T.value,disabled:T.disabled},{default:a.withCtx(()=>[T.html?(a.openBlock(),a.createElementBlock("span",{key:0,innerHTML:T.html},null,8,vI)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(T.text),1)],64))]),_:2},1032,["value","disabled"]))],64))),128)),a.renderSlot(N.$slots,"default")],10,yI)),[[a.vModelSelect,B.value]])}}),f0="ArrowDown",ew="End",tw="Home",nw="PageDown",rw="PageUp",d0="ArrowUp",_I=["lang","tabindex","title"],wI=["name","form","value"],SI=["id","dir","tabindex","aria-label","aria-invalid","aria-required","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext"],_r={min:1,max:100,step:1,repeatDelay:500,repeatInterval:100,repeatThreshold:10,repeatMultiplier:4},kI=a.defineComponent({__name:"BFormSpinbutton",props:{ariaControls:{default:void 0},ariaLabel:{default:void 0},disabled:{type:[Boolean,String],default:!1},form:{default:void 0},formatterFn:{type:Function,default:void 0},id:{default:void 0},inline:{type:[Boolean,String],default:!1},labelDecrement:{default:"Decrement"},labelIncrement:{default:"Increment"},locale:{default:void 0},max:{default:_r.max},min:{default:_r.min},modelValue:{default:null},name:{default:void 0},placeholder:{default:void 0},readonly:{type:[Boolean,String],default:!1},repeatDelay:{default:_r.repeatDelay},repeatInterval:{default:_r.repeatInterval},repeatStepMultiplier:{default:_r.repeatMultiplier},repeatThreshold:{default:_r.repeatThreshold},required:{type:[Boolean,String],default:!1},size:{default:void 0},state:{type:[Boolean,String,null],default:null},step:{default:_r.step},vertical:{type:[Boolean,String],default:!1},wrap:{type:[Boolean,String],default:!1}},emits:["change","update:modelValue"],setup(e,{emit:t}){const n=[d0,f0,tw,ew,rw,nw],r=e,o=t,i=St(r,"modelValue",o,{passive:!0}),l=a.ref(null),{focused:s}=or(l),c=Mt(()=>r.id,"spinbutton"),u=I(()=>r.disabled),d=I(()=>r.inline),p=I(()=>r.readonly),m=I(()=>r.vertical),g=I(()=>r.required),v=I(()=>r.wrap),w=I(()=>r.state),_=a.computed(()=>({disabled:u.value,readonly:p.value,focus:s.value,"d-inline-flex":d.value||m.value,"d-flex":!d.value&&!m.value,"align-items-stretch":!m.value,"flex-column":m.value,[`form-control-${r.size}`]:r.size!==void 0})),y=a.computed(()=>({"d-flex":m.value,"align-self-center":!m.value,"align-items-center":m.value,"border-top":m.value,"border-bottom":m.value,"border-start":!m.value,"border-end":!m.value}));let C,S,k=!1;const x=it(()=>r.step),B=a.toRef(()=>Number.isNaN(x.value)?_r.step:x.value),N=it(()=>r.min),$=a.toRef(()=>Number.isNaN(N.value)?_r.min:N.value),T=it(()=>r.max),M=a.toRef(()=>{const ee=B.value,he=$.value;return Math.floor((T.value-he)/ee)*ee+he}),A=it(()=>r.repeatDelay,{nanToZero:!0,method:"parseInt"}),F=a.toRef(()=>A.value>0?A.value:_r.repeatDelay),z=it(()=>r.repeatInterval,{nanToZero:!0,method:"parseInt"}),O=a.toRef(()=>z.value>0?z.value:_r.repeatInterval),L=it(()=>r.repeatThreshold,{nanToZero:!0,method:"parseInt"}),V=a.toRef(()=>Math.max(Number.isNaN(L.value)?_r.repeatThreshold:L.value,1)),H=it(()=>r.repeatStepMultiplier,{nanToZero:!0,method:"parseInt"}),G=a.toRef(()=>Math.max(Number.isNaN(H.value)?_r.repeatMultiplier:H.value,1)),W=a.toRef(()=>{const ee=B.value;return Math.floor(ee)===ee?0:(ee.toString().split(".")[1]||"").length}),ne=a.toRef(()=>Math.pow(10,W.value||0)),se=a.toRef(()=>i.value===null?"":i.value.toFixed(W.value)),{isRtl:U,locale:oe}=xM(),le=a.computed(()=>{var he;const ee=[((he=r.locale)!=null?he:oe==null?void 0:oe.value)||"locale"];return new Intl.NumberFormat(ee).resolvedOptions().locale}),ue=()=>new Intl.NumberFormat(le.value,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:W.value,maximumFractionDigits:W.value,notation:"standard"}).format,K=a.toRef(()=>{var ee;return(ee=r.formatterFn)!=null?ee:ue()}),J=ee=>{let{value:he}=i;if(!u.value&&he!==null){const Ke=B.value*ee,Fe=$.value,ut=M.value,be=ne.value,{wrap:Ee}=r;he=Math.round((he-Fe)/Ke)*Ke+Fe+Ke,he=Math.round(he*be)/be,i.value=he>ut?Ee?Fe:ut:he<Fe?Ee?ut:Fe:he}},q=(ee=1)=>{if(i.value===null){i.value=$.value;return}J(1*ee)},j=(ee=1)=>{if(i.value===null){i.value=v.value?M.value:$.value;return}J(-1*ee)},re=ee=>{ee.preventDefault(),ee.stopImmediatePropagation()};br(n,ee=>{const{code:he,altKey:Ke,ctrlKey:Fe,metaKey:ut}=ee;if(!(u.value||p.value||Ke||Fe||ut)&&(re(ee),!k)){if(Ne(),[d0,f0].includes(he)){if(k=!0,he===d0){X(ee,q);return}he===f0&&X(ee,j);return}if(he===rw){q(G.value);return}if(he===nw){j(G.value);return}if(he===tw){i.value=$.value;return}he===ew&&(i.value=M.value)}},{target:l,eventName:"keydown"}),br(n,ee=>{const{altKey:he,ctrlKey:Ke,metaKey:Fe}=ee;u.value||p.value||he||Ke||Fe||(re(ee),Ne(),k=!1,o("change",i.value))},{target:l,eventName:"keyup"});const X=(ee,he)=>{const{type:Ke}=ee||{};if(!u.value&&!p.value){if(Q(ee)&&Ke==="mousedown"&&ee.button)return;Ne(),he(1);const Fe=V.value,ut=G.value,be=F.value,Ee=O.value;C=setTimeout(()=>{let Ye=0;S=setInterval(()=>{he(Ye<Fe?1:ut),Ye++},Ee)},be)}},Q=ee=>ee.type==="mouseup"||ee.type==="mousedown",ye=ee=>{Q(ee)&&ee.type==="mouseup"&&ee.button||(re(ee),Ne(),_e(!1),o("change",i.value))},_e=ee=>{try{v3(ee,[document.body,"mouseup",ye,!1]),v3(ee,[document.body,"touchend",ye,!1])}catch(he){}},Ne=()=>{clearTimeout(C),clearInterval(S),C=void 0,S=void 0},ke=a.computed(()=>{const ee={svg:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-plus",viewBox:"0 0 16 16"},path:{d:"M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"}},he={svg:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-dash",viewBox:"0 0 16 16"},path:{d:"M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z"}},Ke={class:[{"py-0":!m.value},"btn","btn-sm","border-0","rounded-0"],tabindex:"-1",type:"button",disabled:u.value||p.value,"aria-disabled":u.value||p.value?!0:void 0,"aria-controls":c.value},Fe={"aria-hidden":!0,scale:s.value?1.5:1.25},ut=(Ye,pt)=>{!u.value&&!p.value&&(re(Ye),_e(!0),s.value=!0,X(Ye,pt))},be={button:Le(de({},Ke),{"aria-label":r.labelIncrement||void 0,"aria-keyshortcuts":"ArrowUp"}),svg:de(de({},Fe),ee.svg),path:de({},ee.path),slot:{name:"increment"},handler:Ye=>ut(Ye,q)},Ee={button:Le(de({},Ke),{"aria-label":r.labelDecrement||void 0,"aria-keyshortcuts":"ArrowDown"}),svg:de(de({},Fe),he.svg),path:de({},he.path),slot:{name:"decrement"},handler:Ye=>ut(Ye,j)};return{top:de({},m.value?be:Ee),bottom:de({},m.value?Ee:be)}});return(ee,he)=>{var Ke;return a.openBlock(),a.createElementBlock("div",{ref_key:"element",ref:l,class:a.normalizeClass(["b-form-spinbutton form-control",_.value]),role:"group",lang:le.value,tabindex:a.unref(u)?void 0:"-1",title:ee.ariaLabel,onClick:he[4]||(he[4]=Fe=>s.value=!0)},[a.renderSlot(ee.$slots,ke.value.top.slot.name,{hasFocus:a.unref(s)},()=>[a.createElementVNode("button",a.mergeProps(ke.value.top.button,{onMousedown:he[0]||(he[0]=(...Fe)=>ke.value.top.handler&&ke.value.top.handler(...Fe)),onTouchstart:he[1]||(he[1]=(...Fe)=>ke.value.top.handler&&ke.value.top.handler(...Fe))}),[(a.openBlock(),a.createElementBlock("svg",a.normalizeProps(a.guardReactiveProps(ke.value.top.svg)),[a.createElementVNode("path",a.normalizeProps(a.guardReactiveProps(ke.value.top.path)),null,16)],16))],16)]),ee.name&&!a.unref(u)?(a.openBlock(),a.createElementBlock("input",{key:"hidden",type:"hidden",name:ee.name,form:ee.form,value:se.value},null,8,wI)):a.createCommentVNode("",!0),a.createElementVNode("output",{id:a.unref(c),key:"output",class:a.normalizeClass(["flex-grow-1",y.value]),dir:(Ke=a.unref(U))!=null&&Ke?"rtl":"ltr",tabindex:a.unref(u)?void 0:"0",role:"spinbutton","aria-live":"off","aria-label":ee.ariaLabel||void 0,"aria-invalid":a.unref(w)===!1||!a.unref(i)!==null&&a.unref(g)?!0:void 0,"aria-required":a.unref(g)?!0:void 0,"aria-valuemin":$.value,"aria-valuemax":M.value,"aria-valuenow":a.unref(i)!==null?a.unref(i):void 0,"aria-valuetext":a.unref(i)!==null?K.value(a.unref(i)):void 0},[a.createElementVNode("bdi",null,a.toDisplayString((a.unref(i)!==null?K.value(a.unref(i)):ee.placeholder)||""),1)],10,SI),a.renderSlot(ee.$slots,ke.value.bottom.slot.name,{hasFocus:a.unref(s)},()=>[a.createElementVNode("button",a.mergeProps(ke.value.bottom.button,{onMousedown:he[2]||(he[2]=(...Fe)=>ke.value.bottom.handler&&ke.value.bottom.handler(...Fe)),onTouchstart:he[3]||(he[3]=(...Fe)=>ke.value.bottom.handler&&ke.value.bottom.handler(...Fe))}),[(a.openBlock(),a.createElementBlock("svg",a.normalizeProps(a.guardReactiveProps(ke.value.bottom.svg)),[a.createElementVNode("path",a.normalizeProps(a.guardReactiveProps(ke.value.bottom.path)),null,16)],16))],16)])],10,_I)}}}),CI=["id"],aw=a.defineComponent({__name:"BFormTag",props:{disabled:{type:[Boolean,String],default:!1},id:{default:void 0},noRemove:{type:[Boolean,String],default:!1},pill:{type:[Boolean,String],default:!1},removeLabel:{default:"Remove tag"},tag:{default:"span"},title:{default:void 0},variant:{default:"secondary"}},emits:["remove"],setup(e,{emit:t}){const n=e,r=t,o=a.useSlots(),i=Mt(()=>n.id),l=I(()=>n.disabled),s=I(()=>n.noRemove),c=I(()=>n.pill),u=a.computed(()=>{var g,v;var m;return(v=((g=(m=o.default)==null?void 0:m.call(o,{})[0].children)!=null?g:"").toString()||n.title)!=null?v:""}),d=a.toRef(()=>`${i.value}taglabel__`),p=a.computed(()=>({[`text-bg-${n.variant}`]:n.variant!==null,"rounded-pill":c.value,disabled:l.value}));return(m,g)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(m.tag),{id:a.unref(i),title:u.value,class:a.normalizeClass(["badge b-form-tag d-inline-flex align-items-center mw-100",p.value]),"aria-labelledby":d.value},{default:a.withCtx(()=>[a.createElementVNode("span",{id:d.value,class:"b-form-tag-content flex-grow-1 text-truncate"},[a.renderSlot(m.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(u.value),1)])],8,CI),!a.unref(l)&&!a.unref(s)?(a.openBlock(),a.createBlock(Ul,{key:0,"aria-keyshortcuts":"Delete","aria-label":m.removeLabel,class:"b-form-tag-remove","aria-describedby":d.value,"aria-controls":m.id,onClick:g[0]||(g[0]=v=>r("remove",u.value))},null,8,["aria-label","aria-describedby","aria-controls"])):a.createCommentVNode("",!0)]),_:3},8,["id","title","class","aria-labelledby"]))}}),xI=["id"],EI=["id","for","aria-live"],BI=["id","aria-live"],NI=["id"],TI=["aria-controls"],$I={role:"group",class:"d-flex"},AI=["id","disabled","value","type","placeholder","form","required","aria-required"],OI=["disabled"],MI={"aria-live":"polite","aria-atomic":"true"},PI={key:0,class:"d-block invalid-feedback"},II={key:1,class:"form-text text-body-secondary"},VI={key:2,class:"form-text text-body-secondary"},RI=["name","value"],LI=a.defineComponent({__name:"BFormTags",props:{addButtonText:{default:"Add"},addButtonVariant:{default:"outline-secondary"},addOnChange:{type:[Boolean,String],default:!1},autofocus:{type:[Boolean,String],default:!1},disabled:{type:[Boolean,String],default:!1},duplicateTagText:{default:"Duplicate tag(s)"},form:{default:void 0},inputAttrs:{default:void 0},inputClass:{default:void 0},inputId:{default:void 0},inputType:{default:"text"},invalidTagText:{default:"Invalid tag(s)"},limit:{default:void 0},limitTagsText:{default:"Tag limit reached"},modelValue:{default:()=>[]},name:{default:void 0},noAddOnEnter:{type:[Boolean,String],default:!1},noOuterFocus:{type:[Boolean,String],default:!1},noTagRemove:{type:[Boolean,String],default:!1},placeholder:{default:"Add tag..."},removeOnDelete:{type:[Boolean,String],default:!1},required:{type:[Boolean,String],default:!1},separator:{default:void 0},size:{default:"md"},state:{type:[Boolean,String,null],default:null},tagClass:{default:void 0},tagPills:{type:[Boolean,String],default:!1},tagRemoveLabel:{default:void 0},tagRemovedLabel:{default:"Tag removed"},tagValidator:{type:Function,default:()=>!0},tagVariant:{default:"secondary"}},emits:["blur","focus","focusin","focusout","input","tag-state","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=St(r,"modelValue",o),l=Mt(),s=I(()=>r.addOnChange),c=I(()=>r.autofocus),u=I(()=>r.disabled),d=I(()=>r.noAddOnEnter),p=I(()=>r.noOuterFocus),m=I(()=>r.noTagRemove),g=I(()=>r.removeOnDelete),v=I(()=>r.required),w=I(()=>r.state),_=I(()=>r.tagPills),y=it(()=>{var j;return(j=r.limit)!=null?j:NaN}),C=Bi(w),S=a.ref(null),{focused:k}=or(S,{initialValue:c.value}),x=a.toRef(()=>r.inputId||`${l.value}input__`),B=a.ref([...i.value]),N=a.ref(""),$=a.ref(i.value.length>0),T=a.ref(""),M=a.ref([]),A=a.ref([]),F=a.ref([]);G1(i,B,{direction:"ltr",transform:{ltr:j=>[...j]}});const z=a.computed(()=>[C.value,{[`form-control-${r.size}`]:r.size!=="md",disabled:u.value,focus:k.value}]),O=a.computed(()=>B.value.includes(N.value)),L=a.computed(()=>N.value===""?!1:!r.tagValidator(N.value)),V=a.toRef(()=>B.value.length===y.value),H=a.toRef(()=>!L.value&&!O.value),G=a.computed(()=>({addButtonText:r.addButtonText,addButtonVariant:r.addButtonVariant,addTag:J,disableAddButton:H.value,disabled:u.value,duplicateTagText:r.duplicateTagText,duplicateTags:F.value,form:r.form,inputAttrs:Le(de({},r.inputAttrs),{disabled:u.value,form:r.form,id:x,value:N}),inputHandlers:{input:U,keydown:le,change:oe},inputId:x,inputType:r.inputType,invalidTagText:r.invalidTagText,invalidTags:A.value,isDuplicate:O.value,isInvalid:L.value,isLimitReached:V.value,limitTagsText:r.limitTagsText,limit:y.value,noTagRemove:m.value,placeholder:r.placeholder,removeTag:q,required:v.value,separator:r.separator,size:r.size,state:w.value,tagClass:r.tagClass,tagPills:_.value,tagRemoveLabel:r.tagRemoveLabel,tagVariant:r.tagVariant,tags:B.value})),W=j=>{if(u.value){j.target.blur();return}o("focusin",j)},ne=j=>{u.value||p.value||(k.value=!0,o("focus",j))},se=j=>{k.value=!1,o("blur",j)},U=j=>{var re,X;const Q=typeof j=="string"?j:j.target.value;if($.value=!1,(re=r.separator)!=null&&re.includes(Q.charAt(0))&&Q.length>0){S.value&&(S.value.value="");return}if(N.value=Q,(X=r.separator)!=null&&X.includes(Q.charAt(Q.length-1))){J(Q.slice(0,Q.length-1));return}M.value=r.tagValidator(Q)&&!O.value?[Q]:[],A.value=r.tagValidator(Q)?[]:[Q],F.value=O.value?[Q]:[],o("tag-state",M.value,A.value,F.value)},oe=j=>{s.value&&(U(j),O.value||J(N.value))},le=j=>{if(j.key==="Enter"&&!d.value){J(N.value);return}(j.key==="Backspace"||j.key==="Delete")&&g.value&&N.value===""&&$.value&&B.value.length>0?q(B.value[B.value.length-1]):$.value=!0};br(le,{target:S});const ue=a.computed(()=>{if(r.separator)return typeof r.separator=="string"?r.separator:r.separator.join("")}),K=a.computed(()=>{if(ue.value)return new RegExp(`[${vM(ue.value)}]+`)}),J=j=>{j=(j!=null?j:N.value).trim();const re=K.value?j.split(K.value).map(ye=>ye.trim()):[j],X=[];for(const ye of re)if(!(ye===""||O.value||!r.tagValidator(ye))){if(y.value&&V.value)break;X.push(ye)}const Q=[...i.value,...X];N.value="",$.value=!0,i.value=Q,o("input",Q),k.value=!0},q=j=>{var X;const re=B.value.indexOf((X=j==null?void 0:j.toString())!=null?X:"");re!==-1&&(T.value=B.value.splice(re,1).toString(),i.value=B.value)};return t({blur:()=>{k.value=!1},element:S,focus:()=>{k.value=!0}}),(j,re)=>(a.openBlock(),a.createElementBlock("div",{id:a.unref(l),class:a.normalizeClass(["b-form-tags form-control h-auto",z.value]),role:"group",tabindex:"-1",onFocusin:W,onFocusout:re[1]||(re[1]=X=>o("focusout",X))},[a.createElementVNode("output",{id:`${a.unref(l)}selected_tags__`,class:"visually-hidden",for:x.value,"aria-live":a.unref(k)?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"},a.toDisplayString(B.value.join(", ")),9,EI),a.createElementVNode("div",{id:`${a.unref(l)}removed_tags__`,role:"status","aria-live":a.unref(k)?"assertive":"off","aria-atomic":"true",class:"visually-hidden"}," ("+a.toDisplayString(j.tagRemovedLabel)+") "+a.toDisplayString(T.value),9,BI),a.renderSlot(j.$slots,"default",a.normalizeProps(a.guardReactiveProps(G.value)),()=>[a.createElementVNode("ul",{id:`${a.unref(l)}tag_list__`,class:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center"},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(B.value,(X,Q)=>a.renderSlot(j.$slots,"tag",{key:Q,tag:X,tagClass:j.tagClass,tagVariant:j.tagVariant,tagPills:a.unref(_),removeTag:q},()=>[(a.openBlock(),a.createBlock(aw,{key:X,class:a.normalizeClass(j.tagClass),tag:"li",variant:j.tagVariant,pill:j.tagPills,onRemove:q},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(X),1)]),_:2},1032,["class","variant","pill"]))])),128)),a.createElementVNode("li",{role:"none","aria-live":"off",class:"b-from-tags-field flex-grow-1","aria-controls":`${a.unref(l)}tag_list__`},[a.createElementVNode("div",$I,[a.createElementVNode("input",a.mergeProps({id:x.value,ref_key:"input",ref:S,disabled:a.unref(u),value:N.value,type:j.inputType,placeholder:j.placeholder,class:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",style:{outline:"currentcolor none 0px","min-width":"5rem"}},j.inputAttrs,{form:j.form,required:a.unref(v)||void 0,"aria-required":a.unref(v)||void 0,onInput:U,onChange:oe,onFocus:ne,onBlur:se}),null,16,AI),H.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",class:a.normalizeClass(["btn b-form-tags-button py-0",[j.inputClass,{[`btn-${j.addButtonVariant}`]:j.addButtonVariant!==null,"disabled invisible":N.value.length===0}]]),style:{"font-size":"90%"},disabled:a.unref(u)||N.value.length===0||V.value,onClick:re[0]||(re[0]=X=>J(N.value))},[a.renderSlot(j.$slots,"add-button-text",{},()=>[a.createTextVNode(a.toDisplayString(j.addButtonText),1)])],10,OI)):a.createCommentVNode("",!0)])],8,TI)],8,NI),a.createElementVNode("div",MI,[L.value?(a.openBlock(),a.createElementBlock("div",PI,a.toDisplayString(j.invalidTagText)+": "+a.toDisplayString(N.value),1)):a.createCommentVNode("",!0),O.value?(a.openBlock(),a.createElementBlock("small",II,a.toDisplayString(j.duplicateTagText)+": "+a.toDisplayString(N.value),1)):a.createCommentVNode("",!0),B.value.length===j.limit?(a.openBlock(),a.createElementBlock("small",VI,"Tag limit reached")):a.createCommentVNode("",!0)])]),j.name?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(B.value,(X,Q)=>(a.openBlock(),a.createElementBlock("input",{key:Q,type:"hidden",name:j.name,value:X},null,8,RI))),128)):a.createCommentVNode("",!0)],42,xI))}}),DI=["id","name","form","value","disabled","placeholder","required","autocomplete","readonly","aria-required","aria-invalid","rows","wrap"],zI=a.defineComponent({__name:"BFormTextarea",props:{noResize:{type:[Boolean,String],default:!1},rows:{default:2},wrap:{default:"soft"},ariaInvalid:{type:[Boolean,String],default:void 0},autocomplete:{default:void 0},autofocus:{type:[Boolean,String],default:!1},disabled:{type:[Boolean,String],default:!1},form:{default:void 0},formatter:{type:Function,default:void 0},id:{default:void 0},lazy:{type:[Boolean,String],default:!1},lazyFormatter:{type:[Boolean,String],default:!1},list:{default:void 0},modelValue:{default:""},name:{default:void 0},number:{type:[Boolean,String],default:!1},placeholder:{default:void 0},plaintext:{type:[Boolean,String],default:!1},readonly:{type:[Boolean,String],default:!1},required:{type:[Boolean,String],default:!1},size:{default:void 0},state:{type:[Boolean,String,null],default:null},trim:{type:[Boolean,String],default:!1},debounce:{default:0},debounceMaxWait:{default:NaN}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,{input:i,computedId:l,computedAriaInvalid:s,onInput:c,onChange:u,onBlur:d,focus:p,blur:m}=N4(r,o),g=I(()=>r.disabled),v=I(()=>r.required),w=I(()=>r.readonly),_=I(()=>r.plaintext),y=I(()=>r.noResize),C=I(()=>r.state),S=Bi(C),k=a.computed(()=>[S.value,_.value?"form-control-plaintext":"form-control",{[`form-control-${r.size}`]:!!r.size}]),x=a.computed(()=>({resize:y.value?"none":void 0}));return t({blur:m,element:i,focus:p}),(B,N)=>{var $;return a.openBlock(),a.createElementBlock("textarea",{id:a.unref(l),ref_key:"input",ref:i,class:a.normalizeClass(k.value),name:B.name||void 0,form:B.form||void 0,value:($=B.modelValue)!=null?$:void 0,disabled:a.unref(g),placeholder:B.placeholder,required:a.unref(v)||void 0,autocomplete:B.autocomplete||void 0,readonly:a.unref(w)||a.unref(_),"aria-required":B.required||void 0,"aria-invalid":a.unref(s),rows:B.rows,style:a.normalizeStyle(x.value),wrap:B.wrap||void 0,onInput:N[0]||(N[0]=T=>a.unref(c)(T)),onChange:N[1]||(N[1]=T=>a.unref(u)(T)),onBlur:N[2]||(N[2]=T=>a.unref(d)(T))},null,46,DI)}}}),FI={key:0,class:"input-group-text"},HI=["innerHTML"],UI={key:1},WI={key:0,class:"input-group-text"},jI=["innerHTML"],GI={key:1},Pc=a.defineComponent({__name:"BInputGroup",props:{append:{default:void 0},appendHtml:{default:void 0},id:{default:void 0},prepend:{default:void 0},prependHtml:{default:void 0},size:{default:"md"},tag:{default:"div"}},setup(e){const t=e,n=a.computed(()=>({[`input-group-${t.size}`]:t.size!=="md"})),r=a.toRef(()=>!!t.append||!!t.appendHtml),o=a.toRef(()=>!!t.prepend||!!t.prependHtml);return(i,l)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(i.tag),{id:i.id,class:a.normalizeClass(["input-group",n.value]),role:"group"},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"prepend",{},()=>[o.value?(a.openBlock(),a.createElementBlock("span",FI,[i.prependHtml?(a.openBlock(),a.createElementBlock("span",{key:0,innerHTML:i.prependHtml},null,8,HI)):(a.openBlock(),a.createElementBlock("span",UI,a.toDisplayString(i.prepend),1))])):a.createCommentVNode("",!0)]),a.renderSlot(i.$slots,"default"),a.renderSlot(i.$slots,"append",{},()=>[r.value?(a.openBlock(),a.createElementBlock("span",WI,[i.appendHtml?(a.openBlock(),a.createElementBlock("span",{key:0,innerHTML:i.appendHtml},null,8,jI)):(a.openBlock(),a.createElementBlock("span",GI,a.toDisplayString(i.append),1))])):a.createCommentVNode("",!0)])]),_:3},8,["id","class"]))}}),ow=a.defineComponent({__name:"BInputGroupText",props:{tag:{default:"div"},text:{default:void 0}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(t.tag),{class:"input-group-text"},{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(t.text),1)])]),_:3}))}}),h0=a.defineComponent({__name:"BInputGroupAddon",props:{isText:{type:[Boolean,String],default:!1}},setup(e){const t=e,n=I(()=>t.isText);return(r,o)=>a.unref(n)?(a.openBlock(),a.createBlock(ow,{key:0},{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3})):a.renderSlot(r.$slots,"default",{key:1})}}),id=a.defineComponent({__name:"BInputGroupAppend",props:{isText:{type:[Boolean,String],default:!1}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(h0,a.normalizeProps(a.guardReactiveProps(t.$props)),{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default")]),_:3},16))}}),iw=a.defineComponent({__name:"BInputGroupPrepend",props:{isText:{type:[Boolean,String],default:!1}},setup(e){return(t,n)=>(a.openBlock(),a.createBlock(h0,a.normalizeProps(a.guardReactiveProps(t.$props)),{default:a.withCtx(()=>[a.renderSlot(t.$slots,"default")]),_:3},16))}}),YI=a.defineComponent({__name:"BListGroup",props:{flush:{type:[Boolean,String],default:!1},horizontal:{type:[Boolean,String],default:!1},numbered:{type:[Boolean,String],default:!1},tag:{default:"div"}},setup(e){const t=e,n=I(()=>t.flush),r=I(()=>t.numbered),o=I(()=>t.horizontal),i=a.computed(()=>{const s=n.value?!1:o.value;return{"list-group-flush":n.value,"list-group-horizontal":s===!0,[`list-group-horizontal-${s}`]:typeof s=="string","list-group-numbered":r.value}}),l=a.toRef(()=>r.value===!0?"ol":t.tag);return a.provide(c4,{numbered:r}),(s,c)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(l.value),{class:a.normalizeClass(["list-group",i.value])},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},8,["class"]))}}),qI=a.defineComponent({__name:"BListGroupItem",props:{action:{type:[Boolean,String],default:!1},button:{type:[Boolean,String],default:!1},tag:{default:"div"},active:{type:[Boolean,String],default:!1},activeClass:{default:void 0},append:{type:[Boolean,String],default:void 0},disabled:{type:[Boolean,String],default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:[Boolean,String],default:void 0},opacity:{default:void 0},opacityHover:{default:void 0},rel:{default:void 0},replace:{type:[Boolean,String],default:void 0},routerComponentName:{default:void 0},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:void 0},variant:{default:void 0}},setup(e){const t=e,n=a.useAttrs(),r=a.inject(c4,null),o=I(()=>t.action),i=I(()=>t.active),l=I(()=>t.button),s=I(()=>t.disabled),{computedLink:c}=Ei(t),u=a.toRef(()=>!l.value&&c.value),d=a.toRef(()=>r!=null&&r.numbered.value?"li":l.value?"button":u.value?$a:t.tag),p=a.computed(()=>o.value||u.value||l.value||["a","router-link","button","b-link"].includes(t.tag)),m=a.computed(()=>({[`list-group-item-${t.variant}`]:t.variant!==null&&t.variant!==void 0,"list-group-item-action":p.value,active:i.value,disabled:s.value})),g=a.computed(()=>{const v={};return l.value&&((!n||!n.type)&&(v.type="button"),s.value&&(v.disabled=!0)),v});return(v,w)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(d.value),a.mergeProps({class:["list-group-item",m.value],"aria-current":a.unref(i)?!0:void 0,"aria-disabled":a.unref(s)?!0:void 0,target:u.value?v.target:void 0,href:a.unref(l)?void 0:v.href,to:a.unref(l)?void 0:v.to},g.value),{default:a.withCtx(()=>[a.renderSlot(v.$slots,"default")]),_:3},16,["class","aria-current","aria-disabled","target","href","to"]))}}),KI={id:"__BVID__modal-container"},XI=a.defineComponent({__name:"BModalOrchestrator",props:{teleportDisabled:{type:[Boolean,String],default:!1},teleportTo:{default:"body"}},setup(e,{expose:t}){const n=e,r=I(()=>n.teleportDisabled),{modals:o,remove:i,show:l,confirm:s}=CM(),c=u=>td(u,["_promise","_self","_isConfirm","_modelValue"]);return t({modals:o,show:l,confirm:s}),(u,d)=>(a.openBlock(),a.createBlock(a.Teleport,{to:u.teleportTo,disabled:a.unref(r)},[a.createElementVNode("div",KI,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(o),(p,m)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(p.value.component),a.mergeProps({key:m,modelValue:p.value.props._modelValue,"onUpdate:modelValue":g=>p.value.props._modelValue=g},c(p.value.props),{"teleport-disabled":!0,onHide:g=>{if(p.value.props._isConfirm===!0){if(g.trigger==="ok"){p.value.props._promise.resolve(!0);return}if(g.trigger==="cancel"){p.value.props._promise.resolve(!1);return}p.value.props._promise.resolve(null)}p.value.props._promise.resolve(!0)},onHidden:g=>{var v;return(v=a.unref(i))==null?void 0:v(p.value.props._self)}}),null,16,["modelValue","onUpdate:modelValue","onHide","onHidden"]))),128))])],8,["to","disabled"]))}}),ZI=a.defineComponent({__name:"BNav",props:{align:{default:void 0},cardHeader:{type:[Boolean,String],default:!1},fill:{type:[Boolean,String],default:!1},justified:{type:[Boolean,String],default:!1},pills:{type:[Boolean,String],default:!1},small:{type:[Boolean,String],default:!1},tabs:{type:[Boolean,String],default:!1},tag:{default:"ul"},underline:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1}},setup(e){const t=e,n=I(()=>t.cardHeader),r=I(()=>t.fill),o=I(()=>t.justified),i=I(()=>t.pills),l=I(()=>t.small),s=I(()=>t.tabs),c=I(()=>t.vertical),u=xn(()=>t.align),d=I(()=>t.underline),p=a.computed(()=>({"nav-tabs":s.value,"nav-pills":i.value&&!s.value,"card-header-tabs":!c.value&&n.value&&s.value,"card-header-pills":!c.value&&n.value&&i.value&&!s.value,"flex-column":c.value,"nav-fill":!c.value&&r.value,"nav-justified":!c.value&&o.value,[u.value]:!c.value&&t.align!==void 0,small:l.value,"nav-underline":d.value}));return(m,g)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(m.tag),{class:a.normalizeClass(["nav",p.value])},{default:a.withCtx(()=>[a.renderSlot(m.$slots,"default")]),_:3},8,["class"]))}}),JI={class:"d-flex flex-row align-items-center flex-wrap"},QI=a.defineComponent({inheritAttrs:!1,__name:"BNavForm",props:{role:{default:void 0},floating:{type:[Boolean,String],default:void 0},id:{default:void 0},novalidate:{type:[Boolean,String],default:void 0},validated:{type:[Boolean,String],default:void 0}},emits:["submit"],setup(e,{emit:t}){const n=t,r=o=>{n("submit",o)};return(o,i)=>(a.openBlock(),a.createElementBlock("li",JI,[a.createVNode(q4,a.mergeProps(o.$attrs,{id:o.id,floating:o.floating,role:o.role,novalidate:o.novalidate,validated:o.validated,class:"d-flex",onSubmit:a.withModifiers(r,["prevent"])}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["id","floating","role","novalidate","validated"])]))}}),eV={class:"nav-item"},tV=a.defineComponent({__name:"BNavItem",props:{linkAttrs:{default:void 0},linkClass:{default:void 0},active:{type:[Boolean,String],default:void 0},activeClass:{default:void 0},append:{type:[Boolean,String],default:void 0},disabled:{type:[Boolean,String],default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:[Boolean,String],default:void 0},opacity:{default:void 0},opacityHover:{default:void 0},rel:{default:void 0},replace:{type:[Boolean,String],default:void 0},routerComponentName:{default:void 0},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:void 0},variant:{default:void 0}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,o=I(()=>n.disabled),i=a.computed(()=>J1(n,["active","activeClass","append","disabled","href","icon","opacity","opacityHover","rel","replace","routerComponentName","target","to","underlineOffset","underlineOffsetHover","underlineOpacity","underlineOpacityHover","underlineVariant","variant"]));return i.value.activeClass,(l,s)=>(a.openBlock(),a.createElementBlock("li",eV,[a.createVNode($a,a.mergeProps({class:["nav-link",l.linkClass],tabindex:a.unref(o)?-1:void 0,"aria-disabled":a.unref(o)?!0:void 0},de(de({},i.value),l.linkAttrs),{onClick:s[0]||(s[0]=c=>r("click",c))}),{default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3},16,["class","tabindex","aria-disabled"])]))}}),nV={class:"nav-item dropdown"},p0=a.defineComponent({__name:"BNavItemDropdown",props:{ariaLabel:{default:void 0},autoClose:{type:[Boolean,String],default:!0},boundary:{default:"clippingAncestors"},boundaryPadding:{default:void 0},center:{type:[Boolean,String],default:!1},container:{default:void 0},disabled:{type:[Boolean,String],default:!1},dropend:{type:[Boolean,String],default:!1},dropstart:{type:[Boolean,String],default:!1},dropup:{type:[Boolean,String],default:!1},end:{type:[Boolean,String],default:!1},floatingMiddleware:{default:void 0},id:{default:void 0},isNav:{type:[Boolean,String],default:!0},lazy:{type:[Boolean,String],default:!1},menuClass:{default:void 0},modelValue:{type:[Boolean,String],default:!1},noCaret:{type:[Boolean,String],default:!1},noFlip:{type:[Boolean,String],default:!1},noShift:{type:[Boolean,String],default:!1},noSize:{type:[Boolean,String],default:!1},offset:{default:0},role:{default:"menu"},size:{default:"md"},split:{type:[Boolean,String],default:!1},splitButtonType:{default:"button"},splitClass:{default:void 0},splitDisabled:{type:[Boolean,String],default:void 0},splitHref:{default:void 0},splitTo:{default:void 0},splitVariant:{default:void 0},strategy:{default:"absolute"},text:{default:void 0},toggleClass:{default:void 0},toggleText:{default:"Toggle dropdown"},variant:{default:"link"}},emits:["click","hidden","hide","hide-prevented","show","show-prevented","shown","toggle","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=a.ref(null),l=()=>{var c;(c=i.value)==null||c.close()},s=()=>{var c;(c=i.value)==null||c.open()};return t({close:l,open:s,toggle:()=>{var c;(c=i.value)==null||c.toggle()}}),(c,u)=>(a.openBlock(),a.createElementBlock("li",nV,[a.createVNode(Y4,a.mergeProps({ref_key:"dropdown",ref:i},r,{"is-nav":"",onShow:u[0]||(u[0]=d=>o("show",d)),onShown:u[1]||(u[1]=d=>o("shown")),onHide:u[2]||(u[2]=d=>o("hide",d)),onHidden:u[3]||(u[3]=d=>o("hidden")),onHidePrevented:u[4]||(u[4]=d=>o("hide-prevented")),onShowPrevented:u[5]||(u[5]=d=>o("show-prevented")),onClick:u[6]||(u[6]=d=>o("click",d)),onToggle:u[7]||(u[7]=d=>o("toggle")),"onUpdate:modelValue":u[8]||(u[8]=d=>o("update:modelValue",d))}),{"button-content":a.withCtx(()=>[a.renderSlot(c.$slots,"button-content")]),"toggle-text":a.withCtx(()=>[a.renderSlot(c.$slots,"toggle-text")]),default:a.withCtx(()=>[a.renderSlot(c.$slots,"default",{hide:l,show:s})]),_:3},16)]))}}),rV={class:"navbar-text"},aV=a.defineComponent({__name:"BNavText",props:{text:{default:void 0}},setup(e){return(t,n)=>(a.openBlock(),a.createElementBlock("li",rV,[a.renderSlot(t.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(t.text),1)])]))}}),oV=a.defineComponent({__name:"BNavbar",props:{autoClose:{type:[Boolean,String],default:!0},container:{type:[String,Boolean],default:"fluid"},fixed:{default:void 0},print:{type:[Boolean,String],default:!1},sticky:{default:void 0},tag:{default:"nav"},toggleable:{type:[Boolean,String],default:!1},variant:{default:null}},setup(e){const t=e,n=I(()=>t.container),r=I(()=>t.autoClose),o=I(()=>t.print),i=I(()=>t.toggleable),l=a.toRef(()=>t.tag==="nav"?void 0:"navigation"),s=wM(n),c=a.computed(()=>({"d-print":o.value,[`sticky-${t.sticky}`]:t.sticky!==void 0,[`bg-${t.variant}`]:t.variant!==null,[`fixed-${t.fixed}`]:t.fixed!==void 0,"navbar-expand":i.value===!1,[`navbar-expand-${i.value}`]:typeof i.value=="string"}));return a.provide(Z1,{tag:a.toRef(()=>t.tag),autoClose:r}),(u,d)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(u.tag),{class:a.normalizeClass(["navbar",c.value]),role:l.value},{default:a.withCtx(()=>[u.container!==!1?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(s))},[a.renderSlot(u.$slots,"default")],2)):a.renderSlot(u.$slots,"default",{key:1})]),_:3},8,["class","role"]))}}),iV=a.defineComponent({__name:"BNavbarBrand",props:{tag:{default:"div"},active:{type:[Boolean,String],default:void 0},activeClass:{default:void 0},append:{type:[Boolean,String],default:void 0},disabled:{type:[Boolean,String],default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:[Boolean,String],default:void 0},opacity:{default:void 0},opacityHover:{default:void 0},rel:{default:void 0},replace:{type:[Boolean,String],default:void 0},routerComponentName:{default:void 0},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:void 0},variant:{default:void 0}},setup(e){const t=e,{computedLink:n,computedLinkProps:r}=Ei(t,["active","activeClass","append","disabled","href","rel","replace","routerComponentName","target","to","variant","opacity","opacityHover","underlineVariant","underlineOffset","underlineOffsetHover","underlineOpacity","underlineOpacityHover","icon"]),o=a.toRef(()=>n.value?$a:t.tag);return(i,l)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),a.mergeProps({class:"navbar-brand"},a.unref(r)),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),lV=a.defineComponent({__name:"BNavbarNav",props:{align:{default:void 0},fill:{type:[Boolean,String],default:!1},justified:{type:[Boolean,String],default:!1},small:{type:[Boolean,String],default:!1},tag:{default:"ul"}},setup(e){const t=e,n=I(()=>t.fill),r=I(()=>t.justified),o=I(()=>t.small),i=xn(()=>t.align),l=a.computed(()=>({"nav-fill":n.value,"nav-justified":r.value,[i.value]:t.align!==void 0,small:o.value}));return(s,c)=>(a.openBlock(),a.createElementBlock("ul",{class:a.normalizeClass(["navbar-nav",l.value])},[a.renderSlot(s.$slots,"default")],2))}}),lw=(e,t)=>e.setAttribute("data-bs-theme",t),sV={mounted(e,t){lw(e,t.value)},updated(e,t){lw(e,t.value)}},cV=(e,t)=>{const{modifiers:n,arg:r,value:o}=e,i=Object.keys(n||{}),l=typeof o=="string"?o.split(Lf):o;if(t.tagName.toLowerCase()==="a"){const s=t.getAttribute("href")||"";OA.test(s)&&i.push(s.replace(AA,""))}return Array.prototype.concat.apply([],[r,l]).forEach(s=>typeof s=="string"&&i.push(s)),i.filter((s,c,u)=>s&&u.indexOf(s)===c)},uV=(e,t)=>{e.forEach(n=>{const r=document.getElementById(n);r!==null&&r.dispatchEvent(new Event("bv-toggle"))}),setTimeout(()=>sw(e,t),50)},sw=(e,t)=>{let n=!1;e.forEach(r=>{const o=document.getElementById(r);o!=null&&o.classList.contains("show")&&(n=!0),o!=null&&o.classList.contains("closing")&&(n=!1)}),t.setAttribute("aria-expanded",n?"true":"false"),t.classList.remove(n?"collapsed":"not-collapsed"),t.classList.add(n?"not-collapsed":"collapsed")},cw=(e,t)=>{const n=cV(t,e);n.length!==0&&(e.__toggle&&e.removeEventListener("click",e.__toggle),e.__toggle=()=>uV(n,e),e.addEventListener("click",e.__toggle),e.setAttribute("aria-controls",n.join(" ")),sw(n,e))},m0={mounted:cw,updated:cw,unmounted(e){e.removeEventListener("click",e.__toggle),e.removeAttribute("aria-controls"),e.removeAttribute("aria-expanded")}},fV={mounted(e,t){if(!$c(t.value))return;const n=Zf(t.value,e);!n.content&&!n.title||(e.$__state=a.ref(de(de({},Fl(t,e)),n)),Jf(e,t))},updated(e,t){if(!$c(t.value))return;const n=Zf(t.value,e);if(!(!n.content&&!n.title)){if(!e.$__state){e.$__state=a.ref(de(de({},Fl(t,e)),n)),Jf(e,t);return}e.$__state.value=de(de({},Fl(t,e)),n)}},beforeUnmount(e){n4(e)}},uw=(e,t)=>{e.$__scrollspy&&e.$__scrollspy.cleanup();const{arg:n,value:r}=t,o=typeof r=="object"&&r!==null,i=n||(typeof r=="string"?r:o?r.content||r.element:null);e.$__scrollspy=EM(i,e,o?td(r,["content","element"]):{})},dV={mounted:uw,updated:uw,beforeUnmount(e){e.$__scrollspy&&e.$__scrollspy.cleanup()}},fw={mounted(e,t){var o,i;const n=$c(t.value);if(!n)return;const r=Zf(t.value,e);!r.content&&!r.title||(e.$__state=a.ref(Le(de({noninteractive:!0},Fl(t,e)),{title:(i=(o=r.title)!=null?o:r.content)!=null?i:"",tooltip:n})),Jf(e,t))},updated(e,t){var o,i,l,s;const n=$c(t.value);if(!n)return;const r=Zf(t.value,e);if(!(!r.content&&!r.title)){if(!e.$__state){e.$__state=a.ref(Le(de({noninteractive:!0},Fl(t,e)),{title:(i=(o=r.title)!=null?o:r.content)!=null?i:"",tooltip:n})),Jf(e,t);return}e.$__state.value=Le(de({noninteractive:!0},Fl(t,e)),{title:(s=(l=r.title)!=null?l:r.content)!=null?s:"",tooltip:n})}},beforeUnmount(e){n4(e)}},dw=Object.freeze(Object.defineProperty({__proto__:null,vBColorMode:sV,vBModal:m0,vBPopover:fV,vBScrollspy:dV,vBToggle:m0,vBTooltip:fw},Symbol.toStringTag,{value:"Module"})),hV=["disabled","aria-label"],pV=a.createElementVNode("span",{class:"navbar-toggler-icon"},null,-1),mV=a.defineComponent({__name:"BNavbarToggle",props:{disabled:{type:[Boolean,String],default:!1},label:{default:"Toggle navigation"},target:{default:void 0}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,o=I(()=>n.disabled),i=a.computed(()=>({disabled:o.value})),l=s=>{o.value||r("click",s)};return(s,c)=>a.withDirectives((a.openBlock(),a.createElementBlock("button",{class:a.normalizeClass(["navbar-toggler",i.value]),type:"button",disabled:a.unref(o),"aria-label":s.label,onClick:l},[a.renderSlot(s.$slots,"default",{},()=>[pV])],10,hV)),[[a.unref(m0),a.unref(o)?void 0:s.target]])}}),gV=["id","aria-labelledby"],yV=["id"],vV=a.defineComponent({inheritAttrs:!1,__name:"BOffcanvas",props:{backdrop:{type:[Boolean,String],default:!0},backdropVariant:{default:"dark"},bodyClass:{default:void 0},bodyScrolling:{type:[Boolean,String],default:!1},footerClass:{default:void 0},headerClass:{default:void 0},headerCloseClass:{default:void 0},headerCloseLabel:{default:"Close"},headerCloseVariant:{default:"secondary"},id:{default:void 0},lazy:{type:[Boolean,String],default:!1},modelValue:{type:[Boolean,String],default:!1},noCloseOnBackdrop:{type:[Boolean,String],default:!1},noCloseOnEsc:{type:[Boolean,String],default:!1},noFocus:{type:[Boolean,String],default:!1},noHeader:{type:[Boolean,String],default:!1},noHeaderClose:{type:[Boolean,String],default:!1},placement:{default:"start"},teleportDisabled:{type:[Boolean,String],default:!1},teleportTo:{default:"body"},title:{default:void 0}},emits:["close","esc","hidden","hide","hide-prevented","show","show-prevented","shown","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=a.useSlots(),l=St(r,"modelValue",o,{passive:!0}),s=I(l),c=I(()=>r.bodyScrolling),u=I(()=>r.backdrop),d=I(()=>r.noHeaderClose),p=I(()=>r.noHeader),m=I(()=>r.noFocus),g=I(()=>r.noCloseOnBackdrop),v=I(()=>r.noCloseOnEsc),w=I(()=>r.lazy),_=I(()=>r.teleportDisabled),y=Mt(()=>r.id,"offcanvas");$4(s,c);const C=a.ref(null);br("Escape",()=>{L("esc")},{target:C});const{focused:S}=or(C,{initialValue:s.value&&m.value===!1}),k=a.ref(s.value),x=a.ref(!1),B=a.toRef(()=>u.value===!0&&s.value===!0),N=a.toRef(()=>w.value===!1||w.value===!0&&x.value===!0||w.value===!0&&s.value===!0),$=a.toRef(()=>!bn(i["header-close"])),T=a.computed(()=>[{"text-reset":!$.value},r.headerCloseClass]),M=a.computed(()=>({variant:$.value?r.headerCloseVariant:void 0,class:T.value})),A=a.toRef(()=>!bn(i.footer)),F=a.computed(()=>["offcanvas",`offcanvas-${r.placement}`,{show:s.value&&k.value===!0}]),z=a.computed(()=>({visible:s.value,placement:r.placement,hide:L})),O=(U,oe={})=>new Ml(U,Le(de({cancelable:!1,target:C.value||null,relatedTarget:null,trigger:null},oe),{componentId:y.value})),L=(U="")=>{if(U==="backdrop"&&g.value||U==="esc"&&v.value){o("hide-prevented");return}const oe=O("hide",{cancelable:U!=="",trigger:U});if(U==="close"&&o(U,oe),U==="esc"&&o(U,oe),o("hide",oe),oe.defaultPrevented){o("hide-prevented");return}l.value=!1},V=()=>{const U=O("show",{cancelable:!0});if(o("show",U),U.defaultPrevented){l.value=!1,o("show-prevented");return}l.value=!0},H=()=>{a.nextTick(()=>{m.value===!1&&(S.value=!0)})},G=()=>V(),W=()=>{k.value=!0,H(),o("shown",O("shown")),w.value===!0&&(x.value=!0)},ne=()=>{k.value=!1},se=()=>{o("hidden",O("hidden")),w.value===!0&&(x.value=!1)};return en(C,"bv-toggle",()=>{s.value?L():V()}),t({hide:L,show:V}),(U,oe)=>(a.openBlock(),a.createBlock(a.Teleport,{to:U.teleportTo,disabled:a.unref(_)},[a.createVNode(Hl,{"no-fade":!0,"trans-props":{enterToClass:"showing",enterFromClass:"",leaveToClass:"hiding show",leaveFromClass:"show"},onBeforeEnter:G,onAfterEnter:W,onLeave:ne,onAfterLeave:se},{default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("div",a.mergeProps({id:a.unref(y),ref_key:"element",ref:C,"aria-modal":"true",role:"dialog",class:F.value,tabindex:"-1","aria-labelledby":`${a.unref(y)}-offcanvas-label`,"data-bs-backdrop":"false"},U.$attrs),[N.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.unref(p)?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["offcanvas-header",U.headerClass])},[a.renderSlot(U.$slots,"header",a.normalizeProps(a.guardReactiveProps(z.value)),()=>[a.createElementVNode("h5",{id:`${a.unref(y)}-offcanvas-label`,class:"offcanvas-title"},[a.renderSlot(U.$slots,"title",a.normalizeProps(a.guardReactiveProps(z.value)),()=>[a.createTextVNode(a.toDisplayString(U.title),1)])],8,yV),a.unref(d)?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[$.value?(a.openBlock(),a.createBlock(Lr,a.mergeProps({key:0},M.value,{onClick:oe[0]||(oe[0]=le=>L("close"))}),{default:a.withCtx(()=>[a.renderSlot(U.$slots,"header-close")]),_:3},16)):(a.openBlock(),a.createBlock(Ul,a.mergeProps({key:1,"aria-label":U.headerCloseLabel},M.value,{onClick:oe[1]||(oe[1]=le=>L("close"))}),null,16,["aria-label"]))],64))])],2)),a.createElementVNode("div",{class:a.normalizeClass(["offcanvas-body",U.bodyClass])},[a.renderSlot(U.$slots,"default",a.normalizeProps(a.guardReactiveProps(z.value)))],2),A.value?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(U.footerClass)},[a.renderSlot(U.$slots,"footer",a.normalizeProps(a.guardReactiveProps(z.value)))],2)):a.createCommentVNode("",!0)],64)):a.createCommentVNode("",!0)],16,gV),[[a.vShow,a.unref(l)]])]),_:3}),a.renderSlot(U.$slots,"backdrop",{},()=>[a.createVNode(rd,{variant:U.backdropVariant,show:B.value,fixed:"","no-wrap":"","no-spinner":"",onClick:oe[2]||(oe[2]=le=>L("backdrop"))},null,8,["variant","show"])])],8,["to","disabled"]))}}),bV=["aria-disabled","aria-label"],hw=20,pw=0,g0=a.defineComponent({__name:"BPagination",props:{align:{default:"start"},ariaControls:{default:void 0},ariaLabel:{default:"Pagination"},disabled:{type:[Boolean,String],default:!1},ellipsisClass:{default:void 0},ellipsisText:{default:"…"},firstClass:{default:void 0},firstNumber:{type:[Boolean,String],default:!1},firstText:{default:"«"},hideEllipsis:{type:[Boolean,String],default:!1},hideGotoEndButtons:{type:[Boolean,String],default:!1},labelFirstPage:{default:"Go to first page"},labelLastPage:{default:"Go to last page"},labelNextPage:{default:"Go to next page"},labelPage:{default:"Go to page"},labelPrevPage:{default:"Go to previous page"},lastClass:{default:void 0},lastNumber:{type:[Boolean,String],default:!1},lastText:{default:"»"},limit:{default:5},modelValue:{default:1},nextClass:{default:void 0},nextText:{default:"›"},pageClass:{default:void 0},perPage:{default:hw},pills:{type:[Boolean,String],default:!1},prevClass:{default:void 0},prevText:{default:"‹"},size:{default:void 0},totalRows:{default:pw}},emits:["update:modelValue","page-click"],setup(e,{emit:t}){const n=e,r=t,o=St(n,"modelValue",r),i=I(()=>n.disabled),l=I(()=>n.firstNumber),s=I(()=>n.hideEllipsis),c=I(()=>n.hideGotoEndButtons),u=I(()=>n.lastNumber),d=I(()=>n.pills),p=it(()=>n.limit,{nanToZero:!0,method:"parseInt"}),m=it(()=>n.perPage,{nanToZero:!0,method:"parseInt"}),g=it(()=>n.totalRows,{nanToZero:!0,method:"parseInt"}),v=it(o,{nanToZero:!0,method:"parseInt"}),w=a.toRef(()=>Math.max(m.value||hw,1)),_=a.toRef(()=>Math.max(g.value||pw,0)),y=a.toRef(()=>Math.ceil(_.value/w.value)),C=a.toRef(()=>n.align==="fill"),S=a.toRef(()=>n.align==="fill"?"start":n.align),k=xn(S),x=K=>K===v.value,B=K=>i.value?null:x(K)?"0":"-1",N=K=>i.value||x(K)||v.value<1||K<1||K>y.value,$=a.computed(()=>N(1)),T=a.computed(()=>N(v.value-1)),M=a.computed(()=>N(y.value)),A=a.computed(()=>N(v.value+1)),F=({page:K,classVal:J,dis:q,slotName:j,textValue:re,tabIndex:X,label:Q,position:ye,isActive:_e,role:Ne,hidden:ke})=>({li:{class:["page-item",{active:_e,disabled:q,"flex-fill":C.value,"d-flex":C.value&&!q},J],role:Ne,"aria-hidden":ke},button:{is:q?"span":"button",class:["page-link",{"flex-grow-1":!q&&C.value}],"aria-label":Q,"aria-controls":n.ariaControls||void 0,"aria-disabled":q?!0:void 0,"aria-posinset":ye,"aria-setsize":ye?y.value:void 0,role:"menuitem",type:q?void 0:"button",tabindex:q?void 0:X},text:{name:j,active:_e,value:re!=null?re:K,page:K,disabled:q,index:K-1,content:re?void 0:K},clickHandler:ee=>le(ee,K)}),z=({page:K,classVal:J,dis:q,slotName:j,textValue:re,label:X})=>F({page:K,classVal:J,dis:q,slotName:j,textValue:re,label:X,tabIndex:"-1"}),O=K=>{var J;return F({page:K,dis:i.value,classVal:n.pageClass,slotName:"page",label:n.labelPage?`${n.labelPage} ${K}`:void 0,tabIndex:(J=B(K))!=null?J:void 0,position:K,isActive:x(K)})},L=a.computed(()=>z({page:1,dis:$.value,classVal:n.firstClass,slotName:"first-text",textValue:n.firstText,label:n.labelFirstPage})),V=a.computed(()=>z({page:Math.max(v.value-1,1),dis:T.value,classVal:n.prevClass,slotName:"prev-text",textValue:n.prevText,label:n.labelPrevPage})),H=a.computed(()=>z({page:Math.min(v.value+1,y.value),dis:A.value,classVal:n.nextClass,slotName:"next-text",textValue:n.nextText,label:n.labelNextPage})),G=a.computed(()=>z({page:y.value,dis:M.value,classVal:n.lastClass,slotName:"last-text",textValue:n.lastText,label:n.labelLastPage})),W=Yf(),ne=Yf(),se=a.computed(()=>({li:{class:["page-item","disabled","bv-d-xs-down-none",C.value?"flex-fill":"",n.ellipsisClass],role:"separator"},span:{class:["page-link"]}})),U=a.computed(()=>[k.value,{[`pagination-${n.size}`]:n.size!==void 0,"b-pagination-pills":d.value}]),oe=a.computed(()=>({pageSize:w.value,totalRows:g.value,numberOfPages:y.value})),le=(K,J)=>{if(J===v.value)return;const q=new Ro("page-click",{cancelable:!0,target:K.target});r("page-click",q,J),!q.defaultPrevented&&(o.value=J)};a.watch(v,K=>{const J=((q,j)=>{const re=q||1;return re>j?j:re<1?1:re})(K,y.value);J!==o.value&&(o.value=J)}),a.watch(oe,(K,J)=>{(J.pageSize!==K.pageSize&&J.totalRows===K.totalRows||J.numberOfPages!==K.numberOfPages&&v.value>J.numberOfPages)&&(o.value=1)});const ue=a.computed(()=>{const K=y.value,{value:J}=v,q=p.value,j=l.value?1:0,re=u.value?1:0,X=s.value||q<=3,Q=c.value?1:0;if(K<q+j+re)return[!j&&!Q?-1:null,-2,...Array.from({length:K},(Ne,ke)=>ke+1),-3,!re&&!Q?-4:null].filter(Ne=>Ne!==null);const ye=Array.from({length:q+4-Q*2});Q?(ye[0]=-2,ye[ye.length-1]=-3):(j?(ye[0]=-2,ye[1]=1):(ye[0]=-1,ye[1]=-2),re?(ye[ye.length-1]=-3,ye[ye.length-2]=K):(ye[ye.length-1]=-4,ye[ye.length-2]=-3));const _e=Math.floor(q/2);if(J<=_e+j){for(let Ne=1;Ne<=q;Ne++)ye[Ne+1-Q]=Ne+j;X||(ye[ye.length-3]=-5)}if(J>K-_e-re){const Ne=K-(q-1)-re;for(let ke=0;ke<q;ke++)ye[ke+2-Q]=Ne+ke;X||(ye[2]=-5)}if(!ye[2]){const Ne=J-Math.floor(q/2);for(let ke=0;ke<q;ke++)ye[ke+2-Q]=Ne+ke;X||(ye[2]=-5,ye[ye.length-3]=-5)}return ye});return(K,J)=>(a.openBlock(),a.createElementBlock("ul",{class:a.normalizeClass(["pagination",U.value]),role:"menubar","aria-disabled":a.unref(i),"aria-label":K.ariaLabel||void 0},[a.createVNode(a.unref(W).define,null,{default:a.withCtx(({button:q,li:j,text:re,clickHandler:X})=>[a.createElementVNode("li",a.normalizeProps(a.guardReactiveProps(j)),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(q.is),a.mergeProps(q,{onClick:X}),{default:a.withCtx(()=>[a.renderSlot(K.$slots,re.name,{disabled:re.disabled,page:re.page,index:re.index,active:re.active,content:re.value},()=>[a.createTextVNode(a.toDisplayString(re.value),1)])]),_:2},1040,["onClick"]))],16)]),_:3}),a.createVNode(a.unref(ne).define,null,{default:a.withCtx(()=>[a.createElementVNode("li",a.normalizeProps(a.guardReactiveProps(se.value.li)),[a.createElementVNode("span",a.normalizeProps(a.guardReactiveProps(se.value.span)),[a.renderSlot(K.$slots,"ellipsis-text",{},()=>[a.createTextVNode(a.toDisplayString(K.ellipsisText||"..."),1)])],16)],16)]),_:3}),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(ue.value,q=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:`page-${q.number}`},[q===-1?(a.openBlock(),a.createBlock(a.unref(W).reuse,a.normalizeProps(a.mergeProps({key:0},L.value)),null,16)):q===-2?(a.openBlock(),a.createBlock(a.unref(W).reuse,a.normalizeProps(a.mergeProps({key:1},V.value)),null,16)):q===-3?(a.openBlock(),a.createBlock(a.unref(W).reuse,a.normalizeProps(a.mergeProps({key:2},H.value)),null,16)):q===-4?(a.openBlock(),a.createBlock(a.unref(W).reuse,a.normalizeProps(a.mergeProps({key:3},G.value)),null,16)):q===-5?(a.openBlock(),a.createBlock(a.unref(ne).reuse,{key:4})):(a.openBlock(),a.createBlock(a.unref(W).reuse,a.normalizeProps(a.mergeProps({key:5},O(q))),null,16))],64))),128))],10,bV))}}),Dr=a.defineComponent({inheritAttrs:!1,__name:"BPlaceholder",props:{animation:{default:void 0},cols:{default:12},size:{default:"md"},tag:{default:"span"},variant:{default:null},width:{default:void 0},wrapperTag:{default:"span"}},setup(e){const t=e,n=a.toRef(()=>t.width===void 0?void 0:typeof t.width=="number"?t.width.toString():t.width.replace("%","")),r=a.toRef(()=>t.cols===void 0?void 0:typeof t.cols=="number"?t.cols.toString():t.cols),o=a.computed(()=>({[`col-${r.value}`]:r.value!==void 0&&n.value===void 0,[`bg-${t.variant}`]:t.variant!==null,[`placeholder-${t.size}`]:t.size!=="md"})),i=a.computed(()=>({[`placeholder-${t.animation}`]:t.animation!==void 0})),l=a.computed(()=>({width:n.value===void 0?void 0:`${n.value}%`}));return(s,c)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.wrapperTag),{class:a.normalizeClass(i.value)},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.tag),a.mergeProps(s.$attrs,{class:["placeholder",o.value],style:l.value}),null,16,["class","style"]))]),_:1},8,["class"]))}}),mw=a.defineComponent({__name:"BPlaceholderButton",props:{animation:{default:void 0},cols:{default:void 0},tag:{default:"div"},variant:{default:"primary"},width:{default:void 0}},setup(e){const t=e,n=a.computed(()=>({[`btn-${t.variant}`]:t.variant!==null}));return(r,o)=>(a.openBlock(),a.createBlock(Dr,{class:a.normalizeClass(["btn disabled",n.value]),animation:r.animation,width:r.width,cols:r.cols,tag:r.tag,style:{cursor:"wait","pointer-events":"auto"}},null,8,["class","animation","width","cols","tag"]))}}),_V=a.defineComponent({__name:"BPlaceholderCard",props:{animation:{default:void 0},footerAnimation:{default:void 0},footerSize:{default:"md"},footerVariant:{default:void 0},footerWidth:{default:100},headerAnimation:{default:void 0},headerSize:{default:"md"},headerVariant:{default:void 0},headerWidth:{default:100},imgBlankColor:{default:"#868e96"},imgBottom:{type:[Boolean,String],default:!1},imgHeight:{default:100},imgSrc:{default:void 0},noButton:{type:[Boolean,String],default:!1},noFooter:{type:[Boolean,String],default:!1},noHeader:{type:[Boolean,String],default:!1},noImg:{type:[Boolean,String],default:!1},size:{default:"md"},variant:{default:void 0}},setup(e){const t=e,n=I(()=>t.noButton),r=I(()=>t.noHeader),o=I(()=>t.noFooter),i=I(()=>t.noImg),l=a.computed(()=>({animation:t.animation,size:t.size,variant:t.variant})),s=a.toRef(()=>n.value?Dr:mw);return(c,u)=>(a.openBlock(),a.createBlock(o0,{"img-bottom":c.imgBottom},a.createSlots({default:a.withCtx(()=>[a.renderSlot(c.$slots,"default",{},()=>[a.createVNode(Dr,a.mergeProps({cols:"7"},l.value),null,16),a.createVNode(Dr,a.mergeProps({cols:"4"},l.value),null,16),a.createVNode(Dr,a.mergeProps({cols:"4"},l.value),null,16),a.createVNode(Dr,a.mergeProps({cols:"6"},l.value),null,16),a.createVNode(Dr,a.mergeProps({cols:"8"},l.value),null,16)])]),_:2},[a.unref(i)?void 0:{name:"img",fn:a.withCtx(()=>[a.renderSlot(c.$slots,"img",{},()=>[a.createVNode(a0,{blank:!c.imgSrc,"blank-color":c.imgBlankColor,height:c.imgSrc?void 0:c.imgHeight,src:c.imgSrc,top:!c.imgBottom,bottom:c.imgBottom,style:{cursor:"wait"}},null,8,["blank","blank-color","height","src","top","bottom"])])]),key:"0"},a.unref(r)?void 0:{name:"header",fn:a.withCtx(()=>[a.renderSlot(c.$slots,"header",{},()=>[a.createVNode(Dr,{width:c.headerWidth,variant:c.headerVariant,animation:c.headerAnimation,size:c.headerSize},null,8,["width","variant","animation","size"])])]),key:"1"},a.unref(o)?void 0:{name:"footer",fn:a.withCtx(()=>[a.renderSlot(c.$slots,"footer",{},()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.value),{width:c.footerWidth,animation:c.footerAnimation,size:a.unref(n)?c.footerSize:void 0,variant:c.footerVariant},null,8,["width","animation","size","variant"]))])]),key:"2"}]),1032,["img-bottom"]))}}),wV=["id"],SV=["id"],y0=a.defineComponent({__name:"BTableSimple",props:{bordered:{type:[Boolean,String],default:!1},borderless:{type:[Boolean,String],default:!1},borderVariant:{default:null},captionTop:{type:[Boolean,String],default:!1},dark:{type:[Boolean,String],default:!1},fixed:{type:[Boolean,String],default:!1},hover:{type:[Boolean,String],default:!1},id:{default:void 0},noBorderCollapse:{type:[Boolean,String],default:!1},outlined:{type:[Boolean,String],default:!1},responsive:{type:[Boolean,String],default:!1},small:{type:[Boolean,String],default:!1},stacked:{type:[Boolean,String],default:!1},stickyHeader:{type:[Boolean,String],default:!1},striped:{type:[Boolean,String],default:!1},stripedColumns:{type:[Boolean,String],default:!1},tableClass:{default:void 0},variant:{default:null}},setup(e){const t=e,n=I(()=>t.captionTop),r=I(()=>t.borderless),o=I(()=>t.bordered),i=I(()=>t.dark),l=I(()=>t.hover),s=I(()=>t.small),c=I(()=>t.striped),u=I(()=>t.stickyHeader),d=I(()=>t.stripedColumns),p=I(()=>t.responsive),m=I(()=>t.stacked),g=a.computed(()=>[t.tableClass,"table","b-table",{"table-bordered":o.value,"table-borderless":r.value,[`border-${t.borderVariant}`]:t.borderVariant!==null,"caption-top":n.value,"table-dark":i.value,"table-hover":l.value,"b-table-stacked":m.value===!0,[`b-table-stacked-${m.value}`]:typeof m.value=="string","table-striped":c.value,"table-sm":s.value,[`table-${t.variant}`]:t.variant!==null,"table-striped-columns":d.value}]),v=a.computed(()=>({"table-responsive":p.value===!0,[`table-responsive-${p.value}`]:typeof p.value=="string","b-table-sticky-header":u.value}));return(w,_)=>a.unref(p)?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(v.value)},[a.createElementVNode("table",{id:w.id,class:a.normalizeClass(g.value)},[a.renderSlot(w.$slots,"default")],10,SV)],2)):(a.openBlock(),a.createElementBlock("table",{key:0,id:w.id,class:a.normalizeClass(g.value)},[a.renderSlot(w.$slots,"default")],10,wV))}}),kV=a.defineComponent({__name:"BPlaceholderTable",props:{animation:{default:void 0},cellWidth:{default:100},columns:{default:5},footerAnimation:{default:void 0},footerCellWidth:{default:100},footerColumns:{default:void 0},footerSize:{default:"md"},footerVariant:{default:void 0},headerAnimation:{default:void 0},headerCellWidth:{default:100},headerColumns:{default:void 0},headerSize:{default:"md"},headerVariant:{default:void 0},hideHeader:{type:[Boolean,String],default:!1},rows:{default:3},showFooter:{type:[Boolean,String],default:!1},size:{default:"md"},variant:{default:void 0}},setup(e){const t=e,n=it(()=>t.columns),r=it(()=>t.rows),o=a.toRef(()=>{var v;return(v=t.headerColumns)!=null?v:NaN}),i=a.toRef(()=>{var v;return(v=t.footerColumns)!=null?v:NaN}),l=it(o),s=it(i),c=a.toRef(()=>n.value||5),u=a.toRef(()=>r.value||3),d=a.toRef(()=>t.headerColumns===void 0?c.value:l.value),p=a.toRef(()=>t.footerColumns===void 0?c.value:s.value),m=I(()=>t.hideHeader),g=I(()=>t.showFooter);return(v,w)=>(a.openBlock(),a.createBlock(y0,null,{default:a.withCtx(()=>[a.unref(m)?a.createCommentVNode("",!0):a.renderSlot(v.$slots,"thead",{key:0},()=>[a.createElementVNode("thead",null,[a.createElementVNode("tr",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(d.value,(_,y)=>(a.openBlock(),a.createElementBlock("th",{key:y},[a.createVNode(Dr,{size:v.headerSize,variant:v.headerVariant,animation:v.headerAnimation,width:v.headerCellWidth},null,8,["size","variant","animation","width"])]))),128))])])]),a.renderSlot(v.$slots,"default",{},()=>[a.createElementVNode("tbody",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.value,(_,y)=>(a.openBlock(),a.createElementBlock("tr",{key:y},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(c.value,(C,S)=>(a.openBlock(),a.createElementBlock("td",{key:S},[a.createVNode(Dr,{size:v.size,variant:v.variant,animation:v.animation,width:v.cellWidth},null,8,["size","variant","animation","width"])]))),128))]))),128))])]),a.unref(g)?a.renderSlot(v.$slots,"tfoot",{key:1},()=>[a.createElementVNode("tfoot",null,[a.createElementVNode("tr",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(p.value,(_,y)=>(a.openBlock(),a.createElementBlock("th",{key:y},[a.createVNode(Dr,{size:v.footerSize,variant:v.footerVariant,animation:v.footerAnimation,width:v.footerCellWidth},null,8,["size","variant","animation","width"])]))),128))])])]):a.createCommentVNode("",!0)]),_:3}))}}),CV=a.defineComponent({__name:"BPlaceholderWrapper",props:{loading:{type:[Boolean,String],default:!1}},setup(e){const t=e,n=I(()=>t.loading);return(r,o)=>a.unref(n)?a.renderSlot(r.$slots,"loading",{key:0}):a.renderSlot(r.$slots,"default",{key:1})}}),gw=Qf("cols",[""],{type:[String,Number],default:null}),xV=a.defineComponent({name:"BRow",slots:Object,props:de({tag:{type:String,default:"div"},gutterX:{type:String,default:null},gutterY:{type:String,default:null},noGutters:{type:[Boolean,String],default:!1},alignV:{type:String,default:null},alignH:{type:String,default:null},alignContent:{type:String,default:null}},gw),setup(e){const t=I(()=>e.noGutters),n=xn(()=>e.alignH),r=a.computed(()=>a4(e,gw,"cols","row-cols"));return{computedClasses:a.computed(()=>[r.value,{[`gx-${e.gutterX}`]:e.gutterX!==null,[`gy-${e.gutterY}`]:e.gutterY!==null,"g-0":t.value,[`align-items-${e.alignV}`]:e.alignV!==null,[n.value]:e.alignH!==null,[`align-content-${e.alignContent}`]:e.alignContent!==null}])}}});function EV(e,t,n,r,o,i){return a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.tag),{class:a.normalizeClass(["row",e.computedClasses])},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default")]),_:3},8,["class"])}const BV=ad(xV,[["render",EV]]),yw=a.defineComponent({__name:"BTbody",props:{variant:{default:null}},setup(e){const t=e,n=a.computed(()=>({[`thead-${t.variant}`]:t.variant!==null}));return(r,o)=>(a.openBlock(),a.createElementBlock("tbody",{class:a.normalizeClass(n.value)},[a.renderSlot(r.$slots,"default")],2))}}),NV=["scope","colspan","rowspan","data-label"],TV={key:0},Gl=a.defineComponent({__name:"BTd",props:{colspan:{default:void 0},rowspan:{default:void 0},stackedHeading:{default:void 0},stickyColumn:{type:[Boolean,String],default:!1},variant:{default:null}},setup(e){const t=e,n=I(()=>t.stickyColumn),r=a.computed(()=>({[`table-${t.variant}`]:t.variant!==null,"b-table-sticky-column":n.value,"table-b-table-default":n.value&&t.variant===null})),o=a.toRef(()=>t.colspan?"colspan":t.rowspan?"rowspan":"col");return(i,l)=>(a.openBlock(),a.createElementBlock("td",{scope:o.value,class:a.normalizeClass(r.value),colspan:i.colspan,rowspan:i.rowspan,"data-label":i.stackedHeading},[i.stackedHeading?(a.openBlock(),a.createElementBlock("div",TV,[a.renderSlot(i.$slots,"default")])):a.renderSlot(i.$slots,"default",{key:1})],10,NV))}}),v0=a.defineComponent({__name:"BTfoot",props:{variant:{default:null}},setup(e){const t=e,n=a.computed(()=>({[`table-${t.variant}`]:t.variant!==null}));return(r,o)=>(a.openBlock(),a.createElementBlock("tfoot",{class:a.normalizeClass(n.value)},[a.renderSlot(r.$slots,"default")],2))}}),$V=["scope","colspan","rowspan","data-label"],AV={key:0},b0=a.defineComponent({__name:"BTh",props:{colspan:{default:void 0},rowspan:{default:void 0},stackedHeading:{default:void 0},stickyColumn:{type:[Boolean,String],default:!1},variant:{default:null}},setup(e){const t=e,n=I(()=>t.stickyColumn),r=a.computed(()=>({[`table-${t.variant}`]:t.variant!==null,"b-table-sticky-column":n.value,"table-b-table-default":n.value&&t.variant===null})),o=a.toRef(()=>t.colspan?"colspan":t.rowspan?"rowspan":"col");return(i,l)=>(a.openBlock(),a.createElementBlock("th",{scope:o.value,class:a.normalizeClass(r.value),colspan:i.colspan,rowspan:i.rowspan,"data-label":i.stackedHeading},[i.stackedHeading!==void 0?(a.openBlock(),a.createElementBlock("div",AV,[a.renderSlot(i.$slots,"default")])):a.renderSlot(i.$slots,"default",{key:1})],10,$V))}}),vw=a.defineComponent({__name:"BThead",props:{variant:{default:null}},setup(e){const t=e,n=a.computed(()=>({[`table-${t.variant}`]:t.variant!==null}));return(r,o)=>(a.openBlock(),a.createElementBlock("thead",{class:a.normalizeClass(n.value)},[a.renderSlot(r.$slots,"default")],2))}}),ca=a.defineComponent({__name:"BTr",props:{variant:{default:null}},setup(e){const t=e,n=a.computed(()=>({[`table-${t.variant}`]:t.variant!==null}));return(r,o)=>(a.openBlock(),a.createElementBlock("tr",{class:a.normalizeClass(n.value)},[a.renderSlot(r.$slots,"default")],2))}}),OV={key:0,class:"b-table-stacked-label"},MV={class:"d-inline-flex flex-nowrap align-items-center gap-1"},PV={key:2},bw=a.defineComponent({__name:"BTableLite",props:{align:{default:void 0},caption:{default:void 0},captionHtml:{default:void 0},detailsTdClass:{default:void 0},emptyFilteredText:{default:"There are no records matching your request"},emptyText:{default:"There are no records to show"},fieldColumnClass:{type:[Function,String,Object],default:void 0},fields:{default:()=>[]},footClone:{type:[Boolean,String],default:!1},footRowVariant:{default:void 0},footVariant:{default:void 0},headRowVariant:{default:void 0},headVariant:{default:void 0},items:{default:()=>[]},labelStacked:{type:[Boolean,String],default:!1},modelValue:{default:void 0},primaryKey:{default:void 0},showEmpty:{type:[Boolean,String],default:!1},tbodyClass:{default:void 0},tbodyTrAttr:{default:void 0},tbodyTrClass:{type:[Function,String,Object],default:void 0},tfootClass:{default:void 0},tfootTrClass:{default:void 0},theadClass:{default:void 0},theadTrClass:{default:void 0},bordered:{type:[Boolean,String],default:void 0},borderless:{type:[Boolean,String],default:void 0},borderVariant:{default:void 0},captionTop:{type:[Boolean,String],default:void 0},dark:{type:[Boolean,String],default:void 0},fixed:{type:[Boolean,String],default:void 0},hover:{type:[Boolean,String],default:void 0},id:{default:void 0},noBorderCollapse:{type:[Boolean,String],default:void 0},outlined:{type:[Boolean,String],default:void 0},responsive:{type:[Boolean,String],default:void 0},small:{type:[Boolean,String],default:void 0},stacked:{type:[Boolean,String],default:void 0},stickyHeader:{type:[Boolean,String],default:void 0},striped:{type:[Boolean,String],default:void 0},stripedColumns:{type:[Boolean,String],default:void 0},tableClass:{default:void 0},variant:{default:void 0}},emits:["head-clicked","row-clicked","row-dbl-clicked","row-hovered","row-unhovered"],setup(e,{emit:t}){const n=e,r=t,o=I(()=>n.footClone),i=I(()=>n.labelStacked),l=I(()=>n.showEmpty),s=I(()=>n.stacked),c=a.computed(()=>[n.tableClass,{[`align-${n.align}`]:n.align!==void 0}]),u=a.computed(()=>!n.fields.length&&n.items.length?Object.keys(n.items[0]).map(y=>{const C=K1(y);return{key:y,label:C,tdAttr:s.value===!0?{"data-label":C}:void 0}}):n.fields.map(y=>{if(typeof y=="string"){const C=K1(y);return{key:y,label:C,tdAttr:s.value===!0?{"data-label":C}:void 0}}return Le(de({},y),{tdAttr:s.value===!0?de({"data-label":K1(y.key)},y.tdAttr):y.tdAttr})})),d=a.toRef(()=>u.value.length),p=(y,C,S)=>{const k=la(y,C);return S&&typeof S=="function"?S(k,C,y):S},m=(y,C,S=!1)=>{const k=typeof y=="string"?y:y.key;r("head-clicked",k,y,C,S)},g=y=>{y._showDetails=!y._showDetails},v=y=>[y.class,y.thClass,{"b-table-sticky-column":y.stickyColumn},n.fieldColumnClass?typeof n.fieldColumnClass=="function"?n.fieldColumnClass(y):n.fieldColumnClass:null],w=(y,C)=>{var S;return[y.class,y.tdClass,(S=C._cellVariants)!=null&&S[y.key]?`table-${C._cellVariants[y.key]}`:null,{"b-table-sticky-column":y.stickyColumn}]},_=(y,C)=>n.tbodyTrClass?typeof n.tbodyTrClass=="function"?n.tbodyTrClass(y,C):n.tbodyTrClass:null;return(y,C)=>(a.openBlock(),a.createBlock(y0,{id:y.id,bordered:y.bordered,borderless:y.borderless,"border-variant":y.borderVariant,"caption-top":y.captionTop,dark:y.dark,fixed:y.fixed,hover:y.hover,"no-border-collapse":y.noBorderCollapse,outlined:y.outlined,responsive:y.responsive,small:y.small,stacked:a.unref(s),"sticky-header":y.stickyHeader,striped:y.striped,"table-class":c.value,variant:y.variant,"striped-columns":y.stripedColumns},{default:a.withCtx(()=>[a.createVNode(vw,{variant:y.headVariant,class:a.normalizeClass(y.theadClass)},{default:a.withCtx(()=>[y.$slots["thead-top"]?a.renderSlot(y.$slots,"thead-top",{key:0}):a.createCommentVNode("",!0),a.createVNode(ca,{variant:y.headRowVariant,class:a.normalizeClass(y.theadTrClass)},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.value,S=>(a.openBlock(),a.createBlock(b0,a.mergeProps({key:S.key,scope:"col",class:v(S),title:S.headerTitle,variant:S.variant,abbr:S.headerAbbr,style:S.thStyle},S.thAttr,{onClick:k=>m(S,k)}),{default:a.withCtx(()=>[a.renderSlot(y.$slots,y.$slots[`head(${String(S.key)})`]?`head(${String(S.key)})`:"head()",{label:S.label,column:S.key,field:S,isFoot:!1},()=>[a.createTextVNode(a.toDisplayString(a.unref(ed)(S)),1)])]),_:2},1040,["class","title","variant","abbr","style","onClick"]))),128))]),_:3},8,["variant","class"]),y.$slots["thead-sub"]?(a.openBlock(),a.createBlock(ca,{key:1},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.value,S=>(a.openBlock(),a.createBlock(Gl,{key:S.key,scope:"col",variant:S.variant,class:a.normalizeClass([S.class,S.thClass])},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"thead-sub",a.mergeProps({items:u.value},S),()=>[a.createTextVNode(a.toDisplayString(S.label),1)])]),_:2},1032,["variant","class"]))),128))]),_:3})):a.createCommentVNode("",!0)]),_:3},8,["variant","class"]),a.createVNode(yw,{class:a.normalizeClass(y.tbodyClass)},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"custom-body",{fields:u.value,items:y.items,columns:u.value.length},()=>[!a.unref(s)&&y.$slots["top-row"]?(a.openBlock(),a.createBlock(ca,{key:0},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"top-row")]),_:3})):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(y.items,(S,k)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:k},[a.createVNode(ca,{class:a.normalizeClass(_(S,"row")),variant:S._rowVariant,onClick:x=>!a.unref(Df)(x)&&r("row-clicked",S,k,x),onDblclick:x=>!a.unref(Df)(x)&&r("row-dbl-clicked",S,k,x),onMouseenter:x=>!a.unref(Df)(x)&&r("row-hovered",S,k,x),onMouseleave:x=>!a.unref(Df)(x)&&r("row-unhovered",S,k,x)},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.value,x=>{var B;return a.openBlock(),a.createBlock(Gl,a.mergeProps({key:x.key,variant:(B=S._cellVariants)!=null&&B[x.key]?null:x.variant,class:w(x,S)},p(S,String(x.key),x.tdAttr)),{default:a.withCtx(()=>{var N;return[a.unref(s)&&a.unref(i)?(a.openBlock(),a.createElementBlock("label",OV,a.toDisplayString(a.unref(ed)(x)),1)):a.createCommentVNode("",!0),a.renderSlot(y.$slots,y.$slots[`cell(${String(x.key)})`]?`cell(${String(x.key)})`:"cell()",{value:a.unref(la)(S,String(x.key)),index:k,item:S,field:x,items:y.items,toggleDetails:()=>{g(S)},detailsShowing:(N=S._showDetails)!=null?N:!1},()=>[!y.$slots[`cell(${String(x.key)})`]&&!y.$slots["cell()"]?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createTextVNode(a.toDisplayString(a.unref(r4)(S,String(x.key),x.formatter)),1)],64)):a.createCommentVNode("",!0)])]}),_:2},1040,["variant","class"])}),128))]),_:2},1032,["class","variant","onClick","onDblclick","onMouseenter","onMouseleave"]),S._showDetails===!0&&y.$slots["row-details"]?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createVNode(ca,{"aria-hidden":"true",role:"presentation",class:"d-none"}),a.createVNode(ca,{class:a.normalizeClass(_(S,"row-details")),variant:S._rowVariant},{default:a.withCtx(()=>[a.createVNode(Gl,{colspan:d.value},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"row-details",{item:S,toggleDetails:()=>{g(S)},fields:y.fields,index:k})]),_:2},1032,["colspan"])]),_:2},1032,["class","variant"])],64)):a.createCommentVNode("",!0)],64))),128)),a.unref(l)&&y.items.length===0?(a.openBlock(),a.createBlock(ca,{key:1,class:"b-table-empty-slot"},{default:a.withCtx(()=>[a.createVNode(Gl,{colspan:d.value},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"empty",{items:y.items},()=>[a.createTextVNode(a.toDisplayString(y.emptyText),1)])]),_:3},8,["colspan"])]),_:3})):a.createCommentVNode("",!0),!a.unref(s)&&y.$slots["bottom-row"]?(a.openBlock(),a.createBlock(ca,{key:2},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"bottom-row")]),_:3})):a.createCommentVNode("",!0)])]),_:3},8,["class"]),a.unref(o)?(a.openBlock(),a.createBlock(v0,{key:0,variant:y.footVariant,class:a.normalizeClass(y.tfootClass)},{default:a.withCtx(()=>[a.createVNode(ca,{variant:y.footRowVariant,class:a.normalizeClass(y.tfootTrClass)},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.value,S=>(a.openBlock(),a.createBlock(b0,a.mergeProps({key:S.key,scope:"col",class:v(S),title:S.headerTitle,abbr:S.headerAbbr,style:S.thStyle,variant:S.variant},S.thAttr,{onClick:k=>m(S,k,!0)}),{default:a.withCtx(()=>[a.createElementVNode("div",MV,[a.createElementVNode("div",null,[a.renderSlot(y.$slots,y.$slots[`foot(${String(S.key)})`]?`foot(${String(S.key)})`:"foot()",{label:S.label,column:S.key,field:S,isFoot:!0},()=>[a.createTextVNode(a.toDisplayString(a.unref(ed)(S)),1)])])])]),_:2},1040,["class","title","abbr","style","variant","onClick"]))),128))]),_:3},8,["variant","class"])]),_:3},8,["variant","class"])):y.$slots["custom-foot"]?(a.openBlock(),a.createBlock(v0,{key:1},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"custom-foot",{fields:u.value,items:y.items,columns:u.value.length})]),_:3})):a.createCommentVNode("",!0),y.$slots["table-caption"]||y.caption?(a.openBlock(),a.createElementBlock("caption",PV,[a.renderSlot(y.$slots,"table-caption",{},()=>[a.createTextVNode(a.toDisplayString(y.caption),1)])])):a.createCommentVNode("",!0)]),_:3},8,["id","bordered","borderless","border-variant","caption-top","dark","fixed","hover","no-border-collapse","outlined","responsive","small","stacked","sticky-header","striped","table-class","variant","striped-columns"]))}}),IV=a.createElementVNode("path",{"fill-rule":"evenodd",d:"M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5z"},null,-1),VV=[IV],RV=a.createElementVNode("path",{"fill-rule":"evenodd",d:"M8 4a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L7.5 10.293V4.5A.5.5 0 0 1 8 4z"},null,-1),LV=[RV],DV={class:"d-flex align-items-center gap-2 mt-5"},zV=a.defineComponent({__name:"BTable",props:{provider:{default:void 0},sortCompare:{default:void 0},noProvider:{default:void 0},noProviderPaging:{type:[Boolean,String],default:!1},noProviderSorting:{type:[Boolean,String],default:!1},noProviderFiltering:{type:[Boolean,String],default:!1},sortBy:{default:void 0},sortDesc:{type:[Boolean,String],default:!1},selectable:{type:[Boolean,String],default:!1},stickySelect:{type:[Boolean,String],default:!1},selectHead:{type:[Boolean,String],default:!0},selectMode:{default:"multi"},selectionVariant:{default:"primary"},busy:{type:[Boolean,String],default:!1},busyLoadingText:{default:"Loading..."},perPage:{default:1/0},currentPage:{default:1},filter:{default:void 0},filterable:{default:void 0},noLocalSorting:{type:[Boolean,String],default:!1},noSelectOnClick:{type:[Boolean,String],default:!1},sortCompareLocale:{default:void 0},sortCompareOptions:{default:()=>({numeric:!0})},selectedItems:{default:()=>[]},noSortableIcon:{type:[Boolean,String],default:!1},align:{default:void 0},caption:{default:void 0},captionHtml:{default:void 0},detailsTdClass:{default:void 0},emptyFilteredText:{default:void 0},emptyText:{default:void 0},fieldColumnClass:{type:[Function,String,Object],default:void 0},fields:{default:()=>[]},footClone:{type:[Boolean,String],default:void 0},footRowVariant:{default:void 0},footVariant:{default:void 0},headRowVariant:{default:void 0},headVariant:{default:void 0},items:{default:()=>[]},labelStacked:{type:[Boolean,String],default:void 0},modelValue:{default:void 0},primaryKey:{default:void 0},showEmpty:{type:[Boolean,String],default:void 0},tbodyClass:{default:void 0},tbodyTrAttr:{default:void 0},tbodyTrClass:{type:[Function,String,Object],default:void 0},tfootClass:{default:void 0},tfootTrClass:{default:void 0},theadClass:{default:void 0},theadTrClass:{default:void 0},bordered:{type:[Boolean,String],default:void 0},borderless:{type:[Boolean,String],default:void 0},borderVariant:{default:void 0},captionTop:{type:[Boolean,String],default:void 0},dark:{type:[Boolean,String],default:void 0},fixed:{type:[Boolean,String],default:void 0},hover:{type:[Boolean,String],default:void 0},id:{default:void 0},noBorderCollapse:{type:[Boolean,String],default:void 0},outlined:{type:[Boolean,String],default:void 0},responsive:{type:[Boolean,String],default:void 0},small:{type:[Boolean,String],default:void 0},stacked:{type:[Boolean,String],default:void 0},stickyHeader:{type:[Boolean,String],default:void 0},striped:{type:[Boolean,String],default:void 0},stripedColumns:{type:[Boolean,String],default:void 0},variant:{default:void 0}},emits:["filtered","head-clicked","row-clicked","row-dbl-clicked","row-hovered","row-selected","row-unhovered","row-unselected","selection","sorted","update:busy","update:selectedItems","update:sortDesc","update:sortBy"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=St(r,"sortBy",o,{passive:!0}),l=St(r,"busy",o,{passive:!0}),s=St(r,"sortDesc",o,{passive:!0}),c=St(r,"selectedItems",o,{passive:!0}),u=a.computed({get:()=>new Set([...c.value]),set:K=>{c.value=[...K]}}),d={add:K=>{const J=new Set(u.value);J.add(K),u.value=J,o("row-selected",K)},clear:()=>{u.value.forEach(K=>{d.delete(K)})},delete:K=>{const J=new Set(u.value);J.delete(K),u.value=J,o("row-unselected",K)},has:K=>{if(!r.primaryKey)return u.value.has(K);const J=r.primaryKey;for(const q of u.value){const j=la(q,J),re=la(K,J);if(j&&re&&j===re)return!0}return!1}},p=a.ref([]),m=I(s),g=I(l),v=I(()=>r.noProviderPaging),w=I(()=>r.noProviderSorting),_=I(()=>r.noProviderFiltering),y=I(()=>r.selectable),C=I(()=>r.noSortableIcon),S=I(()=>r.noSelectOnClick),k=I(()=>r.noLocalSorting),x=it(()=>r.perPage,{method:"parseInt"}),B=it(()=>r.currentPage,{method:"parseInt"}),N=a.toRef(()=>!!r.filter),$=a.toRef(()=>r.provider!==void 0),T=a.toRef(()=>u.value.size>0),M=a.computed(()=>i.value!==void 0||r.fields.some(K=>typeof K=="string"?!1:K.sortable)),A=a.computed(()=>r.fields.map(K=>typeof K=="string"?K:Le(de({},K),{thAttr:de({"aria-sort":M.value===!1?void 0:i.value!==K.key?"none":m.value===!0?"descending":"ascending"},K.thAttr)}))),F=a.computed(()=>({"b-table-busy":g.value,"b-table-selectable":y.value,"user-select-none":y.value&&T.value})),z=a.computed(()=>[r.tbodyTrClass?typeof r.tbodyTrClass=="function"?r.tbodyTrClass(null,"table-busy"):r.tbodyTrClass:null]),O=K=>[{"b-table-sortable-column":M.value&&K.sortable}],L=(K,J)=>[{[`selected table-${r.selectionVariant}`]:y.value&&K&&d.has(K)},r.tbodyTrClass?typeof r.tbodyTrClass=="function"?r.tbodyTrClass(K,J):r.tbodyTrClass:null],V=K=>i.value!==K.key?{opacity:.5}:{},H=a.computed(()=>{const K=j=>{const re=i.value;if(re===void 0)return j;const X=A.value.find(Q=>typeof Q=="string"?!1:Q.key===re);return typeof X!="string"&&(X==null?void 0:X.sortable)===!1?j:[...j].sort((Q,ye)=>{if(r.sortCompare!==void 0)return r.sortCompare(Q,ye,re,m.value);const _e=Ne=>{var ee;const ke=Ne[re];if(X&&typeof X!="string"&&X.sortByFormatted){const he=typeof X.sortByFormatted=="function"?X.sortByFormatted:X.formatter;if(he)return r4(Ne,String(X.key),he)}return typeof ke=="object"&&ke!==null?JSON.stringify(ke):(ee=ke==null?void 0:ke.toString())!=null?ee:""};return _e(Q).localeCompare(_e(ye),r.sortCompareLocale,r.sortCompareOptions)*(m.value?-1:1)})},J=j=>j.filter(re=>Object.entries(re).some(([X,Q])=>{var ke;var ye,_e,Ne;return Q==null||X[0]==="_"||!((ye=r.filterable)!=null&&ye.includes(X))&&(_e=r.filterable)!=null&&_e.length?!1:(typeof Q=="object"?JSON.stringify(Object.values(Q)):Q.toString()).toLowerCase().includes((ke=(Ne=r.filter)==null?void 0:Ne.toLowerCase())!=null?ke:"")}));let q=$.value?p.value:r.items;return(N.value===!0&&!$.value||N.value===!0&&$.value&&_.value)&&(q=J(q)),(M.value===!0&&!$.value&&!k.value||M.value===!0&&$.value&&w.value)&&(q=K(q)),q}),G=a.computed(()=>Number.isNaN(x.value)||$.value&&!v.value?H.value:H.value.slice((B.value-1)*(x.value||1/0),B.value*(x.value||1/0))),W=(K,J,q=!1,j=!1,re=!1)=>{if(y.value){if(r.selectMode==="single"||r.selectMode==="multi"){if(q||j)return;d.has(K)?d.delete(K):(r.selectMode==="single"&&d.clear(),d.add(K))}else if(j||re)d.has(K)?d.delete(K):d.add(K);else if(q){const X=[...u.value].pop(),Q=r.items.findIndex(Ne=>Ne===X),ye=Math.min(Q,J),_e=Math.max(Q,J);r.items.slice(ye,_e+1).forEach(Ne=>{d.has(Ne)||d.add(Ne)})}else d.clear(),d.add(K);le()}},ne=(K,J,q)=>{S.value===!1&&W(K,J,q.shiftKey,q.ctrlKey,q.metaKey),o("row-clicked",K,J,q)},se=K=>{if(!M.value)return;const J=typeof K=="string"?K:K.key,q=typeof K=="string"?!1:K.sortable;M.value===!0&&q===!0&&(i.value!==J?(i.value=J,s.value=!1):m.value===!1?s.value=!0:(i.value=void 0,s.value=!1),o("sorted",J,i.value===void 0?!1:!m.value))},U=(K,J,q,j=!1)=>{o("head-clicked",K,J,q,j),se(J)},oe=()=>Ge(this,null,function*(){if(!$.value||r.provider===void 0||g.value)return;l.value=!0;const K=r.provider({currentPage:B.value,filter:r.filter,sortBy:i.value,sortDesc:r.sortDesc,perPage:x.value});try{const J=K instanceof Promise?yield K:K;if(J===void 0)return;p.value=J}finally{l.value=!1}}),le=()=>{y.value&&o("selection",[...u.value])},ue=(K,J,q)=>Ge(this,null,function*(){if(J===q)return;const j=ye=>{var _e;return((_e=r.noProvider)==null?void 0:_e.includes(ye))===!0},re=(K==="currentPage"||K==="perPage")&&(j("paging")||v.value===!0),X=K==="filter"&&(j("filtering")||_.value===!0),Q=(K==="sortBy"||K==="sortDesc")&&(j("sorting")||w.value===!0);re||X||Q||($.value===!0&&(yield oe()),K==="currentPage"||K==="perPage"||o("filtered",[...H.value]))});return a.watch(()=>r.filter,(K,J)=>{ue("filter",K,J),!(K===J||$.value)&&(K||o("filtered",[...H.value]))}),a.watch(B,(K,J)=>{ue("currentPage",K,J)}),a.watch(x,(K,J)=>{ue("perPage",K,J)}),a.watch(i,(K,J)=>{ue("sortBy",K,J)}),a.watch(m,(K,J)=>{ue("sortDesc",K,J)}),a.watch(()=>r.provider,K=>{if(K===void 0){p.value=[];return}oe()}),a.onMounted(oe),t({clearSelected:()=>{y.value&&(d.clear(),le())},refresh:oe,selectAllRows:()=>{if(!y.value)return;const K=u.value.size>0?[...u.value]:[];u.value=new Set([...H.value]),u.value.forEach(J=>{K.includes(J)||o("row-selected",J)}),le()},selectRow:K=>{if(!y.value)return;const J=H.value[K];!J||d.has(J)||(d.add(J),le())},unselectRow:K=>{if(!y.value)return;const J=H.value[K];!J||!d.has(J)||(d.delete(J),le())}}),(K,J)=>(a.openBlock(),a.createBlock(bw,a.mergeProps(r,{"aria-busy":a.unref(g),items:G.value,fields:A.value,"table-class":F.value,"tbody-tr-class":L,"field-column-class":O,onHeadClicked:U,onRowClicked:ne,onRowHovered:J[0]||(J[0]=(q,j,re)=>{o("row-hovered",q,j,re)}),onRowUnhovered:J[1]||(J[1]=(q,j,re)=>{o("row-unhovered",q,j,re)})}),a.createSlots({"head()":a.withCtx(q=>[a.createTextVNode(a.toDisplayString(a.unref(ed)(q.field))+" ",1),M.value&&q.field.sortable&&a.unref(C)===!1?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.unref(m)?a.renderSlot(K.$slots,"sortDesc",a.normalizeProps(a.mergeProps({key:1},de({},q))),()=>[(a.openBlock(),a.createElementBlock("svg",{style:a.normalizeStyle(V(q.field)),xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-arrow-down-short",viewBox:"0 0 16 16","aria-hidden":""},LV,4))]):a.renderSlot(K.$slots,"sortAsc",a.normalizeProps(a.mergeProps({key:0},de({},q))),()=>[(a.openBlock(),a.createElementBlock("svg",{style:a.normalizeStyle(V(q.field)),xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-arrow-up-short",viewBox:"0 0 16 16","aria-hidden":""},VV,4))])],64)):a.createCommentVNode("",!0)]),"custom-body":a.withCtx(q=>[a.unref(g)?(a.openBlock(),a.createBlock(ca,{key:0,class:a.normalizeClass(["b-table-busy-slot",z.value])},{default:a.withCtx(()=>[a.createVNode(Gl,{colspan:q.fields.length},{default:a.withCtx(()=>[a.renderSlot(K.$slots,"table-busy",{},()=>[a.createVNode(rd,{show:""},{overlay:a.withCtx(()=>[a.createElementVNode("div",DV,[a.createVNode(nd),a.createElementVNode("strong",null,a.toDisplayString(K.busyLoadingText),1)])]),_:1})])]),_:2},1032,["colspan"])]),_:2},1032,["class"])):a.createCommentVNode("",!0)]),_:2},[a.renderList(K.$slots,(q,j)=>({name:j,fn:a.withCtx(re=>[a.renderSlot(K.$slots,j,a.normalizeProps(a.guardReactiveProps(re)))])}))]),1040,["aria-busy","items","fields","table-class"]))}}),_0=a.defineComponent({inheritAttrs:!1,__name:"BTab",props:{active:{type:[Boolean,String],default:!1},buttonId:{default:void 0},disabled:{type:[Boolean,String],default:!1},id:{default:void 0},lazy:{type:[Boolean,String],default:void 0},lazyOnce:{type:[Boolean,String],default:void 0},noBody:{type:[Boolean,String],default:!1},tag:{default:"div"},title:{default:void 0},titleItemClass:{default:void 0},titleLinkAttrs:{default:void 0},titleLinkClass:{default:void 0}},emits:["update:active"],setup(e,{emit:t}){const n=e,r=a.useSlots(),o=t,i=a.inject(l4,null),l=Mt(()=>n.id,"tabpane"),s=Mt(()=>n.buttonId,"tab"),c=I(()=>n.active),u=I(()=>n.disabled),d=I(()=>{var T;return(T=n.lazyOnce)!=null?T:n.lazy}),p=I(()=>n.noBody),m=a.ref(!1),g=a.ref(null),$=a.useAttrs(),{onClick:v}=$,w=ar($,["onClick"]),_=a.computed(()=>({id:l.value,buttonId:s.value,disabled:u.value,title:n.title,titleComponent:r.title,titleItemClass:n.titleItemClass,titleLinkAttrs:n.titleLinkAttrs,titleLinkClass:n.titleLinkClass,onClick:v,el:g.value}));a.onMounted(()=>{i&&(i.registerTab(_),c.value&&i.activateTab(l.value))}),a.onUnmounted(()=>{i&&i.unregisterTab(l.value)});const y=a.toRef(()=>(i==null?void 0:i.activeId.value)===l.value),C=a.ref(y.value),S=a.toRef(()=>!!(i!=null&&i.lazy.value||d.value)),k=a.toRef(()=>n.lazyOnce!==void 0),x=a.toRef(()=>y.value&&!u.value),B=a.toRef(()=>x.value||!S.value||S.value&&k.value&&m.value);a.watch(y,T=>{if(T){o("update:active",!0),setTimeout(()=>{C.value=!0},0);return}C.value=!1,o("update:active",!1)}),a.watch(c,T=>{if(i){if(!T){y.value&&i.activateTab(void 0);return}i.activateTab(l.value)}});const N=a.computed(()=>[{active:y.value,show:C.value,"card-body":(i==null?void 0:i.card.value)&&p.value===!1,fade:!(i!=null&&i.noFade.value)},C.value?i==null?void 0:i.activeTabClass:i==null?void 0:i.inactiveTabClass,i==null?void 0:i.tabClass]);return a.watch(B,T=>{T&&!m.value&&(m.value=!0)}),(T,M)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(T.tag),a.mergeProps({id:a.unref(l),ref_key:"el",ref:g,class:["tab-pane",N.value],role:"tabpanel","aria-labelledby":a.unref(s)},w),{default:a.withCtx(()=>[B.value?a.renderSlot(T.$slots,"default",{key:0}):a.createCommentVNode("",!0)]),_:3},16,["id","class","aria-labelledby"]))}}),FV=["aria-orientation"],HV=["id","aria-controls","aria-selected","onClick"],w0=a.defineComponent({__name:"BTabs",props:{activeId:{default:void 0},activeNavItemClass:{default:void 0},activeTabClass:{default:void 0},align:{default:void 0},card:{type:[Boolean,String],default:!1},contentClass:{default:void 0},end:{type:[Boolean,String],default:!1},fill:{type:[Boolean,String],default:!1},id:{default:void 0},inactiveNavItemClass:{default:void 0},inactiveTabClass:{default:void 0},justified:{type:[Boolean,String],default:!1},lazy:{type:[Boolean,String],default:!1},modelValue:{default:-1},navClass:{default:void 0},navItemClass:{default:void 0},navWrapperClass:{default:void 0},noFade:{type:[Boolean,String],default:!1},noNavStyle:{type:[Boolean,String],default:!1},pills:{type:[Boolean,String],default:!1},small:{type:[Boolean,String],default:!1},tag:{default:"div"},tabClass:{default:void 0},vertical:{type:[Boolean,String],default:!1}},emits:["activate-tab","click","update:activeId","update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=St(n,"modelValue",r,{passive:!0}),i=St(n,"activeId",r,{passive:!0}),l=I(()=>n.card),s=I(()=>n.end),c=I(()=>n.fill),u=I(()=>n.justified),d=I(()=>n.lazy),p=I(()=>n.noFade),m=I(()=>n.noNavStyle),g=I(()=>n.pills),v=I(()=>n.small),w=I(()=>n.vertical),_=Yf(),y=a.ref([]),C=a.computed(()=>y.value.map(O=>{const L=a.unref(O),V=L.id===i.value;return Le(de({},L),{active:V,navItemClasses:[{active:V,disabled:L.disabled},V?n.activeNavItemClass:n.inactiveNavItemClass,n.navItemClass,L.titleLinkClass]})})),S=a.toRef(()=>!(C!=null&&C.value&&C.value.length>0)),k=a.computed(()=>({"d-flex":w.value,"align-items-start":w.value})),x=xn(()=>n.align),B=a.computed(()=>({"nav-pills":g.value,"flex-column me-3":w.value,[x.value]:n.align!==void 0,"nav-fill":c.value,"card-header-tabs":l.value,"nav-justified":u.value,"nav-tabs":!m.value&&!g.value,small:v.value})),N=O=>{var L;if(O!==void 0){const V=(L=C.value[O])==null?void 0:L.id;if(O>-1&&O<C.value.length&&!C.value[O].disabled&&(o.value<0||i.value!==V||o.value!==O)){const H=new Ro("activate-tab",{cancelable:!0});r("activate-tab",O,o.value,H),H.defaultPrevented||(i.value!==V&&(i.value=V),o.value!==O&&(o.value=O))}}},$=(O,L)=>{var V,H,G;N(L),L>=0&&!C.value[L].disabled&&(V=C.value[L])!=null&&V.onClick&&typeof C.value[L].onClick=="function"&&((G=(H=C.value[L]).onClick)==null||G.call(H,O))},T=O=>{var L,V;C.value.length<=0||(o.value=M(o.value+O,O),(V=document.getElementById((L=C.value[o.value])==null?void 0:L.buttonId))==null||V.focus())},M=(O,L)=>{let V=O,H=-1,G=-1;for(let W=0;W<C.value.length;W++)C.value[W].disabled||(H===-1&&(H=W),G=W);for(;V>=H&&V<=G&&C.value[V].disabled;)V+=L;return V<H&&(V=H),V>G&&(V=G),V};a.watch(o,(O,L)=>{if(O===L||C.value.length<=0)return;const V=M(O,O>L?1:-1);a.nextTick(()=>{N(V)})}),a.watch(i,(O,L)=>{const V=C.value.findIndex(H=>H.id===O);if(O!==L&&!(C.value.length<=0)){if(V===-1){N(M(0,1));return}N(V)}});const A=O=>{y.value.find(L=>L.value.id===O.value.id)?y.value[y.value.findIndex(L=>L.value.id===O.value.id)]=O:y.value.push(O),y.value.sort((L,V)=>{if(!Node||!L.value.el||!V.value.el)return 0;const H=L.value.el.compareDocumentPosition(V.value.el);return H&Node.DOCUMENT_POSITION_FOLLOWING?-1:H&Node.DOCUMENT_POSITION_PRECEDING?1:0})},F=O=>{y.value=y.value.filter(L=>L.value.id!==O)};a.watch(y,()=>{z()},{deep:!0});const z=()=>{var O;if(C.value.length===0){o.value=-1,i.value=void 0;return}if(o.value>=0&&!i.value&&(i.value=(O=C.value[o.value])==null?void 0:O.id),C.value.find(L=>L.id===i.value)){N(C.value.findIndex(L=>L.id===i.value));return}N(C.value.map(L=>!L.disabled).indexOf(!0))};return a.provide(l4,{lazy:d,card:l,noFade:p,activeTabClass:a.toRef(()=>n.activeTabClass),inactiveTabClass:a.toRef(()=>n.inactiveTabClass),tabClass:a.toRef(()=>n.tabClass),registerTab:A,unregisterTab:F,activeId:i,activateTab:O=>{const L=C.value.findIndex(V=>V.id===O);if(O===void 0||L===-1){N(M(0,1));return}N(L)}}),(O,L)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(O.tag),{id:O.id,class:a.normalizeClass(["tabs",k.value])},{default:a.withCtx(()=>[a.createVNode(a.unref(_).define,null,{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(["tab-content",O.contentClass])},[a.renderSlot(O.$slots,"default"),S.value?(a.openBlock(),a.createElementBlock("div",{key:"bv-empty-tab",class:a.normalizeClass(["tab-pane active",{"card-body":a.unref(l)}])},[a.renderSlot(O.$slots,"empty")],2)):a.createCommentVNode("",!0)],2)]),_:3}),a.unref(s)?(a.openBlock(),a.createBlock(a.unref(_).reuse,{key:0})):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass([O.navWrapperClass,{"card-header":a.unref(l),"ms-auto":O.vertical&&a.unref(s)}])},[a.createElementVNode("ul",{class:a.normalizeClass(["nav",[B.value,O.navClass]]),role:"tablist","aria-orientation":O.vertical?"vertical":"horizontal"},[a.renderSlot(O.$slots,"tabs-start"),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(C.value,(V,H)=>(a.openBlock(),a.createElementBlock("li",{key:V.id,class:a.normalizeClass(["nav-item",V.titleItemClass]),role:"presentation"},[a.createElementVNode("button",a.mergeProps({id:V.buttonId,class:["nav-link",V.navItemClasses],role:"tab","aria-controls":V.id,"aria-selected":V.active},V.titleLinkAttrs,{onKeydown:[L[0]||(L[0]=a.withKeys(a.withModifiers(G=>T(-1),["stop","prevent"]),["left"])),L[1]||(L[1]=a.withKeys(a.withModifiers(G=>T(1),["stop","prevent"]),["right"])),L[2]||(L[2]=a.withKeys(a.withModifiers(G=>T(-999),["stop","prevent"]),["page-up"])),L[3]||(L[3]=a.withKeys(a.withModifiers(G=>T(999),["stop","prevent"]),["page-down"]))],onClick:a.withModifiers(G=>$(G,H),["stop","prevent"])}),[V.titleComponent?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(V.titleComponent),{key:0})):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(V.title),1)],64))],16,HV)],2))),128)),a.renderSlot(O.$slots,"tabs-end")],10,FV)],2),a.unref(s)?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.unref(_).reuse,{key:1}))]),_:3},8,["id","class"]))}}),UV={id:"__BVID__toaster-container"},WV=a.defineComponent({__name:"BToastOrchestrator",props:{teleportDisabled:{type:[Boolean,String],default:!1},teleportTo:{default:"body"},appendToast:{type:[Boolean,String],default:!1}},setup(e,{expose:t}){const n=e,r=I(()=>n.teleportDisabled),o=I(()=>n.appendToast),i={"top-left":"top-0 start-0","top-center":"top-0 start-50 translate-middle-x","top-right":"top-0 end-0","middle-left":"top-50 start-0 translate-middle-y","middle-center":"top-50 start-50 translate-middle","middle-right":"top-50 end-0 translate-middle-y","bottom-left":"bottom-0 start-0","bottom-center":"bottom-0 start-50 translate-middle-x","bottom-right":"bottom-0 end-0"},{remove:l,toasts:s,show:c,_setIsAppend:u}=BM();a.watch(o,p=>{u==null||u(p)},{immediate:!0});const d=p=>td(p,["_modelValue","_self","pos"]);return t({remove:l,show:c,toasts:s}),(p,m)=>(a.openBlock(),a.createBlock(a.Teleport,{to:p.teleportTo,disabled:a.unref(r)},[a.createElementVNode("div",UV,[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(i,(g,v)=>a.createElementVNode("div",{key:v,class:a.normalizeClass([g,"toast-container position-fixed p-3"])},[a.createVNode(a.TransitionGroup,{name:"b-list"},{default:a.withCtx(()=>{var w;return[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList((w=a.unref(s))==null?void 0:w.filter(_=>_.value.props.pos===v),_=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(_.value.component),a.mergeProps({key:_.value.props._self},d(_.value.props),{modelValue:_.value.props._modelValue,"onUpdate:modelValue":y=>_.value.props._modelValue=y,"trans-props":Le(de({},_.value.props.transProps),{appear:!0}),onHide:a.withModifiers(y=>{var C;return(C=a.unref(l))==null?void 0:C(_.value.props._self)},["prevent"])}),null,16,["modelValue","onUpdate:modelValue","trans-props","onHide"]))),128))]}),_:2},1024)],2)),64))])],8,["to","disabled"]))}}),Yl=a.defineComponent({__name:"BTooltip",props:{interactive:{type:[Boolean,String],default:void 0},boundary:{},boundaryPadding:{},click:{type:[Boolean,String],default:void 0},container:{default:void 0},content:{default:void 0},customClass:{default:void 0},delay:{default:void 0},floatingMiddleware:{default:void 0},hide:{type:[Boolean,String],default:void 0},html:{type:[Boolean,String],default:void 0},id:{default:void 0},inline:{type:[Boolean,String],default:void 0},manual:{type:[Boolean,String],default:void 0},modelValue:{type:[Boolean,String],default:void 0},noAutoClose:{type:[Boolean,String],default:void 0},noFade:{type:[Boolean,String],default:void 0},noFlip:{type:[Boolean,String],default:void 0},noHide:{type:[Boolean,String],default:void 0},noShift:{type:[Boolean,String],default:void 0},noSize:{type:[Boolean,String]},noninteractive:{type:[Boolean,String],default:void 0},offset:{default:void 0},placement:{default:void 0},persistent:{type:[Boolean,String]},realtime:{type:[Boolean,String],default:void 0},reference:{default:void 0},strategy:{default:void 0},target:{default:void 0},title:{default:void 0},variant:{default:void 0}},setup(e,{expose:t}){var n,r,o;const i=e,l=a.computed(()=>{const p=i,{interactive:c,noninteractive:u}=p,d=ar(p,["interactive","noninteractive"]);return de({noninteractive:u!==void 0?u:!c},d)}),s=a.ref(null);return t({hide:(n=s.value)==null?void 0:n.hide,show:(r=s.value)==null?void 0:r.show,toggle:(o=s.value)==null?void 0:o.toggle}),(c,u)=>(a.openBlock(),a.createBlock(Ci,a.mergeProps({ref_key:"popover",ref:s,tooltip:""},l.value),a.createSlots({_:2},[a.renderList(c.$slots,(d,p)=>({name:p,fn:a.withCtx(m=>[a.renderSlot(c.$slots,p,a.normalizeProps(a.guardReactiveProps(m)))])}))]),1040))}}),_w=Object.freeze(Object.defineProperty({__proto__:null,BAccordion:UM,BAccordionItem:jM,BAlert:YM,BAvatar:ZM,BAvatarGroup:JM,BBadge:QM,BBreadcrumb:nP,BBreadcrumbItem:R4,BButton:Lr,BButtonGroup:rP,BButtonToolbar:oP,BCard:o0,BCardBody:H4,BCardFooter:U4,BCardGroup:sP,BCardHeader:D4,BCardImg:a0,BCardSubtitle:F4,BCardText:cP,BCardTitle:z4,BCarousel:yP,BCarouselSlide:SP,BCloseButton:Ul,BCol:Mc,BCollapse:n0,BContainer:xP,BDropdown:Y4,BDropdownDivider:TP,BDropdownForm:AP,BDropdownGroup:PP,BDropdownHeader:VP,BDropdownItem:i0,BDropdownItemButton:DP,BDropdownText:FP,BForm:q4,BFormCheckbox:X4,BFormCheckboxGroup:XP,BFormFile:QP,BFormFloatingLabel:jP,BFormGroup:lI,BFormInput:jl,BFormInvalidFeedback:l0,BFormRadio:J4,BFormRadioGroup:hI,BFormRow:od,BFormSelect:bI,BFormSelectOption:u0,BFormSelectOptionGroup:Q4,BFormSpinbutton:kI,BFormTag:aw,BFormTags:LI,BFormText:s0,BFormTextarea:zI,BFormValidFeedback:c0,BImg:r0,BInputGroup:Pc,BInputGroupAddon:h0,BInputGroupAppend:id,BInputGroupPrepend:iw,BInputGroupText:ow,BLink:$a,BListGroup:YI,BListGroupItem:qI,BModal:Wl,BModalOrchestrator:XI,BNav:ZI,BNavForm:QI,BNavItem:tV,BNavItemDropdown:p0,BNavText:aV,BNavbar:oV,BNavbarBrand:iV,BNavbarNav:lV,BNavbarToggle:mV,BOffcanvas:vV,BOverlay:rd,BPagination:g0,BPlaceholder:Dr,BPlaceholderButton:mw,BPlaceholderCard:_V,BPlaceholderTable:kV,BPlaceholderWrapper:CV,BPopover:Ci,BProgress:M4,BProgressBar:O4,BRow:BV,BSpinner:nd,BTab:_0,BTable:zV,BTableLite:bw,BTableSimple:y0,BTabs:w0,BTbody:yw,BTd:Gl,BTfoot:v0,BTh:b0,BThead:vw,BToast:P4,BToastOrchestrator:WV,BTooltip:Yl,BTr:ca,BTransition:Hl},Symbol.toStringTag,{value:"Module"})),jV=({components:e=!1,directives:t=!1,plugins:n={}}={})=>({install(r){var u,d,p,m,g;const o=typeof e=="boolean"?{all:e}:e,i=Object.keys(_w);_4(o,i).forEach(v=>{const w=_w[v];r.component(v,w)});const l=typeof t=="boolean"?{all:t}:t,s=Object.keys(dw),c=v=>v.toLowerCase().startsWith("v")?v.slice(1):v;_4(l,s).forEach(v=>{const w=c(v),_=dw[v];r.directive(w,_)}),((u=n==null?void 0:n.breadcrumb)==null||u)&&r.use(PM),((d=n==null?void 0:n.modalController)==null||d)&&r.use(DM),((p=n==null?void 0:n.modalManager)==null||p)&&r.use(zM),((m=n==null?void 0:n.rtl)==null||m||typeof n.rtl=="object")&&r.use(FM,n),((g=n==null?void 0:n.toast)==null||g)&&r.use(MM)}});/*!
|
|
4
|
-
* shared v9.10.1
|
|
5
|
-
* (c) 2024 kazuya kawaguchi
|
|
6
|
-
* Released under the MIT License.
|
|
7
|
-
*/const ua=typeof window!="undefined";let wr,Ni;if(process.env.NODE_ENV!=="production"){const e=ua&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(wr=t=>{e.mark(t)},Ni=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const GV=/\{([0-9a-zA-Z]+)\}/g;function ww(e,...t){return t.length===1&&dt(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(GV,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Aa=(e,t=!1)=>t?Symbol.for(e):Symbol(e),YV=(e,t,n)=>qV({l:e,k:t,s:n}),qV=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),fn=e=>typeof e=="number"&&isFinite(e),KV=e=>xw(e)==="[object Date]",ld=e=>xw(e)==="[object RegExp]",sd=e=>ct(e)&&Object.keys(e).length===0,Bn=Object.assign;let Sw;const S0=()=>Sw||(Sw=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function kw(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const XV=Object.prototype.hasOwnProperty;function cd(e,t){return XV.call(e,t)}const tn=Array.isArray,Pt=e=>typeof e=="function",Me=e=>typeof e=="string",Lt=e=>typeof e=="boolean",dt=e=>e!==null&&typeof e=="object",ZV=e=>dt(e)&&Pt(e.then)&&Pt(e.catch),Cw=Object.prototype.toString,xw=e=>Cw.call(e),ct=e=>{if(!dt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},JV=e=>e==null?"":tn(e)||ct(e)&&e.toString===Cw?JSON.stringify(e,null,2):String(e);function QV(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Ew=2;function eR(e,t=0,n=e.length){const r=e.split(/\r?\n/);let o=0;const i=[];for(let l=0;l<r.length;l++)if(o+=r[l].length+1,o>=t){for(let s=l-Ew;s<=l+Ew||n>o;s++){if(s<0||s>=r.length)continue;const c=s+1;i.push(`${c}${" ".repeat(3-String(c).length)}| ${r[s]}`);const u=r[s].length;if(s===l){const d=t-(o-u)+1,p=Math.max(1,n>o?u-d:n-t);i.push(" | "+" ".repeat(d)+"^".repeat(p))}else if(s>l){if(n>o){const d=Math.max(Math.min(n-o,u),1);i.push(" | "+"^".repeat(d))}o+=u+1}}break}return i.join(`
|
|
8
|
-
`)}function k0(e){let t=e;return()=>++t}function zo(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Bw={};function Nw(e){Bw[e]||(Bw[e]=!0,zo(e))}function Tw(){const e=new Map;return{events:e,on(n,r){const o=e.get(n);o&&o.push(r)||e.set(n,[r])},off(n,r){const o=e.get(n);o&&o.splice(o.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(o=>o(r)),(e.get("*")||[]).slice().map(o=>o(n,r))}}}const ud=e=>!dt(e)||tn(e);function fd(e,t){if(ud(e)||ud(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(i=>{ud(r[i])||ud(o[i])?o[i]=r[i]:n.push({src:r[i],des:o[i]})})}}/*!
|
|
9
|
-
* message-compiler v9.10.1
|
|
10
|
-
* (c) 2024 kazuya kawaguchi
|
|
11
|
-
* Released under the MIT License.
|
|
12
|
-
*/const tR=/\{([0-9a-zA-Z]+)\}/g;function nR(e,...t){return t.length===1&&rR(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(tR,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const rR=e=>e!==null&&typeof e=="object",_n={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},aR={[_n.EXPECTED_TOKEN]:"Expected token: '{0}'",[_n.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[_n.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[_n.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[_n.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[_n.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[_n.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[_n.EMPTY_PLACEHOLDER]:"Empty placeholder",[_n.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[_n.INVALID_LINKED_FORMAT]:"Invalid linked format",[_n.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[_n.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[_n.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[_n.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[_n.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[_n.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function $w(e,t,n={}){const{domain:r,messages:o,args:i}=n,l=nR((o||aR)[e]||"",...i||[]),s=new SyntaxError(String(l));return s.code=e,t&&(s.location=t),s.domain=r,s}/*!
|
|
13
|
-
* core-base v9.10.1
|
|
14
|
-
* (c) 2024 kazuya kawaguchi
|
|
15
|
-
* Released under the MIT License.
|
|
16
|
-
*/function oR(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(S0().__INTLIFY_PROD_DEVTOOLS__=!1)}const Fo=[];Fo[0]={w:[0],i:[3,0],"[":[4],o:[7]},Fo[1]={w:[1],".":[2],"[":[4],o:[7]},Fo[2]={w:[2],i:[3,0],0:[3,0]},Fo[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Fo[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Fo[5]={"'":[4,0],o:8,l:[5,0]},Fo[6]={'"':[4,0],o:8,l:[6,0]};const iR=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function lR(e){return iR.test(e)}function sR(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function cR(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function uR(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:lR(t)?sR(t):"*"+t}function fR(e){const t=[];let n=-1,r=0,o=0,i,l,s,c,u,d,p;const m=[];m[0]=()=>{l===void 0?l=s:l+=s},m[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},m[2]=()=>{m[0](),o++},m[3]=()=>{if(o>0)o--,r=4,m[0]();else{if(o=0,l===void 0||(l=uR(l),l===!1))return!1;m[1]()}};function g(){const v=e[n+1];if(r===5&&v==="'"||r===6&&v==='"')return n++,s="\\"+v,m[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&g())){if(c=cR(i),p=Fo[r],u=p[c]||p.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=m[u[1]],d&&(s=i,d()===!1))))return;if(r===7)return t}}const Aw=new Map;function dR(e,t){return dt(e)?e[t]:null}function hR(e,t){if(!dt(e))return null;let n=Aw.get(t);if(n||(n=fR(t),n&&Aw.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i<r;){const l=o[n[i]];if(l===void 0||Pt(o))return null;o=l,i++}return o}const pR=e=>e,mR=e=>"",gR="text",yR=e=>e.length===0?"":QV(e),vR=JV;function Ow(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function bR(e){const t=fn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(fn(e.named.count)||fn(e.named.n))?fn(e.named.count)?e.named.count:fn(e.named.n)?e.named.n:t:t}function _R(e,t){t.count||(t.count=e),t.n||(t.n=e)}function wR(e={}){const t=e.locale,n=bR(e),r=dt(e.pluralRules)&&Me(t)&&Pt(e.pluralRules[t])?e.pluralRules[t]:Ow,o=dt(e.pluralRules)&&Me(t)&&Pt(e.pluralRules[t])?Ow:void 0,i=y=>y[r(n,y.length,o)],l=e.list||[],s=y=>l[y],c=e.named||{};fn(e.pluralIndex)&&_R(n,c);const u=y=>c[y];function d(y){const C=Pt(e.messages)?e.messages(y):dt(e.messages)?e.messages[y]:!1;return C||(e.parent?e.parent.message(y):mR)}const p=y=>e.modifiers?e.modifiers[y]:pR,m=ct(e.processor)&&Pt(e.processor.normalize)?e.processor.normalize:yR,g=ct(e.processor)&&Pt(e.processor.interpolate)?e.processor.interpolate:vR,v=ct(e.processor)&&Me(e.processor.type)?e.processor.type:gR,_={list:s,named:u,plural:i,linked:(y,...C)=>{const[S,k]=C;let x="text",B="";C.length===1?dt(S)?(B=S.modifier||B,x=S.type||x):Me(S)&&(B=S||B):C.length===2&&(Me(S)&&(B=S||B),Me(k)&&(x=k||x));const N=d(y)(_),$=x==="vnode"&&tn(N)&&B?N[0]:N;return B?p(B)($,x):$},message:d,type:v,interpolate:g,normalize:m,values:Bn({},l,c)};return _}let Ic=null;function SR(e){Ic=e}function kR(e,t,n){Ic&&Ic.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const CR=xR("function:translate");function xR(e){return t=>Ic&&Ic.emit(e,t)}const Dn={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},ER={[Dn.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Dn.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Dn.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Dn.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Dn.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Dn.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Dn.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Ti(e,...t){return ww(ER[e],...t)}const Mw=_n.__EXTEND_POINT__,$i=k0(Mw),wn={INVALID_ARGUMENT:Mw,INVALID_DATE_ARGUMENT:$i(),INVALID_ISO_DATE_ARGUMENT:$i(),NOT_SUPPORT_NON_STRING_MESSAGE:$i(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:$i(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:$i(),NOT_SUPPORT_LOCALE_TYPE:$i(),__EXTEND_POINT__:$i()};function ao(e){return $w(e,null,process.env.NODE_ENV!=="production"?{messages:BR}:void 0)}const BR={[wn.INVALID_ARGUMENT]:"Invalid arguments",[wn.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[wn.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[wn.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[wn.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[wn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[wn.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function C0(e,t){return t.locale!=null?Pw(t.locale):Pw(e.locale)}let x0;function Pw(e){if(Me(e))return e;if(Pt(e)){if(e.resolvedOnce&&x0!=null)return x0;if(e.constructor.name==="Function"){const t=e();if(ZV(t))throw ao(wn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return x0=t}else throw ao(wn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ao(wn.NOT_SUPPORT_LOCALE_TYPE)}function NR(e,t,n){return[...new Set([n,...tn(t)?t:dt(t)?Object.keys(t):Me(t)?[t]:[n]])]}function Iw(e,t,n){const r=Me(n)?n:hd,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let l=[n];for(;tn(l);)l=Vw(i,l,t);const s=tn(t)||!ct(t)?t:t.default?t.default:null;l=Me(s)?[s]:s,tn(l)&&Vw(i,l,!1),o.__localeChainCache.set(r,i)}return i}function Vw(e,t,n){let r=!0;for(let o=0;o<t.length&&Lt(r);o++){const i=t[o];Me(i)&&(r=TR(e,t[o],n))}return r}function TR(e,t,n){let r;const o=t.split("-");do{const i=o.join("-");r=$R(e,i,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function $R(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(tn(n)||ct(n))&&n[o]&&(r=n[o])}return r}const AR="9.10.1",dd=-1,hd="en-US",pd="",Rw=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function OR(){return{upper:(e,t)=>t==="text"&&Me(e)?e.toUpperCase():t==="vnode"&&dt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Me(e)?e.toLowerCase():t==="vnode"&&dt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Me(e)?Rw(e):t==="vnode"&&dt(e)&&"__v_isVNode"in e?Rw(e.children):e}}let MR,Lw;function PR(e){Lw=e}let Dw;function IR(e){Dw=e}let zw=null;const VR=e=>{zw=e},RR=()=>zw;let Fw=null;const Hw=e=>{Fw=e},LR=()=>Fw;let Uw=0;function DR(e={}){const t=Pt(e.onWarn)?e.onWarn:zo,n=Me(e.version)?e.version:AR,r=Me(e.locale)||Pt(e.locale)?e.locale:hd,o=Pt(r)?hd:r,i=tn(e.fallbackLocale)||ct(e.fallbackLocale)||Me(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,l=ct(e.messages)?e.messages:{[o]:{}},s=ct(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},c=ct(e.numberFormats)?e.numberFormats:{[o]:{}},u=Bn({},e.modifiers||{},OR()),d=e.pluralRules||{},p=Pt(e.missing)?e.missing:null,m=Lt(e.missingWarn)||ld(e.missingWarn)?e.missingWarn:!0,g=Lt(e.fallbackWarn)||ld(e.fallbackWarn)?e.fallbackWarn:!0,v=!!e.fallbackFormat,w=!!e.unresolving,_=Pt(e.postTranslation)?e.postTranslation:null,y=ct(e.processor)?e.processor:null,C=Lt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,k=Pt(e.messageCompiler)?e.messageCompiler:MR;process.env.NODE_ENV!=="production"&&Pt(e.messageCompiler)&&Nw(Ti(Dn.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const x=Pt(e.messageResolver)?e.messageResolver:Lw||dR,B=Pt(e.localeFallbacker)?e.localeFallbacker:Dw||NR,N=dt(e.fallbackContext)?e.fallbackContext:void 0,$=e,T=dt($.__datetimeFormatters)?$.__datetimeFormatters:new Map,M=dt($.__numberFormatters)?$.__numberFormatters:new Map,A=dt($.__meta)?$.__meta:{};Uw++;const F={version:n,cid:Uw,locale:r,fallbackLocale:i,messages:l,modifiers:u,pluralRules:d,missing:p,missingWarn:m,fallbackWarn:g,fallbackFormat:v,unresolving:w,postTranslation:_,processor:y,warnHtmlMessage:C,escapeParameter:S,messageCompiler:k,messageResolver:x,localeFallbacker:B,fallbackContext:N,onWarn:t,__meta:A};return F.datetimeFormats=s,F.numberFormats=c,F.__datetimeFormatters=T,F.__numberFormatters=M,process.env.NODE_ENV!=="production"&&(F.__v_emitter=$.__v_emitter!=null?$.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&kR(F,n,A),F}function md(e,t){return e instanceof RegExp?e.test(t):e}function Ww(e,t){return e instanceof RegExp?e.test(t):e}function E0(e,t,n,r,o){const{missing:i,onWarn:l}=e;if(process.env.NODE_ENV!=="production"){const s=e.__v_emitter;s&&s.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(i!==null){const s=i(e,n,t,o);return Me(s)?s:t}else return process.env.NODE_ENV!=="production"&&Ww(r,t)&&l(Ti(Dn.NOT_FOUND_KEY,{key:t,locale:n})),t}function Vc(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const Ai=e=>dt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e),jw=()=>"",zr=e=>Pt(e);function Gw(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:l,messages:s}=e,[c,u]=B0(...t),d=Lt(u.missingWarn)?u.missingWarn:e.missingWarn,p=Lt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=Lt(u.escapeParameter)?u.escapeParameter:e.escapeParameter,g=!!u.resolvedMessage,v=Me(u.default)||Lt(u.default)?Lt(u.default)?i?c:()=>c:u.default:n?i?c:()=>c:"",w=n||v!=="",_=C0(e,u);m&&zR(u);let[y,C,S]=g?[c,_,s[_]||{}]:Yw(e,c,_,l,p,d),k=y,x=c;if(!g&&!(Me(k)||Ai(k)||zr(k))&&w&&(k=v,x=k),!g&&(!(Me(k)||Ai(k)||zr(k))||!Me(C)))return o?dd:c;if(process.env.NODE_ENV!=="production"&&Me(k)&&e.messageCompiler==null)return zo(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`),c;let B=!1;const N=()=>{B=!0},$=zr(k)?k:qw(e,c,C,k,x,N);if(B)return k;const T=WR(e,C,S,u),M=wR(T),A=FR(e,$,M),F=r?r(A,c):A;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const z={timestamp:Date.now(),key:Me(c)?c:zr(k)?k.key:"",locale:C||(zr(k)?k.locale:""),format:Me(k)?k:zr(k)?k.source:"",message:F};z.meta=Bn({},e.__meta,RR()||{}),CR(z)}return F}function zR(e){tn(e.list)?e.list=e.list.map(t=>Me(t)?kw(t):t):dt(e.named)&&Object.keys(e.named).forEach(t=>{Me(e.named[t])&&(e.named[t]=kw(e.named[t]))})}function Yw(e,t,n,r,o,i){const{messages:l,onWarn:s,messageResolver:c,localeFallbacker:u}=e,d=u(e,r,n);let p={},m,g=null,v=n,w=null;const _="translate";for(let y=0;y<d.length;y++){if(m=w=d[y],process.env.NODE_ENV!=="production"&&n!==m&&md(o,t)&&s(Ti(Dn.FALLBACK_TO_TRANSLATE,{key:t,target:m})),process.env.NODE_ENV!=="production"&&n!==m){const B=e.__v_emitter;B&&B.emit("fallback",{type:_,key:t,from:v,to:w,groupId:`${_}:${t}`})}p=l[m]||{};let C=null,S,k;if(process.env.NODE_ENV!=="production"&&ua&&(C=window.performance.now(),S="intlify-message-resolve-start",k="intlify-message-resolve-end",wr&&wr(S)),(g=c(p,t))===null&&(g=p[t]),process.env.NODE_ENV!=="production"&&ua){const B=window.performance.now(),N=e.__v_emitter;N&&C&&g&&N.emit("message-resolve",{type:"message-resolve",key:t,message:g,time:B-C,groupId:`${_}:${t}`}),S&&k&&wr&&Ni&&(wr(k),Ni("intlify message resolve",S,k))}if(Me(g)||Ai(g)||zr(g))break;const x=E0(e,t,m,i,_);x!==t&&(g=x),v=w}return[g,m,p]}function qw(e,t,n,r,o,i){const{messageCompiler:l,warnHtmlMessage:s}=e;if(zr(r)){const m=r;return m.locale=m.locale||n,m.key=m.key||t,m}if(l==null){const m=()=>r;return m.locale=n,m.key=t,m}let c=null,u,d;process.env.NODE_ENV!=="production"&&ua&&(c=window.performance.now(),u="intlify-message-compilation-start",d="intlify-message-compilation-end",wr&&wr(u));const p=l(r,HR(e,n,o,r,s,i));if(process.env.NODE_ENV!=="production"&&ua){const m=window.performance.now(),g=e.__v_emitter;g&&c&&g.emit("message-compilation",{type:"message-compilation",message:r,time:m-c,groupId:`translate:${t}`}),u&&d&&wr&&Ni&&(wr(d),Ni("intlify message compilation",u,d))}return p.locale=n,p.key=t,p.source=r,p}function FR(e,t,n){let r=null,o,i;process.env.NODE_ENV!=="production"&&ua&&(r=window.performance.now(),o="intlify-message-evaluation-start",i="intlify-message-evaluation-end",wr&&wr(o));const l=t(n);if(process.env.NODE_ENV!=="production"&&ua){const s=window.performance.now(),c=e.__v_emitter;c&&r&&c.emit("message-evaluation",{type:"message-evaluation",value:l,time:s-r,groupId:`translate:${t.key}`}),o&&i&&wr&&Ni&&(wr(i),Ni("intlify message evaluation",o,i))}return l}function B0(...e){const[t,n,r]=e,o={};if(!Me(t)&&!fn(t)&&!zr(t)&&!Ai(t))throw ao(wn.INVALID_ARGUMENT);const i=fn(t)?String(t):(zr(t),t);return fn(n)?o.plural=n:Me(n)?o.default=n:ct(n)&&!sd(n)?o.named=n:tn(n)&&(o.list=n),fn(r)?o.plural=r:Me(r)?o.default=r:ct(r)&&Bn(o,r),[i,o]}function HR(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:l=>{if(i&&i(l),process.env.NODE_ENV!=="production"){const s=UR(r),c=`Message compilation error: ${l.message}`,u=l.location&&s&&eR(s,l.location.start.offset,l.location.end.offset),d=e.__v_emitter;d&&s&&d.emit("compile-error",{message:s,error:l.message,start:l.location&&l.location.start.offset,end:l.location&&l.location.end.offset,groupId:`translate:${n}`}),console.error(u?`${c}
|
|
17
|
-
${u}`:c)}else throw l},onCacheKey:l=>YV(t,n,l)}}function UR(e){if(Me(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function WR(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:l,fallbackLocale:s,fallbackWarn:c,missingWarn:u,fallbackContext:d}=e,m={locale:t,modifiers:o,pluralRules:i,messages:g=>{let v=l(n,g);if(v==null&&d){const[,,w]=Yw(d,g,t,s,c,u);v=l(w,g)}if(Me(v)||Ai(v)){let w=!1;const y=qw(e,g,t,v,g,()=>{w=!0});return w?jw:y}else return zr(v)?v:jw}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),fn(r.plural)&&(m.pluralIndex=r.plural),m}const Kw=typeof Intl!="undefined",Xw={dateTimeFormat:Kw&&typeof Intl.DateTimeFormat!="undefined",numberFormat:Kw&&typeof Intl.NumberFormat!="undefined"};function Zw(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:l}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!Xw.dateTimeFormat)return i(Ti(Dn.CANNOT_FORMAT_DATE)),pd;const[c,u,d,p]=N0(...t),m=Lt(d.missingWarn)?d.missingWarn:e.missingWarn,g=Lt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,v=!!d.part,w=C0(e,d),_=l(e,o,w);if(!Me(c)||c==="")return new Intl.DateTimeFormat(w,p).format(u);let y={},C,S=null,k=w,x=null;const B="datetime format";for(let T=0;T<_.length;T++){if(C=x=_[T],process.env.NODE_ENV!=="production"&&w!==C&&md(g,c)&&i(Ti(Dn.FALLBACK_TO_DATE_FORMAT,{key:c,target:C})),process.env.NODE_ENV!=="production"&&w!==C){const M=e.__v_emitter;M&&M.emit("fallback",{type:B,key:c,from:k,to:x,groupId:`${B}:${c}`})}if(y=n[C]||{},S=y[c],ct(S))break;E0(e,c,C,m,B),k=x}if(!ct(S)||!Me(C))return r?dd:c;let N=`${C}__${c}`;sd(p)||(N=`${N}__${JSON.stringify(p)}`);let $=s.get(N);return $||($=new Intl.DateTimeFormat(C,Bn({},S,p)),s.set(N,$)),v?$.formatToParts(u):$.format(u)}const Jw=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function N0(...e){const[t,n,r,o]=e,i={};let l={},s;if(Me(t)){const c=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw ao(wn.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();s=new Date(u);try{s.toISOString()}catch(d){throw ao(wn.INVALID_ISO_DATE_ARGUMENT)}}else if(KV(t)){if(isNaN(t.getTime()))throw ao(wn.INVALID_DATE_ARGUMENT);s=t}else if(fn(t))s=t;else throw ao(wn.INVALID_ARGUMENT);return Me(n)?i.key=n:ct(n)&&Object.keys(n).forEach(c=>{Jw.includes(c)?l[c]=n[c]:i[c]=n[c]}),Me(r)?i.locale=r:ct(r)&&(l=r),ct(o)&&(l=o),[i.key||"",s,i,l]}function Qw(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function e6(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:l}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!Xw.numberFormat)return i(Ti(Dn.CANNOT_FORMAT_NUMBER)),pd;const[c,u,d,p]=T0(...t),m=Lt(d.missingWarn)?d.missingWarn:e.missingWarn,g=Lt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,v=!!d.part,w=C0(e,d),_=l(e,o,w);if(!Me(c)||c==="")return new Intl.NumberFormat(w,p).format(u);let y={},C,S=null,k=w,x=null;const B="number format";for(let T=0;T<_.length;T++){if(C=x=_[T],process.env.NODE_ENV!=="production"&&w!==C&&md(g,c)&&i(Ti(Dn.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:C})),process.env.NODE_ENV!=="production"&&w!==C){const M=e.__v_emitter;M&&M.emit("fallback",{type:B,key:c,from:k,to:x,groupId:`${B}:${c}`})}if(y=n[C]||{},S=y[c],ct(S))break;E0(e,c,C,m,B),k=x}if(!ct(S)||!Me(C))return r?dd:c;let N=`${C}__${c}`;sd(p)||(N=`${N}__${JSON.stringify(p)}`);let $=s.get(N);return $||($=new Intl.NumberFormat(C,Bn({},S,p)),s.set(N,$)),v?$.formatToParts(u):$.format(u)}const t6=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function T0(...e){const[t,n,r,o]=e,i={};let l={};if(!fn(t))throw ao(wn.INVALID_ARGUMENT);const s=t;return Me(n)?i.key=n:ct(n)&&Object.keys(n).forEach(c=>{t6.includes(c)?l[c]=n[c]:i[c]=n[c]}),Me(r)?i.locale=r:ct(r)&&(l=r),ct(o)&&(l=o),[i.key||"",s,i,l]}function n6(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}oR();function jR(){return r6().__VUE_DEVTOOLS_GLOBAL_HOOK__}function r6(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const GR=typeof Proxy=="function",YR="devtools-plugin:setup",qR="plugin:settings:set";let ql,$0;function KR(){var e;return ql!==void 0||(typeof window!="undefined"&&window.performance?(ql=!0,$0=window.performance):typeof globalThis!="undefined"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(ql=!0,$0=globalThis.perf_hooks.performance):ql=!1),ql}function XR(){return KR()?$0.now():Date.now()}class ZR{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const l in t.settings){const s=t.settings[l];r[l]=s.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},r);try{const l=localStorage.getItem(o),s=JSON.parse(l);Object.assign(i,s)}catch(l){}this.fallbacks={getSettings(){return i},setSettings(l){try{localStorage.setItem(o,JSON.stringify(l))}catch(s){}i=l},now(){return XR()}},n&&n.on(qR,(l,s)=>{l===this.plugin.id&&this.fallbacks.setSettings(s)}),this.proxiedOn=new Proxy({},{get:(l,s)=>this.target?this.target.on[s]:(...c)=>{this.onQueue.push({method:s,args:c})}}),this.proxiedTarget=new Proxy({},{get:(l,s)=>this.target?this.target[s]:s==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(s)?(...c)=>(this.targetQueue.push({method:s,args:c,resolve:()=>{}}),this.fallbacks[s](...c)):(...c)=>new Promise(u=>{this.targetQueue.push({method:s,args:c,resolve:u})})})}setRealTarget(t){return Ge(this,null,function*(){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function JR(e,t){const n=e,r=r6(),o=jR(),i=GR&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))o.emit(YR,e,t);else{const l=i?new ZR(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:l}),l&&t(l.proxiedTarget)}}/*!
|
|
18
|
-
* vue-i18n v9.10.1
|
|
19
|
-
* (c) 2024 kazuya kawaguchi
|
|
20
|
-
* Released under the MIT License.
|
|
21
|
-
*/const QR="9.10.1";function eL(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(S0().__INTLIFY_PROD_DEVTOOLS__=!1)}const a6=Dn.__EXTEND_POINT__,oo=k0(a6),Nn={FALLBACK_TO_ROOT:a6,NOT_SUPPORTED_PRESERVE:oo(),NOT_SUPPORTED_FORMATTER:oo(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:oo(),NOT_SUPPORTED_GET_CHOICE_INDEX:oo(),COMPONENT_NAME_LEGACY_COMPATIBLE:oo(),NOT_FOUND_PARENT_SCOPE:oo(),IGNORE_OBJ_FLATTEN:oo(),NOTICE_DROP_ALLOW_COMPOSITION:oo(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:oo()},tL={[Nn.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Nn.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Nn.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Nn.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Nn.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Nn.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Nn.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Nn.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Nn.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Nn.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Kl(e,...t){return ww(tL[e],...t)}const o6=wn.__EXTEND_POINT__,ir=k0(o6),kt={UNEXPECTED_RETURN_TYPE:o6,INVALID_ARGUMENT:ir(),MUST_BE_CALL_SETUP_TOP:ir(),NOT_INSTALLED:ir(),NOT_AVAILABLE_IN_LEGACY_MODE:ir(),REQUIRED_VALUE:ir(),INVALID_VALUE:ir(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ir(),NOT_INSTALLED_WITH_PROVIDE:ir(),UNEXPECTED_ERROR:ir(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ir(),BRIDGE_SUPPORT_VUE_2_ONLY:ir(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ir(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ir(),__EXTEND_POINT__:ir()};function Fr(e,...t){return $w(e,null,process.env.NODE_ENV!=="production"?{messages:nL,args:t}:void 0)}const nL={[kt.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[kt.INVALID_ARGUMENT]:"Invalid argument",[kt.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[kt.NOT_INSTALLED]:"Need to install with `app.use` function",[kt.UNEXPECTED_ERROR]:"Unexpected error",[kt.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[kt.REQUIRED_VALUE]:"Required in value: {0}",[kt.INVALID_VALUE]:"Invalid value",[kt.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[kt.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[kt.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[kt.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[kt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[kt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},A0=Aa("__translateVNode"),O0=Aa("__datetimeParts"),M0=Aa("__numberParts"),Rc=Aa("__enableEmitter"),P0=Aa("__disableEmitter"),rL=Aa("__setPluralRules"),aL=Aa("__injectWithOption"),I0=Aa("__dispose");function Lc(e){if(!dt(e))return e;for(const t in e)if(cd(e,t))if(!t.includes("."))dt(e[t])&&Lc(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let l=0;l<r;l++){if(n[l]in o||(o[n[l]]={}),!dt(o[n[l]])){process.env.NODE_ENV!=="production"&&zo(Kl(Nn.IGNORE_OBJ_FLATTEN,{key:n[l]})),i=!0;break}o=o[n[l]]}i||(o[n[r]]=e[t],delete e[t]),dt(o[n[r]])&&Lc(o[n[r]])}return e}function i6(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:i}=t,l=ct(n)?n:tn(r)?{}:{[e]:{}};if(tn(r)&&r.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:u}=s;c?(l[c]=l[c]||{},fd(u,l[c])):fd(u,l)}else Me(s)&&fd(JSON.parse(s),l)}),o==null&&i)for(const s in l)cd(l,s)&&Lc(l[s]);return l}function l6(e){return e.type}function oL(e,t,n){let r=dt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=i6(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(dt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(dt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function s6(e){return a.createVNode(a.Text,null,e,0)}const c6="__INTLIFY_META__",u6=()=>[],iL=()=>!1;let f6=0;function d6(e){return(t,n,r,o)=>e(n,r,a.getCurrentInstance()||void 0,o)}const lL=()=>{const e=a.getCurrentInstance();let t=null;return e&&(t=l6(e)[c6])?{[c6]:t}:null};function h6(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,i=e.flatJson,l=ua?a.ref:a.shallowRef,s=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&s&&Nw(Kl(Nn.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let c=Lt(e.inheritLocale)?e.inheritLocale:!0;const u=l(n&&c?n.locale.value:Me(e.locale)?e.locale:hd),d=l(n&&c?n.fallbackLocale.value:Me(e.fallbackLocale)||tn(e.fallbackLocale)||ct(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),p=l(i6(u.value,e)),m=l(ct(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),g=l(ct(e.numberFormats)?e.numberFormats:{[u.value]:{}});let v=n?n.missingWarn:Lt(e.missingWarn)||ld(e.missingWarn)?e.missingWarn:!0,w=n?n.fallbackWarn:Lt(e.fallbackWarn)||ld(e.fallbackWarn)?e.fallbackWarn:!0,_=n?n.fallbackRoot:Lt(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,C=Pt(e.missing)?e.missing:null,S=Pt(e.missing)?d6(e.missing):null,k=Pt(e.postTranslation)?e.postTranslation:null,x=n?n.warnHtmlMessage:Lt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,B=!!e.escapeParameter;const N=n?n.modifiers:ct(e.modifiers)?e.modifiers:{};let $=e.pluralRules||n&&n.pluralRules,T;T=(()=>{o&&Hw(null);const ce={version:QR,locale:u.value,fallbackLocale:d.value,messages:p.value,modifiers:N,pluralRules:$,missing:S===null?void 0:S,missingWarn:v,fallbackWarn:w,fallbackFormat:y,unresolving:!0,postTranslation:k===null?void 0:k,warnHtmlMessage:x,escapeParameter:B,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};ce.datetimeFormats=m.value,ce.numberFormats=g.value,ce.__datetimeFormatters=ct(T)?T.__datetimeFormatters:void 0,ce.__numberFormatters=ct(T)?T.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(ce.__v_emitter=ct(T)?T.__v_emitter:void 0);const ge=DR(ce);return o&&Hw(ge),ge})(),Vc(T,u.value,d.value);function A(){return[u.value,d.value,p.value,m.value,g.value]}const F=a.computed({get:()=>u.value,set:ce=>{u.value=ce,T.locale=u.value}}),z=a.computed({get:()=>d.value,set:ce=>{d.value=ce,T.fallbackLocale=d.value,Vc(T,u.value,ce)}}),O=a.computed(()=>p.value),L=a.computed(()=>m.value),V=a.computed(()=>g.value);function H(){return Pt(k)?k:null}function G(ce){k=ce,T.postTranslation=ce}function W(){return C}function ne(ce){ce!==null&&(S=d6(ce)),C=ce,T.missing=S}function se(ce,ge){return ce!=="translate"||!ge.resolvedMessage}const U=(ce,ge,Se,De,Zt,yn)=>{A();let hr;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=n?LR():void 0),hr=ce(T)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=void 0)}if(Se!=="translate exists"&&fn(hr)&&hr===dd||Se==="translate exists"&&!hr){const[In,qa]=ge();if(process.env.NODE_ENV!=="production"&&n&&Me(In)&&se(Se,qa)&&(_&&(md(w,In)||Ww(v,In))&&zo(Kl(Nn.FALLBACK_TO_ROOT,{key:In,type:Se})),process.env.NODE_ENV!=="production")){const{__v_emitter:di}=T;di&&_&&di.emit("fallback",{type:Se,key:In,to:"global",groupId:`${Se}:${In}`})}return n&&_?De(n):Zt(In)}else{if(yn(hr))return hr;throw Fr(kt.UNEXPECTED_RETURN_TYPE)}};function oe(...ce){return U(ge=>Reflect.apply(Gw,null,[ge,...ce]),()=>B0(...ce),"translate",ge=>Reflect.apply(ge.t,ge,[...ce]),ge=>ge,ge=>Me(ge))}function le(...ce){const[ge,Se,De]=ce;if(De&&!dt(De))throw Fr(kt.INVALID_ARGUMENT);return oe(ge,Se,Bn({resolvedMessage:!0},De||{}))}function ue(...ce){return U(ge=>Reflect.apply(Zw,null,[ge,...ce]),()=>N0(...ce),"datetime format",ge=>Reflect.apply(ge.d,ge,[...ce]),()=>pd,ge=>Me(ge))}function K(...ce){return U(ge=>Reflect.apply(e6,null,[ge,...ce]),()=>T0(...ce),"number format",ge=>Reflect.apply(ge.n,ge,[...ce]),()=>pd,ge=>Me(ge))}function J(ce){return ce.map(ge=>Me(ge)||fn(ge)||Lt(ge)?s6(String(ge)):ge)}const j={normalize:J,interpolate:ce=>ce,type:"vnode"};function re(...ce){return U(ge=>{let Se;const De=ge;try{De.processor=j,Se=Reflect.apply(Gw,null,[De,...ce])}finally{De.processor=null}return Se},()=>B0(...ce),"translate",ge=>ge[A0](...ce),ge=>[s6(ge)],ge=>tn(ge))}function X(...ce){return U(ge=>Reflect.apply(e6,null,[ge,...ce]),()=>T0(...ce),"number format",ge=>ge[M0](...ce),u6,ge=>Me(ge)||tn(ge))}function Q(...ce){return U(ge=>Reflect.apply(Zw,null,[ge,...ce]),()=>N0(...ce),"datetime format",ge=>ge[O0](...ce),u6,ge=>Me(ge)||tn(ge))}function ye(ce){$=ce,T.pluralRules=$}function _e(ce,ge){return U(()=>{if(!ce)return!1;const Se=Me(ge)?ge:u.value,De=ee(Se),Zt=T.messageResolver(De,ce);return s?Zt!=null:Ai(Zt)||zr(Zt)||Me(Zt)},()=>[ce],"translate exists",Se=>Reflect.apply(Se.te,Se,[ce,ge]),iL,Se=>Lt(Se))}function Ne(ce){let ge=null;const Se=Iw(T,d.value,u.value);for(let De=0;De<Se.length;De++){const Zt=p.value[Se[De]]||{},yn=T.messageResolver(Zt,ce);if(yn!=null){ge=yn;break}}return ge}function ke(ce){const ge=Ne(ce);return ge!=null?ge:n?n.tm(ce)||{}:{}}function ee(ce){return p.value[ce]||{}}function he(ce,ge){if(i){const Se={[ce]:ge};for(const De in Se)cd(Se,De)&&Lc(Se[De]);ge=Se[ce]}p.value[ce]=ge,T.messages=p.value}function Ke(ce,ge){p.value[ce]=p.value[ce]||{};const Se={[ce]:ge};if(i)for(const De in Se)cd(Se,De)&&Lc(Se[De]);ge=Se[ce],fd(ge,p.value[ce]),T.messages=p.value}function Fe(ce){return m.value[ce]||{}}function ut(ce,ge){m.value[ce]=ge,T.datetimeFormats=m.value,Qw(T,ce,ge)}function be(ce,ge){m.value[ce]=Bn(m.value[ce]||{},ge),T.datetimeFormats=m.value,Qw(T,ce,ge)}function Ee(ce){return g.value[ce]||{}}function Ye(ce,ge){g.value[ce]=ge,T.numberFormats=g.value,n6(T,ce,ge)}function pt(ce,ge){g.value[ce]=Bn(g.value[ce]||{},ge),T.numberFormats=g.value,n6(T,ce,ge)}f6++,n&&ua&&(a.watch(n.locale,ce=>{c&&(u.value=ce,T.locale=ce,Vc(T,u.value,d.value))}),a.watch(n.fallbackLocale,ce=>{c&&(d.value=ce,T.fallbackLocale=ce,Vc(T,u.value,d.value))}));const qe={id:f6,locale:F,fallbackLocale:z,get inheritLocale(){return c},set inheritLocale(ce){c=ce,ce&&n&&(u.value=n.locale.value,d.value=n.fallbackLocale.value,Vc(T,u.value,d.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:O,get modifiers(){return N},get pluralRules(){return $||{}},get isGlobal(){return o},get missingWarn(){return v},set missingWarn(ce){v=ce,T.missingWarn=v},get fallbackWarn(){return w},set fallbackWarn(ce){w=ce,T.fallbackWarn=w},get fallbackRoot(){return _},set fallbackRoot(ce){_=ce},get fallbackFormat(){return y},set fallbackFormat(ce){y=ce,T.fallbackFormat=y},get warnHtmlMessage(){return x},set warnHtmlMessage(ce){x=ce,T.warnHtmlMessage=ce},get escapeParameter(){return B},set escapeParameter(ce){B=ce,T.escapeParameter=ce},t:oe,getLocaleMessage:ee,setLocaleMessage:he,mergeLocaleMessage:Ke,getPostTranslationHandler:H,setPostTranslationHandler:G,getMissingHandler:W,setMissingHandler:ne,[rL]:ye};return qe.datetimeFormats=L,qe.numberFormats=V,qe.rt=le,qe.te=_e,qe.tm=ke,qe.d=ue,qe.n=K,qe.getDateTimeFormat=Fe,qe.setDateTimeFormat=ut,qe.mergeDateTimeFormat=be,qe.getNumberFormat=Ee,qe.setNumberFormat=Ye,qe.mergeNumberFormat=pt,qe[aL]=r,qe[A0]=re,qe[O0]=Q,qe[M0]=X,process.env.NODE_ENV!=="production"&&(qe[Rc]=ce=>{T.__v_emitter=ce},qe[P0]=()=>{T.__v_emitter=void 0}),qe}const V0={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function sL({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===a.Fragment?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function p6(e){return a.Fragment}const R0=a.defineComponent({name:"i18n-t",props:Bn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>fn(e)||!isNaN(e)}},V0),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Sr({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(p=>p!=="_"),l={};e.locale&&(l.locale=e.locale),e.plural!==void 0&&(l.plural=Me(e.plural)?+e.plural:e.plural);const s=sL(t,i),c=o[A0](e.keypath,s,l),u=Bn({},r),d=Me(e.tag)||dt(e.tag)?e.tag:p6();return a.h(d,u,c)}}});function cL(e){return tn(e)&&!Me(e[0])}function m6(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const l={part:!0};let s={};e.locale&&(l.locale=e.locale),Me(e.format)?l.key=e.format:dt(e.format)&&(Me(e.format.key)&&(l.key=e.format.key),s=Object.keys(e.format).reduce((m,g)=>n.includes(g)?Bn({},m,{[g]:e.format[g]}):m,{}));const c=r(e.value,l,s);let u=[l.key];tn(c)?u=c.map((m,g)=>{const v=o[m.type],w=v?v({[m.type]:m.value,index:g,parts:c}):[m.value];return cL(w)&&(w[0].key=`${m.type}-${g}`),w}):Me(c)&&(u=[c]);const d=Bn({},i),p=Me(e.tag)||dt(e.tag)?e.tag:p6();return a.h(p,d,u)}}const g6=a.defineComponent({name:"i18n-n",props:Bn({value:{type:Number,required:!0},format:{type:[String,Object]}},V0),setup(e,t){const n=e.i18n||Sr({useScope:"parent",__useComponent:!0});return m6(e,t,t6,(...r)=>n[M0](...r))}}),y6=a.defineComponent({name:"i18n-d",props:Bn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},V0),setup(e,t){const n=e.i18n||Sr({useScope:"parent",__useComponent:!0});return m6(e,t,Jw,(...r)=>n[O0](...r))}});function uL(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function fL(e){const t=l=>{const{instance:s,modifiers:c,value:u}=l;if(!s||!s.$)throw Fr(kt.UNEXPECTED_ERROR);const d=uL(e,s.$);process.env.NODE_ENV!=="production"&&c.preserve&&zo(Kl(Nn.NOT_SUPPORTED_PRESERVE));const p=v6(u);return[Reflect.apply(d.t,d,[...b6(p)]),d]};return{created:(l,s)=>{const[c,u]=t(s);ua&&e.global===u&&(l.__i18nWatcher=a.watch(u.locale,()=>{s.instance&&s.instance.$forceUpdate()})),l.__composer=u,l.textContent=c},unmounted:l=>{ua&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:s})=>{if(l.__composer){const c=l.__composer,u=v6(s);l.textContent=Reflect.apply(c.t,c,[...b6(u)])}},getSSRProps:l=>{const[s]=t(l);return{textContent:s}}}}function v6(e){if(Me(e))return{path:e};if(ct(e)){if(!("path"in e))throw Fr(kt.REQUIRED_VALUE,"path");return e}else throw Fr(kt.INVALID_VALUE)}function b6(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,l={},s=r||{};return Me(n)&&(l.locale=n),fn(o)&&(l.plural=o),fn(i)&&(l.plural=i),[t,s,l]}function dL(e,t,...n){const r=ct(n[0])?n[0]:{},o=!!r.useI18nComponentName,i=Lt(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&i&&o&&zo(Kl(Nn.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:R0.name})),i&&([o?"i18n":R0.name,"I18nT"].forEach(l=>e.component(l,R0)),[g6.name,"I18nN"].forEach(l=>e.component(l,g6)),[y6.name,"I18nD"].forEach(l=>e.component(l,y6))),e.directive("t",fL(t))}const L0={"vue-devtools-plugin-vue-i18n":"Vue I18n devtools","vue-i18n-resource-inspector":"I18n Resources","vue-i18n-timeline":"Vue I18n"},hL={"vue-i18n-resource-inspector":"Search for scopes ..."},pL={"vue-i18n-timeline":16764185},_6="vue-i18n: composer properties";let D0;function mL(e,t){return Ge(this,null,function*(){return new Promise((n,r)=>{try{JR({id:"vue-devtools-plugin-vue-i18n",label:L0["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[_6],app:e},o=>{D0=o,o.on.visitComponentTree(({componentInstance:l,treeNode:s})=>{gL(l,s,t)}),o.on.inspectComponent(({componentInstance:l,instanceData:s})=>{l.vnode.el&&l.vnode.el.__VUE_I18N__&&s&&(t.mode==="legacy"?l.vnode.el.__VUE_I18N__!==t.global.__composer&&S6(s,l.vnode.el.__VUE_I18N__):S6(s,l.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:L0["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:hL["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(l=>{l.app===e&&l.inspectorId==="vue-i18n-resource-inspector"&&wL(l,t)});const i=new Map;o.on.getInspectorState(l=>Ge(this,null,function*(){if(l.app===e&&l.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),kL(l,t),l.nodeId==="global"){if(!i.has(l.app)){const[s]=yield o.getComponentInstances(l.app);i.set(l.app,s)}o.highlightElement(i.get(l.app))}else{const s=SL(l.nodeId,t);s&&o.highlightElement(s)}})),o.on.editInspectorState(l=>{l.app===e&&l.inspectorId==="vue-i18n-resource-inspector"&&xL(l,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:L0["vue-i18n-timeline"],color:pL["vue-i18n-timeline"]}),n(!0)})}catch(o){console.error(o),r(!1)}})})}function w6(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function gL(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==r){const o={label:`i18n (${w6(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}function S6(e,t){const n=_6;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:z0(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function z0(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];Pt(r)&&"source"in r?t[n]=_L(r):Ai(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:dt(r)?t[n]=z0(r):t[n]=r}),t}const yL={"<":"<",">":">",'"':""","&":"&"};function vL(e){return e.replace(/[<>"&]/g,bL)}function bL(e){return yL[e]||e}function _L(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${vL(e.source)}")`:"(?)"}`}}}function wL(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,o]of t.__instances){const i=t.mode==="composition"?o:o.__composer;n!==i&&e.rootNodes.push({id:i.id.toString(),label:`${w6(r)} Scope`})}}function SL(e,t){let n=null;if(e!=="global"){for(const[r,o]of t.__instances.entries())if(o.id.toString()===e){n=r;break}}return n}function k6(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function kL(e,t){const n=k6(e.nodeId,t);return n&&(e.state=CL(n)),null}function CL(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const o="Locale messages info",i=[{type:o,key:"messages",editable:!1,value:z0(e.messages.value)}];t[o]=i;{const l="Datetime formats info",s=[{type:l,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[l]=s;const c="Datetime formats info",u=[{type:c,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[c]=u}return t}function F0(e,t){if(D0){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),D0.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function xL(e,t){const n=k6(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&Me(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(Me(e.state.value)||tn(e.state.value)||dt(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&Lt(e.state.value)&&(n.inheritLocale=e.state.value)}}const EL=Aa("global-vue-i18n");function BL(e={},t){const n=Lt(e.globalInjection)?e.globalInjection:!0,r=!0,o=new Map,[i,l]=NL(e),s=Aa(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV;function c(p){return o.get(p)||null}function u(p,m){o.set(p,m)}function d(p){o.delete(p)}{let m;const p={get mode(){return"composition"},get allowComposition(){return r},install(g,...v){return Ge(this,null,function*(){if(process.env.NODE_ENV!=="production"&&(g.__VUE_I18N__=p),g.__VUE_I18N_SYMBOL__=s,g.provide(g.__VUE_I18N_SYMBOL__,p),ct(v[0])){const y=v[0];p.__composerExtend=y.__composerExtend,p.__vueI18nExtend=y.__vueI18nExtend}let w=null;n&&(w=VL(g,p.global)),dL(g,p,...v);const _=g.unmount;if(g.unmount=()=>{w&&w(),p.dispose(),_()},process.env.NODE_ENV!=="production"){if(!(yield mL(g,p)))throw Fr(kt.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const C=Tw();{const S=l;S[Rc]&&S[Rc](C)}C.on("*",F0)}})},get global(){return l},dispose(){i.stop()},__instances:o,__getInstance:c,__setInstance:u,__deleteInstance:d};return p}}function Sr(e={}){const t=a.getCurrentInstance();if(t==null)throw Fr(kt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Fr(kt.NOT_INSTALLED);const n=TL(t),r=AL(n),o=l6(t),i=$L(e,o);if(i==="global")return oL(r,e,o),r;if(i==="parent"){let c=OL(n,t,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&zo(Kl(Nn.NOT_FOUND_PARENT_SCOPE)),c=r),c}const l=n;let s=l.__getInstance(t);if(s==null){const c=Bn({},e);"__i18n"in o&&(c.__i18n=o.__i18n),r&&(c.__root=r),s=h6(c),l.__composerExtend&&(s[I0]=l.__composerExtend(s)),PL(l,t,s),l.__setInstance(t,s)}return s}function NL(e,t,n){const r=a.effectScope();{const o=r.run(()=>h6(e));if(o==null)throw Fr(kt.UNEXPECTED_ERROR);return[r,o]}}function TL(e){{const t=a.inject(e.isCE?EL:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Fr(e.isCE?kt.NOT_INSTALLED_WITH_PROVIDE:kt.UNEXPECTED_ERROR);return t}}function $L(e,t){return sd(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function AL(e){return e.mode==="composition"?e.global:e.global.__composer}function OL(e,t,n=!1){let r=null;const o=t.root;let i=ML(t,n);for(;i!=null;){const l=e;if(e.mode==="composition"&&(r=l.__getInstance(i)),r!=null||o===i)break;i=i.parent}return r}function ML(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function PL(e,t,n){let r=null;a.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=Tw();const o=n;o[Rc]&&o[Rc](r),r.on("*",F0)}},t),a.onUnmounted(()=>{const o=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",F0),o[P0]&&o[P0](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const i=o[I0];i&&(i(),delete o[I0])},t)}const IL=["locale","fallbackLocale","availableLocales"],C6=["t","rt","d","n","tm","te"];function VL(e,t){const n=Object.create(null);return IL.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw Fr(kt.UNEXPECTED_ERROR);const l=a.isRef(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,o,l)}),e.config.globalProperties.$i18n=n,C6.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw Fr(kt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,C6.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(eL(),PR(hR),IR(Iw),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=S0();e.__INTLIFY__=!0,SR(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const x6=BL({warnHtmlMessage:!1,globalInjection:!0,legacy:!1,locale:"en",fallbackLocale:"en",messages:{fr:{"imddb-header":{navbar:{leak:"Leak to us",support:"Soutenez nous",follow:"Suivez l'ICIJ"}},"generic-header":{navbar:{investigations:"Enquêtes",leak:"Contact securisé",support:"Soutenez nous",follow:"Suivez l'ICIJ"}},"embeddable-footer":{share:"Partager"},"embed-form":{heading:"Intégrer sur votre site",introduction:"Copiez le code ci-dessous pour l'intégrer à votre site.","responsive-optin":"Hauteur dynamique",copy:"Copier"},"follow-us-popover":{heading:"Suivez nous"},"generic-footer":{investigations:"Enquêtes","follow-us":"Suivez nous","all-rights":"Tous droits réservés",version:"Version %{version}"},"donate-form":{support:"Soutenez nous",introduction:'ICIJ’s investigations are supported by readers like you. Help keep our databases free and open to the public by joining our <strong><a target="_blank" href="https://icij.org/donate">ICIJ Insiders</a></strong> community.',"join-heading":"Won't you join us today?",label:"I would like to donate",frequency:{monthly:"Monthly",yearly:"Yearly",onetime:"One time"},result:{sentence:"With this donation, you are <strong>changing the %{target}</strong>.",conversation:"conversation",rules:"rules",world:"world"},suggesteddonation:{conversation:{monthly:10,yearly:25,onetime:50},rules:{monthly:25,yearly:180,onetime:180},world:{monthly:100,yearly:600,onetime:600}},submit:"Donate now",benefits:{heading:"ICIJ Insiders benefits",introduction:"Your monthly or annual donation will give you the following benefits.",more:"More about donations",list:["Invitation to exclusive chat with ICIJ staff about our latest major project after publication","Opportunity to submit your questions to ICIJ staff. Several questions will be answered in our quarterly ICIJ Insider newsletter","Sneak previews behind the scenes of ICIJ’s work (monthly)","ICIJ Insider Newsletter (quarterly)","ICIJ’s Weekly Update"],impacts:{conversation:{level:"conversation",heading:"Change the conversation",highlight:"$1-$179/Year <span class='monthly'>or $1-$14/Month</span>"},rules:{level:"rules",heading:"Change the rules",highlight:"$180-$599/Year <span class='monthly'>or $15-$49/Month</span>"},world:{level:"world",heading:"Change the world",highlight:"$600+/Year <span class='monthly'>or $50+/Month</span>"}}}},"sign-up-form":{label:"Recevez nos articles par email",placeholder:"Adresse email",submit:"S'abonner"},"haptic-copy":{label:"Copier",tooltip:{succeed:"Copié!"}},"tiny-pagination":{page:"Page",aria:"Allez à la page",total:"sur {numberOfPages}",previous:"Page suivante",next:"Page précédente"}},en:{"advanced-link-form":{raw:{tab:"Text"},rich:{tab:"Formatted Text",description:"Copy this link in Libre Office, Word, Google Document, etc."},markdown:{tab:"Markdown",description:"Copy this link for online platforms supporting Markdown."},html:{tab:"HTML"}},"generic-header":{navbar:{investigations:"Investigations",leak:"Leak to us",support:"Support us",follow:"Follow ICIJ"}},"imddb-header":{navbar:{leak:"Leak to us",support:"Support us",follow:"Follow ICIJ"}},"embeddable-footer":{share:"Share"},"embed-form":{heading:"Embed on your website",introduction:"Copy the code below to embed this on your website.","responsive-optin":"Responsive iFrame",copy:"Copy"},"follow-us-popover":{heading:"Follow us"},"generic-footer":{investigations:"Investigations","follow-us":"Follow us","all-rights":"All rights reserved",version:"Version %{version}"},"donate-form":{support:"Support us",introduction:'ICIJ’s investigations are supported by readers like you. Help keep our databases free and open to the public by joining our <strong><a target="_blank" href="https://icij.org/donate">ICIJ Insiders</a></strong> community.',"join-heading":"Won't you join us today?",label:"I would like to donate",frequency:{monthly:"Monthly",yearly:"Yearly",onetime:"One time"},result:{sentence:"With this donation, you are <strong>changing the %{target}</strong>.",conversation:"conversation",rules:"rules",world:"world"},suggesteddonation:{conversation:{monthly:10,yearly:25,onetime:50},rules:{monthly:25,yearly:180,onetime:200},world:{monthly:100,yearly:600,onetime:600}},submit:"Donate now",benefits:{heading:"ICIJ Insiders benefits",introduction:"Your monthly or annual donation will give you the following benefits.",more:"More about donations",list:["Invitation to exclusive chat with ICIJ staff about our latest major project after publication","Opportunity to submit your questions to ICIJ staff. Several questions will be answered in our quarterly ICIJ Insider newsletter","Sneak previews behind the scenes of ICIJ’s work (monthly)","ICIJ Insider Newsletter (quarterly)","ICIJ’s Weekly Update"],impacts:{conversation:{level:"conversation",heading:"Change the conversation",highlight:"$1-$179/Year <span class='monthly'>or $1-$14/Month</span>"},rules:{level:"rules",heading:"Change the rules",highlight:"$180-$599/Year <span class='monthly'>or $15-$49/Month</span>"},world:{level:"world",heading:"Change the world",highlight:"$600+/Year <span class='monthly'>or $50+/Month</span>"}}}},"sign-up-form":{label:"Stories in your inbox",placeholder:"Enter your email",submit:"Sign up"},"haptic-copy":{label:"Copy",tooltip:{succeed:"Copied!",failed:"Unable to copy the text"}},"custom-pagination":{placeholder:"Jump to page","compact-placeholder":"Jump to...","total-pages":"No pages | 1 page | {count} pages total","invalid-number-error":"Invalid page number"},"tiny-pagination":{page:"Page",aria:"Jump to page",total:"of {numberOfPages}",previous:"Previous page",next:"Next page"}}}}),E6=Symbol("Accordion"),B6=Symbol("Parent"),RL=a.defineComponent({props:{step:{type:[String,Symbol,Object],required:!0},steps:{type:Array,required:!0}},emits:["step-change"],setup(e,{emit:t}){const n=()=>{t("step-change",e.steps[o.value+1]||e.step)},r=()=>{t("step-change",e.steps[o.value-1]||e.step)},o=a.computed(()=>{var u;return(u=e.steps)==null?void 0:u.indexOf(e.step)}),i=u=>{var d;return((d=e.steps)==null?void 0:d.indexOf(u))===0},l=u=>{var d,p;return((d=e.steps)==null?void 0:d.indexOf(u))===((p=e.steps)==null?void 0:p.length)-1},s=u=>e.step===u,c=u=>{var d;return((d=e.steps)==null?void 0:d.indexOf(u))<o.value};return a.provide(E6,{emitAccordionNextStepEvent:n,emitAccordionPreviousStepEvent:r,isActiveStep:s,isPreviousStep:c,isFirstStep:i,isLastStep:l,step:e.step,steps:e.steps}),{emitAccordionNextStepEvent:n,emitAccordionPreviousStepEvent:r,isActiveStep:s,isPreviousStep:c,isFirstStep:i,isLastStep:l}}}),rt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},LL={class:"accordion-wrapper"},DL={class:"accordion-wrapper__content ms-5"};function zL(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("div",LL,[a.createElementVNode("div",DL,[a.renderSlot(e.$slots,"default",{},void 0,!0)])])}const N6=rt(RL,[["render",zL],["__scopeId","data-v-72096262"]]),FL=a.defineComponent({props:{step:{type:[String,Object,Symbol],required:!0},title:{type:String,default:"Step"},content:{type:String,default:"Step"},active:{type:Boolean,default:!1}},emits:["next-step","previous-step"],setup(e,{emit:t}){const n=a.inject(E6),r=a.computed(()=>{const u=!!(n!=null&&n.isActiveStep(e.step));return(e.active!==void 0?e.active:!1)||u}),o=a.computed(()=>!!(n!=null&&n.isPreviousStep(e.step))),i=a.computed(()=>!!(n!=null&&n.isFirstStep(e.step))),l=a.computed(()=>!!(n!=null&&n.isLastStep(e.step)));return{isFirst:i,isLast:l,isActive:r,isPrevious:o,nextStep:()=>{n==null||n.emitAccordionNextStepEvent(),t("next-step")},previousStep:()=>{n==null||n.emitAccordionPreviousStepEvent(),t("previous-step")},accordion:n}}}),HL={class:"card-body accordion-wrapper__content__step__heading m-0"},UL={class:"accordion-wrapper__content__step__main card-body row g-0"},WL={class:"card-footer"};function jL(e,t,n,r,o,i){const l=Lr,s=n0,c=o0;return a.openBlock(),a.createBlock(c,{class:a.normalizeClass([{"accordion-wrapper__content__step--active":e.isActive,"accordion-wrapper__content__step--previous":e.isPrevious},"accordion-wrapper__content__step"]),"no-body":""},{default:a.withCtx(()=>[a.createElementVNode("h4",HL,[a.renderSlot(e.$slots,"title",{},()=>[a.createTextVNode(a.toDisplayString(e.title),1)])]),a.createVNode(s,{visible:e.isActive},{default:a.withCtx(()=>[a.createElementVNode("div",UL,[a.renderSlot(e.$slots,"content",a.normalizeProps(a.guardReactiveProps({isFirst:e.isFirst,isLast:e.isLast,step:e.step,previousStep:e.previousStep,nextStep:e.nextStep})),()=>[a.createTextVNode(a.toDisplayString(e.content),1)])]),a.createElementVNode("div",WL,[a.renderSlot(e.$slots,"previousStepButton",a.normalizeProps(a.guardReactiveProps({isFirst:e.isFirst,isLast:e.isLast,step:e.step,previousStep:e.previousStep})),()=>[e.isFirst?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(l,{key:0,class:"accordion-wrapper__content__step__back-button",type:"button",variant:"link",onClick:e.previousStep},{default:a.withCtx(()=>[a.createTextVNode(" Back ")]),_:1},8,["onClick"]))]),a.renderSlot(e.$slots,"nextStepButton",a.normalizeProps(a.guardReactiveProps({isFirst:e.isFirst,isLast:e.isLast,step:e.step,nextStep:e.nextStep})),()=>[e.isLast?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(l,{key:0,class:"accordion-wrapper__content__step__continue-button",type:"button",variant:"primary",onClick:e.nextStep},{default:a.withCtx(()=>[a.createTextVNode(" Continue ")]),_:1},8,["onClick"]))])])]),_:3},8,["visible"])]),_:3},8,["class"])}const T6=rt(FL,[["render",jL]]);var $6=function(){if(typeof Map!="undefined")return Map;function e(t,n){var r=-1;return t.some(function(o,i){return o[0]===n?(r=i,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,i=this.__entries__;o<i.length;o++){var l=i[o];n.call(r,l[1],l[0])}},t}()}(),H0=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,gd=function(){return typeof global!="undefined"&&global.Math===Math?global:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),GL=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(gd):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),YL=2;function qL(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&s()}function l(){GL(i)}function s(){var c=Date.now();if(n){if(c-o<YL)return;r=!0}else n=!0,r=!1,setTimeout(l,t);o=c}return s}var KL=20,XL=["top","right","bottom","left","width","height","size","weight"],ZL=typeof MutationObserver!="undefined",JL=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=qL(this.refresh.bind(this),KL)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,r=n.indexOf(t);~r&&n.splice(r,1),!n.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!H0||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ZL?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!H0||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=XL.some(function(i){return!!~r.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),A6=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},Xl=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||gd},O6=vd(0,0,0,0);function yd(e){return parseFloat(e)||0}function M6(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(r,o){var i=e["border-"+o+"-width"];return r+yd(i)},0)}function QL(e){for(var t=["top","right","bottom","left"],n={},r=0,o=t;r<o.length;r++){var i=o[r],l=e["padding-"+i];n[i]=yd(l)}return n}function eD(e){var t=e.getBBox();return vd(0,0,t.width,t.height)}function tD(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return O6;var r=Xl(e).getComputedStyle(e),o=QL(r),i=o.left+o.right,l=o.top+o.bottom,s=yd(r.width),c=yd(r.height);if(r.boxSizing==="border-box"&&(Math.round(s+i)!==t&&(s-=M6(r,"left","right")+i),Math.round(c+l)!==n&&(c-=M6(r,"top","bottom")+l)),!rD(e)){var u=Math.round(s+i)-t,d=Math.round(c+l)-n;Math.abs(u)!==1&&(s-=u),Math.abs(d)!==1&&(c-=d)}return vd(o.left,o.top,s,c)}var nD=function(){return typeof SVGGraphicsElement!="undefined"?function(e){return e instanceof Xl(e).SVGGraphicsElement}:function(e){return e instanceof Xl(e).SVGElement&&typeof e.getBBox=="function"}}();function rD(e){return e===Xl(e).document.documentElement}function aD(e){return H0?nD(e)?eD(e):tD(e):O6}function oD(e){var t=e.x,n=e.y,r=e.width,o=e.height,i=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,l=Object.create(i.prototype);return A6(l,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),l}function vd(e,t,n,r){return{x:e,y:t,width:n,height:r}}var iD=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=vd(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=aD(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),lD=function(){function e(t,n){var r=oD(n);A6(this,{target:t,contentRect:r})}return e}(),sD=function(){function e(t,n,r){if(this.activeObservations_=[],this.observations_=new $6,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=r}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(t instanceof Xl(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new iD(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(t instanceof Xl(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new lD(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),P6=typeof WeakMap!="undefined"?new WeakMap:new $6,I6=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=JL.getInstance(),r=new sD(t,n,this);P6.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){I6.prototype[e]=function(){var t;return(t=P6.get(this))[e].apply(t,arguments)}});var cD=function(){return typeof gd.ResizeObserver!="undefined"?gd.ResizeObserver:I6}();const V6=e=>{const t=e!=null?e:a.ref(),n=a.reactive({dimensions:{},offsetWidth:540,narrowWidth:!1}),r=new cD(o=>{o.forEach(i=>{var l;n.dimensions=i.contentRect,n.offsetWidth=i.target.offsetWidth,n.narrowWidth=((l=n.offsetWidth)!=null?l:540)<540})});return a.onMounted(()=>Ge(this,null,function*(){n.dimensions=t.value.getBoundingClientRect(),n.offsetWidth=t.value.offsetWidth,n.narrowWidth=!1,r.observe(t.value)})),a.onBeforeUnmount(()=>{r.unobserve(t.value)}),{resizeState:n,resizeRef:t}};class uD{constructor(){Bc(this,"live");Bc(this,"callback");this.live=!1,this.callback=()=>null}start(t){this.live=!0,this.callback=t,this.schedule()}stop(){this.live=!1,this.callback=()=>null}schedule(){this.callback(),this.live&&window.requestAnimationFrame(this.schedule.bind(this))}}const fD=a.defineComponent({name:"ActiveTextTruncate",props:{ppms:{type:Number,default:.025},fadingMaxWidth:{type:Number,default:50,validator:e=>e>0},fadingMinWidth:{type:Number,default:.001,validator:e=>e>0},delay:{type:Number,default:1e3},direction:{type:String,default:"ltr",validator:e=>["ltr","rtl"].indexOf(e)>-1}},emits:["cancel","end","start"],setup(e,{emit:t}){const n=a.ref(null),r=a.ref(0),{resizeRef:o,resizeState:i}=V6(n);a.watch(i,()=>{S()});const l=a.computed(()=>{var M,A;return(A=(M=o.value)==null?void 0:M.querySelector(".active-text-truncate__wrapper"))!=null?A:null}),s=a.computed(()=>{var T,M;return(M=(T=l.value)==null?void 0:T.offsetWidth)!=null?M:0}),c=a.computed(()=>{var M,A;return(A=(M=o.value)==null?void 0:M.querySelector(".active-text-truncate__wrapper__text"))!=null?A:null}),u=a.computed(()=>{var T,M;return(M=(T=c.value)==null?void 0:T.offsetWidth)!=null?M:0}),d=a.computed(()=>`${e.delay}ms`),p=a.computed(()=>`${Math.abs(s.value-u.value)/e.ppms}ms`),m=a.computed(()=>"0"),g=a.computed(()=>`${s.value-u.value}px`),v=a.computed(()=>e.direction==="ltr"?[m.value,g.value]:[g.value,m.value]);a.computed(()=>e.direction==="rtl"&&w.value),a.computed(()=>e.direction==="ltr"&&w.value);const w=a.computed(()=>s.value<u.value),_=a.computed(()=>{const T=r.value;return`${Math.min(Math.max(e.fadingMinWidth,Math.abs(T)),e.fadingMaxWidth)}px`}),y=a.computed(()=>{const T=parseInt(g.value)-r.value;return`${Math.min(Math.max(e.fadingMinWidth,Math.abs(T)),e.fadingMaxWidth)}px`}),C=a.computed(()=>new uD);function S(){r.value=parseInt(v.value[0]),k("transitionstart",B),k("transitionend",N),k("transitioncancel",$)}function k(T,M){var A,F;(A=c.value)==null||A.removeEventListener(T,M),(F=c.value)==null||F.addEventListener(T,M)}function x(){if(!c.value)return;const T=window.getComputedStyle(c.value,null).getPropertyValue("left");r.value=parseInt(T)}function B(){C.value.start(x),t("start")}function N(){C.value.stop(),t("end")}function $(){C.value.stop(),r.value=parseInt(v.value[0]),t("cancel")}return{el:n,isFading:w,fadingLeftWidth:_,fadingRightWidth:y,textOffsetTransitionDuration:p,textOffsetTransitionDelay:d,textFinalOffset:g,resetTextLivePosition:$}}}),dD={class:"active-text-truncate__wrapper"},hD={class:"active-text-truncate__wrapper__text"};function pD(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("span",{ref:"el",class:a.normalizeClass(["active-text-truncate",{"active-text-truncate--fading":e.isFading,[`active-text-truncate--${e.direction}`]:!0}]),style:a.normalizeStyle({"--fading-left-width":e.fadingLeftWidth,"--fading-right-width":e.fadingRightWidth,"--text-offset-transition-duration":e.textOffsetTransitionDuration,"--text-offset-transition-delay":e.textOffsetTransitionDelay,"--text-final-offset":e.textFinalOffset}),onMouseleave:t[0]||(t[0]=(...l)=>e.resetTextLivePosition&&e.resetTextLivePosition(...l))},[a.createElementVNode("span",dD,[a.createElementVNode("span",hD,[a.renderSlot(e.$slots,"default",{},void 0,!0)])])],38)}const R6=rt(fD,[["render",pD],["__scopeId","data-v-5436af29"]]);function L6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?L6(Object(n),!0).forEach(function(r){on(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function bd(e){"@babel/helpers - typeof";return bd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bd(e)}function mD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gD(e,t,n){return t&&D6(e.prototype,t),n&&D6(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function on(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U0(e,t){return vD(e)||_D(e,t)||z6(e,t)||SD()}function Dc(e){return yD(e)||bD(e)||z6(e)||wD()}function yD(e){if(Array.isArray(e))return W0(e)}function vD(e){if(Array.isArray(e))return e}function bD(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _D(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,l,s;try{for(n=n.call(e);!(o=(l=n.next()).done)&&(r.push(l.value),!(t&&r.length===t));o=!0);}catch(c){i=!0,s=c}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function z6(e,t){if(e){if(typeof e=="string")return W0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W0(e,t)}}function W0(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wD(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
22
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function SD(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
23
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var F6=function(){},j0={},H6={},U6=null,W6={mark:F6,measure:F6};try{typeof window!="undefined"&&(j0=window),typeof document!="undefined"&&(H6=document),typeof MutationObserver!="undefined"&&(U6=MutationObserver),typeof performance!="undefined"&&(W6=performance)}catch(e){}var kD=j0.navigator||{},j6=kD.userAgent,G6=j6===void 0?"":j6,Ho=j0,Nt=H6,Y6=U6,_d=W6;Ho.document;var io=!!Nt.documentElement&&!!Nt.head&&typeof Nt.addEventListener=="function"&&typeof Nt.createElement=="function",q6=~G6.indexOf("MSIE")||~G6.indexOf("Trident/"),wd,Sd,kd,Cd,xd,lo="___FONT_AWESOME___",G0=16,K6="fa",X6="svg-inline--fa",Oi="data-fa-i2svg",Y0="data-fa-pseudo-element",CD="data-fa-pseudo-element-pending",q0="data-prefix",K0="data-icon",Z6="fontawesome-i2svg",xD="async",ED=["HTML","HEAD","STYLE","SCRIPT"],J6=function(){try{return process.env.NODE_ENV==="production"}catch(e){return!1}}(),Tt="classic",jt="sharp",X0=[Tt,jt];function zc(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[Tt]}})}var Fc=zc((wd={},on(wd,Tt,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),on(wd,jt,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),wd)),Hc=zc((Sd={},on(Sd,Tt,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),on(Sd,jt,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Sd)),Uc=zc((kd={},on(kd,Tt,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),on(kd,jt,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),kd)),BD=zc((Cd={},on(Cd,Tt,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),on(Cd,jt,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),Cd)),ND=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Q6="fa-layers-text",TD=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,$D=zc((xd={},on(xd,Tt,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),on(xd,jt,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),xd)),e5=[1,2,3,4,5,6,7,8,9,10],AD=e5.concat([11,12,13,14,15,16,17,18,19,20]),OD=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Mi={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Wc=new Set;Object.keys(Hc[Tt]).map(Wc.add.bind(Wc)),Object.keys(Hc[jt]).map(Wc.add.bind(Wc));var MD=[].concat(X0,Dc(Wc),["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",Mi.GROUP,Mi.SWAP_OPACITY,Mi.PRIMARY,Mi.SECONDARY]).concat(e5.map(function(e){return"".concat(e,"x")})).concat(AD.map(function(e){return"w-".concat(e)})),jc=Ho.FontAwesomeConfig||{};function PD(e){var t=Nt.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function ID(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Nt&&typeof Nt.querySelector=="function"){var VD=[["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"]];VD.forEach(function(e){var t=U0(e,2),n=t[0],r=t[1],o=ID(PD(n));o!=null&&(jc[r]=o)})}var t5={styleDefault:"solid",familyDefault:"classic",cssPrefix:K6,replacementClass:X6,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};jc.familyPrefix&&(jc.cssPrefix=jc.familyPrefix);var Zl=Te(Te({},t5),jc);Zl.autoReplaceSvg||(Zl.observeMutations=!1);var Ie={};Object.keys(t5).forEach(function(e){Object.defineProperty(Ie,e,{enumerable:!0,set:function(n){Zl[e]=n,Gc.forEach(function(r){return r(Ie)})},get:function(){return Zl[e]}})}),Object.defineProperty(Ie,"familyPrefix",{enumerable:!0,set:function(t){Zl.cssPrefix=t,Gc.forEach(function(n){return n(Ie)})},get:function(){return Zl.cssPrefix}}),Ho.FontAwesomeConfig=Ie;var Gc=[];function RD(e){return Gc.push(e),function(){Gc.splice(Gc.indexOf(e),1)}}var Uo=G0,Oa={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function LD(e){if(!(!e||!io)){var t=Nt.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Nt.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],l=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(l)>-1&&(r=i)}return Nt.head.insertBefore(t,r),e}}var DD="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Yc(){for(var e=12,t="";e-- >0;)t+=DD[Math.random()*62|0];return t}function Jl(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Z0(e){return e.classList?Jl(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function n5(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function zD(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(n5(e[n]),'" ')},"").trim()}function Ed(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function J0(e){return e.size!==Oa.size||e.x!==Oa.x||e.y!==Oa.y||e.rotate!==Oa.rotate||e.flipX||e.flipY}function FD(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),l="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),c={transform:"".concat(i," ").concat(l," ").concat(s)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:o,inner:c,path:u}}function HD(e){var t=e.transform,n=e.width,r=n===void 0?G0:n,o=e.height,i=o===void 0?G0:o,l=e.startCentered,s=l===void 0?!1:l,c="";return s&&q6?c+="translate(".concat(t.x/Uo-r/2,"em, ").concat(t.y/Uo-i/2,"em) "):s?c+="translate(calc(-50% + ".concat(t.x/Uo,"em), calc(-50% + ").concat(t.y/Uo,"em)) "):c+="translate(".concat(t.x/Uo,"em, ").concat(t.y/Uo,"em) "),c+="scale(".concat(t.size/Uo*(t.flipX?-1:1),", ").concat(t.size/Uo*(t.flipY?-1:1),") "),c+="rotate(".concat(t.rotate,"deg) "),c}var UD=`:root, :host {
|
|
24
|
-
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
|
25
|
-
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
|
|
26
|
-
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
|
|
27
|
-
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
|
|
28
|
-
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
|
|
29
|
-
--fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
|
|
30
|
-
--fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
|
|
31
|
-
--fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
|
|
32
|
-
--fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
|
|
33
|
-
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
37
|
-
overflow: visible;
|
|
38
|
-
box-sizing: content-box;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.svg-inline--fa {
|
|
42
|
-
display: var(--fa-display, inline-block);
|
|
43
|
-
height: 1em;
|
|
44
|
-
overflow: visible;
|
|
45
|
-
vertical-align: -0.125em;
|
|
46
|
-
}
|
|
47
|
-
.svg-inline--fa.fa-2xs {
|
|
48
|
-
vertical-align: 0.1em;
|
|
49
|
-
}
|
|
50
|
-
.svg-inline--fa.fa-xs {
|
|
51
|
-
vertical-align: 0em;
|
|
52
|
-
}
|
|
53
|
-
.svg-inline--fa.fa-sm {
|
|
54
|
-
vertical-align: -0.0714285705em;
|
|
55
|
-
}
|
|
56
|
-
.svg-inline--fa.fa-lg {
|
|
57
|
-
vertical-align: -0.2em;
|
|
58
|
-
}
|
|
59
|
-
.svg-inline--fa.fa-xl {
|
|
60
|
-
vertical-align: -0.25em;
|
|
61
|
-
}
|
|
62
|
-
.svg-inline--fa.fa-2xl {
|
|
63
|
-
vertical-align: -0.3125em;
|
|
64
|
-
}
|
|
65
|
-
.svg-inline--fa.fa-pull-left {
|
|
66
|
-
margin-right: var(--fa-pull-margin, 0.3em);
|
|
67
|
-
width: auto;
|
|
68
|
-
}
|
|
69
|
-
.svg-inline--fa.fa-pull-right {
|
|
70
|
-
margin-left: var(--fa-pull-margin, 0.3em);
|
|
71
|
-
width: auto;
|
|
72
|
-
}
|
|
73
|
-
.svg-inline--fa.fa-li {
|
|
74
|
-
width: var(--fa-li-width, 2em);
|
|
75
|
-
top: 0.25em;
|
|
76
|
-
}
|
|
77
|
-
.svg-inline--fa.fa-fw {
|
|
78
|
-
width: var(--fa-fw-width, 1.25em);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.fa-layers svg.svg-inline--fa {
|
|
82
|
-
bottom: 0;
|
|
83
|
-
left: 0;
|
|
84
|
-
margin: auto;
|
|
85
|
-
position: absolute;
|
|
86
|
-
right: 0;
|
|
87
|
-
top: 0;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.fa-layers-counter, .fa-layers-text {
|
|
91
|
-
display: inline-block;
|
|
92
|
-
position: absolute;
|
|
93
|
-
text-align: center;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.fa-layers {
|
|
97
|
-
display: inline-block;
|
|
98
|
-
height: 1em;
|
|
99
|
-
position: relative;
|
|
100
|
-
text-align: center;
|
|
101
|
-
vertical-align: -0.125em;
|
|
102
|
-
width: 1em;
|
|
103
|
-
}
|
|
104
|
-
.fa-layers svg.svg-inline--fa {
|
|
105
|
-
-webkit-transform-origin: center center;
|
|
106
|
-
transform-origin: center center;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.fa-layers-text {
|
|
110
|
-
left: 50%;
|
|
111
|
-
top: 50%;
|
|
112
|
-
-webkit-transform: translate(-50%, -50%);
|
|
113
|
-
transform: translate(-50%, -50%);
|
|
114
|
-
-webkit-transform-origin: center center;
|
|
115
|
-
transform-origin: center center;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.fa-layers-counter {
|
|
119
|
-
background-color: var(--fa-counter-background-color, #ff253a);
|
|
120
|
-
border-radius: var(--fa-counter-border-radius, 1em);
|
|
121
|
-
box-sizing: border-box;
|
|
122
|
-
color: var(--fa-inverse, #fff);
|
|
123
|
-
line-height: var(--fa-counter-line-height, 1);
|
|
124
|
-
max-width: var(--fa-counter-max-width, 5em);
|
|
125
|
-
min-width: var(--fa-counter-min-width, 1.5em);
|
|
126
|
-
overflow: hidden;
|
|
127
|
-
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
128
|
-
right: var(--fa-right, 0);
|
|
129
|
-
text-overflow: ellipsis;
|
|
130
|
-
top: var(--fa-top, 0);
|
|
131
|
-
-webkit-transform: scale(var(--fa-counter-scale, 0.25));
|
|
132
|
-
transform: scale(var(--fa-counter-scale, 0.25));
|
|
133
|
-
-webkit-transform-origin: top right;
|
|
134
|
-
transform-origin: top right;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.fa-layers-bottom-right {
|
|
138
|
-
bottom: var(--fa-bottom, 0);
|
|
139
|
-
right: var(--fa-right, 0);
|
|
140
|
-
top: auto;
|
|
141
|
-
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
142
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
143
|
-
-webkit-transform-origin: bottom right;
|
|
144
|
-
transform-origin: bottom right;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.fa-layers-bottom-left {
|
|
148
|
-
bottom: var(--fa-bottom, 0);
|
|
149
|
-
left: var(--fa-left, 0);
|
|
150
|
-
right: auto;
|
|
151
|
-
top: auto;
|
|
152
|
-
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
153
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
154
|
-
-webkit-transform-origin: bottom left;
|
|
155
|
-
transform-origin: bottom left;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.fa-layers-top-right {
|
|
159
|
-
top: var(--fa-top, 0);
|
|
160
|
-
right: var(--fa-right, 0);
|
|
161
|
-
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
162
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
163
|
-
-webkit-transform-origin: top right;
|
|
164
|
-
transform-origin: top right;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.fa-layers-top-left {
|
|
168
|
-
left: var(--fa-left, 0);
|
|
169
|
-
right: auto;
|
|
170
|
-
top: var(--fa-top, 0);
|
|
171
|
-
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
172
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
173
|
-
-webkit-transform-origin: top left;
|
|
174
|
-
transform-origin: top left;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.fa-1x {
|
|
178
|
-
font-size: 1em;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.fa-2x {
|
|
182
|
-
font-size: 2em;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.fa-3x {
|
|
186
|
-
font-size: 3em;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.fa-4x {
|
|
190
|
-
font-size: 4em;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.fa-5x {
|
|
194
|
-
font-size: 5em;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.fa-6x {
|
|
198
|
-
font-size: 6em;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.fa-7x {
|
|
202
|
-
font-size: 7em;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.fa-8x {
|
|
206
|
-
font-size: 8em;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.fa-9x {
|
|
210
|
-
font-size: 9em;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.fa-10x {
|
|
214
|
-
font-size: 10em;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.fa-2xs {
|
|
218
|
-
font-size: 0.625em;
|
|
219
|
-
line-height: 0.1em;
|
|
220
|
-
vertical-align: 0.225em;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.fa-xs {
|
|
224
|
-
font-size: 0.75em;
|
|
225
|
-
line-height: 0.0833333337em;
|
|
226
|
-
vertical-align: 0.125em;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.fa-sm {
|
|
230
|
-
font-size: 0.875em;
|
|
231
|
-
line-height: 0.0714285718em;
|
|
232
|
-
vertical-align: 0.0535714295em;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.fa-lg {
|
|
236
|
-
font-size: 1.25em;
|
|
237
|
-
line-height: 0.05em;
|
|
238
|
-
vertical-align: -0.075em;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.fa-xl {
|
|
242
|
-
font-size: 1.5em;
|
|
243
|
-
line-height: 0.0416666682em;
|
|
244
|
-
vertical-align: -0.125em;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.fa-2xl {
|
|
248
|
-
font-size: 2em;
|
|
249
|
-
line-height: 0.03125em;
|
|
250
|
-
vertical-align: -0.1875em;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.fa-fw {
|
|
254
|
-
text-align: center;
|
|
255
|
-
width: 1.25em;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.fa-ul {
|
|
259
|
-
list-style-type: none;
|
|
260
|
-
margin-left: var(--fa-li-margin, 2.5em);
|
|
261
|
-
padding-left: 0;
|
|
262
|
-
}
|
|
263
|
-
.fa-ul > li {
|
|
264
|
-
position: relative;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.fa-li {
|
|
268
|
-
left: calc(var(--fa-li-width, 2em) * -1);
|
|
269
|
-
position: absolute;
|
|
270
|
-
text-align: center;
|
|
271
|
-
width: var(--fa-li-width, 2em);
|
|
272
|
-
line-height: inherit;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.fa-border {
|
|
276
|
-
border-color: var(--fa-border-color, #eee);
|
|
277
|
-
border-radius: var(--fa-border-radius, 0.1em);
|
|
278
|
-
border-style: var(--fa-border-style, solid);
|
|
279
|
-
border-width: var(--fa-border-width, 0.08em);
|
|
280
|
-
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.fa-pull-left {
|
|
284
|
-
float: left;
|
|
285
|
-
margin-right: var(--fa-pull-margin, 0.3em);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.fa-pull-right {
|
|
289
|
-
float: right;
|
|
290
|
-
margin-left: var(--fa-pull-margin, 0.3em);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.fa-beat {
|
|
294
|
-
-webkit-animation-name: fa-beat;
|
|
295
|
-
animation-name: fa-beat;
|
|
296
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
297
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
298
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
299
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
300
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
301
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
302
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
303
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
304
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
305
|
-
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.fa-bounce {
|
|
309
|
-
-webkit-animation-name: fa-bounce;
|
|
310
|
-
animation-name: fa-bounce;
|
|
311
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
312
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
313
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
314
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
315
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
316
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
317
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
318
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
319
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
320
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.fa-fade {
|
|
324
|
-
-webkit-animation-name: fa-fade;
|
|
325
|
-
animation-name: fa-fade;
|
|
326
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
327
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
328
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
329
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
330
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
331
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
332
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
333
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
334
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
335
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
.fa-beat-fade {
|
|
339
|
-
-webkit-animation-name: fa-beat-fade;
|
|
340
|
-
animation-name: fa-beat-fade;
|
|
341
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
342
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
343
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
344
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
345
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
346
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
347
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
348
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
349
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
350
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.fa-flip {
|
|
354
|
-
-webkit-animation-name: fa-flip;
|
|
355
|
-
animation-name: fa-flip;
|
|
356
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
357
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
358
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
359
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
360
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
361
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
362
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
363
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
364
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
365
|
-
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.fa-shake {
|
|
369
|
-
-webkit-animation-name: fa-shake;
|
|
370
|
-
animation-name: fa-shake;
|
|
371
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
372
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
373
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
374
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
375
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
376
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
377
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
378
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
379
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
|
380
|
-
animation-timing-function: var(--fa-animation-timing, linear);
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.fa-spin {
|
|
384
|
-
-webkit-animation-name: fa-spin;
|
|
385
|
-
animation-name: fa-spin;
|
|
386
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
387
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
388
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
389
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
390
|
-
-webkit-animation-duration: var(--fa-animation-duration, 2s);
|
|
391
|
-
animation-duration: var(--fa-animation-duration, 2s);
|
|
392
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
393
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
394
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
|
395
|
-
animation-timing-function: var(--fa-animation-timing, linear);
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.fa-spin-reverse {
|
|
399
|
-
--fa-animation-direction: reverse;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
.fa-pulse,
|
|
403
|
-
.fa-spin-pulse {
|
|
404
|
-
-webkit-animation-name: fa-spin;
|
|
405
|
-
animation-name: fa-spin;
|
|
406
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
407
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
408
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
409
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
410
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
411
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
412
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
413
|
-
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
@media (prefers-reduced-motion: reduce) {
|
|
417
|
-
.fa-beat,
|
|
418
|
-
.fa-bounce,
|
|
419
|
-
.fa-fade,
|
|
420
|
-
.fa-beat-fade,
|
|
421
|
-
.fa-flip,
|
|
422
|
-
.fa-pulse,
|
|
423
|
-
.fa-shake,
|
|
424
|
-
.fa-spin,
|
|
425
|
-
.fa-spin-pulse {
|
|
426
|
-
-webkit-animation-delay: -1ms;
|
|
427
|
-
animation-delay: -1ms;
|
|
428
|
-
-webkit-animation-duration: 1ms;
|
|
429
|
-
animation-duration: 1ms;
|
|
430
|
-
-webkit-animation-iteration-count: 1;
|
|
431
|
-
animation-iteration-count: 1;
|
|
432
|
-
-webkit-transition-delay: 0s;
|
|
433
|
-
transition-delay: 0s;
|
|
434
|
-
-webkit-transition-duration: 0s;
|
|
435
|
-
transition-duration: 0s;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
@-webkit-keyframes fa-beat {
|
|
439
|
-
0%, 90% {
|
|
440
|
-
-webkit-transform: scale(1);
|
|
441
|
-
transform: scale(1);
|
|
442
|
-
}
|
|
443
|
-
45% {
|
|
444
|
-
-webkit-transform: scale(var(--fa-beat-scale, 1.25));
|
|
445
|
-
transform: scale(var(--fa-beat-scale, 1.25));
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
@keyframes fa-beat {
|
|
449
|
-
0%, 90% {
|
|
450
|
-
-webkit-transform: scale(1);
|
|
451
|
-
transform: scale(1);
|
|
452
|
-
}
|
|
453
|
-
45% {
|
|
454
|
-
-webkit-transform: scale(var(--fa-beat-scale, 1.25));
|
|
455
|
-
transform: scale(var(--fa-beat-scale, 1.25));
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
@-webkit-keyframes fa-bounce {
|
|
459
|
-
0% {
|
|
460
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
461
|
-
transform: scale(1, 1) translateY(0);
|
|
462
|
-
}
|
|
463
|
-
10% {
|
|
464
|
-
-webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
465
|
-
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
466
|
-
}
|
|
467
|
-
30% {
|
|
468
|
-
-webkit-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));
|
|
469
|
-
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));
|
|
470
|
-
}
|
|
471
|
-
50% {
|
|
472
|
-
-webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
473
|
-
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
474
|
-
}
|
|
475
|
-
57% {
|
|
476
|
-
-webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
477
|
-
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
478
|
-
}
|
|
479
|
-
64% {
|
|
480
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
481
|
-
transform: scale(1, 1) translateY(0);
|
|
482
|
-
}
|
|
483
|
-
100% {
|
|
484
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
485
|
-
transform: scale(1, 1) translateY(0);
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
@keyframes fa-bounce {
|
|
489
|
-
0% {
|
|
490
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
491
|
-
transform: scale(1, 1) translateY(0);
|
|
492
|
-
}
|
|
493
|
-
10% {
|
|
494
|
-
-webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
495
|
-
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
496
|
-
}
|
|
497
|
-
30% {
|
|
498
|
-
-webkit-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));
|
|
499
|
-
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));
|
|
500
|
-
}
|
|
501
|
-
50% {
|
|
502
|
-
-webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
503
|
-
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
504
|
-
}
|
|
505
|
-
57% {
|
|
506
|
-
-webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
507
|
-
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
508
|
-
}
|
|
509
|
-
64% {
|
|
510
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
511
|
-
transform: scale(1, 1) translateY(0);
|
|
512
|
-
}
|
|
513
|
-
100% {
|
|
514
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
515
|
-
transform: scale(1, 1) translateY(0);
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
@-webkit-keyframes fa-fade {
|
|
519
|
-
50% {
|
|
520
|
-
opacity: var(--fa-fade-opacity, 0.4);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
@keyframes fa-fade {
|
|
524
|
-
50% {
|
|
525
|
-
opacity: var(--fa-fade-opacity, 0.4);
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
@-webkit-keyframes fa-beat-fade {
|
|
529
|
-
0%, 100% {
|
|
530
|
-
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
531
|
-
-webkit-transform: scale(1);
|
|
532
|
-
transform: scale(1);
|
|
533
|
-
}
|
|
534
|
-
50% {
|
|
535
|
-
opacity: 1;
|
|
536
|
-
-webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
537
|
-
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
@keyframes fa-beat-fade {
|
|
541
|
-
0%, 100% {
|
|
542
|
-
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
543
|
-
-webkit-transform: scale(1);
|
|
544
|
-
transform: scale(1);
|
|
545
|
-
}
|
|
546
|
-
50% {
|
|
547
|
-
opacity: 1;
|
|
548
|
-
-webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
549
|
-
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
@-webkit-keyframes fa-flip {
|
|
553
|
-
50% {
|
|
554
|
-
-webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
555
|
-
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
@keyframes fa-flip {
|
|
559
|
-
50% {
|
|
560
|
-
-webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
561
|
-
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
@-webkit-keyframes fa-shake {
|
|
565
|
-
0% {
|
|
566
|
-
-webkit-transform: rotate(-15deg);
|
|
567
|
-
transform: rotate(-15deg);
|
|
568
|
-
}
|
|
569
|
-
4% {
|
|
570
|
-
-webkit-transform: rotate(15deg);
|
|
571
|
-
transform: rotate(15deg);
|
|
572
|
-
}
|
|
573
|
-
8%, 24% {
|
|
574
|
-
-webkit-transform: rotate(-18deg);
|
|
575
|
-
transform: rotate(-18deg);
|
|
576
|
-
}
|
|
577
|
-
12%, 28% {
|
|
578
|
-
-webkit-transform: rotate(18deg);
|
|
579
|
-
transform: rotate(18deg);
|
|
580
|
-
}
|
|
581
|
-
16% {
|
|
582
|
-
-webkit-transform: rotate(-22deg);
|
|
583
|
-
transform: rotate(-22deg);
|
|
584
|
-
}
|
|
585
|
-
20% {
|
|
586
|
-
-webkit-transform: rotate(22deg);
|
|
587
|
-
transform: rotate(22deg);
|
|
588
|
-
}
|
|
589
|
-
32% {
|
|
590
|
-
-webkit-transform: rotate(-12deg);
|
|
591
|
-
transform: rotate(-12deg);
|
|
592
|
-
}
|
|
593
|
-
36% {
|
|
594
|
-
-webkit-transform: rotate(12deg);
|
|
595
|
-
transform: rotate(12deg);
|
|
596
|
-
}
|
|
597
|
-
40%, 100% {
|
|
598
|
-
-webkit-transform: rotate(0deg);
|
|
599
|
-
transform: rotate(0deg);
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
@keyframes fa-shake {
|
|
603
|
-
0% {
|
|
604
|
-
-webkit-transform: rotate(-15deg);
|
|
605
|
-
transform: rotate(-15deg);
|
|
606
|
-
}
|
|
607
|
-
4% {
|
|
608
|
-
-webkit-transform: rotate(15deg);
|
|
609
|
-
transform: rotate(15deg);
|
|
610
|
-
}
|
|
611
|
-
8%, 24% {
|
|
612
|
-
-webkit-transform: rotate(-18deg);
|
|
613
|
-
transform: rotate(-18deg);
|
|
614
|
-
}
|
|
615
|
-
12%, 28% {
|
|
616
|
-
-webkit-transform: rotate(18deg);
|
|
617
|
-
transform: rotate(18deg);
|
|
618
|
-
}
|
|
619
|
-
16% {
|
|
620
|
-
-webkit-transform: rotate(-22deg);
|
|
621
|
-
transform: rotate(-22deg);
|
|
622
|
-
}
|
|
623
|
-
20% {
|
|
624
|
-
-webkit-transform: rotate(22deg);
|
|
625
|
-
transform: rotate(22deg);
|
|
626
|
-
}
|
|
627
|
-
32% {
|
|
628
|
-
-webkit-transform: rotate(-12deg);
|
|
629
|
-
transform: rotate(-12deg);
|
|
630
|
-
}
|
|
631
|
-
36% {
|
|
632
|
-
-webkit-transform: rotate(12deg);
|
|
633
|
-
transform: rotate(12deg);
|
|
634
|
-
}
|
|
635
|
-
40%, 100% {
|
|
636
|
-
-webkit-transform: rotate(0deg);
|
|
637
|
-
transform: rotate(0deg);
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
@-webkit-keyframes fa-spin {
|
|
641
|
-
0% {
|
|
642
|
-
-webkit-transform: rotate(0deg);
|
|
643
|
-
transform: rotate(0deg);
|
|
644
|
-
}
|
|
645
|
-
100% {
|
|
646
|
-
-webkit-transform: rotate(360deg);
|
|
647
|
-
transform: rotate(360deg);
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
@keyframes fa-spin {
|
|
651
|
-
0% {
|
|
652
|
-
-webkit-transform: rotate(0deg);
|
|
653
|
-
transform: rotate(0deg);
|
|
654
|
-
}
|
|
655
|
-
100% {
|
|
656
|
-
-webkit-transform: rotate(360deg);
|
|
657
|
-
transform: rotate(360deg);
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
.fa-rotate-90 {
|
|
661
|
-
-webkit-transform: rotate(90deg);
|
|
662
|
-
transform: rotate(90deg);
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
.fa-rotate-180 {
|
|
666
|
-
-webkit-transform: rotate(180deg);
|
|
667
|
-
transform: rotate(180deg);
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
.fa-rotate-270 {
|
|
671
|
-
-webkit-transform: rotate(270deg);
|
|
672
|
-
transform: rotate(270deg);
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
.fa-flip-horizontal {
|
|
676
|
-
-webkit-transform: scale(-1, 1);
|
|
677
|
-
transform: scale(-1, 1);
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
.fa-flip-vertical {
|
|
681
|
-
-webkit-transform: scale(1, -1);
|
|
682
|
-
transform: scale(1, -1);
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
.fa-flip-both,
|
|
686
|
-
.fa-flip-horizontal.fa-flip-vertical {
|
|
687
|
-
-webkit-transform: scale(-1, -1);
|
|
688
|
-
transform: scale(-1, -1);
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
.fa-rotate-by {
|
|
692
|
-
-webkit-transform: rotate(var(--fa-rotate-angle, none));
|
|
693
|
-
transform: rotate(var(--fa-rotate-angle, none));
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
.fa-stack {
|
|
697
|
-
display: inline-block;
|
|
698
|
-
vertical-align: middle;
|
|
699
|
-
height: 2em;
|
|
700
|
-
position: relative;
|
|
701
|
-
width: 2.5em;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
.fa-stack-1x,
|
|
705
|
-
.fa-stack-2x {
|
|
706
|
-
bottom: 0;
|
|
707
|
-
left: 0;
|
|
708
|
-
margin: auto;
|
|
709
|
-
position: absolute;
|
|
710
|
-
right: 0;
|
|
711
|
-
top: 0;
|
|
712
|
-
z-index: var(--fa-stack-z-index, auto);
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
.svg-inline--fa.fa-stack-1x {
|
|
716
|
-
height: 1em;
|
|
717
|
-
width: 1.25em;
|
|
718
|
-
}
|
|
719
|
-
.svg-inline--fa.fa-stack-2x {
|
|
720
|
-
height: 2em;
|
|
721
|
-
width: 2.5em;
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
.fa-inverse {
|
|
725
|
-
color: var(--fa-inverse, #fff);
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
.sr-only,
|
|
729
|
-
.fa-sr-only {
|
|
730
|
-
position: absolute;
|
|
731
|
-
width: 1px;
|
|
732
|
-
height: 1px;
|
|
733
|
-
padding: 0;
|
|
734
|
-
margin: -1px;
|
|
735
|
-
overflow: hidden;
|
|
736
|
-
clip: rect(0, 0, 0, 0);
|
|
737
|
-
white-space: nowrap;
|
|
738
|
-
border-width: 0;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
.sr-only-focusable:not(:focus),
|
|
742
|
-
.fa-sr-only-focusable:not(:focus) {
|
|
743
|
-
position: absolute;
|
|
744
|
-
width: 1px;
|
|
745
|
-
height: 1px;
|
|
746
|
-
padding: 0;
|
|
747
|
-
margin: -1px;
|
|
748
|
-
overflow: hidden;
|
|
749
|
-
clip: rect(0, 0, 0, 0);
|
|
750
|
-
white-space: nowrap;
|
|
751
|
-
border-width: 0;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
.svg-inline--fa .fa-primary {
|
|
755
|
-
fill: var(--fa-primary-color, currentColor);
|
|
756
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
.svg-inline--fa .fa-secondary {
|
|
760
|
-
fill: var(--fa-secondary-color, currentColor);
|
|
761
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
765
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
769
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
.svg-inline--fa mask .fa-primary,
|
|
773
|
-
.svg-inline--fa mask .fa-secondary {
|
|
774
|
-
fill: black;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
.fad.fa-inverse,
|
|
778
|
-
.fa-duotone.fa-inverse {
|
|
779
|
-
color: var(--fa-inverse, #fff);
|
|
780
|
-
}`;function r5(){var e=K6,t=X6,n=Ie.cssPrefix,r=Ie.replacementClass,o=UD;if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),l=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(l,"--".concat(n,"-")).replace(s,".".concat(r))}return o}var a5=!1;function Q0(){Ie.autoAddCss&&!a5&&(LD(r5()),a5=!0)}var WD={mixout:function(){return{dom:{css:r5,insertCss:Q0}}},hooks:function(){return{beforeDOMElementCreation:function(){Q0()},beforeI2svg:function(){Q0()}}}},so=Ho||{};so[lo]||(so[lo]={}),so[lo].styles||(so[lo].styles={}),so[lo].hooks||(so[lo].hooks={}),so[lo].shims||(so[lo].shims=[]);var fa=so[lo],o5=[],jD=function e(){Nt.removeEventListener("DOMContentLoaded",e),Bd=1,o5.map(function(t){return t()})},Bd=!1;io&&(Bd=(Nt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Nt.readyState),Bd||Nt.addEventListener("DOMContentLoaded",jD));function GD(e){io&&(Bd?setTimeout(e,0):o5.push(e))}function qc(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,o=e.children,i=o===void 0?[]:o;return typeof e=="string"?n5(e):"<".concat(t," ").concat(zD(r),">").concat(i.map(qc).join(""),"</").concat(t,">")}function i5(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var YD=function(t,n){return function(r,o,i,l){return t.call(n,r,o,i,l)}},eg=function(t,n,r,o){var i=Object.keys(t),l=i.length,s=o!==void 0?YD(n,o):n,c,u,d;for(r===void 0?(c=1,d=t[i[0]]):(c=0,d=r);c<l;c++)u=i[c],d=s(d,t[u],u,t);return d};function qD(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);(i&64512)==56320?t.push(((o&1023)<<10)+(i&1023)+65536):(t.push(o),n--)}else t.push(o)}return t}function tg(e){var t=qD(e);return t.length===1?t[0].toString(16):null}function KD(e,t){var n=e.length,r=e.charCodeAt(t),o;return r>=55296&&r<=56319&&n>t+1&&(o=e.charCodeAt(t+1),o>=56320&&o<=57343)?(r-55296)*1024+o-56320+65536:r}function l5(e){return Object.keys(e).reduce(function(t,n){var r=e[n],o=!!r.icon;return o?t[r.iconName]=r.icon:t[n]=r,t},{})}function ng(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,o=r===void 0?!1:r,i=l5(t);typeof fa.hooks.addPack=="function"&&!o?fa.hooks.addPack(e,l5(t)):fa.styles[e]=Te(Te({},fa.styles[e]||{}),i),e==="fas"&&ng("fa",t)}var Nd,Td,$d,Ql=fa.styles,XD=fa.shims,ZD=(Nd={},on(Nd,Tt,Object.values(Uc[Tt])),on(Nd,jt,Object.values(Uc[jt])),Nd),rg=null,s5={},c5={},u5={},f5={},d5={},JD=(Td={},on(Td,Tt,Object.keys(Fc[Tt])),on(Td,jt,Object.keys(Fc[jt])),Td);function QD(e){return~MD.indexOf(e)}function ez(e,t){var n=t.split("-"),r=n[0],o=n.slice(1).join("-");return r===e&&o!==""&&!QD(o)?o:null}var h5=function(){var t=function(i){return eg(Ql,function(l,s,c){return l[c]=eg(s,i,{}),l},{})};s5=t(function(o,i,l){if(i[3]&&(o[i[3]]=l),i[2]){var s=i[2].filter(function(c){return typeof c=="number"});s.forEach(function(c){o[c.toString(16)]=l})}return o}),c5=t(function(o,i,l){if(o[l]=l,i[2]){var s=i[2].filter(function(c){return typeof c=="string"});s.forEach(function(c){o[c]=l})}return o}),d5=t(function(o,i,l){var s=i[2];return o[l]=l,s.forEach(function(c){o[c]=l}),o});var n="far"in Ql||Ie.autoFetchSvg,r=eg(XD,function(o,i){var l=i[0],s=i[1],c=i[2];return s==="far"&&!n&&(s="fas"),typeof l=="string"&&(o.names[l]={prefix:s,iconName:c}),typeof l=="number"&&(o.unicodes[l.toString(16)]={prefix:s,iconName:c}),o},{names:{},unicodes:{}});u5=r.names,f5=r.unicodes,rg=Ad(Ie.styleDefault,{family:Ie.familyDefault})};RD(function(e){rg=Ad(e.styleDefault,{family:Ie.familyDefault})}),h5();function ag(e,t){return(s5[e]||{})[t]}function tz(e,t){return(c5[e]||{})[t]}function Pi(e,t){return(d5[e]||{})[t]}function p5(e){return u5[e]||{prefix:null,iconName:null}}function nz(e){var t=f5[e],n=ag("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Wo(){return rg}var og=function(){return{prefix:null,iconName:null,rest:[]}};function Ad(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?Tt:n,o=Fc[r][e],i=Hc[r][e]||Hc[r][o],l=e in fa.styles?e:null;return i||l||null}var m5=($d={},on($d,Tt,Object.keys(Uc[Tt])),on($d,jt,Object.keys(Uc[jt])),$d);function Od(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,o=r===void 0?!1:r,i=(t={},on(t,Tt,"".concat(Ie.cssPrefix,"-").concat(Tt)),on(t,jt,"".concat(Ie.cssPrefix,"-").concat(jt)),t),l=null,s=Tt;(e.includes(i[Tt])||e.some(function(u){return m5[Tt].includes(u)}))&&(s=Tt),(e.includes(i[jt])||e.some(function(u){return m5[jt].includes(u)}))&&(s=jt);var c=e.reduce(function(u,d){var p=ez(Ie.cssPrefix,d);if(Ql[d]?(d=ZD[s].includes(d)?BD[s][d]:d,l=d,u.prefix=d):JD[s].indexOf(d)>-1?(l=d,u.prefix=Ad(d,{family:s})):p?u.iconName=p:d!==Ie.replacementClass&&d!==i[Tt]&&d!==i[jt]&&u.rest.push(d),!o&&u.prefix&&u.iconName){var m=l==="fa"?p5(u.iconName):{},g=Pi(u.prefix,u.iconName);m.prefix&&(l=null),u.iconName=m.iconName||g||u.iconName,u.prefix=m.prefix||u.prefix,u.prefix==="far"&&!Ql.far&&Ql.fas&&!Ie.autoFetchSvg&&(u.prefix="fas")}return u},og());return(e.includes("fa-brands")||e.includes("fab"))&&(c.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(c.prefix="fad"),!c.prefix&&s===jt&&(Ql.fass||Ie.autoFetchSvg)&&(c.prefix="fass",c.iconName=Pi(c.prefix,c.iconName)||c.iconName),(c.prefix==="fa"||l==="fa")&&(c.prefix=Wo()||"fas"),c}var rz=function(){function e(){mD(this,e),this.definitions={}}return gD(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var l=o.reduce(this._pullDefinitions,{});Object.keys(l).forEach(function(s){n.definitions[s]=Te(Te({},n.definitions[s]||{}),l[s]),ng(s,l[s]);var c=Uc[Tt][s];c&&ng(c,l[s]),h5()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var o=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(o).map(function(i){var l=o[i],s=l.prefix,c=l.iconName,u=l.icon,d=u[2];n[s]||(n[s]={}),d.length>0&&d.forEach(function(p){typeof p=="string"&&(n[s][p]=u)}),n[s][c]=u}),n}}]),e}(),g5=[],es={},ts={},az=Object.keys(ts);function oz(e,t){var n=t.mixoutsTo;return g5=e,es={},Object.keys(ts).forEach(function(r){az.indexOf(r)===-1&&delete ts[r]}),g5.forEach(function(r){var o=r.mixout?r.mixout():{};if(Object.keys(o).forEach(function(l){typeof o[l]=="function"&&(n[l]=o[l]),bd(o[l])==="object"&&Object.keys(o[l]).forEach(function(s){n[l]||(n[l]={}),n[l][s]=o[l][s]})}),r.hooks){var i=r.hooks();Object.keys(i).forEach(function(l){es[l]||(es[l]=[]),es[l].push(i[l])})}r.provides&&r.provides(ts)}),n}function ig(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=es[e]||[];return i.forEach(function(l){t=l.apply(null,[t].concat(r))}),t}function Ii(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=es[e]||[];o.forEach(function(i){i.apply(null,n)})}function co(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return ts[e]?ts[e].apply(null,t):void 0}function lg(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Wo();if(t)return t=Pi(n,t)||t,i5(y5.definitions,n,t)||i5(fa.styles,n,t)}var y5=new rz,iz=function(){Ie.autoReplaceSvg=!1,Ie.observeMutations=!1,Ii("noAuto")},lz={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return io?(Ii("beforeI2svg",t),co("pseudoElements2svg",t),co("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;Ie.autoReplaceSvg===!1&&(Ie.autoReplaceSvg=!0),Ie.observeMutations=!0,GD(function(){cz({autoReplaceSvgRoot:n}),Ii("watch",t)})}},sz={icon:function(t){if(t===null)return null;if(bd(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Pi(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=Ad(t[0]);return{prefix:r,iconName:Pi(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(Ie.cssPrefix,"-"))>-1||t.match(ND))){var o=Od(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||Wo(),iconName:Pi(o.prefix,o.iconName)||o.iconName}}if(typeof t=="string"){var i=Wo();return{prefix:i,iconName:Pi(i,t)||t}}}},kr={noAuto:iz,config:Ie,dom:lz,parse:sz,library:y5,findIconDefinition:lg,toHtml:qc},cz=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?Nt:n;(Object.keys(fa.styles).length>0||Ie.autoFetchSvg)&&io&&Ie.autoReplaceSvg&&kr.dom.i2svg({node:r})};function Md(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return qc(r)})}}),Object.defineProperty(e,"node",{get:function(){if(io){var r=Nt.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function uz(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,l=e.transform;if(J0(l)&&n.found&&!r.found){var s=n.width,c=n.height,u={x:s/c/2,y:.5};o.style=Ed(Te(Te({},i),{},{"transform-origin":"".concat(u.x+l.x/16,"em ").concat(u.y+l.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function fz(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol,l=i===!0?"".concat(t,"-").concat(Ie.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Te(Te({},o),{},{id:l}),children:r}]}]}function sg(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,l=e.transform,s=e.symbol,c=e.title,u=e.maskId,d=e.titleId,p=e.extra,m=e.watchable,g=m===void 0?!1:m,v=r.found?r:n,w=v.width,_=v.height,y=o==="fak",C=[Ie.replacementClass,i?"".concat(Ie.cssPrefix,"-").concat(i):""].filter(function(T){return p.classes.indexOf(T)===-1}).filter(function(T){return T!==""||!!T}).concat(p.classes).join(" "),S={children:[],attributes:Te(Te({},p.attributes),{},{"data-prefix":o,"data-icon":i,class:C,role:p.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(w," ").concat(_)})},k=y&&!~p.classes.indexOf("fa-fw")?{width:"".concat(w/_*16*.0625,"em")}:{};g&&(S.attributes[Oi]=""),c&&(S.children.push({tag:"title",attributes:{id:S.attributes["aria-labelledby"]||"title-".concat(d||Yc())},children:[c]}),delete S.attributes.title);var x=Te(Te({},S),{},{prefix:o,iconName:i,main:n,mask:r,maskId:u,transform:l,symbol:s,styles:Te(Te({},k),p.styles)}),B=r.found&&n.found?co("generateAbstractMask",x)||{children:[],attributes:{}}:co("generateAbstractIcon",x)||{children:[],attributes:{}},N=B.children,$=B.attributes;return x.children=N,x.attributes=$,s?fz(x):uz(x)}function v5(e){var t=e.content,n=e.width,r=e.height,o=e.transform,i=e.title,l=e.extra,s=e.watchable,c=s===void 0?!1:s,u=Te(Te(Te({},l.attributes),i?{title:i}:{}),{},{class:l.classes.join(" ")});c&&(u[Oi]="");var d=Te({},l.styles);J0(o)&&(d.transform=HD({transform:o,startCentered:!0,width:n,height:r}),d["-webkit-transform"]=d.transform);var p=Ed(d);p.length>0&&(u.style=p);var m=[];return m.push({tag:"span",attributes:u,children:[t]}),i&&m.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),m}function dz(e){var t=e.content,n=e.title,r=e.extra,o=Te(Te(Te({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=Ed(r.styles);i.length>0&&(o.style=i);var l=[];return l.push({tag:"span",attributes:o,children:[t]}),n&&l.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),l}var cg=fa.styles;function ug(e){var t=e[0],n=e[1],r=e.slice(4),o=U0(r,1),i=o[0],l=null;return Array.isArray(i)?l={tag:"g",attributes:{class:"".concat(Ie.cssPrefix,"-").concat(Mi.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ie.cssPrefix,"-").concat(Mi.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Ie.cssPrefix,"-").concat(Mi.PRIMARY),fill:"currentColor",d:i[1]}}]}:l={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:l}}var hz={found:!1,width:512,height:512};function pz(e,t){!J6&&!Ie.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function fg(e,t){var n=t;return t==="fa"&&Ie.styleDefault!==null&&(t=Wo()),new Promise(function(r,o){if(co("missingIconAbstract"),n==="fa"){var i=p5(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&cg[t]&&cg[t][e]){var l=cg[t][e];return r(ug(l))}pz(e,t),r(Te(Te({},hz),{},{icon:Ie.showMissingIcons&&e?co("missingIconAbstract")||{}:{}}))})}var b5=function(){},dg=Ie.measurePerformance&&_d&&_d.mark&&_d.measure?_d:{mark:b5,measure:b5},Kc='FA "6.5.1"',mz=function(t){return dg.mark("".concat(Kc," ").concat(t," begins")),function(){return _5(t)}},_5=function(t){dg.mark("".concat(Kc," ").concat(t," ends")),dg.measure("".concat(Kc," ").concat(t),"".concat(Kc," ").concat(t," begins"),"".concat(Kc," ").concat(t," ends"))},hg={begin:mz,end:_5},Pd=function(){};function w5(e){var t=e.getAttribute?e.getAttribute(Oi):null;return typeof t=="string"}function gz(e){var t=e.getAttribute?e.getAttribute(q0):null,n=e.getAttribute?e.getAttribute(K0):null;return t&&n}function yz(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Ie.replacementClass)}function vz(){if(Ie.autoReplaceSvg===!0)return Id.replace;var e=Id[Ie.autoReplaceSvg];return e||Id.replace}function bz(e){return Nt.createElementNS("http://www.w3.org/2000/svg",e)}function _z(e){return Nt.createElement(e)}function S5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?bz:_z:n;if(typeof e=="string")return Nt.createTextNode(e);var o=r(e.tag);Object.keys(e.attributes||[]).forEach(function(l){o.setAttribute(l,e.attributes[l])});var i=e.children||[];return i.forEach(function(l){o.appendChild(S5(l,{ceFn:r}))}),o}function wz(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Id={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(o){n.parentNode.insertBefore(S5(o),n)}),n.getAttribute(Oi)===null&&Ie.keepOriginalSource){var r=Nt.createComment(wz(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~Z0(n).indexOf(Ie.replacementClass))return Id.replace(t);var o=new RegExp("".concat(Ie.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var i=r[0].attributes.class.split(" ").reduce(function(s,c){return c===Ie.replacementClass||c.match(o)?s.toSvg.push(c):s.toNode.push(c),s},{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var l=r.map(function(s){return qc(s)}).join(`
|
|
781
|
-
`);n.setAttribute(Oi,""),n.innerHTML=l}};function k5(e){e()}function C5(e,t){var n=typeof t=="function"?t:Pd;if(e.length===0)n();else{var r=k5;Ie.mutateApproach===xD&&(r=Ho.requestAnimationFrame||k5),r(function(){var o=vz(),i=hg.begin("mutate");e.map(o),i(),n()})}}var pg=!1;function x5(){pg=!0}function mg(){pg=!1}var Vd=null;function E5(e){if(Y6&&Ie.observeMutations){var t=e.treeCallback,n=t===void 0?Pd:t,r=e.nodeCallback,o=r===void 0?Pd:r,i=e.pseudoElementsCallback,l=i===void 0?Pd:i,s=e.observeMutationsRoot,c=s===void 0?Nt:s;Vd=new Y6(function(u){if(!pg){var d=Wo();Jl(u).forEach(function(p){if(p.type==="childList"&&p.addedNodes.length>0&&!w5(p.addedNodes[0])&&(Ie.searchPseudoElements&&l(p.target),n(p.target)),p.type==="attributes"&&p.target.parentNode&&Ie.searchPseudoElements&&l(p.target.parentNode),p.type==="attributes"&&w5(p.target)&&~OD.indexOf(p.attributeName))if(p.attributeName==="class"&&gz(p.target)){var m=Od(Z0(p.target)),g=m.prefix,v=m.iconName;p.target.setAttribute(q0,g||d),v&&p.target.setAttribute(K0,v)}else yz(p.target)&&o(p.target)})}}),io&&Vd.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Sz(){Vd&&Vd.disconnect()}function kz(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,o){var i=o.split(":"),l=i[0],s=i.slice(1);return l&&s.length>0&&(r[l]=s.join(":").trim()),r},{})),n}function Cz(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",o=Od(Z0(e));return o.prefix||(o.prefix=Wo()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=tz(o.prefix,e.innerText)||ag(o.prefix,tg(e.innerText))),!o.iconName&&Ie.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function xz(e){var t=Jl(e.attributes).reduce(function(o,i){return o.name!=="class"&&o.name!=="style"&&(o[i.name]=i.value),o},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Ie.autoA11y&&(n?t["aria-labelledby"]="".concat(Ie.replacementClass,"-title-").concat(r||Yc()):(t["aria-hidden"]="true",t.focusable="false")),t}function Ez(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Oa,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function B5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=Cz(e),r=n.iconName,o=n.prefix,i=n.rest,l=xz(e),s=ig("parseNodeAttributes",{},e),c=t.styleParser?kz(e):[];return Te({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:Oa,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:c,attributes:l}},s)}var Bz=fa.styles;function N5(e){var t=Ie.autoReplaceSvg==="nest"?B5(e,{styleParser:!1}):B5(e);return~t.extra.classes.indexOf(Q6)?co("generateLayersText",e,t):co("generateSvgReplacementMutation",e,t)}var jo=new Set;X0.map(function(e){jo.add("fa-".concat(e))}),Object.keys(Fc[Tt]).map(jo.add.bind(jo)),Object.keys(Fc[jt]).map(jo.add.bind(jo)),jo=Dc(jo);function T5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!io)return Promise.resolve();var n=Nt.documentElement.classList,r=function(p){return n.add("".concat(Z6,"-").concat(p))},o=function(p){return n.remove("".concat(Z6,"-").concat(p))},i=Ie.autoFetchSvg?jo:X0.map(function(d){return"fa-".concat(d)}).concat(Object.keys(Bz));i.includes("fa")||i.push("fa");var l=[".".concat(Q6,":not([").concat(Oi,"])")].concat(i.map(function(d){return".".concat(d,":not([").concat(Oi,"])")})).join(", ");if(l.length===0)return Promise.resolve();var s=[];try{s=Jl(e.querySelectorAll(l))}catch(d){}if(s.length>0)r("pending"),o("complete");else return Promise.resolve();var c=hg.begin("onTree"),u=s.reduce(function(d,p){try{var m=N5(p);m&&d.push(m)}catch(g){J6||g.name==="MissingIcon"&&console.error(g)}return d},[]);return new Promise(function(d,p){Promise.all(u).then(function(m){C5(m,function(){r("active"),r("complete"),o("pending"),typeof t=="function"&&t(),c(),d()})}).catch(function(m){c(),p(m)})})}function Nz(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;N5(e).then(function(n){n&&C5([n],t)})}function Tz(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:lg(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:lg(o||{})),e(r,Te(Te({},n),{},{mask:o}))}}var $z=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,o=r===void 0?Oa:r,i=n.symbol,l=i===void 0?!1:i,s=n.mask,c=s===void 0?null:s,u=n.maskId,d=u===void 0?null:u,p=n.title,m=p===void 0?null:p,g=n.titleId,v=g===void 0?null:g,w=n.classes,_=w===void 0?[]:w,y=n.attributes,C=y===void 0?{}:y,S=n.styles,k=S===void 0?{}:S;if(t){var x=t.prefix,B=t.iconName,N=t.icon;return Md(Te({type:"icon"},t),function(){return Ii("beforeDOMElementCreation",{iconDefinition:t,params:n}),Ie.autoA11y&&(m?C["aria-labelledby"]="".concat(Ie.replacementClass,"-title-").concat(v||Yc()):(C["aria-hidden"]="true",C.focusable="false")),sg({icons:{main:ug(N),mask:c?ug(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:B,transform:Te(Te({},Oa),o),symbol:l,title:m,maskId:d,titleId:v,extra:{attributes:C,styles:k,classes:_}})})}},Az={mixout:function(){return{icon:Tz($z)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=T5,n.nodeCallback=Nz,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,o=r===void 0?Nt:r,i=n.callback,l=i===void 0?function(){}:i;return T5(o,l)},t.generateSvgReplacementMutation=function(n,r){var o=r.iconName,i=r.title,l=r.titleId,s=r.prefix,c=r.transform,u=r.symbol,d=r.mask,p=r.maskId,m=r.extra;return new Promise(function(g,v){Promise.all([fg(o,s),d.iconName?fg(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(w){var _=U0(w,2),y=_[0],C=_[1];g([n,sg({icons:{main:y,mask:C},prefix:s,iconName:o,transform:c,symbol:u,maskId:p,title:i,titleId:l,extra:m,watchable:!0})])}).catch(v)})},t.generateAbstractIcon=function(n){var r=n.children,o=n.attributes,i=n.main,l=n.transform,s=n.styles,c=Ed(s);c.length>0&&(o.style=c);var u;return J0(l)&&(u=co("generateAbstractTransformGrouping",{main:i,transform:l,containerWidth:i.width,iconWidth:i.width})),r.push(u||i.icon),{children:r,attributes:o}}}},Oz={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.classes,i=o===void 0?[]:o;return Md({type:"layer"},function(){Ii("beforeDOMElementCreation",{assembler:n,params:r});var l=[];return n(function(s){Array.isArray(s)?s.map(function(c){l=l.concat(c.abstract)}):l=l.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(Ie.cssPrefix,"-layers")].concat(Dc(i)).join(" ")},children:l}]})}}}},Mz={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.title,i=o===void 0?null:o,l=r.classes,s=l===void 0?[]:l,c=r.attributes,u=c===void 0?{}:c,d=r.styles,p=d===void 0?{}:d;return Md({type:"counter",content:n},function(){return Ii("beforeDOMElementCreation",{content:n,params:r}),dz({content:n.toString(),title:i,extra:{attributes:u,styles:p,classes:["".concat(Ie.cssPrefix,"-layers-counter")].concat(Dc(s))}})})}}}},Pz={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.transform,i=o===void 0?Oa:o,l=r.title,s=l===void 0?null:l,c=r.classes,u=c===void 0?[]:c,d=r.attributes,p=d===void 0?{}:d,m=r.styles,g=m===void 0?{}:m;return Md({type:"text",content:n},function(){return Ii("beforeDOMElementCreation",{content:n,params:r}),v5({content:n,transform:Te(Te({},Oa),i),title:s,extra:{attributes:p,styles:g,classes:["".concat(Ie.cssPrefix,"-layers-text")].concat(Dc(u))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var o=r.title,i=r.transform,l=r.extra,s=null,c=null;if(q6){var u=parseInt(getComputedStyle(n).fontSize,10),d=n.getBoundingClientRect();s=d.width/u,c=d.height/u}return Ie.autoA11y&&!o&&(l.attributes["aria-hidden"]="true"),Promise.resolve([n,v5({content:n.innerHTML,width:s,height:c,transform:i,title:o,extra:l,watchable:!0})])}}},Iz=new RegExp('"',"ug"),$5=[1105920,1112319];function Vz(e){var t=e.replace(Iz,""),n=KD(t,0),r=n>=$5[0]&&n<=$5[1],o=t.length===2?t[0]===t[1]:!1;return{value:tg(o?t[0]:t),isSecondary:r||o}}function A5(e,t){var n="".concat(CD).concat(t.replace(":","-"));return new Promise(function(r,o){if(e.getAttribute(n)!==null)return r();var i=Jl(e.children),l=i.filter(function(N){return N.getAttribute(Y0)===t})[0],s=Ho.getComputedStyle(e,t),c=s.getPropertyValue("font-family").match(TD),u=s.getPropertyValue("font-weight"),d=s.getPropertyValue("content");if(l&&!c)return e.removeChild(l),r();if(c&&d!=="none"&&d!==""){var p=s.getPropertyValue("content"),m=~["Sharp"].indexOf(c[2])?jt:Tt,g=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(c[2])?Hc[m][c[2].toLowerCase()]:$D[m][u],v=Vz(p),w=v.value,_=v.isSecondary,y=c[0].startsWith("FontAwesome"),C=ag(g,w),S=C;if(y){var k=nz(w);k.iconName&&k.prefix&&(C=k.iconName,g=k.prefix)}if(C&&!_&&(!l||l.getAttribute(q0)!==g||l.getAttribute(K0)!==S)){e.setAttribute(n,S),l&&e.removeChild(l);var x=Ez(),B=x.extra;B.attributes[Y0]=t,fg(C,g).then(function(N){var $=sg(Te(Te({},x),{},{icons:{main:N,mask:og()},prefix:g,iconName:S,extra:B,watchable:!0})),T=Nt.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(T,e.firstChild):e.appendChild(T),T.outerHTML=$.map(function(M){return qc(M)}).join(`
|
|
782
|
-
`),e.removeAttribute(n),r()}).catch(o)}else r()}else r()})}function Rz(e){return Promise.all([A5(e,"::before"),A5(e,"::after")])}function Lz(e){return e.parentNode!==document.head&&!~ED.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Y0)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function O5(e){if(io)return new Promise(function(t,n){var r=Jl(e.querySelectorAll("*")).filter(Lz).map(Rz),o=hg.begin("searchPseudoElements");x5(),Promise.all(r).then(function(){o(),mg(),t()}).catch(function(){o(),mg(),n()})})}var Dz={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=O5,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,o=r===void 0?Nt:r;Ie.searchPseudoElements&&O5(o)}}},M5=!1,zz={mixout:function(){return{dom:{unwatch:function(){x5(),M5=!0}}}},hooks:function(){return{bootstrap:function(){E5(ig("mutationObserverCallbacks",{}))},noAuto:function(){Sz()},watch:function(n){var r=n.observeMutationsRoot;M5?mg():E5(ig("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},P5=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,o){var i=o.toLowerCase().split("-"),l=i[0],s=i.slice(1).join("-");if(l&&s==="h")return r.flipX=!0,r;if(l&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(l){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},n)},Fz={mixout:function(){return{parse:{transform:function(n){return P5(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var o=r.getAttribute("data-fa-transform");return o&&(n.transform=P5(o)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,o=n.transform,i=n.containerWidth,l=n.iconWidth,s={transform:"translate(".concat(i/2," 256)")},c="translate(".concat(o.x*32,", ").concat(o.y*32,") "),u="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),d="rotate(".concat(o.rotate," 0 0)"),p={transform:"".concat(c," ").concat(u," ").concat(d)},m={transform:"translate(".concat(l/2*-1," -256)")},g={outer:s,inner:p,path:m};return{tag:"g",attributes:Te({},g.outer),children:[{tag:"g",attributes:Te({},g.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Te(Te({},r.icon.attributes),g.path)}]}]}}}},gg={x:0,y:0,width:"100%",height:"100%"};function I5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Hz(e){return e.tag==="g"?e.children:[e]}var Uz={hooks:function(){return{parseNodeAttributes:function(n,r){var o=r.getAttribute("data-fa-mask"),i=o?Od(o.split(" ").map(function(l){return l.trim()})):og();return i.prefix||(i.prefix=Wo()),n.mask=i,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,o=n.attributes,i=n.main,l=n.mask,s=n.maskId,c=n.transform,u=i.width,d=i.icon,p=l.width,m=l.icon,g=FD({transform:c,containerWidth:p,iconWidth:u}),v={tag:"rect",attributes:Te(Te({},gg),{},{fill:"white"})},w=d.children?{children:d.children.map(I5)}:{},_={tag:"g",attributes:Te({},g.inner),children:[I5(Te({tag:d.tag,attributes:Te(Te({},d.attributes),g.path)},w))]},y={tag:"g",attributes:Te({},g.outer),children:[_]},C="mask-".concat(s||Yc()),S="clip-".concat(s||Yc()),k={tag:"mask",attributes:Te(Te({},gg),{},{id:C,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,y]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:S},children:Hz(m)},k]};return r.push(x,{tag:"rect",attributes:Te({fill:"currentColor","clip-path":"url(#".concat(S,")"),mask:"url(#".concat(C,")")},gg)}),{children:r,attributes:o}}}},Wz={provides:function(t){var n=!1;Ho.matchMedia&&(n=Ho.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],o={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:Te(Te({},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"})});var l=Te(Te({},i),{},{attributeName:"opacity"}),s={tag:"circle",attributes:Te(Te({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||s.children.push({tag:"animate",attributes:Te(Te({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Te(Te({},l),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:Te(Te({},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:n?[]:[{tag:"animate",attributes:Te(Te({},l),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:Te(Te({},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:Te(Te({},l),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},jz={hooks:function(){return{parseNodeAttributes:function(n,r){var o=r.getAttribute("data-fa-symbol"),i=o===null?!1:o===""?!0:o;return n.symbol=i,n}}}},Gz=[WD,Az,Oz,Mz,Pz,Dz,zz,Fz,Uz,Wz,jz];oz(Gz,{mixoutsTo:kr}),kr.noAuto;var V5=kr.config,da=kr.library;kr.dom;var Rd=kr.parse;kr.findIconDefinition,kr.toHtml;var Yz=kr.icon;kr.layer;var qz=kr.text;kr.counter;function R5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ha(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?R5(Object(n),!0).forEach(function(r){lr(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ld(e){"@babel/helpers - typeof";return Ld=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ld(e)}function lr(e,t,n){return t=nF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kz(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Xz(e,t){if(e==null)return{};var n=Kz(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function yg(e){return Zz(e)||Jz(e)||Qz(e)||eF()}function Zz(e){if(Array.isArray(e))return vg(e)}function Jz(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Qz(e,t){if(e){if(typeof e=="string")return vg(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vg(e,t)}}function vg(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function eF(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
783
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tF(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function nF(e){var t=tF(e,"string");return typeof t=="symbol"?t:String(t)}var rF=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},L5={exports:{}};(function(e){(function(t){var n=function(y,C,S){if(!u(C)||p(C)||m(C)||g(C)||c(C))return C;var k,x=0,B=0;if(d(C))for(k=[],B=C.length;x<B;x++)k.push(n(y,C[x],S));else{k={};for(var N in C)Object.prototype.hasOwnProperty.call(C,N)&&(k[y(N,S)]=n(y,C[N],S))}return k},r=function(y,C){C=C||{};var S=C.separator||"_",k=C.split||/(?=[A-Z])/;return y.split(k).join(S)},o=function(y){return v(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(C,S){return S?S.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},i=function(y){var C=o(y);return C.substr(0,1).toUpperCase()+C.substr(1)},l=function(y,C){return r(y,C).toLowerCase()},s=Object.prototype.toString,c=function(y){return typeof y=="function"},u=function(y){return y===Object(y)},d=function(y){return s.call(y)=="[object Array]"},p=function(y){return s.call(y)=="[object Date]"},m=function(y){return s.call(y)=="[object RegExp]"},g=function(y){return s.call(y)=="[object Boolean]"},v=function(y){return y=y-0,y===y},w=function(y,C){var S=C&&"process"in C?C.process:C;return typeof S!="function"?y:function(k,x){return S(k,y,x)}},_={camelize:o,decamelize:l,pascalize:i,depascalize:l,camelizeKeys:function(y,C){return n(w(o,C),y)},decamelizeKeys:function(y,C){return n(w(l,C),y,C)},pascalizeKeys:function(y,C){return n(w(i,C),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=_:t.humps=_})(rF)})(L5);var aF=L5.exports,oF=["class","style"];function iF(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),o=aF.camelize(n.slice(0,r)),i=n.slice(r+1).trim();return t[o]=i,t},{})}function lF(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function bg(e){var t=arguments.length>1&&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(c){return bg(c)}),o=Object.keys(e.attributes||{}).reduce(function(c,u){var d=e.attributes[u];switch(u){case"class":c.class=lF(d);break;case"style":c.style=iF(d);break;default:c.attrs[u]=d}return c},{attrs:{},class:{},style:{}});n.class;var i=n.style,l=i===void 0?{}:i,s=Xz(n,oF);return a.h(e.tag,ha(ha(ha({},t),{},{class:o.class,style:ha(ha({},o.style),l)},o.attrs),s),r)}var D5=!1;try{D5=process.env.NODE_ENV==="production"}catch(e){}function sF(){if(!D5&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Xc(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?lr({},e,t):{}}function cF(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"},lr(t,"fa-".concat(e.size),e.size!==null),lr(t,"fa-rotate-".concat(e.rotation),e.rotation!==null),lr(t,"fa-pull-".concat(e.pull),e.pull!==null),lr(t,"fa-swap-opacity",e.swapOpacity),lr(t,"fa-bounce",e.bounce),lr(t,"fa-shake",e.shake),lr(t,"fa-beat",e.beat),lr(t,"fa-fade",e.fade),lr(t,"fa-beat-fade",e.beatFade),lr(t,"fa-flash",e.flash),lr(t,"fa-spin-pulse",e.spinPulse),lr(t,"fa-spin-reverse",e.spinReverse),t);return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function z5(e){if(e&&Ld(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Rd.icon)return Rd.icon(e);if(e===null)return null;if(Ld(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 zn=a.defineComponent({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}},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}},setup:function(t,n){var r=n.attrs,o=a.computed(function(){return z5(t.icon)}),i=a.computed(function(){return Xc("classes",cF(t))}),l=a.computed(function(){return Xc("transform",typeof t.transform=="string"?Rd.transform(t.transform):t.transform)}),s=a.computed(function(){return Xc("mask",z5(t.mask))}),c=a.computed(function(){return Yz(o.value,ha(ha(ha(ha({},i.value),l.value),s.value),{},{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))});a.watch(c,function(d){if(!d)return sF("Could not find one or more icon(s)",o.value,s.value)},{immediate:!0});var u=a.computed(function(){return c.value?bg(c.value.abstract[0],{},r):null});return function(){return u.value}}}),uF=a.defineComponent({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,n){var r=n.slots,o=V5.familyPrefix,i=a.computed(function(){return["".concat(o,"-layers")].concat(yg(t.fixedWidth?["".concat(o,"-fw")]:[]))});return function(){return a.h("div",{class:i.value},r.default?r.default():[])}}});a.defineComponent({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,n){var r=n.attrs,o=V5.familyPrefix,i=a.computed(function(){return Xc("classes",[].concat(yg(t.counter?["".concat(o,"-layers-counter")]:[]),yg(t.position?["".concat(o,"-layers-").concat(t.position)]:[])))}),l=a.computed(function(){return Xc("transform",typeof t.transform=="string"?Rd.transform(t.transform):t.transform)}),s=a.computed(function(){var u=qz(t.value.toString(),ha(ha({},l.value),i.value)),d=u.abstract;return t.counter&&(d[0].attributes.class=d[0].attributes.class.replace("fa-layers-text","")),d[0]}),c=a.computed(function(){return bg(s.value,{},r)});return function(){return c.value}}});var Ma=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function _t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var F5={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="clipboard",r=384,o=512,i=[128203],l="f328",s="M192 0c-41.8 0-77.4 26.7-90.5 64H64C28.7 64 0 92.7 0 128V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H282.5C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM112 192H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z";e.definition={prefix:t,iconName:n,icon:[r,o,i,l,s]},e.faClipboard=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=o,e.ligatures=i,e.unicode=l,e.svgPathData=s,e.aliases=i})(F5);var H5={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="clipboard-check",r=384,o=512,i=[],l="f46c",s="M192 0c-41.8 0-77.4 26.7-90.5 64H64C28.7 64 0 92.7 0 128V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H282.5C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM305 273L177 401c-9.4 9.4-24.6 9.4-33.9 0L79 337c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L271 239c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";e.definition={prefix:t,iconName:n,icon:[r,o,i,l,s]},e.faClipboardCheck=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=o,e.ligatures=i,e.unicode=l,e.svgPathData=s,e.aliases=i})(H5);function fF(){}var dF=fF;const Dd=_t(dF);var U5={exports:{}};/*!
|
|
784
|
-
* clipboard.js v2.0.11
|
|
785
|
-
* https://clipboardjs.com/
|
|
786
|
-
*
|
|
787
|
-
* Licensed MIT © Zeno Rocha
|
|
788
|
-
*/(function(e,t){(function(r,o){e.exports=o()})(Ma,function(){return function(){var n={686:function(i,l,s){s.d(l,{default:function(){return se}});var c=s(279),u=s.n(c),d=s(370),p=s.n(d),m=s(817),g=s.n(m);function v(U){try{return document.execCommand(U)}catch(oe){return!1}}var w=function(oe){var le=g()(oe);return v("cut"),le},_=w;function y(U){var oe=document.documentElement.getAttribute("dir")==="rtl",le=document.createElement("textarea");le.style.fontSize="12pt",le.style.border="0",le.style.padding="0",le.style.margin="0",le.style.position="absolute",le.style[oe?"right":"left"]="-9999px";var ue=window.pageYOffset||document.documentElement.scrollTop;return le.style.top="".concat(ue,"px"),le.setAttribute("readonly",""),le.value=U,le}var C=function(oe,le){var ue=y(oe);le.container.appendChild(ue);var K=g()(ue);return v("copy"),ue.remove(),K},S=function(oe){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ue="";return typeof oe=="string"?ue=C(oe,le):oe instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(oe==null?void 0:oe.type)?ue=C(oe.value,le):(ue=g()(oe),v("copy")),ue},k=S;function x(U){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(le){return typeof le}:x=function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},x(U)}var B=function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=oe.action,ue=le===void 0?"copy":le,K=oe.container,J=oe.target,q=oe.text;if(ue!=="copy"&&ue!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(J!==void 0)if(J&&x(J)==="object"&&J.nodeType===1){if(ue==="copy"&&J.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ue==="cut"&&(J.hasAttribute("readonly")||J.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(q)return k(q,{container:K});if(J)return ue==="cut"?_(J):k(J,{container:K})},N=B;function $(U){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(le){return typeof le}:$=function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},$(U)}function T(U,oe){if(!(U instanceof oe))throw new TypeError("Cannot call a class as a function")}function M(U,oe){for(var le=0;le<oe.length;le++){var ue=oe[le];ue.enumerable=ue.enumerable||!1,ue.configurable=!0,"value"in ue&&(ue.writable=!0),Object.defineProperty(U,ue.key,ue)}}function A(U,oe,le){return oe&&M(U.prototype,oe),le&&M(U,le),U}function F(U,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function");U.prototype=Object.create(oe&&oe.prototype,{constructor:{value:U,writable:!0,configurable:!0}}),oe&&z(U,oe)}function z(U,oe){return z=Object.setPrototypeOf||function(ue,K){return ue.__proto__=K,ue},z(U,oe)}function O(U){var oe=H();return function(){var ue=G(U),K;if(oe){var J=G(this).constructor;K=Reflect.construct(ue,arguments,J)}else K=ue.apply(this,arguments);return L(this,K)}}function L(U,oe){return oe&&($(oe)==="object"||typeof oe=="function")?oe:V(U)}function V(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}function H(){if(typeof Reflect=="undefined"||!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(U){return!1}}function G(U){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(le){return le.__proto__||Object.getPrototypeOf(le)},G(U)}function W(U,oe){var le="data-clipboard-".concat(U);if(oe.hasAttribute(le))return oe.getAttribute(le)}var ne=function(U){F(le,U);var oe=O(le);function le(ue,K){var J;return T(this,le),J=oe.call(this),J.resolveOptions(K),J.listenClick(ue),J}return A(le,[{key:"resolveOptions",value:function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof K.action=="function"?K.action:this.defaultAction,this.target=typeof K.target=="function"?K.target:this.defaultTarget,this.text=typeof K.text=="function"?K.text:this.defaultText,this.container=$(K.container)==="object"?K.container:document.body}},{key:"listenClick",value:function(K){var J=this;this.listener=p()(K,"click",function(q){return J.onClick(q)})}},{key:"onClick",value:function(K){var J=K.delegateTarget||K.currentTarget,q=this.action(J)||"copy",j=N({action:q,container:this.container,target:this.target(J),text:this.text(J)});this.emit(j?"success":"error",{action:q,text:j,trigger:J,clearSelection:function(){J&&J.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(K){return W("action",K)}},{key:"defaultTarget",value:function(K){var J=W("target",K);if(J)return document.querySelector(J)}},{key:"defaultText",value:function(K){return W("text",K)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(K){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return k(K,J)}},{key:"cut",value:function(K){return _(K)}},{key:"isSupported",value:function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],J=typeof K=="string"?[K]:K,q=!!document.queryCommandSupported;return J.forEach(function(j){q=q&&!!document.queryCommandSupported(j)}),q}}]),le}(u()),se=ne},828:function(i){var l=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function c(u,d){for(;u&&u.nodeType!==l;){if(typeof u.matches=="function"&&u.matches(d))return u;u=u.parentNode}}i.exports=c},438:function(i,l,s){var c=s(828);function u(m,g,v,w,_){var y=p.apply(this,arguments);return m.addEventListener(v,y,_),{destroy:function(){m.removeEventListener(v,y,_)}}}function d(m,g,v,w,_){return typeof m.addEventListener=="function"?u.apply(null,arguments):typeof v=="function"?u.bind(null,document).apply(null,arguments):(typeof m=="string"&&(m=document.querySelectorAll(m)),Array.prototype.map.call(m,function(y){return u(y,g,v,w,_)}))}function p(m,g,v,w){return function(_){_.delegateTarget=c(_.target,g),_.delegateTarget&&w.call(m,_)}}i.exports=d},879:function(i,l){l.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},l.nodeList=function(s){var c=Object.prototype.toString.call(s);return s!==void 0&&(c==="[object NodeList]"||c==="[object HTMLCollection]")&&"length"in s&&(s.length===0||l.node(s[0]))},l.string=function(s){return typeof s=="string"||s instanceof String},l.fn=function(s){var c=Object.prototype.toString.call(s);return c==="[object Function]"}},370:function(i,l,s){var c=s(879),u=s(438);function d(v,w,_){if(!v&&!w&&!_)throw new Error("Missing required arguments");if(!c.string(w))throw new TypeError("Second argument must be a String");if(!c.fn(_))throw new TypeError("Third argument must be a Function");if(c.node(v))return p(v,w,_);if(c.nodeList(v))return m(v,w,_);if(c.string(v))return g(v,w,_);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function p(v,w,_){return v.addEventListener(w,_),{destroy:function(){v.removeEventListener(w,_)}}}function m(v,w,_){return Array.prototype.forEach.call(v,function(y){y.addEventListener(w,_)}),{destroy:function(){Array.prototype.forEach.call(v,function(y){y.removeEventListener(w,_)})}}}function g(v,w,_){return u(document.body,v,w,_)}i.exports=d},817:function(i){function l(s){var c;if(s.nodeName==="SELECT")s.focus(),c=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var u=s.hasAttribute("readonly");u||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),u||s.removeAttribute("readonly"),c=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var d=window.getSelection(),p=document.createRange();p.selectNodeContents(s),d.removeAllRanges(),d.addRange(p),c=d.toString()}return c}i.exports=l},279:function(i){function l(){}l.prototype={on:function(s,c,u){var d=this.e||(this.e={});return(d[s]||(d[s]=[])).push({fn:c,ctx:u}),this},once:function(s,c,u){var d=this;function p(){d.off(s,p),c.apply(u,arguments)}return p._=c,this.on(s,p,u)},emit:function(s){var c=[].slice.call(arguments,1),u=((this.e||(this.e={}))[s]||[]).slice(),d=0,p=u.length;for(d;d<p;d++)u[d].fn.apply(u[d].ctx,c);return this},off:function(s,c){var u=this.e||(this.e={}),d=u[s],p=[];if(d&&c)for(var m=0,g=d.length;m<g;m++)d[m].fn!==c&&d[m].fn._!==c&&p.push(d[m]);return p.length?u[s]=p:delete u[s],this}},i.exports=l,i.exports.TinyEmitter=l}},r={};function o(i){if(r[i])return r[i].exports;var l=r[i]={exports:{}};return n[i](l,l.exports,o),l.exports}return function(){o.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(l,{a:l}),l}}(),function(){o.d=function(i,l){for(var s in l)o.o(l,s)&&!o.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:l[s]})}}(),function(){o.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)}}(),o(686)}().default})})(U5);var hF=U5.exports;const pF=_t(hF);function mF(e,t){return new Promise(function(n,r){const o=document.createElement("button");t=typeof t=="object"?t:document.body;const i=new pF(o,{text:()=>e,container:t});i.on("success",()=>{i.destroy(),n()}),i.on("error",l=>{i.destroy(),r(l)}),o.click()})}function gF(e,t){function n(r){r.clipboardData.setData("text/html",e),r.clipboardData.setData("text/plain",t),r.preventDefault()}document.addEventListener("copy",n),document.execCommand("copy"),document.removeEventListener("copy",n)}const yF=a.defineComponent({name:"HapticCopy",components:{BTooltip:Yl,FontAwesomeLayers:uF,Fa:zn},props:{text:{type:String,default:null},plain:{type:String,default:null},hideLabel:{type:Boolean},label:{type:String,default:null},tooltipHideDelay:{type:Number,default:1e3},tooltipPlacement:{type:String,default:"top"},html:{type:Boolean},noTooltip:{type:Boolean}},emits:["attempt","success","error","hideClipboardTooltip"],setup(e,{emit:t,expose:n}){const{t:r,te:o}=Sr(),i=a.ref(null),l=a.ref(null),s=a.ref(""),c=a.ref(void 0),u=a.ref(!1);a.onBeforeMount(()=>{da.add(F5.faClipboard),da.add(H5.faClipboardCheck)});const d=a.computed(()=>{var S;return(S=l.value)!=null&&S.id.length?`#${l.value.id}`:null});function p(){return l.value?mF(e.text,l.value):Promise.resolve()}function m(){return gF(e.text,e.plain||e.text)}function g(){return e.html?m():p()}function v(){return Ge(this,null,function*(){try{t("attempt"),yield g(),yield _("haptic-copy.tooltip.succeed"),t("success")}catch(S){yield _("haptic-copy.tooltip.failed"),t("error",S)}C(y,e.tooltipHideDelay)})}function w(S){return o(S)?r(S):S}function _(S="haptic-copy.tooltip.succeed"){return Ge(this,null,function*(){s.value=w(S),u.value=!0})}function y(){return Ge(this,null,function*(){u.value=!1,c.value=void 0,t("hideClipboardTooltip")})}function C(S=Dd,k=0){return clearTimeout(c.value),new Promise(x=>{c.value=setTimeout(x,k)}).finally(a.nextTick).then(S)}return a.onUnmounted(()=>{y()}),n({hide:y}),{t:r,tooltip:i,el:l,showClipboardTooltip:u,tooltipContainer:d,tooltipContent:s,tooltipTimeout:c,copy:v,closeTooltip:y,openTooltip:_,nextTimeout:C}}});function vF(e,t,n,r,o,i){const l=a.resolveComponent("fa"),s=a.resolveComponent("font-awesome-layers"),c=Yl;return a.openBlock(),a.createElementBlock("button",{id:"hapticCopy",ref:"el",class:"btn haptic-copy",onMouseleave:t[0]||(t[0]=(...u)=>e.closeTooltip&&e.closeTooltip(...u)),onClick:t[1]||(t[1]=a.withModifiers((...u)=>e.copy&&e.copy(...u),["stop"]))},[a.renderSlot(e.$slots,"default",{},()=>[a.createVNode(s,null,{default:a.withCtx(()=>[a.createVNode(a.Transition,{name:"spin"},{default:a.withCtx(()=>[e.tooltipTimeout?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(l,{key:0,class:"haptic-copy__icon",icon:"clipboard"}))]),_:1}),a.createVNode(a.Transition,{name:"spin"},{default:a.withCtx(()=>[e.tooltipTimeout?(a.openBlock(),a.createBlock(l,{key:0,class:"haptic-copy__icon",icon:"clipboard-check"})):a.createCommentVNode("",!0)]),_:1})]),_:1}),a.createElementVNode("span",{class:a.normalizeClass([{"sr-only":e.hideLabel},"ms-1 haptic-copy__label"])},a.toDisplayString(e.label||e.t("haptic-copy.label")),3)]),e.noTooltip?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(c,{key:0,ref:"tooltip","model-value":e.showClipboardTooltip,placement:e.tooltipPlacement,manual:"",noninteractive:"",target:"hapticCopy"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.tooltipContent),1)]),_:1},8,["model-value","placement"]))],544)}const Zc=rt(yF,[["render",vF]]),bF=a.defineComponent({name:"AdvancedLinkForm",components:{BTabs:w0,BTab:_0,BInputGroup:Pc,BInputGroupAppend:id,BFormInput:jl,HapticCopy:Zc},props:{link:{type:String,default:null},title:{type:String,default:null},forms:{type:Array,default:()=>["raw","markdown","rich","html"]},modelValue:{type:Number,default:0},card:{type:Boolean},pills:{type:Boolean},small:{type:Boolean},vertical:{type:Boolean},activeNavItemClass:{type:String,default:null},noFade:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const{t:n}=Sr(),r=a.ref(null),o=a.ref(null),i=a.ref(null),l=a.ref(null),s=a.computed(()=>e.title||e.link),c=a.computed(()=>`[${s.value}](${e.link})`),u=a.computed(()=>`<a href="${e.link}" target="_blank">${s.value}</a>`),d=a.computed(()=>["card","pills","small","vertical"].reduce((S,k)=>(S[`advanced-link-form--${k}`]=e[k],S),{})),p=a.computed(()=>e.small?"sm":"md"),m=a.computed(()=>C=>e.forms.indexOf(C)>-1),g=C=>{C.value instanceof HTMLTextAreaElement&&C.value.select()},v=()=>g(r);function w(){if(!o.value)return;const C=window.getSelection?window.getSelection():null;if(C){const S=document.createRange();S.selectNodeContents(o.value),C.removeAllRanges(),C.addRange(S)}else if(document.body.createTextRange){const S=document.body.createTextRange();S.moveToElementText(o.value),S.select()}}function _(){g(i)}function y(){g(l)}return{t:n,titleOrLink:s,linkAsMarkdown:c,linkAsHtml:u,formClasses:d,size:p,showForm:m,selectRaw:v,selectRich:w,selectMarkdown:_,selectHtml:y}}}),_F=["href"],wF={class:"text-muted mt-2 mb-0"},SF={class:"text-muted mt-2 mb-0"};function kF(e,t,n,r,o,i){const l=jl,s=a.resolveComponent("haptic-copy"),c=id,u=Pc,d=_0,p=w0;return a.openBlock(),a.createBlock(p,{class:a.normalizeClass(["advanced-link-form",e.formClasses]),"content-class":e.card?"mt-0":"mt-3",card:e.card,pills:e.pills,"model-value":e.modelValue,small:e.small,vertical:e.vertical,"active-nav-item-class":e.activeNavItemClass,"no-fade":e.noFade,"onUpdate:modelValue":t[1]||(t[1]=m=>e.$emit("update:modelValue"))},{default:a.withCtx(()=>[e.showForm("raw")?(a.openBlock(),a.createBlock(d,{key:0,title:e.t("advanced-link-form.raw.tab")},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(["advanced-link-form__raw",{small:e.small}])},[a.createVNode(u,{size:e.size},{default:a.withCtx(()=>[a.createVNode(l,{ref:"rawInput",readonly:"","model-value":e.link,class:"advanced-link-form__raw__input",onClick:e.selectRaw},null,8,["model-value","onClick"]),a.createVNode(c,null,{default:a.withCtx(()=>[a.createVNode(s,{class:"btn-secondary",text:e.link,onAttempt:e.selectRaw},null,8,["text","onAttempt"])]),_:1})]),_:1},8,["size"])],2)]),_:1},8,["title"])):a.createCommentVNode("",!0),e.showForm("rich")?(a.openBlock(),a.createBlock(d,{key:1,title:e.t("advanced-link-form.rich.tab")},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(["advanced-link-form__rich",{small:e.small}])},[a.createVNode(u,{size:e.size},{default:a.withCtx(()=>[a.createElementVNode("a",{ref:"richInput",href:e.link,class:"form-control advanced-link-form__rich__input",onClick:t[0]||(t[0]=a.withModifiers((...m)=>e.selectRich&&e.selectRich(...m),["prevent"]))},a.toDisplayString(e.titleOrLink),9,_F),a.createVNode(c,null,{default:a.withCtx(()=>[a.createVNode(s,{class:"btn-secondary",html:"",text:e.linkAsHtml,plain:e.link,onAttempt:e.selectRich},null,8,["text","plain","onAttempt"])]),_:1})]),_:1},8,["size"]),a.createElementVNode("p",wF,a.toDisplayString(e.t("advanced-link-form.rich.description")),1)],2)]),_:1},8,["title"])):a.createCommentVNode("",!0),e.showForm("markdown")?(a.openBlock(),a.createBlock(d,{key:2,title:e.t("advanced-link-form.markdown.tab")},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(["advanced-link-form__markdown",{small:e.small}])},[a.createVNode(u,{size:e.size},{default:a.withCtx(()=>[a.createVNode(l,{ref:"markdownInput",readonly:"","model-value":e.linkAsMarkdown,class:"advanced-link-form__markdown__input",onClick:e.selectMarkdown},null,8,["model-value","onClick"]),a.createVNode(c,null,{default:a.withCtx(()=>[a.createVNode(s,{class:"btn-secondary",text:e.linkAsMarkdown,onAttempt:e.selectMarkdown},null,8,["text","onAttempt"])]),_:1})]),_:1},8,["size"]),a.createElementVNode("p",SF,a.toDisplayString(e.t("advanced-link-form.markdown.description")),1)],2)]),_:1},8,["title"])):a.createCommentVNode("",!0),e.showForm("html")?(a.openBlock(),a.createBlock(d,{key:3,title:e.t("advanced-link-form.html.tab")},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(["advanced-link-form__html",{small:e.small}])},[a.createVNode(u,{size:e.size},{default:a.withCtx(()=>[a.createVNode(l,{ref:"htmlInput",readonly:"",modelValue:e.linkAsHtml,class:"advanced-link-form__html__input",onClick:e.selectHtml},null,8,["modelValue","onClick"]),a.createVNode(c,null,{default:a.withCtx(()=>[a.createVNode(s,{class:"btn-secondary",text:e.linkAsHtml,onAttempt:e.selectHtml},null,8,["text","onAttempt"])]),_:1})]),_:1},8,["size"])],2)]),_:1},8,["title"])):a.createCommentVNode("",!0)]),_:1},8,["content-class","card","pills","model-value","small","vertical","active-nav-item-class","no-fade","class"])}const W5=rt(bF,[["render",kF],["__scopeId","data-v-403ae431"]]);var zd={exports:{}};/**
|
|
789
|
-
* @license
|
|
790
|
-
* Lodash <https://lodash.com/>
|
|
791
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
792
|
-
* Released under MIT license <https://lodash.com/license>
|
|
793
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
794
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
795
|
-
*/zd.exports,function(e,t){(function(){var n,r="4.17.21",o=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",s="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",p=1,m=2,g=4,v=1,w=2,_=1,y=2,C=4,S=8,k=16,x=32,B=64,N=128,$=256,T=512,M=30,A="...",F=800,z=16,O=1,L=2,V=3,H=1/0,G=9007199254740991,W=17976931348623157e292,ne=NaN,se=4294967295,U=se-1,oe=se>>>1,le=[["ary",N],["bind",_],["bindKey",y],["curry",S],["curryRight",k],["flip",T],["partial",x],["partialRight",B],["rearg",$]],ue="[object Arguments]",K="[object Array]",J="[object AsyncFunction]",q="[object Boolean]",j="[object Date]",re="[object DOMException]",X="[object Error]",Q="[object Function]",ye="[object GeneratorFunction]",_e="[object Map]",Ne="[object Number]",ke="[object Null]",ee="[object Object]",he="[object Promise]",Ke="[object Proxy]",Fe="[object RegExp]",ut="[object Set]",be="[object String]",Ee="[object Symbol]",Ye="[object Undefined]",pt="[object WeakMap]",qe="[object WeakSet]",ce="[object ArrayBuffer]",ge="[object DataView]",Se="[object Float32Array]",De="[object Float64Array]",Zt="[object Int8Array]",yn="[object Int16Array]",hr="[object Int32Array]",In="[object Uint8Array]",qa="[object Uint8ClampedArray]",di="[object Uint16Array]",we="[object Uint32Array]",Ae=/\b__p \+= '';/g,Pe=/\b(__p \+=) '' \+/g,mt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,er=/&(?:amp|lt|gt|quot|#39);/g,Br=/[&<>"']/g,hi=RegExp(er.source),t_=RegExp(Br.source),Hm=/<%-([\s\S]+?)%>/g,Um=/<%([\s\S]+?)%>/g,JN=/<%=([\s\S]+?)%>/g,__e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,w_e=/^\w*$/,S_e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n_=/[\\^$.*+?()[\]{}|]/g,k_e=RegExp(n_.source),r_=/^\s+/,C_e=/\s/,x_e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,E_e=/\{\n\/\* \[wrapped with (.+)\] \*/,B_e=/,? & /,N_e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,T_e=/[()=,{}\[\]\/\s]/,$_e=/\\(\\)?/g,A_e=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,QN=/\w*$/,O_e=/^[-+]0x[0-9a-f]+$/i,M_e=/^0b[01]+$/i,P_e=/^\[object .+?Constructor\]$/,I_e=/^0o[0-7]+$/i,V_e=/^(?:0|[1-9]\d*)$/,R_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Wm=/($^)/,L_e=/['\n\r\u2028\u2029\\]/g,jm="\\ud800-\\udfff",D_e="\\u0300-\\u036f",z_e="\\ufe20-\\ufe2f",F_e="\\u20d0-\\u20ff",eT=D_e+z_e+F_e,tT="\\u2700-\\u27bf",nT="a-z\\xdf-\\xf6\\xf8-\\xff",H_e="\\xac\\xb1\\xd7\\xf7",U_e="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",W_e="\\u2000-\\u206f",j_e=" \\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",rT="A-Z\\xc0-\\xd6\\xd8-\\xde",aT="\\ufe0e\\ufe0f",oT=H_e+U_e+W_e+j_e,a_="['’]",G_e="["+jm+"]",iT="["+oT+"]",Gm="["+eT+"]",lT="\\d+",Y_e="["+tT+"]",sT="["+nT+"]",cT="[^"+jm+oT+lT+tT+nT+rT+"]",o_="\\ud83c[\\udffb-\\udfff]",q_e="(?:"+Gm+"|"+o_+")",uT="[^"+jm+"]",i_="(?:\\ud83c[\\udde6-\\uddff]){2}",l_="[\\ud800-\\udbff][\\udc00-\\udfff]",hc="["+rT+"]",fT="\\u200d",dT="(?:"+sT+"|"+cT+")",K_e="(?:"+hc+"|"+cT+")",hT="(?:"+a_+"(?:d|ll|m|re|s|t|ve))?",pT="(?:"+a_+"(?:D|LL|M|RE|S|T|VE))?",mT=q_e+"?",gT="["+aT+"]?",X_e="(?:"+fT+"(?:"+[uT,i_,l_].join("|")+")"+gT+mT+")*",Z_e="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",J_e="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",yT=gT+mT+X_e,Q_e="(?:"+[Y_e,i_,l_].join("|")+")"+yT,e3e="(?:"+[uT+Gm+"?",Gm,i_,l_,G_e].join("|")+")",t3e=RegExp(a_,"g"),n3e=RegExp(Gm,"g"),s_=RegExp(o_+"(?="+o_+")|"+e3e+yT,"g"),r3e=RegExp([hc+"?"+sT+"+"+hT+"(?="+[iT,hc,"$"].join("|")+")",K_e+"+"+pT+"(?="+[iT,hc+dT,"$"].join("|")+")",hc+"?"+dT+"+"+hT,hc+"+"+pT,J_e,Z_e,lT,Q_e].join("|"),"g"),a3e=RegExp("["+fT+jm+eT+aT+"]"),o3e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,i3e=["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"],l3e=-1,Ot={};Ot[Se]=Ot[De]=Ot[Zt]=Ot[yn]=Ot[hr]=Ot[In]=Ot[qa]=Ot[di]=Ot[we]=!0,Ot[ue]=Ot[K]=Ot[ce]=Ot[q]=Ot[ge]=Ot[j]=Ot[X]=Ot[Q]=Ot[_e]=Ot[Ne]=Ot[ee]=Ot[Fe]=Ot[ut]=Ot[be]=Ot[pt]=!1;var Bt={};Bt[ue]=Bt[K]=Bt[ce]=Bt[ge]=Bt[q]=Bt[j]=Bt[Se]=Bt[De]=Bt[Zt]=Bt[yn]=Bt[hr]=Bt[_e]=Bt[Ne]=Bt[ee]=Bt[Fe]=Bt[ut]=Bt[be]=Bt[Ee]=Bt[In]=Bt[qa]=Bt[di]=Bt[we]=!0,Bt[X]=Bt[Q]=Bt[pt]=!1;var s3e={À:"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"},c3e={"&":"&","<":"<",">":">",'"':""","'":"'"},u3e={"&":"&","<":"<",">":">",""":'"',"'":"'"},f3e={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},d3e=parseFloat,h3e=parseInt,vT=typeof Ma=="object"&&Ma&&Ma.Object===Object&&Ma,p3e=typeof self=="object"&&self&&self.Object===Object&&self,kn=vT||p3e||Function("return this")(),c_=t&&!t.nodeType&&t,kl=c_&&!0&&e&&!e.nodeType&&e,bT=kl&&kl.exports===c_,u_=bT&&vT.process,Xr=function(){try{var te=kl&&kl.require&&kl.require("util").types;return te||u_&&u_.binding&&u_.binding("util")}catch(fe){}}(),_T=Xr&&Xr.isArrayBuffer,wT=Xr&&Xr.isDate,ST=Xr&&Xr.isMap,kT=Xr&&Xr.isRegExp,CT=Xr&&Xr.isSet,xT=Xr&&Xr.isTypedArray;function Nr(te,fe,ie){switch(ie.length){case 0:return te.call(fe);case 1:return te.call(fe,ie[0]);case 2:return te.call(fe,ie[0],ie[1]);case 3:return te.call(fe,ie[0],ie[1],ie[2])}return te.apply(fe,ie)}function m3e(te,fe,ie,Oe){for(var Xe=-1,gt=te==null?0:te.length;++Xe<gt;){var cn=te[Xe];fe(Oe,cn,ie(cn),te)}return Oe}function Zr(te,fe){for(var ie=-1,Oe=te==null?0:te.length;++ie<Oe&&fe(te[ie],ie,te)!==!1;);return te}function g3e(te,fe){for(var ie=te==null?0:te.length;ie--&&fe(te[ie],ie,te)!==!1;);return te}function ET(te,fe){for(var ie=-1,Oe=te==null?0:te.length;++ie<Oe;)if(!fe(te[ie],ie,te))return!1;return!0}function pi(te,fe){for(var ie=-1,Oe=te==null?0:te.length,Xe=0,gt=[];++ie<Oe;){var cn=te[ie];fe(cn,ie,te)&&(gt[Xe++]=cn)}return gt}function Ym(te,fe){var ie=te==null?0:te.length;return!!ie&&pc(te,fe,0)>-1}function f_(te,fe,ie){for(var Oe=-1,Xe=te==null?0:te.length;++Oe<Xe;)if(ie(fe,te[Oe]))return!0;return!1}function Rt(te,fe){for(var ie=-1,Oe=te==null?0:te.length,Xe=Array(Oe);++ie<Oe;)Xe[ie]=fe(te[ie],ie,te);return Xe}function mi(te,fe){for(var ie=-1,Oe=fe.length,Xe=te.length;++ie<Oe;)te[Xe+ie]=fe[ie];return te}function d_(te,fe,ie,Oe){var Xe=-1,gt=te==null?0:te.length;for(Oe&>&&(ie=te[++Xe]);++Xe<gt;)ie=fe(ie,te[Xe],Xe,te);return ie}function y3e(te,fe,ie,Oe){var Xe=te==null?0:te.length;for(Oe&&Xe&&(ie=te[--Xe]);Xe--;)ie=fe(ie,te[Xe],Xe,te);return ie}function h_(te,fe){for(var ie=-1,Oe=te==null?0:te.length;++ie<Oe;)if(fe(te[ie],ie,te))return!0;return!1}var v3e=p_("length");function b3e(te){return te.split("")}function _3e(te){return te.match(N_e)||[]}function BT(te,fe,ie){var Oe;return ie(te,function(Xe,gt,cn){if(fe(Xe,gt,cn))return Oe=gt,!1}),Oe}function qm(te,fe,ie,Oe){for(var Xe=te.length,gt=ie+(Oe?1:-1);Oe?gt--:++gt<Xe;)if(fe(te[gt],gt,te))return gt;return-1}function pc(te,fe,ie){return fe===fe?O3e(te,fe,ie):qm(te,NT,ie)}function w3e(te,fe,ie,Oe){for(var Xe=ie-1,gt=te.length;++Xe<gt;)if(Oe(te[Xe],fe))return Xe;return-1}function NT(te){return te!==te}function TT(te,fe){var ie=te==null?0:te.length;return ie?g_(te,fe)/ie:ne}function p_(te){return function(fe){return fe==null?n:fe[te]}}function m_(te){return function(fe){return te==null?n:te[fe]}}function $T(te,fe,ie,Oe,Xe){return Xe(te,function(gt,cn,Et){ie=Oe?(Oe=!1,gt):fe(ie,gt,cn,Et)}),ie}function S3e(te,fe){var ie=te.length;for(te.sort(fe);ie--;)te[ie]=te[ie].value;return te}function g_(te,fe){for(var ie,Oe=-1,Xe=te.length;++Oe<Xe;){var gt=fe(te[Oe]);gt!==n&&(ie=ie===n?gt:ie+gt)}return ie}function y_(te,fe){for(var ie=-1,Oe=Array(te);++ie<te;)Oe[ie]=fe(ie);return Oe}function k3e(te,fe){return Rt(fe,function(ie){return[ie,te[ie]]})}function AT(te){return te&&te.slice(0,IT(te)+1).replace(r_,"")}function Tr(te){return function(fe){return te(fe)}}function v_(te,fe){return Rt(fe,function(ie){return te[ie]})}function kf(te,fe){return te.has(fe)}function OT(te,fe){for(var ie=-1,Oe=te.length;++ie<Oe&&pc(fe,te[ie],0)>-1;);return ie}function MT(te,fe){for(var ie=te.length;ie--&&pc(fe,te[ie],0)>-1;);return ie}function C3e(te,fe){for(var ie=te.length,Oe=0;ie--;)te[ie]===fe&&++Oe;return Oe}var x3e=m_(s3e),E3e=m_(c3e);function B3e(te){return"\\"+f3e[te]}function N3e(te,fe){return te==null?n:te[fe]}function mc(te){return a3e.test(te)}function T3e(te){return o3e.test(te)}function $3e(te){for(var fe,ie=[];!(fe=te.next()).done;)ie.push(fe.value);return ie}function b_(te){var fe=-1,ie=Array(te.size);return te.forEach(function(Oe,Xe){ie[++fe]=[Xe,Oe]}),ie}function PT(te,fe){return function(ie){return te(fe(ie))}}function gi(te,fe){for(var ie=-1,Oe=te.length,Xe=0,gt=[];++ie<Oe;){var cn=te[ie];(cn===fe||cn===d)&&(te[ie]=d,gt[Xe++]=ie)}return gt}function Km(te){var fe=-1,ie=Array(te.size);return te.forEach(function(Oe){ie[++fe]=Oe}),ie}function A3e(te){var fe=-1,ie=Array(te.size);return te.forEach(function(Oe){ie[++fe]=[Oe,Oe]}),ie}function O3e(te,fe,ie){for(var Oe=ie-1,Xe=te.length;++Oe<Xe;)if(te[Oe]===fe)return Oe;return-1}function M3e(te,fe,ie){for(var Oe=ie+1;Oe--;)if(te[Oe]===fe)return Oe;return Oe}function gc(te){return mc(te)?I3e(te):v3e(te)}function xa(te){return mc(te)?V3e(te):b3e(te)}function IT(te){for(var fe=te.length;fe--&&C_e.test(te.charAt(fe)););return fe}var P3e=m_(u3e);function I3e(te){for(var fe=s_.lastIndex=0;s_.test(te);)++fe;return fe}function V3e(te){return te.match(s_)||[]}function R3e(te){return te.match(r3e)||[]}var L3e=function te(fe){fe=fe==null?kn:yc.defaults(kn.Object(),fe,yc.pick(kn,i3e));var ie=fe.Array,Oe=fe.Date,Xe=fe.Error,gt=fe.Function,cn=fe.Math,Et=fe.Object,__=fe.RegExp,D3e=fe.String,Jr=fe.TypeError,Xm=ie.prototype,z3e=gt.prototype,vc=Et.prototype,Zm=fe["__core-js_shared__"],Jm=z3e.toString,vt=vc.hasOwnProperty,F3e=0,VT=function(){var f=/[^.]+$/.exec(Zm&&Zm.keys&&Zm.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""}(),Qm=vc.toString,H3e=Jm.call(Et),U3e=kn._,W3e=__("^"+Jm.call(vt).replace(n_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),e1=bT?fe.Buffer:n,yi=fe.Symbol,t1=fe.Uint8Array,RT=e1?e1.allocUnsafe:n,n1=PT(Et.getPrototypeOf,Et),LT=Et.create,DT=vc.propertyIsEnumerable,r1=Xm.splice,zT=yi?yi.isConcatSpreadable:n,Cf=yi?yi.iterator:n,Cl=yi?yi.toStringTag:n,a1=function(){try{var f=Tl(Et,"defineProperty");return f({},"",{}),f}catch(h){}}(),j3e=fe.clearTimeout!==kn.clearTimeout&&fe.clearTimeout,G3e=Oe&&Oe.now!==kn.Date.now&&Oe.now,Y3e=fe.setTimeout!==kn.setTimeout&&fe.setTimeout,o1=cn.ceil,i1=cn.floor,w_=Et.getOwnPropertySymbols,q3e=e1?e1.isBuffer:n,FT=fe.isFinite,K3e=Xm.join,X3e=PT(Et.keys,Et),un=cn.max,Vn=cn.min,Z3e=Oe.now,J3e=fe.parseInt,HT=cn.random,Q3e=Xm.reverse,S_=Tl(fe,"DataView"),xf=Tl(fe,"Map"),k_=Tl(fe,"Promise"),bc=Tl(fe,"Set"),Ef=Tl(fe,"WeakMap"),Bf=Tl(Et,"create"),l1=Ef&&new Ef,_c={},e4e=$l(S_),t4e=$l(xf),n4e=$l(k_),r4e=$l(bc),a4e=$l(Ef),s1=yi?yi.prototype:n,Nf=s1?s1.valueOf:n,UT=s1?s1.toString:n;function R(f){if(qt(f)&&!Je(f)&&!(f instanceof st)){if(f instanceof Qr)return f;if(vt.call(f,"__wrapped__"))return W$(f)}return new Qr(f)}var wc=function(){function f(){}return function(h){if(!Ut(h))return{};if(LT)return LT(h);f.prototype=h;var b=new f;return f.prototype=n,b}}();function c1(){}function Qr(f,h){this.__wrapped__=f,this.__actions__=[],this.__chain__=!!h,this.__index__=0,this.__values__=n}R.templateSettings={escape:Hm,evaluate:Um,interpolate:JN,variable:"",imports:{_:R}},R.prototype=c1.prototype,R.prototype.constructor=R,Qr.prototype=wc(c1.prototype),Qr.prototype.constructor=Qr;function st(f){this.__wrapped__=f,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=se,this.__views__=[]}function o4e(){var f=new st(this.__wrapped__);return f.__actions__=pr(this.__actions__),f.__dir__=this.__dir__,f.__filtered__=this.__filtered__,f.__iteratees__=pr(this.__iteratees__),f.__takeCount__=this.__takeCount__,f.__views__=pr(this.__views__),f}function i4e(){if(this.__filtered__){var f=new st(this);f.__dir__=-1,f.__filtered__=!0}else f=this.clone(),f.__dir__*=-1;return f}function l4e(){var f=this.__wrapped__.value(),h=this.__dir__,b=Je(f),E=h<0,P=b?f.length:0,D=bwe(0,P,this.__views__),Y=D.start,Z=D.end,ae=Z-Y,pe=E?Z:Y-1,me=this.__iteratees__,ve=me.length,xe=0,Re=Vn(ae,this.__takeCount__);if(!b||!E&&P==ae&&Re==ae)return h$(f,this.__actions__);var We=[];e:for(;ae--&&xe<Re;){pe+=h;for(var tt=-1,je=f[pe];++tt<ve;){var ot=me[tt],ft=ot.iteratee,Or=ot.type,rr=ft(je);if(Or==L)je=rr;else if(!rr){if(Or==O)continue e;break e}}We[xe++]=je}return We}st.prototype=wc(c1.prototype),st.prototype.constructor=st;function xl(f){var h=-1,b=f==null?0:f.length;for(this.clear();++h<b;){var E=f[h];this.set(E[0],E[1])}}function s4e(){this.__data__=Bf?Bf(null):{},this.size=0}function c4e(f){var h=this.has(f)&&delete this.__data__[f];return this.size-=h?1:0,h}function u4e(f){var h=this.__data__;if(Bf){var b=h[f];return b===c?n:b}return vt.call(h,f)?h[f]:n}function f4e(f){var h=this.__data__;return Bf?h[f]!==n:vt.call(h,f)}function d4e(f,h){var b=this.__data__;return this.size+=this.has(f)?0:1,b[f]=Bf&&h===n?c:h,this}xl.prototype.clear=s4e,xl.prototype.delete=c4e,xl.prototype.get=u4e,xl.prototype.has=f4e,xl.prototype.set=d4e;function No(f){var h=-1,b=f==null?0:f.length;for(this.clear();++h<b;){var E=f[h];this.set(E[0],E[1])}}function h4e(){this.__data__=[],this.size=0}function p4e(f){var h=this.__data__,b=u1(h,f);if(b<0)return!1;var E=h.length-1;return b==E?h.pop():r1.call(h,b,1),--this.size,!0}function m4e(f){var h=this.__data__,b=u1(h,f);return b<0?n:h[b][1]}function g4e(f){return u1(this.__data__,f)>-1}function y4e(f,h){var b=this.__data__,E=u1(b,f);return E<0?(++this.size,b.push([f,h])):b[E][1]=h,this}No.prototype.clear=h4e,No.prototype.delete=p4e,No.prototype.get=m4e,No.prototype.has=g4e,No.prototype.set=y4e;function To(f){var h=-1,b=f==null?0:f.length;for(this.clear();++h<b;){var E=f[h];this.set(E[0],E[1])}}function v4e(){this.size=0,this.__data__={hash:new xl,map:new(xf||No),string:new xl}}function b4e(f){var h=S1(this,f).delete(f);return this.size-=h?1:0,h}function _4e(f){return S1(this,f).get(f)}function w4e(f){return S1(this,f).has(f)}function S4e(f,h){var b=S1(this,f),E=b.size;return b.set(f,h),this.size+=b.size==E?0:1,this}To.prototype.clear=v4e,To.prototype.delete=b4e,To.prototype.get=_4e,To.prototype.has=w4e,To.prototype.set=S4e;function El(f){var h=-1,b=f==null?0:f.length;for(this.__data__=new To;++h<b;)this.add(f[h])}function k4e(f){return this.__data__.set(f,c),this}function C4e(f){return this.__data__.has(f)}El.prototype.add=El.prototype.push=k4e,El.prototype.has=C4e;function Ea(f){var h=this.__data__=new No(f);this.size=h.size}function x4e(){this.__data__=new No,this.size=0}function E4e(f){var h=this.__data__,b=h.delete(f);return this.size=h.size,b}function B4e(f){return this.__data__.get(f)}function N4e(f){return this.__data__.has(f)}function T4e(f,h){var b=this.__data__;if(b instanceof No){var E=b.__data__;if(!xf||E.length<o-1)return E.push([f,h]),this.size=++b.size,this;b=this.__data__=new To(E)}return b.set(f,h),this.size=b.size,this}Ea.prototype.clear=x4e,Ea.prototype.delete=E4e,Ea.prototype.get=B4e,Ea.prototype.has=N4e,Ea.prototype.set=T4e;function WT(f,h){var b=Je(f),E=!b&&Al(f),P=!b&&!E&&Si(f),D=!b&&!E&&!P&&xc(f),Y=b||E||P||D,Z=Y?y_(f.length,D3e):[],ae=Z.length;for(var pe in f)(h||vt.call(f,pe))&&!(Y&&(pe=="length"||P&&(pe=="offset"||pe=="parent")||D&&(pe=="buffer"||pe=="byteLength"||pe=="byteOffset")||Mo(pe,ae)))&&Z.push(pe);return Z}function jT(f){var h=f.length;return h?f[P_(0,h-1)]:n}function $4e(f,h){return k1(pr(f),Bl(h,0,f.length))}function A4e(f){return k1(pr(f))}function C_(f,h,b){(b!==n&&!Ba(f[h],b)||b===n&&!(h in f))&&$o(f,h,b)}function Tf(f,h,b){var E=f[h];(!(vt.call(f,h)&&Ba(E,b))||b===n&&!(h in f))&&$o(f,h,b)}function u1(f,h){for(var b=f.length;b--;)if(Ba(f[b][0],h))return b;return-1}function O4e(f,h,b,E){return vi(f,function(P,D,Y){h(E,P,b(P),Y)}),E}function GT(f,h){return f&&Xa(h,vn(h),f)}function M4e(f,h){return f&&Xa(h,gr(h),f)}function $o(f,h,b){h=="__proto__"&&a1?a1(f,h,{configurable:!0,enumerable:!0,value:b,writable:!0}):f[h]=b}function x_(f,h){for(var b=-1,E=h.length,P=ie(E),D=f==null;++b<E;)P[b]=D?n:o3(f,h[b]);return P}function Bl(f,h,b){return f===f&&(b!==n&&(f=f<=b?f:b),h!==n&&(f=f>=h?f:h)),f}function ea(f,h,b,E,P,D){var Y,Z=h&p,ae=h&m,pe=h&g;if(b&&(Y=P?b(f,E,P,D):b(f)),Y!==n)return Y;if(!Ut(f))return f;var me=Je(f);if(me){if(Y=wwe(f),!Z)return pr(f,Y)}else{var ve=Rn(f),xe=ve==Q||ve==ye;if(Si(f))return g$(f,Z);if(ve==ee||ve==ue||xe&&!P){if(Y=ae||xe?{}:I$(f),!Z)return ae?uwe(f,M4e(Y,f)):cwe(f,GT(Y,f))}else{if(!Bt[ve])return P?f:{};Y=Swe(f,ve,Z)}}D||(D=new Ea);var Re=D.get(f);if(Re)return Re;D.set(f,Y),uA(f)?f.forEach(function(je){Y.add(ea(je,h,b,je,f,D))}):sA(f)&&f.forEach(function(je,ot){Y.set(ot,ea(je,h,b,ot,f,D))});var We=pe?ae?j_:W_:ae?gr:vn,tt=me?n:We(f);return Zr(tt||f,function(je,ot){tt&&(ot=je,je=f[ot]),Tf(Y,ot,ea(je,h,b,ot,f,D))}),Y}function P4e(f){var h=vn(f);return function(b){return YT(b,f,h)}}function YT(f,h,b){var E=b.length;if(f==null)return!E;for(f=Et(f);E--;){var P=b[E],D=h[P],Y=f[P];if(Y===n&&!(P in f)||!D(Y))return!1}return!0}function qT(f,h,b){if(typeof f!="function")throw new Jr(l);return Vf(function(){f.apply(n,b)},h)}function $f(f,h,b,E){var P=-1,D=Ym,Y=!0,Z=f.length,ae=[],pe=h.length;if(!Z)return ae;b&&(h=Rt(h,Tr(b))),E?(D=f_,Y=!1):h.length>=o&&(D=kf,Y=!1,h=new El(h));e:for(;++P<Z;){var me=f[P],ve=b==null?me:b(me);if(me=E||me!==0?me:0,Y&&ve===ve){for(var xe=pe;xe--;)if(h[xe]===ve)continue e;ae.push(me)}else D(h,ve,E)||ae.push(me)}return ae}var vi=w$(Ka),KT=w$(B_,!0);function I4e(f,h){var b=!0;return vi(f,function(E,P,D){return b=!!h(E,P,D),b}),b}function f1(f,h,b){for(var E=-1,P=f.length;++E<P;){var D=f[E],Y=h(D);if(Y!=null&&(Z===n?Y===Y&&!Ar(Y):b(Y,Z)))var Z=Y,ae=D}return ae}function V4e(f,h,b,E){var P=f.length;for(b=et(b),b<0&&(b=-b>P?0:P+b),E=E===n||E>P?P:et(E),E<0&&(E+=P),E=b>E?0:dA(E);b<E;)f[b++]=h;return f}function XT(f,h){var b=[];return vi(f,function(E,P,D){h(E,P,D)&&b.push(E)}),b}function Cn(f,h,b,E,P){var D=-1,Y=f.length;for(b||(b=Cwe),P||(P=[]);++D<Y;){var Z=f[D];h>0&&b(Z)?h>1?Cn(Z,h-1,b,E,P):mi(P,Z):E||(P[P.length]=Z)}return P}var E_=S$(),ZT=S$(!0);function Ka(f,h){return f&&E_(f,h,vn)}function B_(f,h){return f&&ZT(f,h,vn)}function d1(f,h){return pi(h,function(b){return Po(f[b])})}function Nl(f,h){h=_i(h,f);for(var b=0,E=h.length;f!=null&&b<E;)f=f[Za(h[b++])];return b&&b==E?f:n}function JT(f,h,b){var E=h(f);return Je(f)?E:mi(E,b(f))}function tr(f){return f==null?f===n?Ye:ke:Cl&&Cl in Et(f)?vwe(f):Awe(f)}function N_(f,h){return f>h}function R4e(f,h){return f!=null&&vt.call(f,h)}function L4e(f,h){return f!=null&&h in Et(f)}function D4e(f,h,b){return f>=Vn(h,b)&&f<un(h,b)}function T_(f,h,b){for(var E=b?f_:Ym,P=f[0].length,D=f.length,Y=D,Z=ie(D),ae=1/0,pe=[];Y--;){var me=f[Y];Y&&h&&(me=Rt(me,Tr(h))),ae=Vn(me.length,ae),Z[Y]=!b&&(h||P>=120&&me.length>=120)?new El(Y&&me):n}me=f[0];var ve=-1,xe=Z[0];e:for(;++ve<P&&pe.length<ae;){var Re=me[ve],We=h?h(Re):Re;if(Re=b||Re!==0?Re:0,!(xe?kf(xe,We):E(pe,We,b))){for(Y=D;--Y;){var tt=Z[Y];if(!(tt?kf(tt,We):E(f[Y],We,b)))continue e}xe&&xe.push(We),pe.push(Re)}}return pe}function z4e(f,h,b,E){return Ka(f,function(P,D,Y){h(E,b(P),D,Y)}),E}function Af(f,h,b){h=_i(h,f),f=D$(f,h);var E=f==null?f:f[Za(na(h))];return E==null?n:Nr(E,f,b)}function QT(f){return qt(f)&&tr(f)==ue}function F4e(f){return qt(f)&&tr(f)==ce}function H4e(f){return qt(f)&&tr(f)==j}function Of(f,h,b,E,P){return f===h?!0:f==null||h==null||!qt(f)&&!qt(h)?f!==f&&h!==h:U4e(f,h,b,E,Of,P)}function U4e(f,h,b,E,P,D){var Y=Je(f),Z=Je(h),ae=Y?K:Rn(f),pe=Z?K:Rn(h);ae=ae==ue?ee:ae,pe=pe==ue?ee:pe;var me=ae==ee,ve=pe==ee,xe=ae==pe;if(xe&&Si(f)){if(!Si(h))return!1;Y=!0,me=!1}if(xe&&!me)return D||(D=new Ea),Y||xc(f)?O$(f,h,b,E,P,D):gwe(f,h,ae,b,E,P,D);if(!(b&v)){var Re=me&&vt.call(f,"__wrapped__"),We=ve&&vt.call(h,"__wrapped__");if(Re||We){var tt=Re?f.value():f,je=We?h.value():h;return D||(D=new Ea),P(tt,je,b,E,D)}}return xe?(D||(D=new Ea),ywe(f,h,b,E,P,D)):!1}function W4e(f){return qt(f)&&Rn(f)==_e}function $_(f,h,b,E){var P=b.length,D=P,Y=!E;if(f==null)return!D;for(f=Et(f);P--;){var Z=b[P];if(Y&&Z[2]?Z[1]!==f[Z[0]]:!(Z[0]in f))return!1}for(;++P<D;){Z=b[P];var ae=Z[0],pe=f[ae],me=Z[1];if(Y&&Z[2]){if(pe===n&&!(ae in f))return!1}else{var ve=new Ea;if(E)var xe=E(pe,me,ae,f,h,ve);if(!(xe===n?Of(me,pe,v|w,E,ve):xe))return!1}}return!0}function e$(f){if(!Ut(f)||Ewe(f))return!1;var h=Po(f)?W3e:P_e;return h.test($l(f))}function j4e(f){return qt(f)&&tr(f)==Fe}function G4e(f){return qt(f)&&Rn(f)==ut}function Y4e(f){return qt(f)&&T1(f.length)&&!!Ot[tr(f)]}function t$(f){return typeof f=="function"?f:f==null?yr:typeof f=="object"?Je(f)?a$(f[0],f[1]):r$(f):kA(f)}function A_(f){if(!If(f))return X3e(f);var h=[];for(var b in Et(f))vt.call(f,b)&&b!="constructor"&&h.push(b);return h}function q4e(f){if(!Ut(f))return $we(f);var h=If(f),b=[];for(var E in f)E=="constructor"&&(h||!vt.call(f,E))||b.push(E);return b}function O_(f,h){return f<h}function n$(f,h){var b=-1,E=mr(f)?ie(f.length):[];return vi(f,function(P,D,Y){E[++b]=h(P,D,Y)}),E}function r$(f){var h=Y_(f);return h.length==1&&h[0][2]?R$(h[0][0],h[0][1]):function(b){return b===f||$_(b,f,h)}}function a$(f,h){return K_(f)&&V$(h)?R$(Za(f),h):function(b){var E=o3(b,f);return E===n&&E===h?i3(b,f):Of(h,E,v|w)}}function h1(f,h,b,E,P){f!==h&&E_(h,function(D,Y){if(P||(P=new Ea),Ut(D))K4e(f,h,Y,b,h1,E,P);else{var Z=E?E(Z_(f,Y),D,Y+"",f,h,P):n;Z===n&&(Z=D),C_(f,Y,Z)}},gr)}function K4e(f,h,b,E,P,D,Y){var Z=Z_(f,b),ae=Z_(h,b),pe=Y.get(ae);if(pe){C_(f,b,pe);return}var me=D?D(Z,ae,b+"",f,h,Y):n,ve=me===n;if(ve){var xe=Je(ae),Re=!xe&&Si(ae),We=!xe&&!Re&&xc(ae);me=ae,xe||Re||We?Je(Z)?me=Z:Jt(Z)?me=pr(Z):Re?(ve=!1,me=g$(ae,!0)):We?(ve=!1,me=y$(ae,!0)):me=[]:Rf(ae)||Al(ae)?(me=Z,Al(Z)?me=hA(Z):(!Ut(Z)||Po(Z))&&(me=I$(ae))):ve=!1}ve&&(Y.set(ae,me),P(me,ae,E,D,Y),Y.delete(ae)),C_(f,b,me)}function o$(f,h){var b=f.length;if(b)return h+=h<0?b:0,Mo(h,b)?f[h]:n}function i$(f,h,b){h.length?h=Rt(h,function(D){return Je(D)?function(Y){return Nl(Y,D.length===1?D[0]:D)}:D}):h=[yr];var E=-1;h=Rt(h,Tr(Ue()));var P=n$(f,function(D,Y,Z){var ae=Rt(h,function(pe){return pe(D)});return{criteria:ae,index:++E,value:D}});return S3e(P,function(D,Y){return swe(D,Y,b)})}function X4e(f,h){return l$(f,h,function(b,E){return i3(f,E)})}function l$(f,h,b){for(var E=-1,P=h.length,D={};++E<P;){var Y=h[E],Z=Nl(f,Y);b(Z,Y)&&Mf(D,_i(Y,f),Z)}return D}function Z4e(f){return function(h){return Nl(h,f)}}function M_(f,h,b,E){var P=E?w3e:pc,D=-1,Y=h.length,Z=f;for(f===h&&(h=pr(h)),b&&(Z=Rt(f,Tr(b)));++D<Y;)for(var ae=0,pe=h[D],me=b?b(pe):pe;(ae=P(Z,me,ae,E))>-1;)Z!==f&&r1.call(Z,ae,1),r1.call(f,ae,1);return f}function s$(f,h){for(var b=f?h.length:0,E=b-1;b--;){var P=h[b];if(b==E||P!==D){var D=P;Mo(P)?r1.call(f,P,1):R_(f,P)}}return f}function P_(f,h){return f+i1(HT()*(h-f+1))}function J4e(f,h,b,E){for(var P=-1,D=un(o1((h-f)/(b||1)),0),Y=ie(D);D--;)Y[E?D:++P]=f,f+=b;return Y}function I_(f,h){var b="";if(!f||h<1||h>G)return b;do h%2&&(b+=f),h=i1(h/2),h&&(f+=f);while(h);return b}function nt(f,h){return J_(L$(f,h,yr),f+"")}function Q4e(f){return jT(Ec(f))}function ewe(f,h){var b=Ec(f);return k1(b,Bl(h,0,b.length))}function Mf(f,h,b,E){if(!Ut(f))return f;h=_i(h,f);for(var P=-1,D=h.length,Y=D-1,Z=f;Z!=null&&++P<D;){var ae=Za(h[P]),pe=b;if(ae==="__proto__"||ae==="constructor"||ae==="prototype")return f;if(P!=Y){var me=Z[ae];pe=E?E(me,ae,Z):n,pe===n&&(pe=Ut(me)?me:Mo(h[P+1])?[]:{})}Tf(Z,ae,pe),Z=Z[ae]}return f}var c$=l1?function(f,h){return l1.set(f,h),f}:yr,twe=a1?function(f,h){return a1(f,"toString",{configurable:!0,enumerable:!1,value:s3(h),writable:!0})}:yr;function nwe(f){return k1(Ec(f))}function ta(f,h,b){var E=-1,P=f.length;h<0&&(h=-h>P?0:P+h),b=b>P?P:b,b<0&&(b+=P),P=h>b?0:b-h>>>0,h>>>=0;for(var D=ie(P);++E<P;)D[E]=f[E+h];return D}function rwe(f,h){var b;return vi(f,function(E,P,D){return b=h(E,P,D),!b}),!!b}function p1(f,h,b){var E=0,P=f==null?E:f.length;if(typeof h=="number"&&h===h&&P<=oe){for(;E<P;){var D=E+P>>>1,Y=f[D];Y!==null&&!Ar(Y)&&(b?Y<=h:Y<h)?E=D+1:P=D}return P}return V_(f,h,yr,b)}function V_(f,h,b,E){var P=0,D=f==null?0:f.length;if(D===0)return 0;h=b(h);for(var Y=h!==h,Z=h===null,ae=Ar(h),pe=h===n;P<D;){var me=i1((P+D)/2),ve=b(f[me]),xe=ve!==n,Re=ve===null,We=ve===ve,tt=Ar(ve);if(Y)var je=E||We;else pe?je=We&&(E||xe):Z?je=We&&xe&&(E||!Re):ae?je=We&&xe&&!Re&&(E||!tt):Re||tt?je=!1:je=E?ve<=h:ve<h;je?P=me+1:D=me}return Vn(D,U)}function u$(f,h){for(var b=-1,E=f.length,P=0,D=[];++b<E;){var Y=f[b],Z=h?h(Y):Y;if(!b||!Ba(Z,ae)){var ae=Z;D[P++]=Y===0?0:Y}}return D}function f$(f){return typeof f=="number"?f:Ar(f)?ne:+f}function $r(f){if(typeof f=="string")return f;if(Je(f))return Rt(f,$r)+"";if(Ar(f))return UT?UT.call(f):"";var h=f+"";return h=="0"&&1/f==-H?"-0":h}function bi(f,h,b){var E=-1,P=Ym,D=f.length,Y=!0,Z=[],ae=Z;if(b)Y=!1,P=f_;else if(D>=o){var pe=h?null:pwe(f);if(pe)return Km(pe);Y=!1,P=kf,ae=new El}else ae=h?[]:Z;e:for(;++E<D;){var me=f[E],ve=h?h(me):me;if(me=b||me!==0?me:0,Y&&ve===ve){for(var xe=ae.length;xe--;)if(ae[xe]===ve)continue e;h&&ae.push(ve),Z.push(me)}else P(ae,ve,b)||(ae!==Z&&ae.push(ve),Z.push(me))}return Z}function R_(f,h){return h=_i(h,f),f=D$(f,h),f==null||delete f[Za(na(h))]}function d$(f,h,b,E){return Mf(f,h,b(Nl(f,h)),E)}function m1(f,h,b,E){for(var P=f.length,D=E?P:-1;(E?D--:++D<P)&&h(f[D],D,f););return b?ta(f,E?0:D,E?D+1:P):ta(f,E?D+1:0,E?P:D)}function h$(f,h){var b=f;return b instanceof st&&(b=b.value()),d_(h,function(E,P){return P.func.apply(P.thisArg,mi([E],P.args))},b)}function L_(f,h,b){var E=f.length;if(E<2)return E?bi(f[0]):[];for(var P=-1,D=ie(E);++P<E;)for(var Y=f[P],Z=-1;++Z<E;)Z!=P&&(D[P]=$f(D[P]||Y,f[Z],h,b));return bi(Cn(D,1),h,b)}function p$(f,h,b){for(var E=-1,P=f.length,D=h.length,Y={};++E<P;){var Z=E<D?h[E]:n;b(Y,f[E],Z)}return Y}function D_(f){return Jt(f)?f:[]}function z_(f){return typeof f=="function"?f:yr}function _i(f,h){return Je(f)?f:K_(f,h)?[f]:U$(yt(f))}var awe=nt;function wi(f,h,b){var E=f.length;return b=b===n?E:b,!h&&b>=E?f:ta(f,h,b)}var m$=j3e||function(f){return kn.clearTimeout(f)};function g$(f,h){if(h)return f.slice();var b=f.length,E=RT?RT(b):new f.constructor(b);return f.copy(E),E}function F_(f){var h=new f.constructor(f.byteLength);return new t1(h).set(new t1(f)),h}function owe(f,h){var b=h?F_(f.buffer):f.buffer;return new f.constructor(b,f.byteOffset,f.byteLength)}function iwe(f){var h=new f.constructor(f.source,QN.exec(f));return h.lastIndex=f.lastIndex,h}function lwe(f){return Nf?Et(Nf.call(f)):{}}function y$(f,h){var b=h?F_(f.buffer):f.buffer;return new f.constructor(b,f.byteOffset,f.length)}function v$(f,h){if(f!==h){var b=f!==n,E=f===null,P=f===f,D=Ar(f),Y=h!==n,Z=h===null,ae=h===h,pe=Ar(h);if(!Z&&!pe&&!D&&f>h||D&&Y&&ae&&!Z&&!pe||E&&Y&&ae||!b&&ae||!P)return 1;if(!E&&!D&&!pe&&f<h||pe&&b&&P&&!E&&!D||Z&&b&&P||!Y&&P||!ae)return-1}return 0}function swe(f,h,b){for(var E=-1,P=f.criteria,D=h.criteria,Y=P.length,Z=b.length;++E<Y;){var ae=v$(P[E],D[E]);if(ae){if(E>=Z)return ae;var pe=b[E];return ae*(pe=="desc"?-1:1)}}return f.index-h.index}function b$(f,h,b,E){for(var P=-1,D=f.length,Y=b.length,Z=-1,ae=h.length,pe=un(D-Y,0),me=ie(ae+pe),ve=!E;++Z<ae;)me[Z]=h[Z];for(;++P<Y;)(ve||P<D)&&(me[b[P]]=f[P]);for(;pe--;)me[Z++]=f[P++];return me}function _$(f,h,b,E){for(var P=-1,D=f.length,Y=-1,Z=b.length,ae=-1,pe=h.length,me=un(D-Z,0),ve=ie(me+pe),xe=!E;++P<me;)ve[P]=f[P];for(var Re=P;++ae<pe;)ve[Re+ae]=h[ae];for(;++Y<Z;)(xe||P<D)&&(ve[Re+b[Y]]=f[P++]);return ve}function pr(f,h){var b=-1,E=f.length;for(h||(h=ie(E));++b<E;)h[b]=f[b];return h}function Xa(f,h,b,E){var P=!b;b||(b={});for(var D=-1,Y=h.length;++D<Y;){var Z=h[D],ae=E?E(b[Z],f[Z],Z,b,f):n;ae===n&&(ae=f[Z]),P?$o(b,Z,ae):Tf(b,Z,ae)}return b}function cwe(f,h){return Xa(f,q_(f),h)}function uwe(f,h){return Xa(f,M$(f),h)}function g1(f,h){return function(b,E){var P=Je(b)?m3e:O4e,D=h?h():{};return P(b,f,Ue(E,2),D)}}function Sc(f){return nt(function(h,b){var E=-1,P=b.length,D=P>1?b[P-1]:n,Y=P>2?b[2]:n;for(D=f.length>3&&typeof D=="function"?(P--,D):n,Y&&nr(b[0],b[1],Y)&&(D=P<3?n:D,P=1),h=Et(h);++E<P;){var Z=b[E];Z&&f(h,Z,E,D)}return h})}function w$(f,h){return function(b,E){if(b==null)return b;if(!mr(b))return f(b,E);for(var P=b.length,D=h?P:-1,Y=Et(b);(h?D--:++D<P)&&E(Y[D],D,Y)!==!1;);return b}}function S$(f){return function(h,b,E){for(var P=-1,D=Et(h),Y=E(h),Z=Y.length;Z--;){var ae=Y[f?Z:++P];if(b(D[ae],ae,D)===!1)break}return h}}function fwe(f,h,b){var E=h&_,P=Pf(f);function D(){var Y=this&&this!==kn&&this instanceof D?P:f;return Y.apply(E?b:this,arguments)}return D}function k$(f){return function(h){h=yt(h);var b=mc(h)?xa(h):n,E=b?b[0]:h.charAt(0),P=b?wi(b,1).join(""):h.slice(1);return E[f]()+P}}function kc(f){return function(h){return d_(wA(_A(h).replace(t3e,"")),f,"")}}function Pf(f){return function(){var h=arguments;switch(h.length){case 0:return new f;case 1:return new f(h[0]);case 2:return new f(h[0],h[1]);case 3:return new f(h[0],h[1],h[2]);case 4:return new f(h[0],h[1],h[2],h[3]);case 5:return new f(h[0],h[1],h[2],h[3],h[4]);case 6:return new f(h[0],h[1],h[2],h[3],h[4],h[5]);case 7:return new f(h[0],h[1],h[2],h[3],h[4],h[5],h[6])}var b=wc(f.prototype),E=f.apply(b,h);return Ut(E)?E:b}}function dwe(f,h,b){var E=Pf(f);function P(){for(var D=arguments.length,Y=ie(D),Z=D,ae=Cc(P);Z--;)Y[Z]=arguments[Z];var pe=D<3&&Y[0]!==ae&&Y[D-1]!==ae?[]:gi(Y,ae);if(D-=pe.length,D<b)return N$(f,h,y1,P.placeholder,n,Y,pe,n,n,b-D);var me=this&&this!==kn&&this instanceof P?E:f;return Nr(me,this,Y)}return P}function C$(f){return function(h,b,E){var P=Et(h);if(!mr(h)){var D=Ue(b,3);h=vn(h),b=function(Z){return D(P[Z],Z,P)}}var Y=f(h,b,E);return Y>-1?P[D?h[Y]:Y]:n}}function x$(f){return Oo(function(h){var b=h.length,E=b,P=Qr.prototype.thru;for(f&&h.reverse();E--;){var D=h[E];if(typeof D!="function")throw new Jr(l);if(P&&!Y&&w1(D)=="wrapper")var Y=new Qr([],!0)}for(E=Y?E:b;++E<b;){D=h[E];var Z=w1(D),ae=Z=="wrapper"?G_(D):n;ae&&X_(ae[0])&&ae[1]==(N|S|x|$)&&!ae[4].length&&ae[9]==1?Y=Y[w1(ae[0])].apply(Y,ae[3]):Y=D.length==1&&X_(D)?Y[Z]():Y.thru(D)}return function(){var pe=arguments,me=pe[0];if(Y&&pe.length==1&&Je(me))return Y.plant(me).value();for(var ve=0,xe=b?h[ve].apply(this,pe):me;++ve<b;)xe=h[ve].call(this,xe);return xe}})}function y1(f,h,b,E,P,D,Y,Z,ae,pe){var me=h&N,ve=h&_,xe=h&y,Re=h&(S|k),We=h&T,tt=xe?n:Pf(f);function je(){for(var ot=arguments.length,ft=ie(ot),Or=ot;Or--;)ft[Or]=arguments[Or];if(Re)var rr=Cc(je),Mr=C3e(ft,rr);if(E&&(ft=b$(ft,E,P,Re)),D&&(ft=_$(ft,D,Y,Re)),ot-=Mr,Re&&ot<pe){var Qt=gi(ft,rr);return N$(f,h,y1,je.placeholder,b,ft,Qt,Z,ae,pe-ot)}var Na=ve?b:this,Vo=xe?Na[f]:f;return ot=ft.length,Z?ft=Owe(ft,Z):We&&ot>1&&ft.reverse(),me&&ae<ot&&(ft.length=ae),this&&this!==kn&&this instanceof je&&(Vo=tt||Pf(Vo)),Vo.apply(Na,ft)}return je}function E$(f,h){return function(b,E){return z4e(b,f,h(E),{})}}function v1(f,h){return function(b,E){var P;if(b===n&&E===n)return h;if(b!==n&&(P=b),E!==n){if(P===n)return E;typeof b=="string"||typeof E=="string"?(b=$r(b),E=$r(E)):(b=f$(b),E=f$(E)),P=f(b,E)}return P}}function H_(f){return Oo(function(h){return h=Rt(h,Tr(Ue())),nt(function(b){var E=this;return f(h,function(P){return Nr(P,E,b)})})})}function b1(f,h){h=h===n?" ":$r(h);var b=h.length;if(b<2)return b?I_(h,f):h;var E=I_(h,o1(f/gc(h)));return mc(h)?wi(xa(E),0,f).join(""):E.slice(0,f)}function hwe(f,h,b,E){var P=h&_,D=Pf(f);function Y(){for(var Z=-1,ae=arguments.length,pe=-1,me=E.length,ve=ie(me+ae),xe=this&&this!==kn&&this instanceof Y?D:f;++pe<me;)ve[pe]=E[pe];for(;ae--;)ve[pe++]=arguments[++Z];return Nr(xe,P?b:this,ve)}return Y}function B$(f){return function(h,b,E){return E&&typeof E!="number"&&nr(h,b,E)&&(b=E=n),h=Io(h),b===n?(b=h,h=0):b=Io(b),E=E===n?h<b?1:-1:Io(E),J4e(h,b,E,f)}}function _1(f){return function(h,b){return typeof h=="string"&&typeof b=="string"||(h=ra(h),b=ra(b)),f(h,b)}}function N$(f,h,b,E,P,D,Y,Z,ae,pe){var me=h&S,ve=me?Y:n,xe=me?n:Y,Re=me?D:n,We=me?n:D;h|=me?x:B,h&=~(me?B:x),h&C||(h&=~(_|y));var tt=[f,h,P,Re,ve,We,xe,Z,ae,pe],je=b.apply(n,tt);return X_(f)&&z$(je,tt),je.placeholder=E,F$(je,f,h)}function U_(f){var h=cn[f];return function(b,E){if(b=ra(b),E=E==null?0:Vn(et(E),292),E&&FT(b)){var P=(yt(b)+"e").split("e"),D=h(P[0]+"e"+(+P[1]+E));return P=(yt(D)+"e").split("e"),+(P[0]+"e"+(+P[1]-E))}return h(b)}}var pwe=bc&&1/Km(new bc([,-0]))[1]==H?function(f){return new bc(f)}:f3;function T$(f){return function(h){var b=Rn(h);return b==_e?b_(h):b==ut?A3e(h):k3e(h,f(h))}}function Ao(f,h,b,E,P,D,Y,Z){var ae=h&y;if(!ae&&typeof f!="function")throw new Jr(l);var pe=E?E.length:0;if(pe||(h&=~(x|B),E=P=n),Y=Y===n?Y:un(et(Y),0),Z=Z===n?Z:et(Z),pe-=P?P.length:0,h&B){var me=E,ve=P;E=P=n}var xe=ae?n:G_(f),Re=[f,h,b,E,P,me,ve,D,Y,Z];if(xe&&Twe(Re,xe),f=Re[0],h=Re[1],b=Re[2],E=Re[3],P=Re[4],Z=Re[9]=Re[9]===n?ae?0:f.length:un(Re[9]-pe,0),!Z&&h&(S|k)&&(h&=~(S|k)),!h||h==_)var We=fwe(f,h,b);else h==S||h==k?We=dwe(f,h,Z):(h==x||h==(_|x))&&!P.length?We=hwe(f,h,b,E):We=y1.apply(n,Re);var tt=xe?c$:z$;return F$(tt(We,Re),f,h)}function $$(f,h,b,E){return f===n||Ba(f,vc[b])&&!vt.call(E,b)?h:f}function A$(f,h,b,E,P,D){return Ut(f)&&Ut(h)&&(D.set(h,f),h1(f,h,n,A$,D),D.delete(h)),f}function mwe(f){return Rf(f)?n:f}function O$(f,h,b,E,P,D){var Y=b&v,Z=f.length,ae=h.length;if(Z!=ae&&!(Y&&ae>Z))return!1;var pe=D.get(f),me=D.get(h);if(pe&&me)return pe==h&&me==f;var ve=-1,xe=!0,Re=b&w?new El:n;for(D.set(f,h),D.set(h,f);++ve<Z;){var We=f[ve],tt=h[ve];if(E)var je=Y?E(tt,We,ve,h,f,D):E(We,tt,ve,f,h,D);if(je!==n){if(je)continue;xe=!1;break}if(Re){if(!h_(h,function(ot,ft){if(!kf(Re,ft)&&(We===ot||P(We,ot,b,E,D)))return Re.push(ft)})){xe=!1;break}}else if(!(We===tt||P(We,tt,b,E,D))){xe=!1;break}}return D.delete(f),D.delete(h),xe}function gwe(f,h,b,E,P,D,Y){switch(b){case ge:if(f.byteLength!=h.byteLength||f.byteOffset!=h.byteOffset)return!1;f=f.buffer,h=h.buffer;case ce:return!(f.byteLength!=h.byteLength||!D(new t1(f),new t1(h)));case q:case j:case Ne:return Ba(+f,+h);case X:return f.name==h.name&&f.message==h.message;case Fe:case be:return f==h+"";case _e:var Z=b_;case ut:var ae=E&v;if(Z||(Z=Km),f.size!=h.size&&!ae)return!1;var pe=Y.get(f);if(pe)return pe==h;E|=w,Y.set(f,h);var me=O$(Z(f),Z(h),E,P,D,Y);return Y.delete(f),me;case Ee:if(Nf)return Nf.call(f)==Nf.call(h)}return!1}function ywe(f,h,b,E,P,D){var Y=b&v,Z=W_(f),ae=Z.length,pe=W_(h),me=pe.length;if(ae!=me&&!Y)return!1;for(var ve=ae;ve--;){var xe=Z[ve];if(!(Y?xe in h:vt.call(h,xe)))return!1}var Re=D.get(f),We=D.get(h);if(Re&&We)return Re==h&&We==f;var tt=!0;D.set(f,h),D.set(h,f);for(var je=Y;++ve<ae;){xe=Z[ve];var ot=f[xe],ft=h[xe];if(E)var Or=Y?E(ft,ot,xe,h,f,D):E(ot,ft,xe,f,h,D);if(!(Or===n?ot===ft||P(ot,ft,b,E,D):Or)){tt=!1;break}je||(je=xe=="constructor")}if(tt&&!je){var rr=f.constructor,Mr=h.constructor;rr!=Mr&&"constructor"in f&&"constructor"in h&&!(typeof rr=="function"&&rr instanceof rr&&typeof Mr=="function"&&Mr instanceof Mr)&&(tt=!1)}return D.delete(f),D.delete(h),tt}function Oo(f){return J_(L$(f,n,Y$),f+"")}function W_(f){return JT(f,vn,q_)}function j_(f){return JT(f,gr,M$)}var G_=l1?function(f){return l1.get(f)}:f3;function w1(f){for(var h=f.name+"",b=_c[h],E=vt.call(_c,h)?b.length:0;E--;){var P=b[E],D=P.func;if(D==null||D==f)return P.name}return h}function Cc(f){var h=vt.call(R,"placeholder")?R:f;return h.placeholder}function Ue(){var f=R.iteratee||c3;return f=f===c3?t$:f,arguments.length?f(arguments[0],arguments[1]):f}function S1(f,h){var b=f.__data__;return xwe(h)?b[typeof h=="string"?"string":"hash"]:b.map}function Y_(f){for(var h=vn(f),b=h.length;b--;){var E=h[b],P=f[E];h[b]=[E,P,V$(P)]}return h}function Tl(f,h){var b=N3e(f,h);return e$(b)?b:n}function vwe(f){var h=vt.call(f,Cl),b=f[Cl];try{f[Cl]=n;var E=!0}catch(D){}var P=Qm.call(f);return E&&(h?f[Cl]=b:delete f[Cl]),P}var q_=w_?function(f){return f==null?[]:(f=Et(f),pi(w_(f),function(h){return DT.call(f,h)}))}:d3,M$=w_?function(f){for(var h=[];f;)mi(h,q_(f)),f=n1(f);return h}:d3,Rn=tr;(S_&&Rn(new S_(new ArrayBuffer(1)))!=ge||xf&&Rn(new xf)!=_e||k_&&Rn(k_.resolve())!=he||bc&&Rn(new bc)!=ut||Ef&&Rn(new Ef)!=pt)&&(Rn=function(f){var h=tr(f),b=h==ee?f.constructor:n,E=b?$l(b):"";if(E)switch(E){case e4e:return ge;case t4e:return _e;case n4e:return he;case r4e:return ut;case a4e:return pt}return h});function bwe(f,h,b){for(var E=-1,P=b.length;++E<P;){var D=b[E],Y=D.size;switch(D.type){case"drop":f+=Y;break;case"dropRight":h-=Y;break;case"take":h=Vn(h,f+Y);break;case"takeRight":f=un(f,h-Y);break}}return{start:f,end:h}}function _we(f){var h=f.match(E_e);return h?h[1].split(B_e):[]}function P$(f,h,b){h=_i(h,f);for(var E=-1,P=h.length,D=!1;++E<P;){var Y=Za(h[E]);if(!(D=f!=null&&b(f,Y)))break;f=f[Y]}return D||++E!=P?D:(P=f==null?0:f.length,!!P&&T1(P)&&Mo(Y,P)&&(Je(f)||Al(f)))}function wwe(f){var h=f.length,b=new f.constructor(h);return h&&typeof f[0]=="string"&&vt.call(f,"index")&&(b.index=f.index,b.input=f.input),b}function I$(f){return typeof f.constructor=="function"&&!If(f)?wc(n1(f)):{}}function Swe(f,h,b){var E=f.constructor;switch(h){case ce:return F_(f);case q:case j:return new E(+f);case ge:return owe(f,b);case Se:case De:case Zt:case yn:case hr:case In:case qa:case di:case we:return y$(f,b);case _e:return new E;case Ne:case be:return new E(f);case Fe:return iwe(f);case ut:return new E;case Ee:return lwe(f)}}function kwe(f,h){var b=h.length;if(!b)return f;var E=b-1;return h[E]=(b>1?"& ":"")+h[E],h=h.join(b>2?", ":" "),f.replace(x_e,`{
|
|
796
|
-
/* [wrapped with `+h+`] */
|
|
797
|
-
`)}function Cwe(f){return Je(f)||Al(f)||!!(zT&&f&&f[zT])}function Mo(f,h){var b=typeof f;return h=h==null?G:h,!!h&&(b=="number"||b!="symbol"&&V_e.test(f))&&f>-1&&f%1==0&&f<h}function nr(f,h,b){if(!Ut(b))return!1;var E=typeof h;return(E=="number"?mr(b)&&Mo(h,b.length):E=="string"&&h in b)?Ba(b[h],f):!1}function K_(f,h){if(Je(f))return!1;var b=typeof f;return b=="number"||b=="symbol"||b=="boolean"||f==null||Ar(f)?!0:w_e.test(f)||!__e.test(f)||h!=null&&f in Et(h)}function xwe(f){var h=typeof f;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?f!=="__proto__":f===null}function X_(f){var h=w1(f),b=R[h];if(typeof b!="function"||!(h in st.prototype))return!1;if(f===b)return!0;var E=G_(b);return!!E&&f===E[0]}function Ewe(f){return!!VT&&VT in f}var Bwe=Zm?Po:h3;function If(f){var h=f&&f.constructor,b=typeof h=="function"&&h.prototype||vc;return f===b}function V$(f){return f===f&&!Ut(f)}function R$(f,h){return function(b){return b==null?!1:b[f]===h&&(h!==n||f in Et(b))}}function Nwe(f){var h=B1(f,function(E){return b.size===u&&b.clear(),E}),b=h.cache;return h}function Twe(f,h){var b=f[1],E=h[1],P=b|E,D=P<(_|y|N),Y=E==N&&b==S||E==N&&b==$&&f[7].length<=h[8]||E==(N|$)&&h[7].length<=h[8]&&b==S;if(!(D||Y))return f;E&_&&(f[2]=h[2],P|=b&_?0:C);var Z=h[3];if(Z){var ae=f[3];f[3]=ae?b$(ae,Z,h[4]):Z,f[4]=ae?gi(f[3],d):h[4]}return Z=h[5],Z&&(ae=f[5],f[5]=ae?_$(ae,Z,h[6]):Z,f[6]=ae?gi(f[5],d):h[6]),Z=h[7],Z&&(f[7]=Z),E&N&&(f[8]=f[8]==null?h[8]:Vn(f[8],h[8])),f[9]==null&&(f[9]=h[9]),f[0]=h[0],f[1]=P,f}function $we(f){var h=[];if(f!=null)for(var b in Et(f))h.push(b);return h}function Awe(f){return Qm.call(f)}function L$(f,h,b){return h=un(h===n?f.length-1:h,0),function(){for(var E=arguments,P=-1,D=un(E.length-h,0),Y=ie(D);++P<D;)Y[P]=E[h+P];P=-1;for(var Z=ie(h+1);++P<h;)Z[P]=E[P];return Z[h]=b(Y),Nr(f,this,Z)}}function D$(f,h){return h.length<2?f:Nl(f,ta(h,0,-1))}function Owe(f,h){for(var b=f.length,E=Vn(h.length,b),P=pr(f);E--;){var D=h[E];f[E]=Mo(D,b)?P[D]:n}return f}function Z_(f,h){if(!(h==="constructor"&&typeof f[h]=="function")&&h!="__proto__")return f[h]}var z$=H$(c$),Vf=Y3e||function(f,h){return kn.setTimeout(f,h)},J_=H$(twe);function F$(f,h,b){var E=h+"";return J_(f,kwe(E,Mwe(_we(E),b)))}function H$(f){var h=0,b=0;return function(){var E=Z3e(),P=z-(E-b);if(b=E,P>0){if(++h>=F)return arguments[0]}else h=0;return f.apply(n,arguments)}}function k1(f,h){var b=-1,E=f.length,P=E-1;for(h=h===n?E:h;++b<h;){var D=P_(b,P),Y=f[D];f[D]=f[b],f[b]=Y}return f.length=h,f}var U$=Nwe(function(f){var h=[];return f.charCodeAt(0)===46&&h.push(""),f.replace(S_e,function(b,E,P,D){h.push(P?D.replace($_e,"$1"):E||b)}),h});function Za(f){if(typeof f=="string"||Ar(f))return f;var h=f+"";return h=="0"&&1/f==-H?"-0":h}function $l(f){if(f!=null){try{return Jm.call(f)}catch(h){}try{return f+""}catch(h){}}return""}function Mwe(f,h){return Zr(le,function(b){var E="_."+b[0];h&b[1]&&!Ym(f,E)&&f.push(E)}),f.sort()}function W$(f){if(f instanceof st)return f.clone();var h=new Qr(f.__wrapped__,f.__chain__);return h.__actions__=pr(f.__actions__),h.__index__=f.__index__,h.__values__=f.__values__,h}function Pwe(f,h,b){(b?nr(f,h,b):h===n)?h=1:h=un(et(h),0);var E=f==null?0:f.length;if(!E||h<1)return[];for(var P=0,D=0,Y=ie(o1(E/h));P<E;)Y[D++]=ta(f,P,P+=h);return Y}function Iwe(f){for(var h=-1,b=f==null?0:f.length,E=0,P=[];++h<b;){var D=f[h];D&&(P[E++]=D)}return P}function Vwe(){var f=arguments.length;if(!f)return[];for(var h=ie(f-1),b=arguments[0],E=f;E--;)h[E-1]=arguments[E];return mi(Je(b)?pr(b):[b],Cn(h,1))}var Rwe=nt(function(f,h){return Jt(f)?$f(f,Cn(h,1,Jt,!0)):[]}),Lwe=nt(function(f,h){var b=na(h);return Jt(b)&&(b=n),Jt(f)?$f(f,Cn(h,1,Jt,!0),Ue(b,2)):[]}),Dwe=nt(function(f,h){var b=na(h);return Jt(b)&&(b=n),Jt(f)?$f(f,Cn(h,1,Jt,!0),n,b):[]});function zwe(f,h,b){var E=f==null?0:f.length;return E?(h=b||h===n?1:et(h),ta(f,h<0?0:h,E)):[]}function Fwe(f,h,b){var E=f==null?0:f.length;return E?(h=b||h===n?1:et(h),h=E-h,ta(f,0,h<0?0:h)):[]}function Hwe(f,h){return f&&f.length?m1(f,Ue(h,3),!0,!0):[]}function Uwe(f,h){return f&&f.length?m1(f,Ue(h,3),!0):[]}function Wwe(f,h,b,E){var P=f==null?0:f.length;return P?(b&&typeof b!="number"&&nr(f,h,b)&&(b=0,E=P),V4e(f,h,b,E)):[]}function j$(f,h,b){var E=f==null?0:f.length;if(!E)return-1;var P=b==null?0:et(b);return P<0&&(P=un(E+P,0)),qm(f,Ue(h,3),P)}function G$(f,h,b){var E=f==null?0:f.length;if(!E)return-1;var P=E-1;return b!==n&&(P=et(b),P=b<0?un(E+P,0):Vn(P,E-1)),qm(f,Ue(h,3),P,!0)}function Y$(f){var h=f==null?0:f.length;return h?Cn(f,1):[]}function jwe(f){var h=f==null?0:f.length;return h?Cn(f,H):[]}function Gwe(f,h){var b=f==null?0:f.length;return b?(h=h===n?1:et(h),Cn(f,h)):[]}function Ywe(f){for(var h=-1,b=f==null?0:f.length,E={};++h<b;){var P=f[h];E[P[0]]=P[1]}return E}function q$(f){return f&&f.length?f[0]:n}function qwe(f,h,b){var E=f==null?0:f.length;if(!E)return-1;var P=b==null?0:et(b);return P<0&&(P=un(E+P,0)),pc(f,h,P)}function Kwe(f){var h=f==null?0:f.length;return h?ta(f,0,-1):[]}var Xwe=nt(function(f){var h=Rt(f,D_);return h.length&&h[0]===f[0]?T_(h):[]}),Zwe=nt(function(f){var h=na(f),b=Rt(f,D_);return h===na(b)?h=n:b.pop(),b.length&&b[0]===f[0]?T_(b,Ue(h,2)):[]}),Jwe=nt(function(f){var h=na(f),b=Rt(f,D_);return h=typeof h=="function"?h:n,h&&b.pop(),b.length&&b[0]===f[0]?T_(b,n,h):[]});function Qwe(f,h){return f==null?"":K3e.call(f,h)}function na(f){var h=f==null?0:f.length;return h?f[h-1]:n}function e6e(f,h,b){var E=f==null?0:f.length;if(!E)return-1;var P=E;return b!==n&&(P=et(b),P=P<0?un(E+P,0):Vn(P,E-1)),h===h?M3e(f,h,P):qm(f,NT,P,!0)}function t6e(f,h){return f&&f.length?o$(f,et(h)):n}var n6e=nt(K$);function K$(f,h){return f&&f.length&&h&&h.length?M_(f,h):f}function r6e(f,h,b){return f&&f.length&&h&&h.length?M_(f,h,Ue(b,2)):f}function a6e(f,h,b){return f&&f.length&&h&&h.length?M_(f,h,n,b):f}var o6e=Oo(function(f,h){var b=f==null?0:f.length,E=x_(f,h);return s$(f,Rt(h,function(P){return Mo(P,b)?+P:P}).sort(v$)),E});function i6e(f,h){var b=[];if(!(f&&f.length))return b;var E=-1,P=[],D=f.length;for(h=Ue(h,3);++E<D;){var Y=f[E];h(Y,E,f)&&(b.push(Y),P.push(E))}return s$(f,P),b}function Q_(f){return f==null?f:Q3e.call(f)}function l6e(f,h,b){var E=f==null?0:f.length;return E?(b&&typeof b!="number"&&nr(f,h,b)?(h=0,b=E):(h=h==null?0:et(h),b=b===n?E:et(b)),ta(f,h,b)):[]}function s6e(f,h){return p1(f,h)}function c6e(f,h,b){return V_(f,h,Ue(b,2))}function u6e(f,h){var b=f==null?0:f.length;if(b){var E=p1(f,h);if(E<b&&Ba(f[E],h))return E}return-1}function f6e(f,h){return p1(f,h,!0)}function d6e(f,h,b){return V_(f,h,Ue(b,2),!0)}function h6e(f,h){var b=f==null?0:f.length;if(b){var E=p1(f,h,!0)-1;if(Ba(f[E],h))return E}return-1}function p6e(f){return f&&f.length?u$(f):[]}function m6e(f,h){return f&&f.length?u$(f,Ue(h,2)):[]}function g6e(f){var h=f==null?0:f.length;return h?ta(f,1,h):[]}function y6e(f,h,b){return f&&f.length?(h=b||h===n?1:et(h),ta(f,0,h<0?0:h)):[]}function v6e(f,h,b){var E=f==null?0:f.length;return E?(h=b||h===n?1:et(h),h=E-h,ta(f,h<0?0:h,E)):[]}function b6e(f,h){return f&&f.length?m1(f,Ue(h,3),!1,!0):[]}function _6e(f,h){return f&&f.length?m1(f,Ue(h,3)):[]}var w6e=nt(function(f){return bi(Cn(f,1,Jt,!0))}),S6e=nt(function(f){var h=na(f);return Jt(h)&&(h=n),bi(Cn(f,1,Jt,!0),Ue(h,2))}),k6e=nt(function(f){var h=na(f);return h=typeof h=="function"?h:n,bi(Cn(f,1,Jt,!0),n,h)});function C6e(f){return f&&f.length?bi(f):[]}function x6e(f,h){return f&&f.length?bi(f,Ue(h,2)):[]}function E6e(f,h){return h=typeof h=="function"?h:n,f&&f.length?bi(f,n,h):[]}function e3(f){if(!(f&&f.length))return[];var h=0;return f=pi(f,function(b){if(Jt(b))return h=un(b.length,h),!0}),y_(h,function(b){return Rt(f,p_(b))})}function X$(f,h){if(!(f&&f.length))return[];var b=e3(f);return h==null?b:Rt(b,function(E){return Nr(h,n,E)})}var B6e=nt(function(f,h){return Jt(f)?$f(f,h):[]}),N6e=nt(function(f){return L_(pi(f,Jt))}),T6e=nt(function(f){var h=na(f);return Jt(h)&&(h=n),L_(pi(f,Jt),Ue(h,2))}),$6e=nt(function(f){var h=na(f);return h=typeof h=="function"?h:n,L_(pi(f,Jt),n,h)}),A6e=nt(e3);function O6e(f,h){return p$(f||[],h||[],Tf)}function M6e(f,h){return p$(f||[],h||[],Mf)}var P6e=nt(function(f){var h=f.length,b=h>1?f[h-1]:n;return b=typeof b=="function"?(f.pop(),b):n,X$(f,b)});function Z$(f){var h=R(f);return h.__chain__=!0,h}function I6e(f,h){return h(f),f}function C1(f,h){return h(f)}var V6e=Oo(function(f){var h=f.length,b=h?f[0]:0,E=this.__wrapped__,P=function(D){return x_(D,f)};return h>1||this.__actions__.length||!(E instanceof st)||!Mo(b)?this.thru(P):(E=E.slice(b,+b+(h?1:0)),E.__actions__.push({func:C1,args:[P],thisArg:n}),new Qr(E,this.__chain__).thru(function(D){return h&&!D.length&&D.push(n),D}))});function R6e(){return Z$(this)}function L6e(){return new Qr(this.value(),this.__chain__)}function D6e(){this.__values__===n&&(this.__values__=fA(this.value()));var f=this.__index__>=this.__values__.length,h=f?n:this.__values__[this.__index__++];return{done:f,value:h}}function z6e(){return this}function F6e(f){for(var h,b=this;b instanceof c1;){var E=W$(b);E.__index__=0,E.__values__=n,h?P.__wrapped__=E:h=E;var P=E;b=b.__wrapped__}return P.__wrapped__=f,h}function H6e(){var f=this.__wrapped__;if(f instanceof st){var h=f;return this.__actions__.length&&(h=new st(this)),h=h.reverse(),h.__actions__.push({func:C1,args:[Q_],thisArg:n}),new Qr(h,this.__chain__)}return this.thru(Q_)}function U6e(){return h$(this.__wrapped__,this.__actions__)}var W6e=g1(function(f,h,b){vt.call(f,b)?++f[b]:$o(f,b,1)});function j6e(f,h,b){var E=Je(f)?ET:I4e;return b&&nr(f,h,b)&&(h=n),E(f,Ue(h,3))}function G6e(f,h){var b=Je(f)?pi:XT;return b(f,Ue(h,3))}var Y6e=C$(j$),q6e=C$(G$);function K6e(f,h){return Cn(x1(f,h),1)}function X6e(f,h){return Cn(x1(f,h),H)}function Z6e(f,h,b){return b=b===n?1:et(b),Cn(x1(f,h),b)}function J$(f,h){var b=Je(f)?Zr:vi;return b(f,Ue(h,3))}function Q$(f,h){var b=Je(f)?g3e:KT;return b(f,Ue(h,3))}var J6e=g1(function(f,h,b){vt.call(f,b)?f[b].push(h):$o(f,b,[h])});function Q6e(f,h,b,E){f=mr(f)?f:Ec(f),b=b&&!E?et(b):0;var P=f.length;return b<0&&(b=un(P+b,0)),$1(f)?b<=P&&f.indexOf(h,b)>-1:!!P&&pc(f,h,b)>-1}var e5e=nt(function(f,h,b){var E=-1,P=typeof h=="function",D=mr(f)?ie(f.length):[];return vi(f,function(Y){D[++E]=P?Nr(h,Y,b):Af(Y,h,b)}),D}),t5e=g1(function(f,h,b){$o(f,b,h)});function x1(f,h){var b=Je(f)?Rt:n$;return b(f,Ue(h,3))}function n5e(f,h,b,E){return f==null?[]:(Je(h)||(h=h==null?[]:[h]),b=E?n:b,Je(b)||(b=b==null?[]:[b]),i$(f,h,b))}var r5e=g1(function(f,h,b){f[b?0:1].push(h)},function(){return[[],[]]});function a5e(f,h,b){var E=Je(f)?d_:$T,P=arguments.length<3;return E(f,Ue(h,4),b,P,vi)}function o5e(f,h,b){var E=Je(f)?y3e:$T,P=arguments.length<3;return E(f,Ue(h,4),b,P,KT)}function i5e(f,h){var b=Je(f)?pi:XT;return b(f,N1(Ue(h,3)))}function l5e(f){var h=Je(f)?jT:Q4e;return h(f)}function s5e(f,h,b){(b?nr(f,h,b):h===n)?h=1:h=et(h);var E=Je(f)?$4e:ewe;return E(f,h)}function c5e(f){var h=Je(f)?A4e:nwe;return h(f)}function u5e(f){if(f==null)return 0;if(mr(f))return $1(f)?gc(f):f.length;var h=Rn(f);return h==_e||h==ut?f.size:A_(f).length}function f5e(f,h,b){var E=Je(f)?h_:rwe;return b&&nr(f,h,b)&&(h=n),E(f,Ue(h,3))}var d5e=nt(function(f,h){if(f==null)return[];var b=h.length;return b>1&&nr(f,h[0],h[1])?h=[]:b>2&&nr(h[0],h[1],h[2])&&(h=[h[0]]),i$(f,Cn(h,1),[])}),E1=G3e||function(){return kn.Date.now()};function h5e(f,h){if(typeof h!="function")throw new Jr(l);return f=et(f),function(){if(--f<1)return h.apply(this,arguments)}}function eA(f,h,b){return h=b?n:h,h=f&&h==null?f.length:h,Ao(f,N,n,n,n,n,h)}function tA(f,h){var b;if(typeof h!="function")throw new Jr(l);return f=et(f),function(){return--f>0&&(b=h.apply(this,arguments)),f<=1&&(h=n),b}}var t3=nt(function(f,h,b){var E=_;if(b.length){var P=gi(b,Cc(t3));E|=x}return Ao(f,E,h,b,P)}),nA=nt(function(f,h,b){var E=_|y;if(b.length){var P=gi(b,Cc(nA));E|=x}return Ao(h,E,f,b,P)});function rA(f,h,b){h=b?n:h;var E=Ao(f,S,n,n,n,n,n,h);return E.placeholder=rA.placeholder,E}function aA(f,h,b){h=b?n:h;var E=Ao(f,k,n,n,n,n,n,h);return E.placeholder=aA.placeholder,E}function oA(f,h,b){var E,P,D,Y,Z,ae,pe=0,me=!1,ve=!1,xe=!0;if(typeof f!="function")throw new Jr(l);h=ra(h)||0,Ut(b)&&(me=!!b.leading,ve="maxWait"in b,D=ve?un(ra(b.maxWait)||0,h):D,xe="trailing"in b?!!b.trailing:xe);function Re(Qt){var Na=E,Vo=P;return E=P=n,pe=Qt,Y=f.apply(Vo,Na),Y}function We(Qt){return pe=Qt,Z=Vf(ot,h),me?Re(Qt):Y}function tt(Qt){var Na=Qt-ae,Vo=Qt-pe,CA=h-Na;return ve?Vn(CA,D-Vo):CA}function je(Qt){var Na=Qt-ae,Vo=Qt-pe;return ae===n||Na>=h||Na<0||ve&&Vo>=D}function ot(){var Qt=E1();if(je(Qt))return ft(Qt);Z=Vf(ot,tt(Qt))}function ft(Qt){return Z=n,xe&&E?Re(Qt):(E=P=n,Y)}function Or(){Z!==n&&m$(Z),pe=0,E=ae=P=Z=n}function rr(){return Z===n?Y:ft(E1())}function Mr(){var Qt=E1(),Na=je(Qt);if(E=arguments,P=this,ae=Qt,Na){if(Z===n)return We(ae);if(ve)return m$(Z),Z=Vf(ot,h),Re(ae)}return Z===n&&(Z=Vf(ot,h)),Y}return Mr.cancel=Or,Mr.flush=rr,Mr}var p5e=nt(function(f,h){return qT(f,1,h)}),m5e=nt(function(f,h,b){return qT(f,ra(h)||0,b)});function g5e(f){return Ao(f,T)}function B1(f,h){if(typeof f!="function"||h!=null&&typeof h!="function")throw new Jr(l);var b=function(){var E=arguments,P=h?h.apply(this,E):E[0],D=b.cache;if(D.has(P))return D.get(P);var Y=f.apply(this,E);return b.cache=D.set(P,Y)||D,Y};return b.cache=new(B1.Cache||To),b}B1.Cache=To;function N1(f){if(typeof f!="function")throw new Jr(l);return function(){var h=arguments;switch(h.length){case 0:return!f.call(this);case 1:return!f.call(this,h[0]);case 2:return!f.call(this,h[0],h[1]);case 3:return!f.call(this,h[0],h[1],h[2])}return!f.apply(this,h)}}function y5e(f){return tA(2,f)}var v5e=awe(function(f,h){h=h.length==1&&Je(h[0])?Rt(h[0],Tr(Ue())):Rt(Cn(h,1),Tr(Ue()));var b=h.length;return nt(function(E){for(var P=-1,D=Vn(E.length,b);++P<D;)E[P]=h[P].call(this,E[P]);return Nr(f,this,E)})}),n3=nt(function(f,h){var b=gi(h,Cc(n3));return Ao(f,x,n,h,b)}),iA=nt(function(f,h){var b=gi(h,Cc(iA));return Ao(f,B,n,h,b)}),b5e=Oo(function(f,h){return Ao(f,$,n,n,n,h)});function _5e(f,h){if(typeof f!="function")throw new Jr(l);return h=h===n?h:et(h),nt(f,h)}function w5e(f,h){if(typeof f!="function")throw new Jr(l);return h=h==null?0:un(et(h),0),nt(function(b){var E=b[h],P=wi(b,0,h);return E&&mi(P,E),Nr(f,this,P)})}function S5e(f,h,b){var E=!0,P=!0;if(typeof f!="function")throw new Jr(l);return Ut(b)&&(E="leading"in b?!!b.leading:E,P="trailing"in b?!!b.trailing:P),oA(f,h,{leading:E,maxWait:h,trailing:P})}function k5e(f){return eA(f,1)}function C5e(f,h){return n3(z_(h),f)}function x5e(){if(!arguments.length)return[];var f=arguments[0];return Je(f)?f:[f]}function E5e(f){return ea(f,g)}function B5e(f,h){return h=typeof h=="function"?h:n,ea(f,g,h)}function N5e(f){return ea(f,p|g)}function T5e(f,h){return h=typeof h=="function"?h:n,ea(f,p|g,h)}function $5e(f,h){return h==null||YT(f,h,vn(h))}function Ba(f,h){return f===h||f!==f&&h!==h}var A5e=_1(N_),O5e=_1(function(f,h){return f>=h}),Al=QT(function(){return arguments}())?QT:function(f){return qt(f)&&vt.call(f,"callee")&&!DT.call(f,"callee")},Je=ie.isArray,M5e=_T?Tr(_T):F4e;function mr(f){return f!=null&&T1(f.length)&&!Po(f)}function Jt(f){return qt(f)&&mr(f)}function P5e(f){return f===!0||f===!1||qt(f)&&tr(f)==q}var Si=q3e||h3,I5e=wT?Tr(wT):H4e;function V5e(f){return qt(f)&&f.nodeType===1&&!Rf(f)}function R5e(f){if(f==null)return!0;if(mr(f)&&(Je(f)||typeof f=="string"||typeof f.splice=="function"||Si(f)||xc(f)||Al(f)))return!f.length;var h=Rn(f);if(h==_e||h==ut)return!f.size;if(If(f))return!A_(f).length;for(var b in f)if(vt.call(f,b))return!1;return!0}function L5e(f,h){return Of(f,h)}function D5e(f,h,b){b=typeof b=="function"?b:n;var E=b?b(f,h):n;return E===n?Of(f,h,n,b):!!E}function r3(f){if(!qt(f))return!1;var h=tr(f);return h==X||h==re||typeof f.message=="string"&&typeof f.name=="string"&&!Rf(f)}function z5e(f){return typeof f=="number"&&FT(f)}function Po(f){if(!Ut(f))return!1;var h=tr(f);return h==Q||h==ye||h==J||h==Ke}function lA(f){return typeof f=="number"&&f==et(f)}function T1(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=G}function Ut(f){var h=typeof f;return f!=null&&(h=="object"||h=="function")}function qt(f){return f!=null&&typeof f=="object"}var sA=ST?Tr(ST):W4e;function F5e(f,h){return f===h||$_(f,h,Y_(h))}function H5e(f,h,b){return b=typeof b=="function"?b:n,$_(f,h,Y_(h),b)}function U5e(f){return cA(f)&&f!=+f}function W5e(f){if(Bwe(f))throw new Xe(i);return e$(f)}function j5e(f){return f===null}function G5e(f){return f==null}function cA(f){return typeof f=="number"||qt(f)&&tr(f)==Ne}function Rf(f){if(!qt(f)||tr(f)!=ee)return!1;var h=n1(f);if(h===null)return!0;var b=vt.call(h,"constructor")&&h.constructor;return typeof b=="function"&&b instanceof b&&Jm.call(b)==H3e}var a3=kT?Tr(kT):j4e;function Y5e(f){return lA(f)&&f>=-G&&f<=G}var uA=CT?Tr(CT):G4e;function $1(f){return typeof f=="string"||!Je(f)&&qt(f)&&tr(f)==be}function Ar(f){return typeof f=="symbol"||qt(f)&&tr(f)==Ee}var xc=xT?Tr(xT):Y4e;function q5e(f){return f===n}function K5e(f){return qt(f)&&Rn(f)==pt}function X5e(f){return qt(f)&&tr(f)==qe}var Z5e=_1(O_),J5e=_1(function(f,h){return f<=h});function fA(f){if(!f)return[];if(mr(f))return $1(f)?xa(f):pr(f);if(Cf&&f[Cf])return $3e(f[Cf]());var h=Rn(f),b=h==_e?b_:h==ut?Km:Ec;return b(f)}function Io(f){if(!f)return f===0?f:0;if(f=ra(f),f===H||f===-H){var h=f<0?-1:1;return h*W}return f===f?f:0}function et(f){var h=Io(f),b=h%1;return h===h?b?h-b:h:0}function dA(f){return f?Bl(et(f),0,se):0}function ra(f){if(typeof f=="number")return f;if(Ar(f))return ne;if(Ut(f)){var h=typeof f.valueOf=="function"?f.valueOf():f;f=Ut(h)?h+"":h}if(typeof f!="string")return f===0?f:+f;f=AT(f);var b=M_e.test(f);return b||I_e.test(f)?h3e(f.slice(2),b?2:8):O_e.test(f)?ne:+f}function hA(f){return Xa(f,gr(f))}function Q5e(f){return f?Bl(et(f),-G,G):f===0?f:0}function yt(f){return f==null?"":$r(f)}var e8e=Sc(function(f,h){if(If(h)||mr(h)){Xa(h,vn(h),f);return}for(var b in h)vt.call(h,b)&&Tf(f,b,h[b])}),pA=Sc(function(f,h){Xa(h,gr(h),f)}),A1=Sc(function(f,h,b,E){Xa(h,gr(h),f,E)}),t8e=Sc(function(f,h,b,E){Xa(h,vn(h),f,E)}),n8e=Oo(x_);function r8e(f,h){var b=wc(f);return h==null?b:GT(b,h)}var a8e=nt(function(f,h){f=Et(f);var b=-1,E=h.length,P=E>2?h[2]:n;for(P&&nr(h[0],h[1],P)&&(E=1);++b<E;)for(var D=h[b],Y=gr(D),Z=-1,ae=Y.length;++Z<ae;){var pe=Y[Z],me=f[pe];(me===n||Ba(me,vc[pe])&&!vt.call(f,pe))&&(f[pe]=D[pe])}return f}),o8e=nt(function(f){return f.push(n,A$),Nr(mA,n,f)});function i8e(f,h){return BT(f,Ue(h,3),Ka)}function l8e(f,h){return BT(f,Ue(h,3),B_)}function s8e(f,h){return f==null?f:E_(f,Ue(h,3),gr)}function c8e(f,h){return f==null?f:ZT(f,Ue(h,3),gr)}function u8e(f,h){return f&&Ka(f,Ue(h,3))}function f8e(f,h){return f&&B_(f,Ue(h,3))}function d8e(f){return f==null?[]:d1(f,vn(f))}function h8e(f){return f==null?[]:d1(f,gr(f))}function o3(f,h,b){var E=f==null?n:Nl(f,h);return E===n?b:E}function p8e(f,h){return f!=null&&P$(f,h,R4e)}function i3(f,h){return f!=null&&P$(f,h,L4e)}var m8e=E$(function(f,h,b){h!=null&&typeof h.toString!="function"&&(h=Qm.call(h)),f[h]=b},s3(yr)),g8e=E$(function(f,h,b){h!=null&&typeof h.toString!="function"&&(h=Qm.call(h)),vt.call(f,h)?f[h].push(b):f[h]=[b]},Ue),y8e=nt(Af);function vn(f){return mr(f)?WT(f):A_(f)}function gr(f){return mr(f)?WT(f,!0):q4e(f)}function v8e(f,h){var b={};return h=Ue(h,3),Ka(f,function(E,P,D){$o(b,h(E,P,D),E)}),b}function b8e(f,h){var b={};return h=Ue(h,3),Ka(f,function(E,P,D){$o(b,P,h(E,P,D))}),b}var _8e=Sc(function(f,h,b){h1(f,h,b)}),mA=Sc(function(f,h,b,E){h1(f,h,b,E)}),w8e=Oo(function(f,h){var b={};if(f==null)return b;var E=!1;h=Rt(h,function(D){return D=_i(D,f),E||(E=D.length>1),D}),Xa(f,j_(f),b),E&&(b=ea(b,p|m|g,mwe));for(var P=h.length;P--;)R_(b,h[P]);return b});function S8e(f,h){return gA(f,N1(Ue(h)))}var k8e=Oo(function(f,h){return f==null?{}:X4e(f,h)});function gA(f,h){if(f==null)return{};var b=Rt(j_(f),function(E){return[E]});return h=Ue(h),l$(f,b,function(E,P){return h(E,P[0])})}function C8e(f,h,b){h=_i(h,f);var E=-1,P=h.length;for(P||(P=1,f=n);++E<P;){var D=f==null?n:f[Za(h[E])];D===n&&(E=P,D=b),f=Po(D)?D.call(f):D}return f}function x8e(f,h,b){return f==null?f:Mf(f,h,b)}function E8e(f,h,b,E){return E=typeof E=="function"?E:n,f==null?f:Mf(f,h,b,E)}var yA=T$(vn),vA=T$(gr);function B8e(f,h,b){var E=Je(f),P=E||Si(f)||xc(f);if(h=Ue(h,4),b==null){var D=f&&f.constructor;P?b=E?new D:[]:Ut(f)?b=Po(D)?wc(n1(f)):{}:b={}}return(P?Zr:Ka)(f,function(Y,Z,ae){return h(b,Y,Z,ae)}),b}function N8e(f,h){return f==null?!0:R_(f,h)}function T8e(f,h,b){return f==null?f:d$(f,h,z_(b))}function $8e(f,h,b,E){return E=typeof E=="function"?E:n,f==null?f:d$(f,h,z_(b),E)}function Ec(f){return f==null?[]:v_(f,vn(f))}function A8e(f){return f==null?[]:v_(f,gr(f))}function O8e(f,h,b){return b===n&&(b=h,h=n),b!==n&&(b=ra(b),b=b===b?b:0),h!==n&&(h=ra(h),h=h===h?h:0),Bl(ra(f),h,b)}function M8e(f,h,b){return h=Io(h),b===n?(b=h,h=0):b=Io(b),f=ra(f),D4e(f,h,b)}function P8e(f,h,b){if(b&&typeof b!="boolean"&&nr(f,h,b)&&(h=b=n),b===n&&(typeof h=="boolean"?(b=h,h=n):typeof f=="boolean"&&(b=f,f=n)),f===n&&h===n?(f=0,h=1):(f=Io(f),h===n?(h=f,f=0):h=Io(h)),f>h){var E=f;f=h,h=E}if(b||f%1||h%1){var P=HT();return Vn(f+P*(h-f+d3e("1e-"+((P+"").length-1))),h)}return P_(f,h)}var I8e=kc(function(f,h,b){return h=h.toLowerCase(),f+(b?bA(h):h)});function bA(f){return l3(yt(f).toLowerCase())}function _A(f){return f=yt(f),f&&f.replace(R_e,x3e).replace(n3e,"")}function V8e(f,h,b){f=yt(f),h=$r(h);var E=f.length;b=b===n?E:Bl(et(b),0,E);var P=b;return b-=h.length,b>=0&&f.slice(b,P)==h}function R8e(f){return f=yt(f),f&&t_.test(f)?f.replace(Br,E3e):f}function L8e(f){return f=yt(f),f&&k_e.test(f)?f.replace(n_,"\\$&"):f}var D8e=kc(function(f,h,b){return f+(b?"-":"")+h.toLowerCase()}),z8e=kc(function(f,h,b){return f+(b?" ":"")+h.toLowerCase()}),F8e=k$("toLowerCase");function H8e(f,h,b){f=yt(f),h=et(h);var E=h?gc(f):0;if(!h||E>=h)return f;var P=(h-E)/2;return b1(i1(P),b)+f+b1(o1(P),b)}function U8e(f,h,b){f=yt(f),h=et(h);var E=h?gc(f):0;return h&&E<h?f+b1(h-E,b):f}function W8e(f,h,b){f=yt(f),h=et(h);var E=h?gc(f):0;return h&&E<h?b1(h-E,b)+f:f}function j8e(f,h,b){return b||h==null?h=0:h&&(h=+h),J3e(yt(f).replace(r_,""),h||0)}function G8e(f,h,b){return(b?nr(f,h,b):h===n)?h=1:h=et(h),I_(yt(f),h)}function Y8e(){var f=arguments,h=yt(f[0]);return f.length<3?h:h.replace(f[1],f[2])}var q8e=kc(function(f,h,b){return f+(b?"_":"")+h.toLowerCase()});function K8e(f,h,b){return b&&typeof b!="number"&&nr(f,h,b)&&(h=b=n),b=b===n?se:b>>>0,b?(f=yt(f),f&&(typeof h=="string"||h!=null&&!a3(h))&&(h=$r(h),!h&&mc(f))?wi(xa(f),0,b):f.split(h,b)):[]}var X8e=kc(function(f,h,b){return f+(b?" ":"")+l3(h)});function Z8e(f,h,b){return f=yt(f),b=b==null?0:Bl(et(b),0,f.length),h=$r(h),f.slice(b,b+h.length)==h}function J8e(f,h,b){var E=R.templateSettings;b&&nr(f,h,b)&&(h=n),f=yt(f),h=A1({},h,E,$$);var P=A1({},h.imports,E.imports,$$),D=vn(P),Y=v_(P,D),Z,ae,pe=0,me=h.interpolate||Wm,ve="__p += '",xe=__((h.escape||Wm).source+"|"+me.source+"|"+(me===JN?A_e:Wm).source+"|"+(h.evaluate||Wm).source+"|$","g"),Re="//# sourceURL="+(vt.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++l3e+"]")+`
|
|
798
|
-
`;f.replace(xe,function(je,ot,ft,Or,rr,Mr){return ft||(ft=Or),ve+=f.slice(pe,Mr).replace(L_e,B3e),ot&&(Z=!0,ve+=`' +
|
|
799
|
-
__e(`+ot+`) +
|
|
800
|
-
'`),rr&&(ae=!0,ve+=`';
|
|
801
|
-
`+rr+`;
|
|
802
|
-
__p += '`),ft&&(ve+=`' +
|
|
803
|
-
((__t = (`+ft+`)) == null ? '' : __t) +
|
|
804
|
-
'`),pe=Mr+je.length,je}),ve+=`';
|
|
805
|
-
`;var We=vt.call(h,"variable")&&h.variable;if(!We)ve=`with (obj) {
|
|
806
|
-
`+ve+`
|
|
807
|
-
}
|
|
808
|
-
`;else if(T_e.test(We))throw new Xe(s);ve=(ae?ve.replace(Ae,""):ve).replace(Pe,"$1").replace(mt,"$1;"),ve="function("+(We||"obj")+`) {
|
|
809
|
-
`+(We?"":`obj || (obj = {});
|
|
810
|
-
`)+"var __t, __p = ''"+(Z?", __e = _.escape":"")+(ae?`, __j = Array.prototype.join;
|
|
811
|
-
function print() { __p += __j.call(arguments, '') }
|
|
812
|
-
`:`;
|
|
813
|
-
`)+ve+`return __p
|
|
814
|
-
}`;var tt=SA(function(){return gt(D,Re+"return "+ve).apply(n,Y)});if(tt.source=ve,r3(tt))throw tt;return tt}function Q8e(f){return yt(f).toLowerCase()}function e7e(f){return yt(f).toUpperCase()}function t7e(f,h,b){if(f=yt(f),f&&(b||h===n))return AT(f);if(!f||!(h=$r(h)))return f;var E=xa(f),P=xa(h),D=OT(E,P),Y=MT(E,P)+1;return wi(E,D,Y).join("")}function n7e(f,h,b){if(f=yt(f),f&&(b||h===n))return f.slice(0,IT(f)+1);if(!f||!(h=$r(h)))return f;var E=xa(f),P=MT(E,xa(h))+1;return wi(E,0,P).join("")}function r7e(f,h,b){if(f=yt(f),f&&(b||h===n))return f.replace(r_,"");if(!f||!(h=$r(h)))return f;var E=xa(f),P=OT(E,xa(h));return wi(E,P).join("")}function a7e(f,h){var b=M,E=A;if(Ut(h)){var P="separator"in h?h.separator:P;b="length"in h?et(h.length):b,E="omission"in h?$r(h.omission):E}f=yt(f);var D=f.length;if(mc(f)){var Y=xa(f);D=Y.length}if(b>=D)return f;var Z=b-gc(E);if(Z<1)return E;var ae=Y?wi(Y,0,Z).join(""):f.slice(0,Z);if(P===n)return ae+E;if(Y&&(Z+=ae.length-Z),a3(P)){if(f.slice(Z).search(P)){var pe,me=ae;for(P.global||(P=__(P.source,yt(QN.exec(P))+"g")),P.lastIndex=0;pe=P.exec(me);)var ve=pe.index;ae=ae.slice(0,ve===n?Z:ve)}}else if(f.indexOf($r(P),Z)!=Z){var xe=ae.lastIndexOf(P);xe>-1&&(ae=ae.slice(0,xe))}return ae+E}function o7e(f){return f=yt(f),f&&hi.test(f)?f.replace(er,P3e):f}var i7e=kc(function(f,h,b){return f+(b?" ":"")+h.toUpperCase()}),l3=k$("toUpperCase");function wA(f,h,b){return f=yt(f),h=b?n:h,h===n?T3e(f)?R3e(f):_3e(f):f.match(h)||[]}var SA=nt(function(f,h){try{return Nr(f,n,h)}catch(b){return r3(b)?b:new Xe(b)}}),l7e=Oo(function(f,h){return Zr(h,function(b){b=Za(b),$o(f,b,t3(f[b],f))}),f});function s7e(f){var h=f==null?0:f.length,b=Ue();return f=h?Rt(f,function(E){if(typeof E[1]!="function")throw new Jr(l);return[b(E[0]),E[1]]}):[],nt(function(E){for(var P=-1;++P<h;){var D=f[P];if(Nr(D[0],this,E))return Nr(D[1],this,E)}})}function c7e(f){return P4e(ea(f,p))}function s3(f){return function(){return f}}function u7e(f,h){return f==null||f!==f?h:f}var f7e=x$(),d7e=x$(!0);function yr(f){return f}function c3(f){return t$(typeof f=="function"?f:ea(f,p))}function h7e(f){return r$(ea(f,p))}function p7e(f,h){return a$(f,ea(h,p))}var m7e=nt(function(f,h){return function(b){return Af(b,f,h)}}),g7e=nt(function(f,h){return function(b){return Af(f,b,h)}});function u3(f,h,b){var E=vn(h),P=d1(h,E);b==null&&!(Ut(h)&&(P.length||!E.length))&&(b=h,h=f,f=this,P=d1(h,vn(h)));var D=!(Ut(b)&&"chain"in b)||!!b.chain,Y=Po(f);return Zr(P,function(Z){var ae=h[Z];f[Z]=ae,Y&&(f.prototype[Z]=function(){var pe=this.__chain__;if(D||pe){var me=f(this.__wrapped__),ve=me.__actions__=pr(this.__actions__);return ve.push({func:ae,args:arguments,thisArg:f}),me.__chain__=pe,me}return ae.apply(f,mi([this.value()],arguments))})}),f}function y7e(){return kn._===this&&(kn._=U3e),this}function f3(){}function v7e(f){return f=et(f),nt(function(h){return o$(h,f)})}var b7e=H_(Rt),_7e=H_(ET),w7e=H_(h_);function kA(f){return K_(f)?p_(Za(f)):Z4e(f)}function S7e(f){return function(h){return f==null?n:Nl(f,h)}}var k7e=B$(),C7e=B$(!0);function d3(){return[]}function h3(){return!1}function x7e(){return{}}function E7e(){return""}function B7e(){return!0}function N7e(f,h){if(f=et(f),f<1||f>G)return[];var b=se,E=Vn(f,se);h=Ue(h),f-=se;for(var P=y_(E,h);++b<f;)h(b);return P}function T7e(f){return Je(f)?Rt(f,Za):Ar(f)?[f]:pr(U$(yt(f)))}function $7e(f){var h=++F3e;return yt(f)+h}var A7e=v1(function(f,h){return f+h},0),O7e=U_("ceil"),M7e=v1(function(f,h){return f/h},1),P7e=U_("floor");function I7e(f){return f&&f.length?f1(f,yr,N_):n}function V7e(f,h){return f&&f.length?f1(f,Ue(h,2),N_):n}function R7e(f){return TT(f,yr)}function L7e(f,h){return TT(f,Ue(h,2))}function D7e(f){return f&&f.length?f1(f,yr,O_):n}function z7e(f,h){return f&&f.length?f1(f,Ue(h,2),O_):n}var F7e=v1(function(f,h){return f*h},1),H7e=U_("round"),U7e=v1(function(f,h){return f-h},0);function W7e(f){return f&&f.length?g_(f,yr):0}function j7e(f,h){return f&&f.length?g_(f,Ue(h,2)):0}return R.after=h5e,R.ary=eA,R.assign=e8e,R.assignIn=pA,R.assignInWith=A1,R.assignWith=t8e,R.at=n8e,R.before=tA,R.bind=t3,R.bindAll=l7e,R.bindKey=nA,R.castArray=x5e,R.chain=Z$,R.chunk=Pwe,R.compact=Iwe,R.concat=Vwe,R.cond=s7e,R.conforms=c7e,R.constant=s3,R.countBy=W6e,R.create=r8e,R.curry=rA,R.curryRight=aA,R.debounce=oA,R.defaults=a8e,R.defaultsDeep=o8e,R.defer=p5e,R.delay=m5e,R.difference=Rwe,R.differenceBy=Lwe,R.differenceWith=Dwe,R.drop=zwe,R.dropRight=Fwe,R.dropRightWhile=Hwe,R.dropWhile=Uwe,R.fill=Wwe,R.filter=G6e,R.flatMap=K6e,R.flatMapDeep=X6e,R.flatMapDepth=Z6e,R.flatten=Y$,R.flattenDeep=jwe,R.flattenDepth=Gwe,R.flip=g5e,R.flow=f7e,R.flowRight=d7e,R.fromPairs=Ywe,R.functions=d8e,R.functionsIn=h8e,R.groupBy=J6e,R.initial=Kwe,R.intersection=Xwe,R.intersectionBy=Zwe,R.intersectionWith=Jwe,R.invert=m8e,R.invertBy=g8e,R.invokeMap=e5e,R.iteratee=c3,R.keyBy=t5e,R.keys=vn,R.keysIn=gr,R.map=x1,R.mapKeys=v8e,R.mapValues=b8e,R.matches=h7e,R.matchesProperty=p7e,R.memoize=B1,R.merge=_8e,R.mergeWith=mA,R.method=m7e,R.methodOf=g7e,R.mixin=u3,R.negate=N1,R.nthArg=v7e,R.omit=w8e,R.omitBy=S8e,R.once=y5e,R.orderBy=n5e,R.over=b7e,R.overArgs=v5e,R.overEvery=_7e,R.overSome=w7e,R.partial=n3,R.partialRight=iA,R.partition=r5e,R.pick=k8e,R.pickBy=gA,R.property=kA,R.propertyOf=S7e,R.pull=n6e,R.pullAll=K$,R.pullAllBy=r6e,R.pullAllWith=a6e,R.pullAt=o6e,R.range=k7e,R.rangeRight=C7e,R.rearg=b5e,R.reject=i5e,R.remove=i6e,R.rest=_5e,R.reverse=Q_,R.sampleSize=s5e,R.set=x8e,R.setWith=E8e,R.shuffle=c5e,R.slice=l6e,R.sortBy=d5e,R.sortedUniq=p6e,R.sortedUniqBy=m6e,R.split=K8e,R.spread=w5e,R.tail=g6e,R.take=y6e,R.takeRight=v6e,R.takeRightWhile=b6e,R.takeWhile=_6e,R.tap=I6e,R.throttle=S5e,R.thru=C1,R.toArray=fA,R.toPairs=yA,R.toPairsIn=vA,R.toPath=T7e,R.toPlainObject=hA,R.transform=B8e,R.unary=k5e,R.union=w6e,R.unionBy=S6e,R.unionWith=k6e,R.uniq=C6e,R.uniqBy=x6e,R.uniqWith=E6e,R.unset=N8e,R.unzip=e3,R.unzipWith=X$,R.update=T8e,R.updateWith=$8e,R.values=Ec,R.valuesIn=A8e,R.without=B6e,R.words=wA,R.wrap=C5e,R.xor=N6e,R.xorBy=T6e,R.xorWith=$6e,R.zip=A6e,R.zipObject=O6e,R.zipObjectDeep=M6e,R.zipWith=P6e,R.entries=yA,R.entriesIn=vA,R.extend=pA,R.extendWith=A1,u3(R,R),R.add=A7e,R.attempt=SA,R.camelCase=I8e,R.capitalize=bA,R.ceil=O7e,R.clamp=O8e,R.clone=E5e,R.cloneDeep=N5e,R.cloneDeepWith=T5e,R.cloneWith=B5e,R.conformsTo=$5e,R.deburr=_A,R.defaultTo=u7e,R.divide=M7e,R.endsWith=V8e,R.eq=Ba,R.escape=R8e,R.escapeRegExp=L8e,R.every=j6e,R.find=Y6e,R.findIndex=j$,R.findKey=i8e,R.findLast=q6e,R.findLastIndex=G$,R.findLastKey=l8e,R.floor=P7e,R.forEach=J$,R.forEachRight=Q$,R.forIn=s8e,R.forInRight=c8e,R.forOwn=u8e,R.forOwnRight=f8e,R.get=o3,R.gt=A5e,R.gte=O5e,R.has=p8e,R.hasIn=i3,R.head=q$,R.identity=yr,R.includes=Q6e,R.indexOf=qwe,R.inRange=M8e,R.invoke=y8e,R.isArguments=Al,R.isArray=Je,R.isArrayBuffer=M5e,R.isArrayLike=mr,R.isArrayLikeObject=Jt,R.isBoolean=P5e,R.isBuffer=Si,R.isDate=I5e,R.isElement=V5e,R.isEmpty=R5e,R.isEqual=L5e,R.isEqualWith=D5e,R.isError=r3,R.isFinite=z5e,R.isFunction=Po,R.isInteger=lA,R.isLength=T1,R.isMap=sA,R.isMatch=F5e,R.isMatchWith=H5e,R.isNaN=U5e,R.isNative=W5e,R.isNil=G5e,R.isNull=j5e,R.isNumber=cA,R.isObject=Ut,R.isObjectLike=qt,R.isPlainObject=Rf,R.isRegExp=a3,R.isSafeInteger=Y5e,R.isSet=uA,R.isString=$1,R.isSymbol=Ar,R.isTypedArray=xc,R.isUndefined=q5e,R.isWeakMap=K5e,R.isWeakSet=X5e,R.join=Qwe,R.kebabCase=D8e,R.last=na,R.lastIndexOf=e6e,R.lowerCase=z8e,R.lowerFirst=F8e,R.lt=Z5e,R.lte=J5e,R.max=I7e,R.maxBy=V7e,R.mean=R7e,R.meanBy=L7e,R.min=D7e,R.minBy=z7e,R.stubArray=d3,R.stubFalse=h3,R.stubObject=x7e,R.stubString=E7e,R.stubTrue=B7e,R.multiply=F7e,R.nth=t6e,R.noConflict=y7e,R.noop=f3,R.now=E1,R.pad=H8e,R.padEnd=U8e,R.padStart=W8e,R.parseInt=j8e,R.random=P8e,R.reduce=a5e,R.reduceRight=o5e,R.repeat=G8e,R.replace=Y8e,R.result=C8e,R.round=H7e,R.runInContext=te,R.sample=l5e,R.size=u5e,R.snakeCase=q8e,R.some=f5e,R.sortedIndex=s6e,R.sortedIndexBy=c6e,R.sortedIndexOf=u6e,R.sortedLastIndex=f6e,R.sortedLastIndexBy=d6e,R.sortedLastIndexOf=h6e,R.startCase=X8e,R.startsWith=Z8e,R.subtract=U7e,R.sum=W7e,R.sumBy=j7e,R.template=J8e,R.times=N7e,R.toFinite=Io,R.toInteger=et,R.toLength=dA,R.toLower=Q8e,R.toNumber=ra,R.toSafeInteger=Q5e,R.toString=yt,R.toUpper=e7e,R.trim=t7e,R.trimEnd=n7e,R.trimStart=r7e,R.truncate=a7e,R.unescape=o7e,R.uniqueId=$7e,R.upperCase=i7e,R.upperFirst=l3,R.each=J$,R.eachRight=Q$,R.first=q$,u3(R,function(){var f={};return Ka(R,function(h,b){vt.call(R.prototype,b)||(f[b]=h)}),f}(),{chain:!1}),R.VERSION=r,Zr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(f){R[f].placeholder=R}),Zr(["drop","take"],function(f,h){st.prototype[f]=function(b){b=b===n?1:un(et(b),0);var E=this.__filtered__&&!h?new st(this):this.clone();return E.__filtered__?E.__takeCount__=Vn(b,E.__takeCount__):E.__views__.push({size:Vn(b,se),type:f+(E.__dir__<0?"Right":"")}),E},st.prototype[f+"Right"]=function(b){return this.reverse()[f](b).reverse()}}),Zr(["filter","map","takeWhile"],function(f,h){var b=h+1,E=b==O||b==V;st.prototype[f]=function(P){var D=this.clone();return D.__iteratees__.push({iteratee:Ue(P,3),type:b}),D.__filtered__=D.__filtered__||E,D}}),Zr(["head","last"],function(f,h){var b="take"+(h?"Right":"");st.prototype[f]=function(){return this[b](1).value()[0]}}),Zr(["initial","tail"],function(f,h){var b="drop"+(h?"":"Right");st.prototype[f]=function(){return this.__filtered__?new st(this):this[b](1)}}),st.prototype.compact=function(){return this.filter(yr)},st.prototype.find=function(f){return this.filter(f).head()},st.prototype.findLast=function(f){return this.reverse().find(f)},st.prototype.invokeMap=nt(function(f,h){return typeof f=="function"?new st(this):this.map(function(b){return Af(b,f,h)})}),st.prototype.reject=function(f){return this.filter(N1(Ue(f)))},st.prototype.slice=function(f,h){f=et(f);var b=this;return b.__filtered__&&(f>0||h<0)?new st(b):(f<0?b=b.takeRight(-f):f&&(b=b.drop(f)),h!==n&&(h=et(h),b=h<0?b.dropRight(-h):b.take(h-f)),b)},st.prototype.takeRightWhile=function(f){return this.reverse().takeWhile(f).reverse()},st.prototype.toArray=function(){return this.take(se)},Ka(st.prototype,function(f,h){var b=/^(?:filter|find|map|reject)|While$/.test(h),E=/^(?:head|last)$/.test(h),P=R[E?"take"+(h=="last"?"Right":""):h],D=E||/^find/.test(h);P&&(R.prototype[h]=function(){var Y=this.__wrapped__,Z=E?[1]:arguments,ae=Y instanceof st,pe=Z[0],me=ae||Je(Y),ve=function(ot){var ft=P.apply(R,mi([ot],Z));return E&&xe?ft[0]:ft};me&&b&&typeof pe=="function"&&pe.length!=1&&(ae=me=!1);var xe=this.__chain__,Re=!!this.__actions__.length,We=D&&!xe,tt=ae&&!Re;if(!D&&me){Y=tt?Y:new st(this);var je=f.apply(Y,Z);return je.__actions__.push({func:C1,args:[ve],thisArg:n}),new Qr(je,xe)}return We&&tt?f.apply(this,Z):(je=this.thru(ve),We?E?je.value()[0]:je.value():je)})}),Zr(["pop","push","shift","sort","splice","unshift"],function(f){var h=Xm[f],b=/^(?:push|sort|unshift)$/.test(f)?"tap":"thru",E=/^(?:pop|shift)$/.test(f);R.prototype[f]=function(){var P=arguments;if(E&&!this.__chain__){var D=this.value();return h.apply(Je(D)?D:[],P)}return this[b](function(Y){return h.apply(Je(Y)?Y:[],P)})}}),Ka(st.prototype,function(f,h){var b=R[h];if(b){var E=b.name+"";vt.call(_c,E)||(_c[E]=[]),_c[E].push({name:h,func:b})}}),_c[y1(n,y).name]=[{name:"wrapper",func:n}],st.prototype.clone=o4e,st.prototype.reverse=i4e,st.prototype.value=l4e,R.prototype.at=V6e,R.prototype.chain=R6e,R.prototype.commit=L6e,R.prototype.next=D6e,R.prototype.plant=F6e,R.prototype.reverse=H6e,R.prototype.toJSON=R.prototype.valueOf=R.prototype.value=U6e,R.prototype.first=R.prototype.head,Cf&&(R.prototype[Cf]=z6e),R},yc=L3e();kl?((kl.exports=yc)._=yc,c_._=yc):kn._=yc}).call(Ma)}(zd,zd.exports);var Be=zd.exports,Go=(e=>(e.Short="short",e.Medium="medium",e.Long="long",e))(Go||{}),_g=(e=>(e.Silk="silk",e.Brick="brick",e.Rock="rock",e.Sand="sand",e.Crack="crack",e.Carbon="carbon",e))(_g||{}),ns=(e=>(e.sm="sm",e.md="md",e.lg="lg",e))(ns||{});const CF=a.defineComponent({name:"BrandExpansion",props:{animated:{type:Boolean},color:{type:String,default:null},background:{type:String,default:null},size:{type:[Number,String],default:"70px"},mode:{type:String,default:Go.Short},dark:{type:Boolean}},computed:{baseWidth(){return{[Go.Short]:401.256,[Go.Medium]:901.24,[Go.Long]:1047.01}[this.mode]},width(){return`${this.baseWidth/200*this.sizeAsNumber}px`},height(){return`${this.sizeAsNumber}px`},sizeAsNumber(){return Be.isString(this.size)?parseInt(this.size):this.size},style(){return{"--monochrome-color":this.color,background:this.background}}}}),Fd=e=>(a.pushScopeId("data-v-20f4c137"),e=e(),a.popScopeId(),e),xF=["width","height"],EF=[a.createStaticVNode('<path class="triangle" d="m11.947 52.917 7.52-12.283 7.52 12.283Z" data-v-20f4c137></path><path class="globe" d="M28.229 23.417c.298-1.504.485-3.092.554-4.726h5.091a14.367 14.367 0 0 1-1.286 4.726Zm1.474 4.105a14.488 14.488 0 0 1-4.053 2.861c.24-.388.47-.801.688-1.239.45-.897.841-1.875 1.173-2.917h3.342c-.355.45-.739.883-1.15 1.295m-8.83-4.105V18.69h5.097a27.764 27.764 0 0 1-.61 4.726Zm2.952 4.47c-.857 1.714-1.887 2.919-2.953 3.493v-5.153h3.67a16.722 16.722 0 0 1-.717 1.66m-8.716 0c-.26-.521-.5-1.076-.716-1.66h3.669v5.153c-1.066-.574-2.096-1.779-2.953-3.493m-2.145-9.196h5.098v4.726h-4.488a27.764 27.764 0 0 1-.61-4.726m-3.733 8.831a14.704 14.704 0 0 1-1.15-1.295h3.342c.332 1.042.724 2.02 1.172 2.917.22.438.449.851.689 1.24a14.48 14.48 0 0 1-4.053-2.862m-2.885-4.105a14.363 14.363 0 0 1-1.287-4.726h5.092c.069 1.634.256 3.222.554 4.726zm4.359-12.262a31.079 31.079 0 0 0-.554 4.726H5.06a14.363 14.363 0 0 1 1.287-4.726zM9.231 7.05a14.485 14.485 0 0 1 4.052-2.86c-.24.387-.469.8-.688 1.238-.448.898-.84 1.876-1.172 2.917H8.08c.355-.45.738-.883 1.15-1.295m8.83 4.105v4.726h-5.097c.075-1.652.281-3.244.61-4.726zm-2.952-4.47c.857-1.714 1.887-2.918 2.953-3.493v5.153h-3.67c.217-.583.456-1.138.717-1.66m8.716 0c.26.522.5 1.077.716 1.66h-3.669V3.192c1.066.575 2.096 1.78 2.953 3.493m2.145 9.196h-5.098v-4.726h4.488c.328 1.482.535 3.074.61 4.726m3.733-8.83c.411.411.795.844 1.15 1.294h-3.342a20.314 20.314 0 0 0-1.173-2.917 15.822 15.822 0 0 0-.688-1.239 14.49 14.49 0 0 1 4.053 2.861m2.885 4.105a14.367 14.367 0 0 1 1.286 4.726h-5.091a31.079 31.079 0 0 0-.554-4.726Zm-.898-6.092A17.173 17.173 0 0 0 19.467 0 17.173 17.173 0 0 0 7.244 5.063 17.174 17.174 0 0 0 2.18 17.286c0 4.618 1.798 8.959 5.063 12.223a17.173 17.173 0 0 0 12.223 5.064c4.617 0 8.958-1.799 12.223-5.064a17.173 17.173 0 0 0 5.063-12.223c0-4.617-1.798-8.958-5.063-12.223" data-v-20f4c137></path><path class="plate" d="M0 36.198h38.934v2.81H0Z" data-v-20f4c137></path><g class="main-text" data-v-20f4c137><path d="M48.51 7.923h7.164v37.07H48.51z" data-v-20f4c137></path><path d="M60.788 42.793c-1.626-1.698-2.439-4.028-2.439-6.991v-17.09c0-3.683.734-6.459 2.201-8.33 1.468-1.87 3.769-2.804 6.905-2.804 2.733 0 4.934.748 6.603 2.244 1.668 1.496 2.503 3.654 2.503 6.473v6.387h-7.38v-5.48c0-1.065-.129-1.799-.388-2.202-.259-.402-.705-.604-1.338-.604-.662 0-1.115.23-1.36.69-.244.461-.366 1.137-.366 2.029v18.6c0 .979.144 1.69.431 2.136.288.447.72.67 1.295.67 1.15 0 1.726-.935 1.726-2.806v-6.689h7.466v6.991c0 6.215-3.122 9.322-9.365 9.322-2.704 0-4.87-.848-6.494-2.546" data-v-20f4c137></path><path d="M78.762 7.923h7.164v37.07h-7.164z" data-v-20f4c137></path><path d="M92.528 44.346a7.609 7.609 0 0 1-3.258-2.913c-.792-1.28-1.187-2.826-1.187-4.639V29.03h7.294v7.333c0 .662.136 1.186.41 1.575.273.388.697.582 1.273.582.546 0 .956-.18 1.23-.539.273-.36.41-.87.41-1.532V7.923h7.466v27.792c0 1.928-.382 3.619-1.144 5.071-.763 1.453-1.827 2.575-3.194 3.366-1.366.792-2.927 1.187-4.682 1.187-1.698 0-3.237-.331-4.618-.993" data-v-20f4c137></path></g>',4)],BF=["width","height"],NF=[a.createStaticVNode('<path class="triangle" d="m45.153 200 28.423-46.424L101.999 200Z" data-v-20f4c137></path><path class="globe" d="M 106.692 88.5051 C 107.819 82.8227 108.526 76.8189 108.786 70.6453 L 128.03 70.6453 C 127.431 76.8914 125.785 82.9146 123.168 88.5051 Z M 112.263 104.021 C 107.739 108.545 102.563 112.178 96.9466 114.835 C 97.8831 113.313 98.751 111.751 99.5476 110.152 C 101.244 106.76 102.725 103.064 103.979 99.1273 L 116.611 99.1273 C 115.259 100.842 113.807 102.476 112.263 104.021 M 78.8877 88.5051 L 78.8877 70.6453 L 98.1543 70.6453 C 97.8706 76.8889 97.0908 82.9061 95.8503 88.5051 Z M 90.0467 105.401 C 86.8083 111.879 82.915 116.431 78.8877 118.601 L 78.8877 99.1273 L 92.7543 99.1273 C 91.9656 101.266 91.0617 103.36 90.0467 105.401 M 57.1059 105.401 C 56.0908 103.36 55.187 101.266 54.3983 99.1273 L 68.2649 99.1273 L 68.2649 118.601 C 64.237 116.431 60.3442 111.879 57.1059 105.401 M 48.9983 70.6453 L 68.2649 70.6453 L 68.2649 88.5051 L 51.3023 88.5051 C 50.0617 82.9061 49.282 76.8889 48.9983 70.6453 M 34.8894 104.021 C 33.3454 102.476 31.8937 100.842 30.5419 99.1273 L 43.1735 99.1273 C 44.4274 103.064 45.9091 106.76 47.6043 110.152 C 48.4014 111.751 49.2695 113.313 50.206 114.835 C 44.5894 112.179 39.4128 108.545 34.8894 104.021 M 23.9842 88.5051 C 21.3679 82.9146 19.7213 76.8914 19.1229 70.6453 L 38.367 70.6453 C 38.6263 76.8189 39.3337 82.8227 40.4604 88.5051 Z M 40.4604 42.1627 C 39.3337 47.8451 38.6263 53.8489 38.367 60.0225 L 19.1229 60.0225 C 19.7213 53.7764 21.3679 47.7532 23.9842 42.1627 Z M 34.8894 26.647 C 39.4128 22.123 44.5894 18.4895 50.206 15.8331 C 49.2695 17.3545 48.4014 18.9171 47.6043 20.516 C 45.9091 23.9078 44.4274 27.6045 43.1735 31.5405 L 30.5419 31.5405 C 31.8938 29.8255 33.3455 28.1915 34.8894 26.647 M 68.2649 42.1627 L 68.2649 60.0225 L 48.9983 60.0225 C 49.282 53.7795 50.0617 47.7617 51.3023 42.1627 Z M 57.1059 25.267 C 60.3442 18.789 64.237 14.237 68.2649 12.0663 L 68.2649 31.5405 L 54.3983 31.5405 C 55.1869 29.402 56.0907 27.3078 57.1059 25.267 M 90.0467 25.267 C 91.0619 27.3078 91.9657 29.402 92.7543 31.5405 L 78.8877 31.5405 L 78.8877 12.0663 C 82.915 14.237 86.8083 18.789 90.0467 25.267 M 98.1543 60.0225 L 78.8877 60.0225 L 78.8877 42.1627 L 95.8503 42.1627 C 97.0908 47.7617 97.8706 53.7795 98.1543 60.0225 M 112.263 26.647 C 113.807 28.1916 115.259 29.8256 116.611 31.5405 L 103.979 31.5405 C 102.725 27.6045 101.244 23.9078 99.5476 20.516 C 98.751 18.9169 97.8831 17.3544 96.9466 15.8331 C 102.563 18.4895 107.739 22.1236 112.263 26.647 M 123.168 42.1627 C 125.785 47.7532 127.431 53.7764 128.03 60.0225 L 108.786 60.0225 C 108.526 53.8489 107.819 47.8451 106.692 42.1627 Z M 119.774 19.136 C 107.434 6.79604 91.0274 0.00028712 73.576 0.00028712 C 56.1246 0.00028712 39.7178 6.79604 27.3778 19.136 C 15.0384 31.476 8.24207 47.8828 8.24207 65.3336 C 8.24207 82.7856 15.0384 99.1924 27.3778 111.532 C 39.7178 123.872 56.1246 130.668 73.576 130.668 C 91.0274 130.668 107.434 123.872 119.774 111.532 C 132.114 99.1924 138.91 82.7856 138.91 65.3336 C 138.91 47.8828 132.114 31.476 119.774 19.136" data-v-20f4c137></path><path class="plate" d="M 2e-06 136.811 L 147.151 136.811 L 147.151 147.433 L 2e-06 147.433 Z" data-v-20f4c137></path><path class="main-text" d="M187.413 29.944h27.076v140.112h-27.076zM233.817 161.737c-6.145-6.416-9.216-15.223-9.216-26.424V70.72c0-13.918 2.773-24.41 8.318-31.48 5.546-7.067 14.244-10.602 26.098-10.602 10.33 0 18.648 2.83 24.956 8.482 6.305 5.655 9.46 13.81 9.46 24.466v24.14h-27.892V65.013c0-4.021-.488-6.794-1.467-8.318-.98-1.522-2.666-2.284-5.057-2.284-2.502 0-4.215.872-5.138 2.61-.925 1.74-1.386 4.297-1.386 7.667v70.3c0 3.697.543 6.39 1.63 8.073 1.087 1.688 2.717 2.528 4.894 2.528 4.348 0 6.524-3.532 6.524-10.602v-25.282h28.218v26.424c0 23.488-11.8 35.232-35.394 35.232-10.223 0-18.406-3.206-24.548-9.623M301.752 29.944h27.076v140.112h-27.076zM353.782 167.609c-5.22-2.5-9.326-6.17-12.315-11.01-2.992-4.837-4.485-10.684-4.485-17.534l-.001-29.344h27.566v27.712c0 2.503.515 4.486 1.55 5.954 1.032 1.469 2.635 2.202 4.811 2.202 2.065 0 3.614-.678 4.65-2.039 1.03-1.358 1.548-3.287 1.548-5.79V29.944h28.219v105.043c0 7.286-1.443 13.676-4.323 19.166-2.882 5.491-6.906 9.732-12.07 12.722-5.166 2.992-11.066 4.485-17.697 4.485-6.418 0-12.233-1.251-17.453-3.751" data-v-20f4c137></path><path class="secondary-text" d="M442.17 92.461c-2.644-2.948-3.965-7.703-3.965-14.262v-6.407h12.89v8.16c0 3.255 1.04 4.883 3.126 4.883 1.17 0 1.984-.344 2.441-1.03.458-.687.686-1.843.686-3.47 0-2.136-.254-3.903-.762-5.301-.509-1.399-1.158-2.567-1.945-3.51-.79-.939-2.2-2.402-4.233-4.385l-5.644-5.644c-4.374-4.27-6.56-9-6.56-14.186 0-5.593 1.284-9.851 3.852-12.776 2.567-2.923 6.318-4.385 11.25-4.385 5.898 0 10.145 1.563 12.737 4.69 2.594 3.128 3.89 8.022 3.89 14.682h-13.347l-.076-4.5c0-.863-.242-1.55-.725-2.059-.484-.507-1.157-.762-2.02-.762-1.019 0-1.782.28-2.289.839-.51.56-.763 1.322-.763 2.288 0 2.135 1.22 4.347 3.661 6.635l7.627 7.323c1.78 1.728 3.254 3.368 4.424 4.92 1.17 1.55 2.11 3.381 2.822 5.49.712 2.11 1.068 4.615 1.068 7.513 0 6.458-1.182 11.352-3.547 14.682-2.364 3.33-6.267 4.996-11.708 4.996-5.949 0-10.246-1.474-12.89-4.424M480.1 96.275V43.343h-7.779V30.758H501v12.585h-7.78v52.932ZM522.248 83.308c.406-1.016.61-2.44.61-4.27V47.003c0-1.422-.19-2.58-.572-3.47-.382-.889-1.158-1.334-2.327-1.334-2.187 0-3.279 1.652-3.279 4.957v31.958c0 1.881.229 3.306.686 4.271.457.966 1.297 1.45 2.517 1.45 1.17 0 1.957-.509 2.365-1.527m-14.415 8.734c-2.746-3.228-4.12-7.767-4.12-13.615V47.233c0-5.644 1.374-9.902 4.12-12.776 2.745-2.872 6.761-4.31 12.05-4.31 5.288 0 9.305 1.438 12.051 4.31 2.746 2.874 4.118 7.132 4.118 12.776v31.194c0 5.9-1.372 10.45-4.118 13.653-2.746 3.203-6.763 4.805-12.05 4.805-5.29 0-9.306-1.613-12.051-4.843M556.34 55.012c1.83 0 2.745-1.983 2.745-5.949 0-1.728-.076-3.025-.228-3.89-.153-.864-.433-1.46-.84-1.792-.407-.33-.99-.496-1.754-.496h-3.05v12.127Zm-16.475-24.254H560c3.204 0 5.683.725 7.437 2.174 1.754 1.449 2.937 3.483 3.547 6.101.61 2.62.915 5.963.915 10.03 0 3.713-.484 6.61-1.45 8.695-.966 2.086-2.644 3.534-5.033 4.348 1.983.407 3.419 1.399 4.309 2.974.89 1.577 1.335 3.712 1.335 6.407l-.152 24.788h-12.815V70.648c0-1.83-.356-3-1.067-3.508-.713-.509-2.01-.764-3.89-.764v29.899h-13.271zM574.965 30.758h12.66v65.517h-12.66zM591.583 96.275V30.758h26.237v12.661h-12.89v12.737h12.357v12.356H604.93v15.025h13.73v12.738ZM625.256 92.461c-2.644-2.948-3.966-7.703-3.966-14.262v-6.407h12.89v8.16c0 3.255 1.041 4.883 3.127 4.883 1.17 0 1.983-.344 2.44-1.03.458-.687.687-1.843.687-3.47 0-2.136-.255-3.903-.763-5.301-.508-1.399-1.157-2.567-1.945-3.51-.789-.939-2.2-2.402-4.232-4.385l-5.645-5.644c-4.374-4.27-6.559-9-6.559-14.186 0-5.593 1.283-9.851 3.851-12.776 2.567-2.923 6.318-4.385 11.25-4.385 5.898 0 10.145 1.563 12.738 4.69 2.593 3.128 3.89 8.022 3.89 14.682H639.67l-.076-4.5c0-.863-.242-1.55-.724-2.059-.484-.507-1.158-.762-2.021-.762-1.018 0-1.782.28-2.289.839-.51.56-.763 1.322-.763 2.288 0 2.135 1.221 4.347 3.661 6.635l7.628 7.323c1.779 1.728 3.253 3.368 4.423 4.92 1.17 1.55 2.11 3.381 2.822 5.49.712 2.11 1.068 4.615 1.068 7.513 0 6.458-1.182 11.352-3.546 14.682-2.365 3.33-6.268 4.996-11.708 4.996-5.95 0-10.246-1.474-12.89-4.424M681.239 96.275V43.343h-7.78V30.758h28.678v12.585h-7.78v52.932ZM705.126 96.275V30.758h13.042v23.415h6.178V30.758h13.043v65.517h-13.043V66.529h-6.178v29.746ZM755.12 75.224h5.95l-2.898-33.33h-.61Zm-14.49 21.05 6.33-65.516h22.195l6.254 65.517h-12.432l-.916-10.602h-7.931l-.763 10.602zM782.677 96.275V43.343h-7.78V30.758h28.679v12.585h-7.78v52.932ZM455.976 130.224c1.83 0 2.745-1.983 2.745-5.95 0-1.727-.076-3.024-.228-3.889-.153-.864-.433-1.46-.84-1.793-.407-.33-.99-.495-1.754-.495h-3.05v12.127ZM439.5 105.97h20.136c3.203 0 5.682.724 7.436 2.174 1.754 1.448 2.937 3.483 3.547 6.101.61 2.62.915 5.962.915 10.03 0 3.713-.484 6.61-1.45 8.695s-2.643 3.535-5.033 4.348c1.983.408 3.419 1.399 4.309 2.974.89 1.577 1.335 3.712 1.335 6.407l-.152 24.788h-12.815V145.86c0-1.83-.356-3-1.067-3.508-.712-.508-2.01-.763-3.89-.763v29.898h-13.271zM493.173 158.52c.406-1.016.61-2.44.61-4.27v-32.035c0-1.422-.19-2.58-.572-3.47-.382-.89-1.158-1.334-2.326-1.334-2.188 0-3.28 1.652-3.28 4.957v31.958c0 1.882.229 3.306.686 4.271.458.966 1.297 1.45 2.518 1.45 1.168 0 1.956-.509 2.364-1.526m-14.415 8.733c-2.746-3.229-4.119-7.767-4.119-13.615v-31.194c0-5.644 1.373-9.902 4.119-12.777 2.745-2.871 6.761-4.309 12.05-4.309 5.288 0 9.305 1.438 12.051 4.31 2.746 2.874 4.118 7.132 4.118 12.776v31.194c0 5.9-1.372 10.45-4.118 13.653-2.746 3.203-6.763 4.806-12.05 4.806-5.29 0-9.306-1.614-12.051-4.844M514.756 167.597c-2.873-3-4.309-7.118-4.309-12.355v-30.205c0-6.508 1.297-11.413 3.89-14.72 2.593-3.305 6.66-4.958 12.203-4.958 4.83 0 8.72 1.323 11.67 3.966 2.948 2.646 4.424 6.459 4.424 11.442v11.287H529.59v-9.686c0-1.88-.229-3.177-.686-3.89-.458-.711-1.246-1.067-2.365-1.067-1.17 0-1.97.408-2.403 1.22-.432.814-.648 2.01-.648 3.584v32.873c0 1.73.254 2.988.763 3.776.508.788 1.27 1.183 2.288 1.183 2.033 0 3.051-1.652 3.051-4.959v-11.822h13.195v12.356c0 10.983-5.518 16.476-16.55 16.476-4.78 0-8.607-1.5-11.48-4.5M546.088 171.487V105.97h12.967v26.239l6.1-26.239h13.196l-7.322 29.976 8.847 35.542H566.3l-7.17-31.729v31.73ZM605.578 171.487v-52.932H597.8V105.97h28.678v12.586h-7.78v52.932ZM629.466 171.487V105.97h13.043v23.416h6.178v-23.416h13.042v65.518h-13.042v-29.746h-6.178v29.746ZM665.93 171.487V105.97h26.238v12.662h-12.89v12.737h12.356v12.357h-12.356v15.025h13.729v12.737ZM720.31 171.487l-7.016-65.518h12.813l3.66 41.34 3.662-41.34h12.203l3.509 41.34 3.508-41.34h12.967l-7.17 65.518h-15.712l-3.28-31.577-3.126 31.577ZM786.254 158.52c.407-1.016.611-2.44.611-4.27v-32.035c0-1.422-.191-2.58-.572-3.47-.382-.89-1.158-1.334-2.327-1.334-2.187 0-3.279 1.652-3.279 4.957v31.958c0 1.882.228 3.306.686 4.271.457.966 1.297 1.45 2.517 1.45 1.169 0 1.957-.509 2.364-1.526m-14.415 8.733c-2.746-3.229-4.119-7.767-4.119-13.615v-31.194c0-5.644 1.373-9.902 4.12-12.777 2.745-2.871 6.761-4.309 12.05-4.309 5.288 0 9.305 1.438 12.051 4.31 2.745 2.874 4.118 7.132 4.118 12.776v31.194c0 5.9-1.373 10.45-4.118 13.653-2.746 3.203-6.763 4.806-12.05 4.806-5.29 0-9.306-1.614-12.052-4.844M820.347 130.224c1.83 0 2.745-1.983 2.745-5.95 0-1.727-.076-3.024-.228-3.889-.153-.864-.433-1.46-.84-1.793-.407-.33-.99-.495-1.754-.495h-3.05v12.127Zm-16.475-24.254h20.136c3.204 0 5.682.724 7.437 2.174 1.753 1.448 2.936 3.483 3.546 6.101.61 2.62.915 5.962.915 10.03 0 3.713-.484 6.61-1.449 8.695-.967 2.085-2.644 3.535-5.034 4.348 1.983.408 3.42 1.399 4.31 2.974.888 1.577 1.334 3.712 1.334 6.407l-.152 24.788H822.1V145.86c0-1.83-.356-3-1.067-3.508-.713-.508-2.01-.763-3.89-.763v29.898h-13.272zM839.246 171.487V105.97h13.12v54.382h13.499v11.136ZM884.383 159.893c2.389 0 3.584-1.168 3.584-3.508v-33.789c0-1.473-.114-2.58-.343-3.317-.229-.737-.648-1.232-1.258-1.488-.61-.253-1.552-.38-2.822-.38h-1.45v42.482Zm-15.484-53.924h18.077c4.678 0 8.186 1.297 10.525 3.891 2.338 2.593 3.534 6.433 3.585 11.516l.153 30.661c.05 6.459-1.069 11.315-3.356 14.568-2.288 3.255-6.077 4.882-11.364 4.882h-17.62z" data-v-20f4c137></path>',5)],TF=["width","height"],$F=[Fd(()=>a.createElementVNode("path",{class:"triangle",d:"m45.153 200 28.423-46.424L101.999 200Z"},null,-1)),Fd(()=>a.createElementVNode("path",{class:"globe",d:"M 106.691 88.5051 C 107.818 82.8227 108.526 76.8189 108.785 70.6453 L 128.029 70.6453 C 127.431 76.8914 125.784 82.9146 123.168 88.5051 Z M 112.262 104.021 C 107.739 108.545 102.563 112.178 96.9465 114.835 C 97.883 113.313 98.7509 111.751 99.5475 110.152 C 101.243 106.76 102.725 103.064 103.978 99.1273 L 116.611 99.1273 C 115.259 100.842 113.807 102.476 112.263 104.021 M 78.887 88.5051 L 78.887 70.6453 L 98.1536 70.6453 C 97.8699 76.8889 97.0901 82.9061 95.8502 88.5051 Z M 90.046 105.401 C 86.8076 111.879 82.9143 116.431 78.887 118.601 L 78.887 99.1273 L 92.7536 99.1273 C 91.9649 101.266 91.061 103.36 90.046 105.401 M 57.1052 105.401 C 56.0901 103.36 55.1863 101.266 54.3976 99.1273 L 68.2642 99.1273 L 68.2642 118.601 C 64.2363 116.431 60.3435 111.879 57.1052 105.401 M 48.9976 70.6453 L 68.2642 70.6453 L 68.2642 88.5051 L 51.3028 88.5051 C 50.0623 82.9061 49.2819 76.8889 48.9988 70.6453 M 34.8899 104.021 C 33.3459 102.476 31.8942 100.842 30.5424 99.1273 L 43.1734 99.1273 C 44.4273 103.064 45.9096 106.76 47.6049 110.152 C 48.4019 111.751 49.27 113.313 50.2065 114.835 C 44.5899 112.179 39.4133 108.545 34.8899 104.021 M 23.9841 88.5051 C 21.3678 82.9146 19.7212 76.8914 19.1229 70.6453 L 38.3669 70.6453 C 38.6262 76.8189 39.3336 82.8227 40.4609 88.5051 Z M 40.4603 42.1627 C 39.3342 47.8451 38.6262 53.8489 38.3669 60.0225 L 19.1229 60.0225 C 19.7212 53.7764 21.3678 47.7532 23.9841 42.1627 Z M 34.8893 26.647 C 39.4127 22.123 44.5893 18.4895 50.2059 15.8331 C 49.2694 17.3545 48.4013 18.9171 47.6043 20.516 C 45.909 23.9078 44.4273 27.6045 43.1734 31.5405 L 30.5424 31.5405 C 31.8943 29.8255 33.346 28.1915 34.8899 26.647 M 68.2648 42.1627 L 68.2648 60.0225 L 48.9988 60.0225 C 49.2819 53.7795 50.0617 47.7617 51.3022 42.1627 Z M 57.1064 25.267 C 60.3448 18.789 64.2375 14.237 68.2654 12.0663 L 68.2654 31.5405 L 54.3988 31.5405 C 55.1872 29.402 56.0908 27.3078 57.1058 25.267 M 90.0466 25.267 C 91.0618 27.3078 91.9656 29.402 92.7542 31.5405 L 78.8876 31.5405 L 78.8876 12.0663 C 82.9149 14.237 86.8083 18.789 90.0466 25.267 M 98.1548 60.0225 L 78.8876 60.0225 L 78.8876 42.1627 L 95.8502 42.1627 C 97.0908 47.7617 97.8711 53.7795 98.1542 60.0225 M 112.263 26.647 C 113.807 28.1916 115.258 29.8256 116.611 31.5405 L 103.978 31.5405 C 102.725 27.6045 101.243 23.9078 99.5475 20.516 C 98.7509 18.9169 97.883 17.3544 96.9465 15.8331 C 102.563 18.4895 107.739 22.1236 112.263 26.647 M 123.169 42.1627 C 125.785 47.7532 127.431 53.7764 128.03 60.0225 L 108.786 60.0225 C 108.526 53.8489 107.819 47.8451 106.692 42.1627 Z M 119.775 19.136 C 107.434 6.79604 91.0273 0.00028712 73.5759 0.00028712 C 56.1245 0.00028712 39.7177 6.79604 27.3777 19.136 C 15.0389 31.476 8.24198 47.8828 8.24198 65.3336 C 8.24198 82.7856 15.0383 99.1924 27.3777 111.532 C 39.7177 123.872 56.1245 130.668 73.5759 130.668 C 91.0279 130.668 107.434 123.872 119.774 111.532 C 132.114 99.1924 138.91 82.7856 138.91 65.3336 C 138.91 47.8828 132.114 31.476 119.774 19.136"},null,-1)),Fd(()=>a.createElementVNode("path",{class:"plate",d:"M -8.72e-05 136.811 L 147.151 136.811 L 147.151 147.433 L -8.72e-05 147.433 Z"},null,-1)),Fd(()=>a.createElementVNode("path",{class:"main-text",d:"M203.5 25.928h12.66v65.517H203.5zM220.118 91.445V25.928h13.5l6.026 31.348V25.928h12.661v65.517h-12.814l-6.559-32.796v32.796ZM263.073 91.445V38.513h-7.78V25.928h28.678v12.585h-7.78v52.932ZM286.96 91.445V25.928h26.237V38.59h-12.89v12.737h12.357v12.357h-12.357v15.024h13.73v12.738ZM333.813 50.183c1.83 0 2.745-1.984 2.745-5.95 0-1.728-.075-3.025-.228-3.89-.152-.864-.433-1.46-.839-1.792-.408-.33-.992-.495-1.755-.495h-3.05v12.127Zm-16.475-24.255h20.136c3.204 0 5.682.724 7.437 2.174 1.753 1.45 2.936 3.484 3.546 6.102.61 2.619.916 5.962.916 10.03 0 3.712-.485 6.61-1.45 8.694-.966 2.086-2.644 3.535-5.034 4.348 1.984.408 3.42 1.4 4.309 2.974.89 1.577 1.336 3.713 1.336 6.408l-.153 24.787h-12.814V65.818c0-1.83-.357-2.999-1.068-3.508-.712-.508-2.01-.763-3.89-.763v29.898h-13.271zM352.712 91.445V25.928h13.5l6.026 31.348V25.928H384.9v65.517h-12.815l-6.56-32.796v32.796ZM402.592 70.394h5.95l-2.898-33.33h-.61Zm-14.491 21.051 6.33-65.517h22.195l6.255 65.517h-12.433l-.915-10.601H401.6l-.762 10.601zM430.148 91.445V38.513h-7.78V25.928h28.678v12.585h-7.78v52.932ZM453.761 25.928h12.661v65.517h-12.66zM488.616 78.479c.407-1.017.611-2.441.611-4.27V42.173c0-1.423-.19-2.58-.572-3.47-.382-.89-1.158-1.335-2.327-1.335-2.187 0-3.279 1.653-3.279 4.957v31.958c0 1.881.228 3.306.687 4.272.457.966 1.296 1.448 2.517 1.448 1.168 0 1.956-.507 2.363-1.525m-14.414 8.733c-2.747-3.228-4.12-7.767-4.12-13.614V42.403c0-5.644 1.373-9.902 4.12-12.776 2.745-2.872 6.761-4.31 12.05-4.31 5.288 0 9.305 1.438 12.052 4.31 2.745 2.873 4.118 7.132 4.118 12.776v31.195c0 5.898-1.373 10.449-4.118 13.653-2.747 3.203-6.764 4.805-12.051 4.805-5.29 0-9.306-1.614-12.051-4.844M506.234 91.445V25.928h13.5l6.026 31.348V25.928h12.661v65.517h-12.814l-6.559-32.796v32.796ZM556.114 70.394h5.95l-2.898-33.33h-.61Zm-14.491 21.051 6.33-65.517h22.195l6.254 65.517H563.97l-.915-10.601h-7.932l-.763 10.601zM579.574 91.445V25.928h13.118V80.31h13.501v11.136ZM631.475 87.556c-2.873-3-4.308-7.119-4.308-12.356V44.996c0-6.508 1.296-11.414 3.89-14.72 2.592-3.305 6.659-4.958 12.202-4.958 4.83 0 8.72 1.323 11.67 3.966 2.949 2.645 4.424 6.458 4.424 11.44v11.289H646.31v-9.687c0-1.88-.23-3.176-.687-3.89-.458-.71-1.246-1.067-2.365-1.067-1.17 0-1.97.408-2.402 1.22-.433.814-.649 2.01-.649 3.585v32.873c0 1.73.255 2.988.764 3.775.507.79 1.27 1.183 2.287 1.183 2.033 0 3.052-1.652 3.052-4.958V63.225h13.194v12.356c0 10.983-5.517 16.475-16.55 16.475-4.78 0-8.607-1.5-11.48-4.5M681.097 78.479c.407-1.017.61-2.441.61-4.27V42.173c0-1.423-.19-2.58-.571-3.47-.382-.89-1.158-1.335-2.327-1.335-2.187 0-3.279 1.653-3.279 4.957v31.958c0 1.881.228 3.306.687 4.272.457.966 1.296 1.448 2.517 1.448 1.168 0 1.955-.507 2.363-1.525m-14.414 8.733c-2.747-3.228-4.12-7.767-4.12-13.614V42.403c0-5.644 1.373-9.902 4.12-12.776 2.745-2.872 6.76-4.31 12.05-4.31 5.288 0 9.305 1.438 12.051 4.31 2.746 2.873 4.118 7.132 4.118 12.776v31.195c0 5.898-1.372 10.449-4.118 13.653-2.746 3.203-6.762 4.805-12.05 4.805-5.29 0-9.306-1.614-12.051-4.844M698.716 91.445V25.928h13.5l6.025 31.348V25.928h12.661v65.517H718.09l-6.56-32.796v32.796ZM738.24 87.631c-2.645-2.947-3.967-7.703-3.967-14.262v-6.406h12.89v8.16c0 3.255 1.04 4.882 3.127 4.882 1.169 0 1.983-.343 2.44-1.03.459-.687.687-1.843.687-3.47 0-2.136-.256-3.902-.763-5.301-.508-1.398-1.157-2.567-1.945-3.509-.789-.94-2.2-2.402-4.232-4.385l-5.645-5.645c-4.373-4.27-6.56-9-6.56-14.186 0-5.592 1.284-9.85 3.851-12.776 2.568-2.922 6.319-4.385 11.25-4.385 5.9 0 10.145 1.563 12.738 4.691 2.594 3.127 3.89 8.021 3.89 14.682h-13.347l-.076-4.5c0-.864-.242-1.55-.725-2.06-.483-.507-1.156-.762-2.02-.762-1.018 0-1.782.28-2.288.84-.51.56-.764 1.322-.764 2.287 0 2.135 1.22 4.347 3.66 6.635l7.628 7.323c1.78 1.729 3.254 3.369 4.424 4.92 1.17 1.551 2.11 3.382 2.822 5.49.712 2.111 1.068 4.616 1.068 7.514 0 6.458-1.182 11.352-3.547 14.681-2.363 3.331-6.267 4.997-11.708 4.997-5.948 0-10.246-1.475-12.889-4.424M788.02 78.479c.407-1.017.611-2.441.611-4.27V42.173c0-1.423-.191-2.58-.572-3.47-.381-.89-1.158-1.335-2.326-1.335-2.187 0-3.28 1.653-3.28 4.957v31.958c0 1.881.229 3.306.686 4.272.456.966 1.296 1.448 2.517 1.448 1.169 0 1.957-.507 2.365-1.525m-14.416 8.733c-2.745-3.228-4.118-7.767-4.118-13.614V42.403c0-5.644 1.373-9.902 4.118-12.776 2.745-2.872 6.762-4.31 12.05-4.31s9.306 1.438 12.052 4.31c2.745 2.873 4.118 7.132 4.118 12.776v31.195c0 5.898-1.373 10.449-4.118 13.653-2.746 3.203-6.763 4.805-12.051 4.805-5.289 0-9.306-1.614-12.05-4.844M822.113 50.183c1.83 0 2.746-1.984 2.746-5.95 0-1.728-.076-3.025-.229-3.89-.153-.864-.432-1.46-.838-1.792-.408-.33-.993-.495-1.755-.495h-3.05v12.127Zm-16.475-24.255h20.136c3.203 0 5.682.724 7.436 2.174 1.755 1.45 2.937 3.484 3.547 6.102.61 2.619.915 5.962.915 10.03 0 3.712-.484 6.61-1.45 8.694-.965 2.086-2.643 3.535-5.033 4.348 1.983.408 3.419 1.4 4.31 2.974.888 1.577 1.334 3.713 1.334 6.408l-.152 24.787h-12.814V65.818c0-1.83-.356-2.999-1.068-3.508-.712-.508-2.009-.763-3.89-.763v29.898h-13.271zM847.709 91.445V38.513h-7.78V25.928h28.678v12.585h-7.78v52.932ZM871.322 25.928h12.66v65.517h-12.66zM891.472 87.479c-2.62-3.051-3.928-7.576-3.928-13.576V25.928h12.738v47.44c0 2.086.203 3.714.61 4.883.406 1.17 1.27 1.753 2.593 1.753s2.185-.571 2.593-1.716c.406-1.144.61-2.783.61-4.92v-47.44h12.737v47.975c0 6-1.31 10.525-3.928 13.576-2.62 3.051-6.623 4.576-12.012 4.576-5.39 0-9.395-1.525-12.013-4.576M923.17 91.445V25.928h19.983l5.493 39.966 5.49-39.966h20.136v65.517h-11.974V44.234l-7.551 47.211h-11.745l-8.01-47.212v47.212ZM222.11 153.69c.406-1.016.61-2.44.61-4.27v-32.035c0-1.422-.19-2.58-.573-3.47-.381-.89-1.157-1.334-2.326-1.334-2.187 0-3.28 1.652-3.28 4.957v31.958c0 1.881.229 3.306.687 4.271.457.966 1.296 1.45 2.517 1.45 1.17 0 1.956-.509 2.364-1.526m-14.414 8.733c-2.747-3.229-4.12-7.767-4.12-13.615v-31.194c0-5.644 1.373-9.902 4.12-12.777 2.745-2.871 6.76-4.308 12.05-4.308 5.288 0 9.305 1.437 12.051 4.308 2.746 2.875 4.118 7.133 4.118 12.777v31.194c0 5.9-1.372 10.449-4.118 13.653-2.746 3.203-6.763 4.805-12.05 4.805-5.29 0-9.306-1.613-12.051-4.843M239.728 166.657v-65.518h26.236v12.738h-13.04v10.45h12.355v12.584h-12.356v29.746ZM287.396 101.14h12.66v65.517h-12.66zM304.014 166.657v-65.518h13.5l6.026 31.35v-31.35h12.661v65.518h-12.814l-6.559-32.797v32.797ZM347.275 166.657l-8.085-65.593h12.508l4.805 44.619 4.272-44.62h12.508l-8.085 65.594ZM376.264 166.657v-65.518h26.238V113.8h-12.89v12.738h12.356v12.357h-12.356v15.024h13.73v12.738ZM409.937 162.843c-2.644-2.948-3.965-7.703-3.965-14.263v-6.406h12.89v8.161c0 3.254 1.04 4.882 3.126 4.882 1.17 0 1.983-.344 2.441-1.03.457-.686.686-1.843.686-3.47 0-2.136-.255-3.902-.762-5.3-.51-1.4-1.158-2.568-1.945-3.51-.79-.94-2.2-2.402-4.233-4.385l-5.644-5.644c-4.375-4.272-6.56-9-6.56-14.187 0-5.592 1.283-9.85 3.852-12.775 2.566-2.923 6.318-4.386 11.25-4.386 5.898 0 10.145 1.564 12.737 4.691 2.593 3.127 3.89 8.021 3.89 14.681h-13.347l-.077-4.498c0-.865-.242-1.551-.724-2.06-.484-.508-1.158-.763-2.021-.763-1.018 0-1.78.28-2.289.839-.508.56-.762 1.322-.762 2.288 0 2.136 1.22 4.348 3.661 6.636l7.627 7.323c1.78 1.727 3.253 3.367 4.424 4.918 1.169 1.552 2.11 3.383 2.822 5.492.712 2.11 1.067 4.614 1.067 7.512 0 6.458-1.182 11.353-3.546 14.683-2.365 3.33-6.268 4.996-11.708 4.996-5.949 0-10.246-1.474-12.89-4.425M447.867 166.657v-52.932h-7.78v-12.586h28.678v12.586h-7.779v52.932ZM471.48 101.14h12.661v65.517H471.48zM491.272 162.271c-2.314-3.33-3.47-8.377-3.47-15.14v-28.22c0-6.051 1.346-10.626 4.042-13.729 2.695-3.101 6.712-4.652 12.051-4.652 4.321 0 7.676.865 10.068 2.593 2.39 1.729 4.042 4.246 4.957 7.55.916 3.307 1.373 7.551 1.373 12.739h-12.814v-5.873c0-1.577-.216-2.797-.648-3.662-.433-.864-1.208-1.296-2.325-1.296-2.492 0-3.738 1.627-3.738 4.88v31.73c0 1.983.254 3.483.762 4.5.508 1.018 1.399 1.526 2.67 1.526 1.27 0 2.16-.508 2.67-1.526.507-1.017.763-2.517.763-4.5v-9.382h-3.51v-11.287h16.018v38.135h-5.263l-2.212-5.492c-2.34 4.069-5.949 6.102-10.831 6.102-4.728 0-8.25-1.665-10.563-4.996M537.56 145.606h5.949l-2.899-33.33H540Zm-14.492 21.05 6.33-65.516h22.195l6.255 65.517h-12.433l-.915-10.602h-7.932l-.763 10.602zM565.115 166.657v-52.932h-7.78v-12.586h28.679v12.586h-7.78v52.932ZM588.728 101.14h12.662v65.517h-12.662zM612.257 166.657l-8.084-65.593h12.509l4.805 44.619 4.27-44.62h12.51l-8.085 65.594ZM641.247 166.657v-65.518h26.238V113.8h-12.89v12.738h12.356v12.357h-12.357v15.024h13.73v12.738ZM696.924 165.513c-2.44-1.169-4.36-2.885-5.758-5.148-1.4-2.262-2.098-4.996-2.098-8.2v-16.398h12.89v15.635c0 1.17.241 2.099.725 2.785.482.686 1.232 1.03 2.25 1.03.965 0 1.69-.318 2.174-.954.482-.635.724-1.537.724-2.707V101.14h13.195v49.119c0 3.407-.675 6.395-2.021 8.961-1.349 2.569-3.23 4.552-5.645 5.95-2.415 1.4-5.174 2.097-8.275 2.097-3 0-5.72-.585-8.161-1.754M742.968 153.69c.407-1.016.61-2.44.61-4.27v-32.035c0-1.422-.191-2.58-.571-3.47-.382-.89-1.158-1.334-2.327-1.334-2.187 0-3.28 1.652-3.28 4.957v31.958c0 1.881.23 3.306.686 4.271.457.966 1.297 1.45 2.517 1.45 1.17 0 1.957-.509 2.365-1.526m-14.415 8.733c-2.746-3.229-4.12-7.767-4.12-13.615v-31.194c0-5.644 1.374-9.902 4.12-12.777 2.745-2.871 6.762-4.308 12.05-4.308 5.289 0 9.306 1.437 12.051 4.308 2.746 2.875 4.119 7.133 4.119 12.777v31.194c0 5.9-1.373 10.449-4.119 13.653-2.745 3.203-6.762 4.805-12.05 4.805s-9.306-1.613-12.051-4.843M764.126 162.691c-2.62-3.05-3.928-7.575-3.928-13.577V101.14h12.737v47.44c0 2.086.203 3.714.61 4.882.406 1.17 1.27 1.755 2.594 1.755 1.32 0 2.185-.573 2.593-1.717.406-1.144.61-2.783.61-4.92v-47.44h12.737v47.974c0 6.002-1.31 10.526-3.928 13.577-2.62 3.051-6.623 4.576-12.012 4.576-5.391 0-9.395-1.525-12.013-4.576M812.298 125.394c1.831 0 2.746-1.983 2.746-5.95 0-1.727-.076-3.024-.229-3.89-.152-.863-.432-1.46-.84-1.792-.406-.33-.99-.495-1.753-.495h-3.05v12.127Zm-16.474-24.255h20.135c3.205 0 5.683.726 7.438 2.175 1.753 1.448 2.935 3.483 3.545 6.101.61 2.62.917 5.962.917 10.03 0 3.713-.485 6.61-1.45 8.694-.967 2.086-2.644 3.535-5.034 4.349 1.983.407 3.42 1.398 4.309 2.974.89 1.576 1.335 3.712 1.335 6.407l-.153 24.788h-12.813V141.03c0-1.83-.357-3-1.068-3.508-.712-.509-2.01-.764-3.89-.764v29.899h-13.271zM831.197 166.657v-65.518h13.5l6.026 31.35v-31.35h12.662v65.518H850.57l-6.559-32.797v32.797ZM881.078 145.606h5.95l-2.899-33.33h-.61Zm-14.492 21.05 6.331-65.516h22.194l6.255 65.517h-12.432l-.915-10.602h-7.932l-.763 10.602zM904.538 166.657v-65.518h13.118v54.381h13.5v11.137ZM933.91 101.14h12.66v65.517h-12.66zM953.7 162.843c-2.644-2.948-3.965-7.703-3.965-14.263v-6.406h12.89v8.161c0 3.254 1.04 4.882 3.126 4.882 1.17 0 1.983-.344 2.441-1.03.457-.686.686-1.843.686-3.47 0-2.136-.255-3.902-.762-5.3-.51-1.4-1.158-2.568-1.945-3.51-.79-.94-2.2-2.402-4.233-4.385l-5.644-5.644c-4.375-4.272-6.56-9-6.56-14.187 0-5.592 1.283-9.85 3.852-12.775 2.566-2.923 6.318-4.386 11.25-4.386 5.898 0 10.145 1.564 12.737 4.691 2.593 3.127 3.89 8.021 3.89 14.681h-13.347l-.077-4.498c0-.865-.242-1.551-.724-2.06-.485-.508-1.158-.763-2.02-.763-1.02 0-1.782.28-2.29.839-.509.56-.762 1.322-.762 2.288 0 2.136 1.22 4.348 3.661 6.636l7.627 7.323c1.78 1.727 3.253 3.367 4.423 4.918 1.17 1.552 2.11 3.383 2.823 5.492.712 2.11 1.067 4.614 1.067 7.512 0 6.458-1.182 11.353-3.546 14.683-2.365 3.33-6.268 4.996-11.709 4.996-5.948 0-10.244-1.474-12.89-4.425M991.63 166.657v-52.932h-7.78v-12.586h28.678v12.586h-7.78v52.932ZM1018.866 162.843c-2.645-2.948-3.967-7.703-3.967-14.263v-6.406h12.89v8.161c0 3.254 1.042 4.882 3.128 4.882 1.168 0 1.983-.344 2.44-1.03.458-.686.687-1.843.687-3.47 0-2.136-.256-3.902-.764-5.3-.507-1.4-1.156-2.568-1.945-3.51-.788-.94-2.199-2.402-4.231-4.385l-5.645-5.644c-4.374-4.272-6.56-9-6.56-14.187 0-5.592 1.285-9.85 3.852-12.775 2.567-2.923 6.318-4.386 11.25-4.386 5.899 0 10.144 1.564 12.737 4.691 2.594 3.127 3.89 8.021 3.89 14.681h-13.348l-.075-4.498c0-.865-.242-1.551-.725-2.06-.484-.508-1.156-.763-2.02-.763-1.018 0-1.782.28-2.289.839-.509.56-.764 1.322-.764 2.288 0 2.136 1.221 4.348 3.662 6.636l7.627 7.323c1.78 1.727 3.254 3.367 4.424 4.918 1.17 1.552 2.109 3.383 2.822 5.492.712 2.11 1.068 4.614 1.068 7.512 0 6.458-1.182 11.353-3.547 14.683-2.364 3.33-6.267 4.996-11.708 4.996-5.949 0-10.246-1.474-12.89-4.425"},null,-1))];function AF(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("span",{class:a.normalizeClass(["brand-expansion",{"brand-expansion--dark":e.dark,"brand-expansion--animated":e.animated}]),style:a.normalizeStyle(e.style)},[e.mode==="short"?(a.openBlock(),a.createElementBlock("svg",{key:0,width:e.width,height:e.height,viewBox:"0 0 106.166 52.917",xmlns:"http://www.w3.org/2000/svg"},EF,8,xF)):e.mode==="medium"?(a.openBlock(),a.createElementBlock("svg",{key:1,width:e.width,height:e.height,viewBox:"0 0 901.24 200",xmlns:"http://www.w3.org/2000/svg"},NF,8,BF)):e.mode==="long"?(a.openBlock(),a.createElementBlock("svg",{key:2,width:e.width,height:e.height,viewBox:"0 0 1047.01 200",xmlns:"http://www.w3.org/2000/svg"},$F,8,TF)):a.createCommentVNode("",!0)],6)}const Hd=rt(CF,[["render",AF],["__scopeId","data-v-20f4c137"]]);var OF=typeof Ma=="object"&&Ma&&Ma.Object===Object&&Ma,j5=OF,MF=j5,PF=typeof self=="object"&&self&&self.Object===Object&&self,IF=MF||PF||Function("return this")(),uo=IF,VF=uo,RF=VF.Symbol,Jc=RF,G5=Jc,Y5=Object.prototype,LF=Y5.hasOwnProperty,DF=Y5.toString,Qc=G5?G5.toStringTag:void 0;function zF(e){var t=LF.call(e,Qc),n=e[Qc];try{e[Qc]=void 0;var r=!0}catch(i){}var o=DF.call(e);return r&&(t?e[Qc]=n:delete e[Qc]),o}var FF=zF,HF=Object.prototype,UF=HF.toString;function WF(e){return UF.call(e)}var jF=WF,q5=Jc,GF=FF,YF=jF,qF="[object Null]",KF="[object Undefined]",K5=q5?q5.toStringTag:void 0;function XF(e){return e==null?e===void 0?KF:qF:K5&&K5 in Object(e)?GF(e):YF(e)}var rs=XF,ZF=Array.isArray,dn=ZF;function JF(e){return e!=null&&typeof e=="object"}var Vi=JF,QF=rs,eH=dn,tH=Vi,nH="[object String]";function rH(e){return typeof e=="string"||!eH(e)&&tH(e)&&QF(e)==nH}var aH=rH;const Ud=_t(aH),wg=e=>(a.pushScopeId("data-v-316d5639"),e=e(),a.popScopeId(),e),oH=["width","height"],iH=[wg(()=>a.createElementVNode("path",{class:"triangle",d:"M101.997 200H45.155l28.42-46.427z"},null,-1)),wg(()=>a.createElementVNode("path",{class:"globe",d:"M119.771 19.138C107.432 6.793 91.028 0 73.576 0S39.719 6.793 27.38 19.138C15.035 31.477 8.242 47.882 8.242 65.334c0 17.451 6.793 33.856 19.138 46.195 12.339 12.339 28.744 19.138 46.196 19.138 17.452 0 33.856-6.793 46.195-19.138C132.11 99.19 138.91 82.785 138.91 65.334c0-17.452-6.793-33.857-19.138-46.196zm3.397 23.028a54.35 54.35 0 0 1 4.863 17.86H108.79c-.262-6.173-.968-12.175-2.094-17.86h16.478zM112.266 26.65a54.792 54.792 0 0 1 4.346 4.894H103.98c-1.254-3.939-2.733-7.634-4.431-11.024a61.475 61.475 0 0 0-2.6-4.681c5.619 2.654 10.793 6.288 15.316 10.81zm-14.11 33.376H78.89v-17.86h16.965c1.241 5.6 2.02 11.614 2.3 17.86zm-8.109-34.758a63.605 63.605 0 0 1 2.71 6.276H78.89v-19.48c4.03 2.174 7.92 6.721 11.157 13.204zm-32.943 0c3.238-6.477 7.134-11.03 11.158-13.203v19.473H54.395a62.794 62.794 0 0 1 2.709-6.276zm11.158 16.898v17.86H48.996c.286-6.246 1.065-12.26 2.3-17.86zM34.886 26.65A54.905 54.905 0 0 1 50.2 15.833a59.443 59.443 0 0 0-2.6 4.68c-1.698 3.391-3.177 7.086-4.43 11.025H30.538a55.764 55.764 0 0 1 4.347-4.894zm5.57 15.516c-1.127 5.685-1.833 11.687-2.095 17.86H19.12a54.201 54.201 0 0 1 4.863-17.86h16.478ZM23.976 88.507a54.35 54.35 0 0 1-4.863-17.86h19.241c.262 6.173.968 12.181 2.094 17.86H23.971Zm10.902 15.517a54.793 54.793 0 0 1-4.346-4.894h12.631c1.254 3.938 2.733 7.633 4.432 11.023a61.476 61.476 0 0 0 2.599 4.681 54.569 54.569 0 0 1-15.316-10.816zm14.11-33.376h19.266v17.86H51.29c-1.241-5.6-2.02-11.615-2.3-17.86Zm8.109 34.757a63.605 63.605 0 0 1-2.71-6.275h13.867v19.472c-4.03-2.173-7.919-6.72-11.157-13.203zm32.943 0c-3.238 6.477-7.134 11.03-11.157 13.203V99.136H92.75a62.793 62.793 0 0 1-2.709 6.275zM78.884 88.507v-17.86h19.265c-.286 6.246-1.065 12.26-2.3 17.86zm33.376 15.517a54.759 54.759 0 0 1-15.316 10.81 59.444 59.444 0 0 0 2.6-4.68c1.698-3.391 3.177-7.086 4.43-11.024h12.632a55.763 55.763 0 0 1-4.346 4.894zm-5.57-15.517c1.126-5.685 1.832-11.687 2.094-17.86h19.241a54.201 54.201 0 0 1-4.863 17.86h-16.478z",style:{"stroke-width":"0.608717"}},null,-1)),wg(()=>a.createElementVNode("path",{class:"plate",d:"M 147.151 136.809 L 147.151 147.431 L 9.02755e-15 147.431 L 8.37714e-15 136.809 Z",style:{"stroke-width":"0.608717"}},null,-1))],Sg=rt(a.defineComponent({__name:"Brand",props:{animated:{type:Boolean},color:{default:null},background:{default:null},size:{default:"70px"},square:{type:Boolean}},setup(e){const t=e,n=a.ref(Ud(t.size)?parseInt(t.size):t.size),r=a.computed(()=>`${147.151/200*n.value}px`),o=a.computed(()=>`${n.value}px`),i=a.computed(()=>{const{square:l}=t,s=l?o.value:"auto";return{"--monochrome-color":t.color,color:t.color,background:t.background,width:s}});return(l,s)=>(a.openBlock(),a.createElementBlock("span",{class:a.normalizeClass(["brand",{"brand--animated":l.animated}]),style:a.normalizeStyle(i.value)},[(a.openBlock(),a.createElementBlock("svg",{width:r.value,height:o.value,viewBox:"0 0 147.151 200",xmlns:"http://www.w3.org/2000/svg"},iH,8,oH))],6))}}),[["__scopeId","data-v-316d5639"]]);function lH(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var Wd=lH,sH=rs,cH=Vi,uH="[object Symbol]";function fH(e){return typeof e=="symbol"||cH(e)&&sH(e)==uH}var as=fH,X5=Jc,dH=Wd,hH=dn,pH=as,mH=1/0,Z5=X5?X5.prototype:void 0,J5=Z5?Z5.toString:void 0;function Q5(e){if(typeof e=="string")return e;if(hH(e))return dH(e,Q5)+"";if(pH(e))return J5?J5.call(e):"";var t=e+"";return t=="0"&&1/e==-mH?"-0":t}var gH=Q5,yH=gH;function vH(e){return e==null?"":yH(e)}var jd=vH,bH=jd,_H=0;function wH(e){var t=++_H;return bH(e)+t}var SH=wH;const e8=_t(SH);var kg={},t8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="xmark",r=384,o=512,i=[128473,10005,10006,10060,215,"close","multiply","remove","times"],l="f00d",s="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";e.definition={prefix:t,iconName:n,icon:[r,o,i,l,s]},e.faXmark=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=o,e.ligatures=i,e.unicode=l,e.svgPathData=s,e.aliases=i})(t8),function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=t8;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faTimes=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(kg);/**
|
|
815
|
-
* @vue/shared v3.4.21
|
|
816
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
817
|
-
* @license MIT
|
|
818
|
-
**/function kH(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Yo=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const os=()=>{},CH=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Pa=Object.assign,xH=Object.prototype.hasOwnProperty,nn=(e,t)=>xH.call(e,t),Dt=Array.isArray,is=e=>Yd(e)==="[object Map]",EH=e=>Yd(e)==="[object Set]",Tn=e=>typeof e=="function",pa=e=>typeof e=="string",Gd=e=>typeof e=="symbol",ma=e=>e!==null&&typeof e=="object",BH=e=>(ma(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),NH=Object.prototype.toString,Yd=e=>NH.call(e),n8=e=>Yd(e).slice(8,-1),TH=e=>Yd(e)==="[object Object]",Cg=e=>pa(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,r8=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},a8=r8(e=>e.charAt(0).toUpperCase()+e.slice(1)),$H=r8(e=>e?`on${a8(e)}`:""),ls=(e,t)=>!Object.is(e,t),AH=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let o8;const i8=()=>o8||(o8=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function xg(e){if(Dt(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=pa(r)?IH(r):xg(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(pa(e)||ma(e))return e}const OH=/;(?![^(]*\))/g,MH=/:([^]+)/,PH=/\/\*[^]*?\*\//g;function IH(e){const t={};return e.replace(PH,"").split(OH).forEach(n=>{if(n){const r=n.split(MH);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Eg(e){let t="";if(pa(e))t=e;else if(Dt(e))for(let n=0;n<e.length;n++){const r=Eg(e[n]);r&&(t+=r+" ")}else if(ma(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}/**
|
|
819
|
-
* @vue/reactivity v3.4.21
|
|
820
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
821
|
-
* @license MIT
|
|
822
|
-
**/function eu(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let VH;function RH(e,t=VH){t&&t.active&&t.effects.push(e)}let tu;class LH{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,RH(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,qd();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(DH(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Kd()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ri,n=tu;try{return Ri=!0,tu=this,this._runnings++,l8(this),this.fn()}finally{s8(this),this._runnings--,tu=n,Ri=t}}stop(){var t;this.active&&(l8(this),s8(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function DH(e){return e.value}function l8(e){e._trackId++,e._depsLength=0}function s8(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)c8(e.deps[t],e);e.deps.length=e._depsLength}}function c8(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Ri=!0,Bg=0;const u8=[];function qd(){u8.push(Ri),Ri=!1}function Kd(){const e=u8.pop();Ri=e===void 0?!0:e}function Ng(){Bg++}function Tg(){for(Bg--;!Bg&&$g.length;)$g.shift()()}function zH(e,t,n){var r;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const o=e.deps[e._depsLength];o!==t?(o&&c8(o,e),e.deps[e._depsLength++]=t):e._depsLength++,process.env.NODE_ENV!=="production"&&((r=e.onTrack)==null||r.call(e,Pa({effect:e},n)))}}const $g=[];function FH(e,t,n){var r;Ng();for(const o of e.keys()){let i;o._dirtyLevel<t&&(i!=null?i:i=e.get(o)===o._trackId)&&(o._shouldSchedule||(o._shouldSchedule=o._dirtyLevel===0),o._dirtyLevel=t),o._shouldSchedule&&(i!=null?i:i=e.get(o)===o._trackId)&&(process.env.NODE_ENV!=="production"&&((r=o.onTrigger)==null||r.call(o,Pa({effect:o},n))),o.trigger(),(!o._runnings||o.allowRecurse)&&o._dirtyLevel!==2&&(o._shouldSchedule=!1,o.scheduler&&$g.push(o.scheduler)))}Tg()}const HH=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ag=new WeakMap,Li=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),Og=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");function sr(e,t,n){if(Ri&&tu){let r=Ag.get(e);r||Ag.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=HH(()=>r.delete(n))),zH(tu,o,process.env.NODE_ENV!=="production"?{target:e,type:t,key:n}:void 0)}}function qo(e,t,n,r,o,i){const l=Ag.get(e);if(!l)return;let s=[];if(t==="clear")s=[...l.values()];else if(n==="length"&&Dt(e)){const c=Number(r);l.forEach((u,d)=>{(d==="length"||!Gd(d)&&d>=c)&&s.push(u)})}else switch(n!==void 0&&s.push(l.get(n)),t){case"add":Dt(e)?Cg(n)&&s.push(l.get("length")):(s.push(l.get(Li)),is(e)&&s.push(l.get(Og)));break;case"delete":Dt(e)||(s.push(l.get(Li)),is(e)&&s.push(l.get(Og)));break;case"set":is(e)&&s.push(l.get(Li));break}Ng();for(const c of s)c&&FH(c,4,process.env.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:i}:void 0);Tg()}const UH=kH("__proto__,__v_isRef,__isVue"),f8=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Gd)),d8=WH();function WH(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=wt(this);for(let i=0,l=this.length;i<l;i++)sr(r,"get",i+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(wt)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){qd(),Ng();const r=wt(this)[t].apply(this,n);return Tg(),Kd(),r}}),e}function jH(e){const t=wt(this);return sr(t,"has",e),t.hasOwnProperty(e)}class h8{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?S8:w8:i?aU:_8).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=Dt(t);if(!o){if(l&&nn(d8,n))return Reflect.get(d8,n,r);if(n==="hasOwnProperty")return jH}const s=Reflect.get(t,n,r);return(Gd(n)?f8.has(n):UH(n))||(o||sr(t,"get",n),i)?s:ga(s)?l&&Cg(n)?s:s.value:ma(s)?o?C8(s):k8(s):s}}class GH extends h8{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const c=nu(i);if(!Vg(r)&&!nu(r)&&(i=wt(i),r=wt(r)),!Dt(t)&&ga(i)&&!ga(r))return c?!1:(i.value=r,!0)}const l=Dt(t)&&Cg(n)?Number(n)<t.length:nn(t,n),s=Reflect.set(t,n,r,o);return t===wt(o)&&(l?ls(r,i)&&qo(t,"set",n,r,i):qo(t,"add",n,r)),s}deleteProperty(t,n){const r=nn(t,n),o=t[n],i=Reflect.deleteProperty(t,n);return i&&r&&qo(t,"delete",n,void 0,o),i}has(t,n){const r=Reflect.has(t,n);return(!Gd(n)||!f8.has(n))&&sr(t,"has",n),r}ownKeys(t){return sr(t,"iterate",Dt(t)?"length":Li),Reflect.ownKeys(t)}}class p8 extends h8{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&eu(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&eu(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const YH=new GH,qH=new p8,KH=new p8(!0),Mg=e=>e,Xd=e=>Reflect.getPrototypeOf(e);function Zd(e,t,n=!1,r=!1){e=e.__v_raw;const o=wt(e),i=wt(t);n||(ls(t,i)&&sr(o,"get",t),sr(o,"get",i));const{has:l}=Xd(o),s=r?Mg:n?Dg:Lg;if(l.call(o,t))return s(e.get(t));if(l.call(o,i))return s(e.get(i));e!==o&&e.get(t)}function Jd(e,t=!1){const n=this.__v_raw,r=wt(n),o=wt(e);return t||(ls(e,o)&&sr(r,"has",e),sr(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Qd(e,t=!1){return e=e.__v_raw,!t&&sr(wt(e),"iterate",Li),Reflect.get(e,"size",e)}function m8(e){e=wt(e);const t=wt(this);return Xd(t).has.call(t,e)||(t.add(e),qo(t,"add",e,e)),this}function g8(e,t){t=wt(t);const n=wt(this),{has:r,get:o}=Xd(n);let i=r.call(n,e);i?process.env.NODE_ENV!=="production"&&b8(n,r,e):(e=wt(e),i=r.call(n,e));const l=o.call(n,e);return n.set(e,t),i?ls(t,l)&&qo(n,"set",e,t,l):qo(n,"add",e,t),this}function y8(e){const t=wt(this),{has:n,get:r}=Xd(t);let o=n.call(t,e);o?process.env.NODE_ENV!=="production"&&b8(t,n,e):(e=wt(e),o=n.call(t,e));const i=r?r.call(t,e):void 0,l=t.delete(e);return o&&qo(t,"delete",e,void 0,i),l}function v8(){const e=wt(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?is(e)?new Map(e):new Set(e):void 0,r=e.clear();return t&&qo(e,"clear",void 0,void 0,n),r}function eh(e,t){return function(r,o){const i=this,l=i.__v_raw,s=wt(l),c=t?Mg:e?Dg:Lg;return!e&&sr(s,"iterate",Li),l.forEach((u,d)=>r.call(o,c(u),c(d),i))}}function th(e,t,n){return function(...r){const o=this.__v_raw,i=wt(o),l=is(i),s=e==="entries"||e===Symbol.iterator&&l,c=e==="keys"&&l,u=o[e](...r),d=n?Mg:t?Dg:Lg;return!t&&sr(i,"iterate",c?Og:Li),{next(){const{value:p,done:m}=u.next();return m?{value:p,done:m}:{value:s?[d(p[0]),d(p[1])]:d(p),done:m}},[Symbol.iterator](){return this}}}}function Ko(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";eu(`${a8(e)} operation ${n}failed: target is readonly.`,wt(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function XH(){const e={get(i){return Zd(this,i)},get size(){return Qd(this)},has:Jd,add:m8,set:g8,delete:y8,clear:v8,forEach:eh(!1,!1)},t={get(i){return Zd(this,i,!1,!0)},get size(){return Qd(this)},has:Jd,add:m8,set:g8,delete:y8,clear:v8,forEach:eh(!1,!0)},n={get(i){return Zd(this,i,!0)},get size(){return Qd(this,!0)},has(i){return Jd.call(this,i,!0)},add:Ko("add"),set:Ko("set"),delete:Ko("delete"),clear:Ko("clear"),forEach:eh(!0,!1)},r={get(i){return Zd(this,i,!0,!0)},get size(){return Qd(this,!0)},has(i){return Jd.call(this,i,!0)},add:Ko("add"),set:Ko("set"),delete:Ko("delete"),clear:Ko("clear"),forEach:eh(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=th(i,!1,!1),n[i]=th(i,!0,!1),t[i]=th(i,!1,!0),r[i]=th(i,!0,!0)}),[e,n,t,r]}const[ZH,JH,QH,eU]=XH();function Pg(e,t){const n=t?e?eU:QH:e?JH:ZH;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(nn(n,o)&&o in r?n:r,o,i)}const tU={get:Pg(!1,!1)},nU={get:Pg(!0,!1)},rU={get:Pg(!0,!0)};function b8(e,t,n){const r=wt(n);if(r!==n&&t.call(e,r)){const o=n8(e);eu(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const _8=new WeakMap,aU=new WeakMap,w8=new WeakMap,S8=new WeakMap;function oU(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function iU(e){return e.__v_skip||!Object.isExtensible(e)?0:oU(n8(e))}function k8(e){return nu(e)?e:Ig(e,!1,YH,tU,_8)}function C8(e){return Ig(e,!0,qH,nU,w8)}function nh(e){return Ig(e,!0,KH,rU,S8)}function Ig(e,t,n,r,o){if(!ma(e))return process.env.NODE_ENV!=="production"&&eu(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const l=iU(e);if(l===0)return e;const s=new Proxy(e,l===2?r:n);return o.set(e,s),s}function ss(e){return nu(e)?ss(e.__v_raw):!!(e&&e.__v_isReactive)}function nu(e){return!!(e&&e.__v_isReadonly)}function Vg(e){return!!(e&&e.__v_isShallow)}function Rg(e){return ss(e)||nu(e)}function wt(e){const t=e&&e.__v_raw;return t?wt(t):e}function lU(e){return Object.isExtensible(e)&&AH(e,"__v_skip",!0),e}const Lg=e=>ma(e)?k8(e):e,Dg=e=>ma(e)?C8(e):e;function ga(e){return!!(e&&e.__v_isRef===!0)}function sU(e){return ga(e)?e.value:e}const cU={get:(e,t,n)=>sU(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return ga(o)&&!ga(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function uU(e){return ss(e)?e:new Proxy(e,cU)}/**
|
|
823
|
-
* @vue/runtime-core v3.4.21
|
|
824
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
825
|
-
* @license MIT
|
|
826
|
-
**/const Di=[];function fU(e){Di.push(e)}function dU(){Di.pop()}function Kt(e,...t){qd();const n=Di.length?Di[Di.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=hU();if(r)zi(r,n,11,[e+t.map(i=>{var l,s;return(s=(l=i.toString)==null?void 0:l.call(i))!=null?s:JSON.stringify(i)}).join(""),n&&n.proxy,o.map(({vnode:i})=>`at <${G8(n,i.type)}>`).join(`
|
|
827
|
-
`),o]);else{const i=[`[Vue warn]: ${e}`,...t];o.length&&i.push(`
|
|
828
|
-
`,...pU(o)),console.warn(...i)}Kd()}function hU(){let e=Di[Di.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 r=e.component&&e.component.parent;e=r&&r.vnode}return t}function pU(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
829
|
-
`],...mU(n))}),t}function mU({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${G8(e.component,e.type,r)}`,i=">"+n;return e.props?[o,...gU(e.props),i]:[o+i]}function gU(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...x8(r,e[r]))}),n.length>3&&t.push(" ..."),t}function x8(e,t,n){return pa(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ga(t)?(t=x8(e,wt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Tn(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=wt(t),n?t:[`${e}=`,t])}const zg={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. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function zi(e,t,n,r){try{return r?e(...r):e()}catch(o){Fg(o,t,n)}}function ru(e,t,n,r){if(Tn(e)){const i=zi(e,t,n,r);return i&&BH(i)&&i.catch(l=>{Fg(l,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(ru(e[i],t,n,r));return o}function Fg(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const l=t.proxy,s=process.env.NODE_ENV!=="production"?zg[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const u=i.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,l,s)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){zi(c,null,10,[e,l,s]);return}}yU(e,n,o,r)}function yU(e,t,n,r=!0){if(process.env.NODE_ENV!=="production"){const o=zg[t];if(n&&fU(n),Kt(`Unhandled error${o?` during execution of ${o}`:""}`),n&&dU(),r)throw e;console.error(e)}else console.error(e)}let rh=!1,Hg=!1;const ya=[];let Xo=0;const cs=[];let fo=null,Zo=0;const E8=Promise.resolve();let Ug=null;const vU=100;function bU(e){const t=Ug||E8;return e?t.then(this?e.bind(this):e):t}function _U(e){let t=Xo+1,n=ya.length;for(;t<n;){const r=t+n>>>1,o=ya[r],i=au(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}function Wg(e){(!ya.length||!ya.includes(e,rh&&e.allowRecurse?Xo+1:Xo))&&(e.id==null?ya.push(e):ya.splice(_U(e.id),0,e),B8())}function B8(){!rh&&!Hg&&(Hg=!0,Ug=E8.then(T8))}function N8(e){Dt(e)?cs.push(...e):(!fo||!fo.includes(e,e.allowRecurse?Zo+1:Zo))&&cs.push(e),B8()}function wU(e){if(cs.length){const t=[...new Set(cs)].sort((n,r)=>au(n)-au(r));if(cs.length=0,fo){fo.push(...t);return}for(fo=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Zo=0;Zo<fo.length;Zo++)process.env.NODE_ENV!=="production"&&$8(e,fo[Zo])||fo[Zo]();fo=null,Zo=0}}const au=e=>e.id==null?1/0:e.id,SU=(e,t)=>{const n=au(e)-au(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function T8(e){Hg=!1,rh=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),ya.sort(SU);const t=process.env.NODE_ENV!=="production"?n=>$8(e,n):os;try{for(Xo=0;Xo<ya.length;Xo++){const n=ya[Xo];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&t(n))continue;zi(n,null,14)}}}finally{Xo=0,ya.length=0,wU(e),rh=!1,Ug=null,(ya.length||cs.length)&&T8(e)}}function $8(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>vU){const r=t.ownerInstance,o=r&&j8(r.type);return Fg(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}const ou=new Set;process.env.NODE_ENV!=="production"&&(i8().__VUE_HMR_RUNTIME__={createRecord:jg(kU),rerender:jg(CU),reload:jg(xU)});const ah=new Map;function kU(e,t){return ah.has(e)?!1:(ah.set(e,{initialDef:iu(t),instances:new Set}),!0)}function iu(e){return Y8(e)?e.__vccOpts:e}function CU(e,t){const n=ah.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,iu(r.type).render=t),r.renderCache=[],r.effect.dirty=!0,r.update()}))}function xU(e,t){const n=ah.get(e);if(!n)return;t=iu(t),A8(n.initialDef,t);const r=[...n.instances];for(const o of r){const i=iu(o.type);ou.has(i)||(i!==n.initialDef&&A8(i,t),ou.add(i)),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(ou.add(i),o.ceReload(t.styles),ou.delete(i)):o.parent?(o.parent.effect.dirty=!0,Wg(o.parent.update)):o.appContext.reload?o.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}N8(()=>{for(const o of r)ou.delete(iu(o.type))})}function A8(e,t){Pa(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function jg(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let us,oh=[];function O8(e,t){var n,r;us=e,us?(us.enabled=!0,oh.forEach(({event:o,args:i})=>us.emit(o,...i)),oh=[]):typeof window!="undefined"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{O8(i,t)}),setTimeout(()=>{us||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,oh=[])},3e3)):oh=[]}let ho=null,EU=null;function hSe(){}const BU=Symbol.for("v-ndc"),NU=e=>e.__isSuspense;function TU(e,t){t&&t.pendingBranch?Dt(e)?t.effects.push(...e):t.effects.push(e):N8(e)}const $U=Symbol.for("v-scx"),AU=()=>{{const e=UU($U);return e||process.env.NODE_ENV!=="production"&&Kt("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},ih={};function OU(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:l,onTrigger:s}=Yo){if(t&&i){const B=t;t=(...N)=>{B(...N),x()}}process.env.NODE_ENV!=="production"&&r!==void 0&&typeof r=="number"&&Kt('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),process.env.NODE_ENV!=="production"&&!t&&(n!==void 0&&Kt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&Kt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&Kt('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const c=B=>{Kt("Invalid watch source: ",B,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=hs,d=B=>r===!0?B:fs(B,r===!1?1:void 0);let p,m=!1,g=!1;if(ga(e)?(p=()=>e.value,m=Vg(e)):ss(e)?(p=()=>d(e),m=!0):Dt(e)?(g=!0,m=e.some(B=>ss(B)||Vg(B)),p=()=>e.map(B=>{if(ga(B))return B.value;if(ss(B))return d(B);if(Tn(B))return zi(B,u,2);process.env.NODE_ENV!=="production"&&c(B)})):Tn(e)?t?p=()=>zi(e,u,2):p=()=>(v&&v(),ru(e,u,3,[w])):(p=os,process.env.NODE_ENV!=="production"&&c(e)),t&&r){const B=p;p=()=>fs(B())}let v,w=B=>{v=k.onStop=()=>{zi(B,u,4),v=k.onStop=void 0}},_;if(Xg)if(w=os,t?n&&ru(t,u,3,[p(),g?[]:void 0,w]):p(),o==="sync"){const B=AU();_=B.__watcherHandles||(B.__watcherHandles=[])}else return os;let y=g?new Array(e.length).fill(ih):ih;const C=()=>{if(!(!k.active||!k.dirty))if(t){const B=k.run();(r||m||(g?B.some((N,$)=>ls(N,y[$])):ls(B,y)))&&(v&&v(),ru(t,u,3,[B,y===ih?void 0:g&&y[0]===ih?[]:y,w]),y=B)}else k.run()};C.allowRecurse=!!t;let S;o==="sync"?S=C:o==="post"?S=()=>L8(C,u&&u.suspense):(C.pre=!0,u&&(C.id=u.uid),S=()=>Wg(C));const k=new LH(p,os,S),x=()=>{k.stop()};return process.env.NODE_ENV!=="production"&&(k.onTrack=l,k.onTrigger=s),t?n?C():y=k.run():o==="post"?L8(k.run.bind(k),u&&u.suspense):k.run(),_&&_.push(x),x}function MU(e,t,n){const r=this.proxy,o=pa(e)?e.includes(".")?PU(r,e):()=>r[e]:e.bind(r,r);let i;Tn(t)?i=t:(i=t.handler,n=t);const l=W8(this),s=OU(o,i.bind(r),n);return l(),s}function PU(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function fs(e,t,n=0,r){if(!ma(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),ga(e))fs(e.value,t,n,r);else if(Dt(e))for(let o=0;o<e.length;o++)fs(e[o],t,n,r);else if(EH(e)||is(e))e.forEach(o=>{fs(o,t,n,r)});else if(TH(e))for(const o in e)fs(e[o],t,n,r);return e}function IU(e,t,n=hs,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;qd();const s=W8(n),c=ru(t,n,e,l);return s(),Kd(),c});return r?o.unshift(i):o.push(i),i}else if(process.env.NODE_ENV!=="production"){const o=$H(zg[e].replace(/ hook$/,""));Kt(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const VU=(e=>(t,n=hs)=>(!Xg||e==="sp")&&IU(e,(...r)=>t(...r),n))("bm"),Gg=e=>e?eW(e)?tW(e)||e.proxy:Gg(e.parent):null,lu=Pa(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?nh(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?nh(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?nh(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?nh(e.refs):e.refs,$parent:e=>Gg(e.parent),$root:e=>Gg(e.root),$emit:e=>e.emit,$options:e=>DU(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Wg(e.update)}),$nextTick:e=>e.n||(e.n=bU.bind(e.proxy)),$watch:e=>MU.bind(e)}),RU=e=>e==="_"||e==="$",Yg=(e,t)=>e!==Yo&&!e.__isScriptSetup&&nn(e,t),LU={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:l,type:s,appContext:c}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let u;if(t[0]!=="$"){const g=l[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Yg(r,t))return l[t]=1,r[t];if(o!==Yo&&nn(o,t))return l[t]=2,o[t];if((u=e.propsOptions[0])&&nn(u,t))return l[t]=3,i[t];if(n!==Yo&&nn(n,t))return l[t]=4,n[t];l[t]=0}}const d=lu[t];let p,m;if(d)return t==="$attrs"?(sr(e,"get",t),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&sr(e,"get",t),d(e);if((p=s.__cssModules)&&(p=p[t]))return p;if(n!==Yo&&nn(n,t))return l[t]=4,n[t];if(m=c.config.globalProperties,nn(m,t))return m[t];process.env.NODE_ENV!=="production"&&ho&&(!pa(t)||t.indexOf("__v")!==0)&&(o!==Yo&&RU(t[0])&&nn(o,t)?Kt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===ho&&Kt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return Yg(o,t)?(o[t]=n,!0):process.env.NODE_ENV!=="production"&&o.__isScriptSetup&&nn(o,t)?(Kt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==Yo&&nn(r,t)?(r[t]=n,!0):nn(e.props,t)?(process.env.NODE_ENV!=="production"&&Kt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&Kt(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},l){let s;return!!n[l]||e!==Yo&&nn(e,l)||Yg(t,l)||(s=i[0])&&nn(s,l)||nn(r,l)||nn(lu,l)||nn(o.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:nn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(LU.ownKeys=e=>(Kt("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function M8(e){return Dt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function DU(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,s=i.get(t);let c;return s?c=s:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(u=>lh(c,u,l,!0)),lh(c,t,l)),ma(t)&&i.set(t,c),c}function lh(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&lh(e,i,n,!0),o&&o.forEach(l=>lh(e,l,n,!0));for(const l in t)if(r&&l==="expose")process.env.NODE_ENV!=="production"&&Kt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const s=zU[l]||n&&n[l];e[l]=s?s(e[l],t[l]):t[l]}return e}const zU={data:P8,props:V8,emits:V8,methods:su,computed:su,beforeCreate:Fn,created:Fn,beforeMount:Fn,mounted:Fn,beforeUpdate:Fn,updated:Fn,beforeDestroy:Fn,beforeUnmount:Fn,destroyed:Fn,unmounted:Fn,activated:Fn,deactivated:Fn,errorCaptured:Fn,serverPrefetch:Fn,components:su,directives:su,watch:HU,provide:P8,inject:FU};function P8(e,t){return t?e?function(){return Pa(Tn(e)?e.call(this,this):e,Tn(t)?t.call(this,this):t)}:t:e}function FU(e,t){return su(I8(e),I8(t))}function I8(e){if(Dt(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Fn(e,t){return e?[...new Set([].concat(e,t))]:t}function su(e,t){return e?Pa(Object.create(null),e,t):t}function V8(e,t){return e?Dt(e)&&Dt(t)?[...new Set([...e,...t])]:Pa(Object.create(null),M8(e),M8(t!=null?t:{})):t}function HU(e,t){if(!e)return t;if(!t)return e;const n=Pa(Object.create(null),e);for(const r in t)n[r]=Fn(e[r],t[r]);return n}let R8=null;function UU(e,t,n=!1){const r=hs||ho;if(r||R8){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:R8._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Tn(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&Kt(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&Kt("inject() can only be used inside setup() or functional components.")}const L8=TU,WU=e=>e.__isTeleport,D8=Symbol.for("v-fgt"),jU=Symbol.for("v-txt"),GU=Symbol.for("v-cmt");let ds=null;function YU(e){return e?e.__v_isVNode===!0:!1}const qU=(...e)=>H8(...e),z8="__vInternal",F8=({key:e})=>e!=null?e:null,sh=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pa(e)||ga(e)||Tn(e)?{i:ho,r:e,k:t,f:!!n}:e:null);function KU(e,t=null,n=null,r=0,o=null,i=e===D8?0:1,l=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&F8(t),ref:t&&sh(t),scopeId:EU,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ho};return s?(qg(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=pa(n)?8:16),process.env.NODE_ENV!=="production"&&c.key!==c.key&&Kt("VNode created with invalid key (NaN). VNode type:",c.type),!l&&ds&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&ds.push(c),c}const XU=process.env.NODE_ENV!=="production"?qU:H8;function H8(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===BU)&&(process.env.NODE_ENV!=="production"&&!e&&Kt(`Invalid vnode type when creating vnode: ${e}.`),e=GU),YU(e)){const s=ch(e,t,!0);return n&&qg(s,n),!i&&ds&&(s.shapeFlag&6?ds[ds.indexOf(e)]=s:ds.push(s)),s.patchFlag|=-2,s}if(Y8(e)&&(e=e.__vccOpts),t){t=ZU(t);let{class:s,style:c}=t;s&&!pa(s)&&(t.class=Eg(s)),ma(c)&&(Rg(c)&&!Dt(c)&&(c=Pa({},c)),t.style=xg(c))}const l=pa(e)?1:NU(e)?128:WU(e)?64:ma(e)?4:Tn(e)?2:0;return process.env.NODE_ENV!=="production"&&l&4&&Rg(e)&&(e=wt(e),Kt("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
830
|
-
Component that was made reactive: `,e)),KU(e,t,n,r,o,l,i,!0)}function ZU(e){return e?Rg(e)||z8 in e?Pa({},e):e:null}function ch(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:l}=e,s=t?QU(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&F8(s),ref:t&&t.ref?n&&o?Dt(o)?o.concat(sh(t)):[o,sh(t)]:sh(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&i===-1&&Dt(l)?l.map(U8):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==D8?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ch(e.ssContent),ssFallback:e.ssFallback&&ch(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function U8(e){const t=ch(e);return Dt(e.children)&&(t.children=e.children.map(U8)),t}function JU(e=" ",t=0){return XU(jU,null,e,t)}function qg(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Dt(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),qg(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(z8 in t)?t._ctx=ho:o===3&&ho&&(ho.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Tn(t)?(t={default:t,_ctx:ho},n=32):(t=String(t),r&64?(n=16,t=[JU(t)]):n=8);e.children=t,e.shapeFlag|=n}function QU(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Eg([t.class,r.class]));else if(o==="style")t.style=xg([t.style,r.style]);else if(CH(o)){const i=t[o],l=r[o];l&&i!==l&&!(Dt(i)&&i.includes(l))&&(t[o]=i?[].concat(i,l):l)}else o!==""&&(t[o]=r[o])}return t}let hs=null,Kg;{const e=i8(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(l=>l(i)):o[0](i)}};Kg=t("__VUE_INSTANCE_SETTERS__",n=>hs=n),t("__VUE_SSR_SETTERS__",n=>Xg=n)}const W8=e=>{const t=hs;return Kg(e),e.scope.on(),()=>{e.scope.off(),Kg(t)}};function eW(e){return e.vnode.shapeFlag&4}let Xg=!1;function tW(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(uU(lU(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in lu)return lu[n](e)},has(t,n){return n in t||n in lu}}))}const nW=/(?:^|[-_])(\w)/g,rW=e=>e.replace(nW,t=>t.toUpperCase()).replace(/[-_]/g,"");function j8(e,t=!0){return Tn(e)?e.displayName||e.name:e.name||t&&e.__name}function G8(e,t,n=!1){let r=j8(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e&&e.parent){const o=i=>{for(const l in i)if(i[l]===t)return l};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?rW(r):n?"App":"Anonymous"}function Y8(e){return Tn(e)&&"__vccOpts"in e}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;const aW=a.defineComponent({name:"ConfirmButton",components:{BTooltip:Yl,Fa:zn},props:{label:{type:String,default:"Are you sure?"},description:{type:String,default:null},noCloseButton:{type:Boolean},confirmed:{type:Function,default:Dd},cancelled:{type:Function,default:Dd},yes:{type:String,default:"Yes"},no:{type:String,default:"No"},placement:{type:String,default:"top"},tag:{type:String,default:"button"}},emits:["toggled","cancelled","confirmed"],setup(e,{emit:t}){VU(()=>{da.add(kg.faTimes)});const n=a.ref(!1),r=e8("murmur-confirm-button-"),o=a.ref(null);function i(){n.value=!n.value,t("toggled",n.value)}function l(){e.cancelled(),t("cancelled")}function s(){e.confirmed(),t("confirmed")}return{showTooltip:n,uniqComponentId:r,cancel:l,confirm:s,confirmationTooltip:o,toggleConfirmationTooltip:i}}}),oW={class:"confirm-button__tooltip"},iW={class:"confirm-button__tooltip__label mb-2"},lW={key:1,class:"confirm-button__tooltip__description mb-2"},sW={class:"confirm-button__tooltip__actions text-end"};function cW(e,t,n,r,o,i){const l=a.resolveComponent("fa"),s=Yl;return a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.tag),{id:e.uniqComponentId,class:"confirm-button",onClick:a.withModifiers(e.toggleConfirmationTooltip,["stop"])},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default",{},()=>[a.createTextVNode("-")]),a.createVNode(s,{ref:"confirmationTooltip","model-value":e.showTooltip,placement:e.placement,target:e.uniqComponentId,manual:""},{default:a.withCtx(()=>[a.createElementVNode("div",oW,[e.noCloseButton?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:"confirm-button__tooltip__cancel btn btn-sm btn-link text-light p-0 float-end",onClick:t[0]||(t[0]=(...c)=>e.cancel&&e.cancel(...c))},[a.createVNode(l,{icon:"times"})])),a.createElementVNode("p",iW,a.toDisplayString(e.label),1),e.description?(a.openBlock(),a.createElementBlock("p",lW,a.toDisplayString(e.description),1)):a.createCommentVNode("",!0),a.createElementVNode("div",sW,[a.createElementVNode("button",{class:"confirm-button__tooltip__actions__cancel btn btn-sm btn-link text-light",onClick:t[1]||(t[1]=(...c)=>e.cancel&&e.cancel(...c))},a.toDisplayString(e.no),1),a.createElementVNode("button",{class:"confirm-button__tooltip__actions__confirm btn btn-sm btn-link text-light fw-bold",onClick:t[2]||(t[2]=(...c)=>e.confirm&&e.confirm(...c))},a.toDisplayString(e.yes),1)])])]),_:1},8,["model-value","placement","target"])]),_:3},8,["id","onClick"])}const q8=rt(aW,[["render",cW]]);var uW=dn,fW=as,dW=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hW=/^\w*$/;function pW(e,t){if(uW(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||fW(e)?!0:hW.test(e)||!dW.test(e)||t!=null&&e in Object(t)}var Zg=pW;function mW(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ps=mW;const gW=_t(ps);var yW=rs,vW=ps,bW="[object AsyncFunction]",_W="[object Function]",wW="[object GeneratorFunction]",SW="[object Proxy]";function kW(e){if(!vW(e))return!1;var t=yW(e);return t==_W||t==wW||t==bW||t==SW}var Jg=kW;const K8=_t(Jg);var CW=uo,xW=CW["__core-js_shared__"],EW=xW,Qg=EW,X8=function(){var e=/[^.]+$/.exec(Qg&&Qg.keys&&Qg.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function BW(e){return!!X8&&X8 in e}var NW=BW,TW=Function.prototype,$W=TW.toString;function AW(e){if(e!=null){try{return $W.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Z8=AW,OW=Jg,MW=NW,PW=ps,IW=Z8,VW=/[\\^$.*+?()[\]{}|]/g,RW=/^\[object .+?Constructor\]$/,LW=Function.prototype,DW=Object.prototype,zW=LW.toString,FW=DW.hasOwnProperty,HW=RegExp("^"+zW.call(FW).replace(VW,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function UW(e){if(!PW(e)||MW(e))return!1;var t=OW(e)?HW:RW;return t.test(IW(e))}var WW=UW;function jW(e,t){return e==null?void 0:e[t]}var GW=jW,YW=WW,qW=GW;function KW(e,t){var n=qW(e,t);return YW(n)?n:void 0}var Fi=KW,XW=Fi,ZW=XW(Object,"create"),uh=ZW,J8=uh;function JW(){this.__data__=J8?J8(null):{},this.size=0}var QW=JW;function ej(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var tj=ej,nj=uh,rj="__lodash_hash_undefined__",aj=Object.prototype,oj=aj.hasOwnProperty;function ij(e){var t=this.__data__;if(nj){var n=t[e];return n===rj?void 0:n}return oj.call(t,e)?t[e]:void 0}var lj=ij,sj=uh,cj=Object.prototype,uj=cj.hasOwnProperty;function fj(e){var t=this.__data__;return sj?t[e]!==void 0:uj.call(t,e)}var dj=fj,hj=uh,pj="__lodash_hash_undefined__";function mj(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=hj&&t===void 0?pj:t,this}var gj=mj,yj=QW,vj=tj,bj=lj,_j=dj,wj=gj;function ms(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ms.prototype.clear=yj,ms.prototype.delete=vj,ms.prototype.get=bj,ms.prototype.has=_j,ms.prototype.set=wj;var Sj=ms;function kj(){this.__data__=[],this.size=0}var Cj=kj;function xj(e,t){return e===t||e!==e&&t!==t}var fh=xj;const Ej=_t(fh);var Bj=fh;function Nj(e,t){for(var n=e.length;n--;)if(Bj(e[n][0],t))return n;return-1}var dh=Nj,Tj=dh,$j=Array.prototype,Aj=$j.splice;function Oj(e){var t=this.__data__,n=Tj(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Aj.call(t,n,1),--this.size,!0}var Mj=Oj,Pj=dh;function Ij(e){var t=this.__data__,n=Pj(t,e);return n<0?void 0:t[n][1]}var Vj=Ij,Rj=dh;function Lj(e){return Rj(this.__data__,e)>-1}var Dj=Lj,zj=dh;function Fj(e,t){var n=this.__data__,r=zj(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var Hj=Fj,Uj=Cj,Wj=Mj,jj=Vj,Gj=Dj,Yj=Hj;function gs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}gs.prototype.clear=Uj,gs.prototype.delete=Wj,gs.prototype.get=jj,gs.prototype.has=Gj,gs.prototype.set=Yj;var hh=gs,qj=Fi,Kj=uo,Xj=qj(Kj,"Map"),ey=Xj,Q8=Sj,Zj=hh,Jj=ey;function Qj(){this.size=0,this.__data__={hash:new Q8,map:new(Jj||Zj),string:new Q8}}var eG=Qj;function tG(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var nG=tG,rG=nG;function aG(e,t){var n=e.__data__;return rG(t)?n[typeof t=="string"?"string":"hash"]:n.map}var ph=aG,oG=ph;function iG(e){var t=oG(this,e).delete(e);return this.size-=t?1:0,t}var lG=iG,sG=ph;function cG(e){return sG(this,e).get(e)}var uG=cG,fG=ph;function dG(e){return fG(this,e).has(e)}var hG=dG,pG=ph;function mG(e,t){var n=pG(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var gG=mG,yG=eG,vG=lG,bG=uG,_G=hG,wG=gG;function ys(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ys.prototype.clear=yG,ys.prototype.delete=vG,ys.prototype.get=bG,ys.prototype.has=_G,ys.prototype.set=wG;var ty=ys,e7=ty,SG="Expected a function";function ny(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(SG);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var l=e.apply(this,r);return n.cache=i.set(o,l)||i,l};return n.cache=new(ny.Cache||e7),n}ny.Cache=e7;var kG=ny,CG=kG,xG=500;function EG(e){var t=CG(e,function(r){return n.size===xG&&n.clear(),r}),n=t.cache;return t}var BG=EG,NG=BG,TG=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$G=/\\(\\)?/g,AG=NG(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(TG,function(n,r,o,i){t.push(o?i.replace($G,"$1"):r||n)}),t}),OG=AG,MG=dn,PG=Zg,IG=OG,VG=jd;function RG(e,t){return MG(e)?e:PG(e,t)?[e]:IG(VG(e))}var t7=RG,LG=as,DG=1/0;function zG(e){if(typeof e=="string"||LG(e))return e;var t=e+"";return t=="0"&&1/e==-DG?"-0":t}var mh=zG,FG=t7,HG=mh;function UG(e,t){t=FG(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[HG(t[n++])];return n&&n==r?e:void 0}var ry=UG,WG=ry;function jG(e,t,n){var r=e==null?void 0:WG(e,t);return r===void 0?n:r}var n7=jG;const Hr=_t(n7);function GG(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var YG=GG;function qG(e){return function(t,n,r){for(var o=-1,i=Object(t),l=r(t),s=l.length;s--;){var c=l[e?s:++o];if(n(i[c],c,i)===!1)break}return t}}var KG=qG,XG=KG,ZG=XG(),JG=ZG;function QG(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var eY=QG,tY=rs,nY=Vi,rY="[object Arguments]";function aY(e){return nY(e)&&tY(e)==rY}var oY=aY,r7=oY,iY=Vi,a7=Object.prototype,lY=a7.hasOwnProperty,sY=a7.propertyIsEnumerable,cY=r7(function(){return arguments}())?r7:function(e){return iY(e)&&lY.call(e,"callee")&&!sY.call(e,"callee")},ay=cY,gh={exports:{}};function uY(){return!1}var fY=uY;gh.exports,function(e,t){var n=uo,r=fY,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,l=i&&i.exports===o,s=l?n.Buffer:void 0,c=s?s.isBuffer:void 0,u=c||r;e.exports=u}(gh,gh.exports);var o7=gh.exports,dY=9007199254740991,hY=/^(?:0|[1-9]\d*)$/;function pY(e,t){var n=typeof e;return t=t==null?dY:t,!!t&&(n=="number"||n!="symbol"&&hY.test(e))&&e>-1&&e%1==0&&e<t}var oy=pY,mY=9007199254740991;function gY(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=mY}var iy=gY,yY=rs,vY=iy,bY=Vi,_Y="[object Arguments]",wY="[object Array]",SY="[object Boolean]",kY="[object Date]",CY="[object Error]",xY="[object Function]",EY="[object Map]",BY="[object Number]",NY="[object Object]",TY="[object RegExp]",$Y="[object Set]",AY="[object String]",OY="[object WeakMap]",MY="[object ArrayBuffer]",PY="[object DataView]",IY="[object Float32Array]",VY="[object Float64Array]",RY="[object Int8Array]",LY="[object Int16Array]",DY="[object Int32Array]",zY="[object Uint8Array]",FY="[object Uint8ClampedArray]",HY="[object Uint16Array]",UY="[object Uint32Array]",$t={};$t[IY]=$t[VY]=$t[RY]=$t[LY]=$t[DY]=$t[zY]=$t[FY]=$t[HY]=$t[UY]=!0,$t[_Y]=$t[wY]=$t[MY]=$t[SY]=$t[PY]=$t[kY]=$t[CY]=$t[xY]=$t[EY]=$t[BY]=$t[NY]=$t[TY]=$t[$Y]=$t[AY]=$t[OY]=!1;function WY(e){return bY(e)&&vY(e.length)&&!!$t[yY(e)]}var jY=WY;function GY(e){return function(t){return e(t)}}var ly=GY,yh={exports:{}};yh.exports,function(e,t){var n=j5,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===r,l=i&&n.process,s=function(){try{var c=o&&o.require&&o.require("util").types;return c||l&&l.binding&&l.binding("util")}catch(u){}}();e.exports=s}(yh,yh.exports);var YY=yh.exports,qY=jY,KY=ly,i7=YY,l7=i7&&i7.isTypedArray,XY=l7?KY(l7):qY,s7=XY,ZY=eY,JY=ay,QY=dn,eq=o7,tq=oy,nq=s7,rq=Object.prototype,aq=rq.hasOwnProperty;function oq(e,t){var n=QY(e),r=!n&&JY(e),o=!n&&!r&&eq(e),i=!n&&!r&&!o&&nq(e),l=n||r||o||i,s=l?ZY(e.length,String):[],c=s.length;for(var u in e)(t||aq.call(e,u))&&!(l&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||tq(u,c)))&&s.push(u);return s}var iq=oq,lq=Object.prototype;function sq(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||lq;return e===n}var cq=sq;function uq(e,t){return function(n){return e(t(n))}}var fq=uq,dq=fq,hq=dq(Object.keys,Object),pq=hq,mq=cq,gq=pq,yq=Object.prototype,vq=yq.hasOwnProperty;function bq(e){if(!mq(e))return gq(e);var t=[];for(var n in Object(e))vq.call(e,n)&&n!="constructor"&&t.push(n);return t}var _q=bq,wq=Jg,Sq=iy;function kq(e){return e!=null&&Sq(e.length)&&!wq(e)}var vs=kq,Cq=iq,xq=_q,Eq=vs;function Bq(e){return Eq(e)?Cq(e):xq(e)}var cu=Bq;const vh=_t(cu);var Nq=JG,Tq=cu;function $q(e,t){return e&&Nq(e,t,Tq)}var Aq=$q,Oq=vs;function Mq(e,t){return function(n,r){if(n==null)return n;if(!Oq(n))return e(n,r);for(var o=n.length,i=t?o:-1,l=Object(n);(t?i--:++i<o)&&r(l[i],i,l)!==!1;);return n}}var Pq=Mq,Iq=Aq,Vq=Pq,Rq=Vq(Iq),bs=Rq;function Lq(e){return e}var Hi=Lq;const Ui=_t(Hi);var Dq=Hi;function zq(e){return typeof e=="function"?e:Dq}var Fq=zq,Hq=YG,Uq=bs,Wq=Fq,jq=dn;function Gq(e,t){var n=jq(e)?Hq:Uq;return n(e,Wq(t))}var c7=Gq;const Yq=_t(c7);var qq=c7;const Kq=_t(qq),Xq={"imddb-header.dropdown.items":[{label:"Graphics",href:"#/"},{label:"Overview",href:"#/"},{label:"Visual overview",href:"#/"},{label:"Backgrounder",href:"#/"},{label:"About this project",href:"#/",active:!0}],"project.name":"Secret Papers","app.name":"Awesome App","app.home":"./","app.donate-url":"https://www.icij.org/donate/","contact-email":"contact@icij.org","content-placeholder.rows":[{height:"1em",boxes:[[0,"50%"],["5%","30%"],["5%","10%"]]}],"donate-form.tracker":null,"sharing-options.url":null,"sharing-options.title":"Awesome App by ICIJ","sharing-options.description":"null","sharing-options.media":null,"sharing-options.twitter-user":"ICIJorg","signup-form.tracker":"EXTERNAL","signup-form.action":"https://icij.us15.list-manage.com/subscribe/post?u=0d48a33b1c24d257734cc2a79&id=992ecfdbb2","signup-form.email-field":"EMAIL","signup-form.default-groups":["group[9][1]"],"textured-deck.background-base-url":"https://icij.github.io/murmur","map.topojson.world-countries-sans-antarctica":"https://icij.github.io/murmur/assets/topojson/world-countries-sans-antarctica.json","map.topojson.france-departements":"https://icij.github.io/murmur/assets/topojson/france-departements.json"};class sy{constructor(t={}){Bc(this,"_VALUES");Bc(this,"_SCOPES");return this._VALUES=a.ref({}),this._SCOPES=a.ref({}),this.merge(t),this}merge(t={}){return Kq(t,(n,r)=>{this.set(r,n)})}set(t,n){var o;const r=t.split(".");if(this._VALUES.value=(o=this._VALUES.value)!=null?o:{},r.length>1){const i=this.scope(r.shift());this._VALUES.value[t]=i.set(r.join("."),n)}else this._VALUES.value[t]=n;return n}get(t,n){return Hr(this._VALUES.value,t,n)}is(t){const n=this.get(t,null);switch(n){case 1:return!0;case!0:return!0;case"1":return!0;case"true":return!0;case 0:return!1;case!1:return!1;case"0":return!1;case"false":return!1;default:return!!n}}isnt(t){return!this.is(t)}scope(t){var n;return this.scopes[t]=(n=this.scopes[t])!=null?n:new sy,this.scopes[t]}get values(){return this._VALUES.value}get scopes(){var t;return this._SCOPES.value=(t=this._SCOPES.value)!=null?t:a.ref({}),this._SCOPES.value}}const It=new sy(Xq);function u7(e){return Number(e).toString()===e.toString()}function f7(e){const t=String(e),n=["px","%","em","rem"];let r=!1;return n.forEach(o=>{Number(t.split(o)[0])&&t.split(o)[1]===""&&t.split(o).length===2&&(r=!0)}),r}function Zq(e,t,n,r="box"){const o=[];return e!==0&&(u7(e)?o.push({style:`flex-grow: ${e}; flex-shrink: 0; flex-basis: 0;`,subClass:r}):f7(e)&&o.push({style:`flex-grow: 0; flex-shrink: 0; flex-basis: ${e};`,subClass:r})),u7(t)?o.push({style:`flex-grow: ${t}; flex-shrink: 0; flex-basis: 0;`}):f7(t)&&o.push({style:`flex-grow: 0; flex-shrink: 0; flex-basis: ${t};`}),n&&o.push({style:"flex-grow: 1; flex-shrink: 0; flex-basis: 0;",subClass:r}),o}function Jq(e,t="box"){return e.map(r=>{const o=[],i={height:r.height,boxes:[]};return r.boxes.forEach((l,s)=>{const c=s===r.boxes.length-1;o.push(...Zq(l[0],l[1],c,t))}),i.boxes=o,i})}const Qq=a.defineComponent({name:"ContentPlaceholder",props:{rows:{type:Array,default:()=>It.get("content-placeholder.rows")},size:{type:String,default:"250%"}},setup(e){return{formattedRows:a.computed(()=>e.rows?Jq(e.rows,"content-placeholder__wrapper__row__box"):[])}}});function eK(e,t,n,r,o,i){return t[0]||(a.setBlockTracking(-1),t[0]=a.createElementVNode("div",{class:"content-placeholder"},[a.createElementVNode("div",{class:"content-placeholder__wrapper",style:a.normalizeStyle({backgroundSize:e.size})},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.formattedRows,(l,s)=>(a.openBlock(),a.createElementBlock("div",{key:s,class:"content-placeholder__wrapper__row",style:a.normalizeStyle({height:l.height})},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(l.boxes,(c,u)=>(a.openBlock(),a.createElementBlock("div",{key:u,style:a.normalizeStyle(c.style)},[c.subClass?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(c.subClass)},null,2)):a.createCommentVNode("",!0)],4))),128))],4))),128))],4)]),a.setBlockTracking(1),t[0])}const d7=rt(Qq,[["render",eK],["__scopeId","data-v-d9dae55e"]]),tK=a.defineComponent({name:"CustomPagination",components:{BPagination:g0},props:{totalRows:{type:Number,default:0},perPage:{type:Number,default:20},modelValue:{type:Number,default:1},pills:{type:Boolean},size:{type:String,default:ns.md,validator:e=>Object.values(ns).includes(e)},compact:{type:Boolean},pages:{type:[Number,String],default:null}},emits:["update:modelValue"],setup(e,{emit:t}){const{t:n}=Sr(),r=a.ref(null),o=a.ref(""),i=n("custom-pagination.invalid-number-error"),l=a.ref([]),s=a.computed(()=>{const m=e.compact?"compact-":"";return n(`custom-pagination.${m}placeholder`)}),c=a.computed(()=>e.pages===null?Math.ceil(e.totalRows/e.perPage):Number(e.pages)),u=a.computed(()=>e.size===ns.sm?["float-end","me-1"]:[]);function d(){const m=isNaN(parseInt(o.value))?0:parseInt(o.value);l.value=[],(m>c.value||m<1)&&l.value.push(i),l.value.length===0&&p(parseInt(o.value))}function p(m){t("update:modelValue",m)}return{customPaginationForm:r,currentPageInput:o,errors:l,inputPlaceholder:s,numberOfPages:c,paginationClassList:u,t:n,applyJumpFormPage:d,updateModelValue:p}}}),nK=e=>(a.pushScopeId("data-v-e10af2c6"),e=e(),a.popScopeId(),e),rK={class:"col-auto custom-pagination__pages"},aK={class:"col-auto"},oK={class:"custom-pagination__form"},iK=["placeholder"],lK={key:0,class:"input-group-append"},sK=[nK(()=>a.createElementVNode("button",{class:"btn btn-secondary btn-sm",type:"submit"},[a.createElementVNode("span",{class:"px-1 py-3"}," Go ")],-1))],cK={key:0,id:"invalid-number-error",class:"float-start mt-1 ms-1 text-danger"},uK={key:1,class:"float-start mt-1 ms-1 text-muted"};function fK(e,t,n,r,o,i){const l=g0,s=Pc;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["custom-pagination container-fluid",{"custom-pagination--compact":e.compact,"custom-pagination--pills":e.pills}])},[a.createElementVNode("div",{class:a.normalizeClass(["row justify-content-center align-items-stretch",{"no-gutters":e.compact&&!e.pills}])},[a.createElementVNode("div",rK,[a.createVNode(l,{"total-rows":e.perPage*e.numberOfPages,"per-page":e.perPage,"model-value":e.modelValue,pills:e.pills,class:a.normalizeClass([e.paginationClassList,"m-0"]),size:e.size,"first-number":"","last-number":"","onUpdate:modelValue":e.updateModelValue},{"prev-text":a.withCtx(({disabled:c,index:u,page:d})=>[a.renderSlot(e.$slots,"prev-text",a.normalizeProps(a.guardReactiveProps({disabled:c,index:u,page:d})),void 0,!0)]),"next-text":a.withCtx(({disabled:c,index:u,page:d})=>[a.renderSlot(e.$slots,"next-text",a.normalizeProps(a.guardReactiveProps({disabled:c,index:u,page:d})),void 0,!0)]),page:a.withCtx(({active:c,content:u,disabled:d,index:p,page:m})=>[a.renderSlot(e.$slots,"page",a.normalizeProps(a.guardReactiveProps({active:c,content:u,disabled:d,index:p,page:m})),void 0,!0)]),"ellipsis-text":a.withCtx(()=>[a.renderSlot(e.$slots,"ellipsis-text",{},void 0,!0)]),_:3},8,["total-rows","per-page","model-value","pills","class","size","onUpdate:modelValue"])]),a.createElementVNode("div",aK,[a.createElementVNode("div",oK,[a.createElementVNode("form",{ref:"customPaginationForm",class:"input-group",onSubmit:t[1]||(t[1]=a.withModifiers((...c)=>e.applyJumpFormPage&&e.applyJumpFormPage(...c),["prevent"]))},[a.createVNode(s,{size:e.size},{default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("input",{"onUpdate:modelValue":t[0]||(t[0]=c=>e.currentPageInput=c),type:"number",class:"form-control",placeholder:e.inputPlaceholder,"aria-label":"Jump to page"},null,8,iK),[[a.vModelText,e.currentPageInput]]),e.compact?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",lK,sK))]),_:1},8,["size"])],544),e.compact?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[e.errors.length?(a.openBlock(),a.createElementBlock("small",cK,a.toDisplayString(e.errors[0]),1)):(a.openBlock(),a.createElementBlock("small",uK,a.toDisplayString(e.t("custom-pagination.total-pages",{count:e.numberOfPages})),1))],64))])])],2)],2)}const h7=rt(tK,[["render",fK],["__scopeId","data-v-e10af2c6"]]),dK=a.defineComponent({name:"DigitsInput",emits:["update:modelValue","update:values"],props:{length:{type:Number,default:6},modelValue:{type:[String,Number],default:""},name:{type:String,default:""}},setup(e,{emit:t}){const n=a.ref([]);a.onMounted(()=>Ge(this,null,function*(){yield a.nextTick()}));const r=a.ref(String(e.modelValue).split("").slice(0,e.length)),o=a.computed(()=>Be.filter(r.value,d=>!isNaN(d)).join("")),i=a.computed(()=>o.value.length===e.length?null:n.value[o.value.length]||s.value),l=a.computed(()=>!!i.value),s=a.computed(()=>{const d=n.value.length-1;return n.value[d]});function c(){var d;l.value&&((d=i.value)==null||d.focus())}function u(d){var p;r.value[d]||(p=n.value[d-1])==null||p.focus()}return a.watch(()=>r,d=>{const p=d.value.map(m=>String(m).replace(/\D/g,""));p.forEach((m,g)=>{m!==null&&Number(m)>9&&String(m).split("").forEach((v,w)=>{p[g+w]=String(Number(v))})}),JSON.stringify(d.value)!==JSON.stringify(p)&&(d.value=p.slice(0,e.length)),c()},{deep:!0}),a.watch(()=>o,()=>{t("update:modelValue",o.value)},{deep:!0}),a.watch(()=>e.modelValue,()=>{const d=String(e.modelValue).split("").slice(0,e.length);t("update:values",d)}),{values:r,joinedValues:o,inputs:n,nextInput:i,hasNextInput:l,lastInput:s,focusToPreviousWhenEmpty:u}}}),hK={class:"digits-input"},pK={class:"d-flex digits-input__container"},mK=["onUpdate:modelValue","onKeyup"],gK=["value","name"];function yK(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("div",hK,[a.createElementVNode("div",pK,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.length,l=>a.withDirectives((a.openBlock(),a.createElementBlock("input",{ref_for:!0,ref:"inputs",key:l-1,"onUpdate:modelValue":s=>e.values[l-1]=s,class:a.normalizeClass([`digits-input__container__input--${l-1}`,"digits-input__container__input w-0 form-control"]),onKeyup:a.withKeys(s=>e.focusToPreviousWhenEmpty(l-1),["delete"])},null,42,mK)),[[a.vModelText,e.values[l-1]]])),128)),a.createElementVNode("input",{type:"hidden",value:e.joinedValues,name:e.name},null,8,gK)])])}const p7=rt(dK,[["render",yK],["__scopeId","data-v-8d5868bb"]]);var vK=hh;function bK(){this.__data__=new vK,this.size=0}var _K=bK;function wK(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var SK=wK;function kK(e){return this.__data__.get(e)}var CK=kK;function xK(e){return this.__data__.has(e)}var EK=xK,BK=hh,NK=ey,TK=ty,$K=200;function AK(e,t){var n=this.__data__;if(n instanceof BK){var r=n.__data__;if(!NK||r.length<$K-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new TK(r)}return n.set(e,t),this.size=n.size,this}var OK=AK,MK=hh,PK=_K,IK=SK,VK=CK,RK=EK,LK=OK;function _s(e){var t=this.__data__=new MK(e);this.size=t.size}_s.prototype.clear=PK,_s.prototype.delete=IK,_s.prototype.get=VK,_s.prototype.has=RK,_s.prototype.set=LK;var m7=_s,DK="__lodash_hash_undefined__";function zK(e){return this.__data__.set(e,DK),this}var FK=zK;function HK(e){return this.__data__.has(e)}var UK=HK,WK=ty,jK=FK,GK=UK;function bh(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new WK;++t<n;)this.add(e[t])}bh.prototype.add=bh.prototype.push=jK,bh.prototype.has=GK;var g7=bh;function YK(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var y7=YK;function qK(e,t){return e.has(t)}var v7=qK,KK=g7,XK=y7,ZK=v7,JK=1,QK=2;function eX(e,t,n,r,o,i){var l=n&JK,s=e.length,c=t.length;if(s!=c&&!(l&&c>s))return!1;var u=i.get(e),d=i.get(t);if(u&&d)return u==t&&d==e;var p=-1,m=!0,g=n&QK?new KK:void 0;for(i.set(e,t),i.set(t,e);++p<s;){var v=e[p],w=t[p];if(r)var _=l?r(w,v,p,t,e,i):r(v,w,p,e,t,i);if(_!==void 0){if(_)continue;m=!1;break}if(g){if(!XK(t,function(y,C){if(!ZK(g,C)&&(v===y||o(v,y,n,r,i)))return g.push(C)})){m=!1;break}}else if(!(v===w||o(v,w,n,r,i))){m=!1;break}}return i.delete(e),i.delete(t),m}var b7=eX,tX=uo,nX=tX.Uint8Array,rX=nX;function aX(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}var oX=aX;function iX(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var lX=iX,_7=Jc,w7=rX,sX=fh,cX=b7,uX=oX,fX=lX,dX=1,hX=2,pX="[object Boolean]",mX="[object Date]",gX="[object Error]",yX="[object Map]",vX="[object Number]",bX="[object RegExp]",_X="[object Set]",wX="[object String]",SX="[object Symbol]",kX="[object ArrayBuffer]",CX="[object DataView]",S7=_7?_7.prototype:void 0,cy=S7?S7.valueOf:void 0;function xX(e,t,n,r,o,i,l){switch(n){case CX:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case kX:return!(e.byteLength!=t.byteLength||!i(new w7(e),new w7(t)));case pX:case mX:case vX:return sX(+e,+t);case gX:return e.name==t.name&&e.message==t.message;case bX:case wX:return e==t+"";case yX:var s=uX;case _X:var c=r&dX;if(s||(s=fX),e.size!=t.size&&!c)return!1;var u=l.get(e);if(u)return u==t;r|=hX,l.set(e,t);var d=cX(s(e),s(t),r,o,i,l);return l.delete(e),d;case SX:if(cy)return cy.call(e)==cy.call(t)}return!1}var EX=xX;function BX(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var k7=BX,NX=k7,TX=dn;function $X(e,t,n){var r=t(e);return TX(e)?r:NX(r,n(e))}var AX=$X;function OX(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var l=e[n];t(l,n,e)&&(i[o++]=l)}return i}var C7=OX;function MX(){return[]}var PX=MX,IX=C7,VX=PX,RX=Object.prototype,LX=RX.propertyIsEnumerable,x7=Object.getOwnPropertySymbols,DX=x7?function(e){return e==null?[]:(e=Object(e),IX(x7(e),function(t){return LX.call(e,t)}))}:VX,zX=DX,FX=AX,HX=zX,UX=cu;function WX(e){return FX(e,UX,HX)}var jX=WX,E7=jX,GX=1,YX=Object.prototype,qX=YX.hasOwnProperty;function KX(e,t,n,r,o,i){var l=n&GX,s=E7(e),c=s.length,u=E7(t),d=u.length;if(c!=d&&!l)return!1;for(var p=c;p--;){var m=s[p];if(!(l?m in t:qX.call(t,m)))return!1}var g=i.get(e),v=i.get(t);if(g&&v)return g==t&&v==e;var w=!0;i.set(e,t),i.set(t,e);for(var _=l;++p<c;){m=s[p];var y=e[m],C=t[m];if(r)var S=l?r(C,y,m,t,e,i):r(y,C,m,e,t,i);if(!(S===void 0?y===C||o(y,C,n,r,i):S)){w=!1;break}_||(_=m=="constructor")}if(w&&!_){var k=e.constructor,x=t.constructor;k!=x&&"constructor"in e&&"constructor"in t&&!(typeof k=="function"&&k instanceof k&&typeof x=="function"&&x instanceof x)&&(w=!1)}return i.delete(e),i.delete(t),w}var XX=KX,ZX=Fi,JX=uo,QX=ZX(JX,"DataView"),eZ=QX,tZ=Fi,nZ=uo,rZ=tZ(nZ,"Promise"),aZ=rZ,oZ=Fi,iZ=uo,lZ=oZ(iZ,"Set"),sZ=lZ,cZ=Fi,uZ=uo,fZ=cZ(uZ,"WeakMap"),dZ=fZ,uy=eZ,fy=ey,dy=aZ,hy=sZ,py=dZ,B7=rs,ws=Z8,N7="[object Map]",hZ="[object Object]",T7="[object Promise]",$7="[object Set]",A7="[object WeakMap]",O7="[object DataView]",pZ=ws(uy),mZ=ws(fy),gZ=ws(dy),yZ=ws(hy),vZ=ws(py),Wi=B7;(uy&&Wi(new uy(new ArrayBuffer(1)))!=O7||fy&&Wi(new fy)!=N7||dy&&Wi(dy.resolve())!=T7||hy&&Wi(new hy)!=$7||py&&Wi(new py)!=A7)&&(Wi=function(e){var t=B7(e),n=t==hZ?e.constructor:void 0,r=n?ws(n):"";if(r)switch(r){case pZ:return O7;case mZ:return N7;case gZ:return T7;case yZ:return $7;case vZ:return A7}return t});var bZ=Wi,my=m7,_Z=b7,wZ=EX,SZ=XX,M7=bZ,P7=dn,I7=o7,kZ=s7,CZ=1,V7="[object Arguments]",R7="[object Array]",_h="[object Object]",xZ=Object.prototype,L7=xZ.hasOwnProperty;function EZ(e,t,n,r,o,i){var l=P7(e),s=P7(t),c=l?R7:M7(e),u=s?R7:M7(t);c=c==V7?_h:c,u=u==V7?_h:u;var d=c==_h,p=u==_h,m=c==u;if(m&&I7(e)){if(!I7(t))return!1;l=!0,d=!1}if(m&&!d)return i||(i=new my),l||kZ(e)?_Z(e,t,n,r,o,i):wZ(e,t,c,n,r,o,i);if(!(n&CZ)){var g=d&&L7.call(e,"__wrapped__"),v=p&&L7.call(t,"__wrapped__");if(g||v){var w=g?e.value():e,_=v?t.value():t;return i||(i=new my),o(w,_,n,r,i)}}return m?(i||(i=new my),SZ(e,t,n,r,o,i)):!1}var BZ=EZ,NZ=BZ,D7=Vi;function z7(e,t,n,r,o){return e===t?!0:e==null||t==null||!D7(e)&&!D7(t)?e!==e&&t!==t:NZ(e,t,n,r,z7,o)}var gy=z7,TZ=m7,$Z=gy,AZ=1,OZ=2;function MZ(e,t,n,r){var o=n.length,i=o,l=!r;if(e==null)return!i;for(e=Object(e);o--;){var s=n[o];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var c=s[0],u=e[c],d=s[1];if(l&&s[2]){if(u===void 0&&!(c in e))return!1}else{var p=new TZ;if(r)var m=r(u,d,c,e,t,p);if(!(m===void 0?$Z(d,u,AZ|OZ,r,p):m))return!1}}return!0}var PZ=MZ,IZ=ps;function VZ(e){return e===e&&!IZ(e)}var F7=VZ,RZ=F7,LZ=cu;function DZ(e){for(var t=LZ(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,RZ(o)]}return t}var zZ=DZ;function FZ(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var H7=FZ,HZ=PZ,UZ=zZ,WZ=H7;function jZ(e){var t=UZ(e);return t.length==1&&t[0][2]?WZ(t[0][0],t[0][1]):function(n){return n===e||HZ(n,e,t)}}var GZ=jZ;function YZ(e,t){return e!=null&&t in Object(e)}var qZ=YZ,KZ=t7,XZ=ay,ZZ=dn,JZ=oy,QZ=iy,eJ=mh;function tJ(e,t,n){t=KZ(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var l=eJ(t[r]);if(!(i=e!=null&&n(e,l)))break;e=e[l]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&QZ(o)&&JZ(l,o)&&(ZZ(e)||XZ(e)))}var nJ=tJ,rJ=qZ,aJ=nJ;function oJ(e,t){return e!=null&&aJ(e,t,rJ)}var iJ=oJ,lJ=gy,sJ=n7,cJ=iJ,uJ=Zg,fJ=F7,dJ=H7,hJ=mh,pJ=1,mJ=2;function gJ(e,t){return uJ(e)&&fJ(t)?dJ(hJ(e),t):function(n){var r=sJ(n,e);return r===void 0&&r===t?cJ(n,e):lJ(t,r,pJ|mJ)}}var yJ=gJ;function vJ(e){return function(t){return t==null?void 0:t[e]}}var bJ=vJ,_J=ry;function wJ(e){return function(t){return _J(t,e)}}var SJ=wJ,kJ=bJ,CJ=SJ,xJ=Zg,EJ=mh;function BJ(e){return xJ(e)?kJ(EJ(e)):CJ(e)}var NJ=BJ,TJ=GZ,$J=yJ,AJ=Hi,OJ=dn,MJ=NJ;function PJ(e){return typeof e=="function"?e:e==null?AJ:typeof e=="object"?OJ(e)?$J(e[0],e[1]):TJ(e):MJ(e)}var Jo=PJ,IJ=bs,VJ=vs;function RJ(e,t){var n=-1,r=VJ(e)?Array(e.length):[];return IJ(e,function(o,i,l){r[++n]=t(o,i,l)}),r}var U7=RJ,LJ=Wd,DJ=Jo,zJ=U7,FJ=dn;function HJ(e,t){var n=FJ(e)?LJ:zJ;return n(e,DJ(t))}var UJ=HJ;const WJ=_t(UJ);var W7=Jc,jJ=ay,GJ=dn,j7=W7?W7.isConcatSpreadable:void 0;function YJ(e){return GJ(e)||jJ(e)||!!(j7&&e&&e[j7])}var qJ=YJ,KJ=k7,XJ=qJ;function G7(e,t,n,r,o){var i=-1,l=e.length;for(n||(n=XJ),o||(o=[]);++i<l;){var s=e[i];t>0&&n(s)?t>1?G7(s,t-1,n,r,o):KJ(o,s):r||(o[o.length]=s)}return o}var Y7=G7;function ZJ(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}var JJ=ZJ,q7=as;function QJ(e,t){if(e!==t){var n=e!==void 0,r=e===null,o=e===e,i=q7(e),l=t!==void 0,s=t===null,c=t===t,u=q7(t);if(!s&&!u&&!i&&e>t||i&&l&&c&&!s&&!u||r&&l&&c||!n&&c||!o)return 1;if(!r&&!i&&!u&&e<t||u&&n&&o&&!r&&!i||s&&n&&o||!l&&o||!c)return-1}return 0}var eQ=QJ,tQ=eQ;function nQ(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,l=o.length,s=n.length;++r<l;){var c=tQ(o[r],i[r]);if(c){if(r>=s)return c;var u=n[r];return c*(u=="desc"?-1:1)}}return e.index-t.index}var rQ=nQ,yy=Wd,aQ=ry,oQ=Jo,iQ=U7,lQ=JJ,sQ=ly,cQ=rQ,uQ=Hi,fQ=dn;function dQ(e,t,n){t.length?t=yy(t,function(i){return fQ(i)?function(l){return aQ(l,i.length===1?i[0]:i)}:i}):t=[uQ];var r=-1;t=yy(t,sQ(oQ));var o=iQ(e,function(i,l,s){var c=yy(t,function(u){return u(i)});return{criteria:c,index:++r,value:i}});return lQ(o,function(i,l){return cQ(i,l,n)})}var hQ=dQ;function pQ(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var mQ=pQ,gQ=mQ,K7=Math.max;function yQ(e,t,n){return t=K7(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=K7(r.length-t,0),l=Array(i);++o<i;)l[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(l),gQ(e,this,s)}}var vQ=yQ;function bQ(e){return function(){return e}}var _Q=bQ,wQ=Fi,SQ=function(){try{var e=wQ(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),kQ=SQ,CQ=_Q,X7=kQ,xQ=Hi,EQ=X7?function(e,t){return X7(e,"toString",{configurable:!0,enumerable:!1,value:CQ(t),writable:!0})}:xQ,BQ=EQ,NQ=800,TQ=16,$Q=Date.now;function AQ(e){var t=0,n=0;return function(){var r=$Q(),o=TQ-(r-n);if(n=r,o>0){if(++t>=NQ)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var OQ=AQ,MQ=BQ,PQ=OQ,IQ=PQ(MQ),VQ=IQ,RQ=Hi,LQ=vQ,DQ=VQ;function zQ(e,t){return DQ(LQ(e,t,RQ),e+"")}var Z7=zQ,FQ=fh,HQ=vs,UQ=oy,WQ=ps;function jQ(e,t,n){if(!WQ(n))return!1;var r=typeof t;return(r=="number"?HQ(n)&&UQ(t,n.length):r=="string"&&t in n)?FQ(n[t],e):!1}var vy=jQ,GQ=Y7,YQ=hQ,qQ=Z7,J7=vy,KQ=qQ(function(e,t){if(e==null)return[];var n=t.length;return n>1&&J7(e,t[0],t[1])?t=[]:n>2&&J7(t[0],t[1],t[2])&&(t=[t[0]]),YQ(e,GQ(t,1),[])}),XQ=KQ;const wh=_t(XQ),ZQ={name:"DonateForm",props:{noTitle:{type:Boolean}},setup(){const{t:e,locale:t,messages:n}=Sr(),r=a.ref(10),o=a.ref(!0),i=a.ref("monthly"),l=a.ref("conversation"),s=a.ref(It.get("donate-form.tracker")),c=a.ref({monthly:{1:e("donate-form.result.conversation"),15:e("donate-form.result.rules"),50:e("donate-form.result.world")},yearly:{1:e("donate-form.result.conversation"),180:e("donate-form.result.rules"),600:e("donate-form.result.world")}}),u=a.ref(n.value[t.value]["donate-form"].suggesteddonation),d=a.ref(n.value[t.value]["donate-form"].benefits.list),p=a.computed(()=>i.value==="onetime"?c.value.yearly:c.value[i.value]),m=a.computed(()=>{const y=vh(p.value)[0];return p.value[y]}),g=a.computed(()=>{let y=null;return Yq(wh(WJ(vh(p.value),Number)),C=>{y=r.value>=C?p.value[C]:y}),y});a.watch(i,()=>{o.value&&(r.value=v())}),a.watch(()=>r.value,y=>(l.value=g.value,r.value=y));function v(){if(o.value)return l.value||(l.value=m.value),u.value[l.value][i.value]}function w(y){l.value=y,r.value=v()}function _(){o.value=!1}return{t:e,amount:r,level:l,campaign:s,labelForChange:c,installmentPeriod:i,changeThe:g,listBenefits:d,selectLevel:w,amountIsNotPristine:_}}},JQ={class:"donate-form container-fluid py-2"},QQ={key:0,class:"donate-form__title text-uppercase fw-bold text-primary h5"},eee=["innerHTML"],tee={class:"donate-form__payment mb-4 text-center"},nee={action:"//checkout.fundjournalism.org/memberform",method:"get",target:"_blank",class:"donate-form__payment__form bg-light p-4"},ree={class:"donate-form__payment__levels row"},aee={class:"donate-form__payment__heading text-uppercase fw-bold text-primary h5"},oee={class:"Article"},iee=["innerHTML"],lee={class:"donate-form__payment__heading text-uppercase fw-bold text-primary h5"},see={class:"Article"},cee=["innerHTML"],uee={class:"donate-form__payment__heading text-uppercase fw-bold text-primary h5"},fee={class:"Article"},dee=["innerHTML"],hee={class:"mt-5"},pee={class:"donate-form__payment__buttons"},mee={class:"mt-4"},gee={class:"donate-form__payment__unit input-group input-group-sm d-inline-flex"},yee=a.createElementVNode("span",{class:"input-group-prepend"},[a.createElementVNode("span",{class:"input-group-text"},"$")],-1),vee={class:"mt-4"},bee=a.createElementVNode("input",{name:"org_id",value:"icij",type:"hidden"},null,-1),_ee={type:"submit",class:"btn btn-primary rounded-pill text-uppercase fw-bold"},wee=a.createElementVNode("a",{target:"_blank",href:"https://icij.org/donate",class:"donate-form__payment__image"},null,-1),See={class:"donate-form__insider"},kee={class:"donate-form__insider__title"},Cee={class:"donate-form__insider__list"},xee=["innerHTML"],Eee=a.createElementVNode("hr",{class:"donate-form__insider__separator"},null,-1),Bee={class:"donate-form__insider__more text-center"},Nee={target:"_blank",href:"https://icij.org/donate",class:"btn btn-primary rounded-pill text-uppercase fw-bold py-2"};function Tee(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("div",JQ,[n.noTitle?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("h2",QQ,a.toDisplayString(r.t("donate-form.support")),1)),a.renderSlot(e.$slots,"introduction",{},()=>[a.createElementVNode("p",{class:"donate-form__introduction",innerHTML:r.t("donate-form.introduction")},null,8,eee)]),a.createElementVNode("div",tee,[a.createElementVNode("form",nee,[a.createElementVNode("div",ree,[a.createElementVNode("div",{class:a.normalizeClass(["col donate-form__payment__level",{active:r.level==="conversation"}]),onClick:t[0]||(t[0]=l=>r.selectLevel("conversation"))},[a.createElementVNode("h3",aee,a.toDisplayString(r.t("donate-form.benefits.impacts.conversation.heading")),1),a.createElementVNode("div",oee,[a.createElementVNode("div",null,[a.createElementVNode("p",{class:"donate-form__payment__highlight text-icij fw-bold",innerHTML:r.t("donate-form.benefits.impacts.conversation.highlight")},null,8,iee)])])],2),a.createElementVNode("div",{class:a.normalizeClass(["col donate-form__payment__level",{active:r.level==="rules"}]),onClick:t[1]||(t[1]=l=>r.selectLevel("rules"))},[a.createElementVNode("h3",lee,a.toDisplayString(r.t("donate-form.benefits.impacts.rules.heading")),1),a.createElementVNode("div",see,[a.createElementVNode("div",null,[a.createElementVNode("p",{class:"donate-form__payment__highlight text-icij fw-bold",innerHTML:r.t("donate-form.benefits.impacts.rules.highlight")},null,8,cee)])])],2),a.createElementVNode("div",{class:a.normalizeClass(["col donate-form__payment__level",{active:r.level==="world"}]),onClick:t[2]||(t[2]=l=>r.selectLevel("world"))},[a.createElementVNode("h3",uee,a.toDisplayString(r.t("donate-form.benefits.impacts.world.heading")),1),a.createElementVNode("div",fee,[a.createElementVNode("div",null,[a.createElementVNode("p",{class:"donate-form__payment__highlight text-icij fw-bold",innerHTML:r.t("donate-form.benefits.impacts.world.highlight")},null,8,dee)])])],2)]),a.createElementVNode("div",null,[a.createElementVNode("div",hee,[a.createElementVNode("span",pee,[a.createElementVNode("button",{type:"button",class:a.normalizeClass(["btn btn-sm frequency-monthly",{"btn-primary":r.installmentPeriod==="monthly"}]),onClick:t[3]||(t[3]=l=>r.installmentPeriod="monthly")},a.toDisplayString(r.t("donate-form.frequency.monthly")),3),a.createElementVNode("button",{type:"button",class:a.normalizeClass(["btn btn-sm frequency-yearly",{"btn-primary":r.installmentPeriod==="yearly"}]),onClick:t[4]||(t[4]=l=>r.installmentPeriod="yearly")},a.toDisplayString(r.t("donate-form.frequency.yearly")),3),a.createElementVNode("button",{type:"button",class:a.normalizeClass(["btn btn-sm frequency-onetime",{"btn-primary":r.installmentPeriod===null}]),onClick:t[5]||(t[5]=l=>r.installmentPeriod="onetime")},a.toDisplayString(r.t("donate-form.frequency.onetime")),3)])]),a.createElementVNode("div",mee,[a.createElementVNode("span",null,a.toDisplayString(r.t("donate-form.label"))+" ",1),a.createElementVNode("label",gee,[yee,a.withDirectives(a.createElementVNode("input",{"onUpdate:modelValue":t[6]||(t[6]=l=>r.amount=l),class:"donate-form__payment__input form-control",name:"amount",type:"number",min:"0",onChange:t[7]||(t[7]=(...l)=>r.amountIsNotPristine&&r.amountIsNotPristine(...l))},null,544),[[a.vModelText,r.amount]])])]),a.createElementVNode("div",vee,[bee,a.withDirectives(a.createElementVNode("input",{"onUpdate:modelValue":t[8]||(t[8]=l=>r.campaign=l),name:"campaign",type:"hidden"},null,512),[[a.vModelText,r.campaign]]),a.withDirectives(a.createElementVNode("input",{"onUpdate:modelValue":t[9]||(t[9]=l=>r.installmentPeriod=l),name:"installmentPeriod",type:"hidden"},null,512),[[a.vModelText,r.installmentPeriod]]),a.createElementVNode("button",_ee,a.toDisplayString(r.t("donate-form.submit")),1),wee])])])]),a.createElementVNode("div",See,[a.createElementVNode("h2",kee,a.toDisplayString(r.t("donate-form.benefits.heading")),1),a.createElementVNode("p",null,a.toDisplayString(r.t("donate-form.benefits.introduction")),1),a.createElementVNode("div",null,[a.createElementVNode("ul",Cee,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.listBenefits,(l,s)=>(a.openBlock(),a.createElementBlock("li",{key:s,class:"donate-form__insider__list-item",innerHTML:l},null,8,xee))),128))])]),a.createElementVNode("div",null,[Eee,a.createElementVNode("div",Bee,[a.createElementVNode("a",Nee,a.toDisplayString(r.t("donate-form.benefits.more")),1)])])])])}const Q7=rt(ZQ,[["render",Tee]]);var eS={},tS={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="share-nodes",r=448,o=512,i=["share-alt"],l="f1e0",s="M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9 .7-7.8 .7-11.9s-.2-8-.7-11.9l94.1-47C302.6 213.8 326.1 224 352 224z";e.definition={prefix:t,iconName:n,icon:[r,o,i,l,s]},e.faShareNodes=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=o,e.ligatures=i,e.unicode=l,e.svgPathData=s,e.aliases=i})(tS),function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=tS;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faShareAlt=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(eS);function $ee(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}var Aee=$ee,Oee=bs;function Mee(e,t){var n=!0;return Oee(e,function(r,o,i){return n=!!t(r,o,i),n}),n}var Pee=Mee,Iee=Aee,Vee=Pee,Ree=Jo,Lee=dn,Dee=vy;function zee(e,t,n){var r=Lee(e)?Iee:Vee;return n&&Dee(e,t,n)&&(t=void 0),r(e,Ree(t))}var Fee=zee;const Hee=_t(Fee);var Uee=0;const Wee=Be.memoize(function(e,t=`dynamic-asset-${Uee++}`){return new Promise(n=>{const r=document.querySelector("body")||document.querySelector("head"),o=e.split(".");switch(o[o.length-1].toLowerCase()){case"js":var l=document.createElement("script");l.setAttribute("type","text/javascript"),l.onload=n,r.appendChild(l),l.setAttribute("src",e),l.setAttribute("id",t);break;case"css":var s=document.createElement("link");s.setAttribute("rel","stylesheet"),s.setAttribute("type","text/css"),s.onload=n,r.appendChild(s),s.setAttribute("href",e),s.setAttribute("id",t);break}})}),nS=function(...e){const t=Be.flatten(e);return new Promise(n=>{for(var r=0,o=function(){++r==t.length&&n()},i=0;i<t.length;i++)Wee(t[i]).then(o)})};var by;const rS=["initialWidth","childId","parentUrl","parentTitle"],aS=window.location.href;class ji{constructor(){Bc(this,"initializer");this.initializer=nS("//pym.nprapps.org/pym.v1.min.js").then(()=>(by=by||new window.pym.Child({polling:300}),by))}sendHeight(){return this.initializer.then(t=>t.sendHeight())}static create(){return new ji}static template(t,n="icij-"+Date.now().toString(32)){return['<script type="text/javascript" src="https://pym.nprapps.org/pym.v1.min.js"><\/script>',`<div id="${n}"></div>`,"<script>",`const icijIframe = new pym.Parent("${n}", "${ji.deletePymParams(t)}", {})`,"<\/script>"].join(`
|
|
831
|
-
`)}static deletePymParams(t=aS){const n=new URL(t);for(const r of rS)n.searchParams.delete(r);return n.href}static isEmbedded(t=aS){const n=new URL(t);return Hee(rS,r=>n.searchParams.has(r))}}function jee(e,t,n,r){var o=-1,i=e==null?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}var oS=jee;function Gee(e,t,n,r,o){return o(e,function(i,l,s){n=r?(r=!1,i):t(n,i,l,s)}),n}var Yee=Gee,qee=oS,Kee=bs,Xee=Jo,Zee=Yee,Jee=dn;function Qee(e,t,n){var r=Jee(e)?qee:Zee,o=arguments.length<3;return r(e,Xee(t),n,o,Kee)}var ete=Qee;const iS=_t(ete);var lS={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="code",r=640,o=512,i=[],l="f121",s="M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z";e.definition={prefix:t,iconName:n,icon:[r,o,i,l,s]},e.faCode=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=o,e.ligatures=i,e.unicode=l,e.svgPathData=s,e.aliases=i})(lS);const tte=a.defineComponent({name:"EmbedForm",components:{HapticCopy:Zc},props:{noTitle:{type:Boolean},noPreview:{type:Boolean},width:{type:[Number,String],default:"100%"},height:{type:Number,default:()=>window.innerHeight},minWidth:{type:Number,default:0},minHeight:{type:Number,default:0},url:{type:String,default:null}},setup(e){const{t}=Sr(),n=a.ref(!1),r=a.ref(null),o=a.computed(()=>e.url||window.location.href);function i(u=o,d,p){return`<iframe width="${d}" height="${p}" src="${ji.deletePymParams(e.url)}" frameborder="0" allowfullscreen></iframe>`}function l(u=o){return ji.template(u.value)}function s(){var u;(u=r.value)==null||u.select()}function c(u=n.value){const d=typeof e.width=="string"?e.width:Math.max(e.width,e.minWidth).toString(),p=Math.max(e.height,e.minHeight).toString();return u?l(o):i(o,d,p)}return{t,responsiveCheck:n,embedFormCode:r,selectCode:s,embedCode:c}}}),nte={class:"embed-form"},rte={class:"container-fluid"},ate={key:0,class:"embed-form__heading"},ote={class:"row"},ite={class:"col"},lte=["value"],ste={class:"d-flex justify-content-between"},cte={class:"form-check align-self-end"},ute={class:"form-check-label fw-bold",for:"responsiveOptin"},fte={key:0,class:"col-7 d-none d-lg-block embed-form__preview"},dte=["innerHTML"];function hte(e,t,n,r,o,i){const l=a.resolveComponent("haptic-copy");return a.openBlock(),a.createElementBlock("div",nte,[a.createElementVNode("div",rte,[e.noTitle?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("h4",ate,a.toDisplayString(e.t("embed-form.heading")),1)),a.createElementVNode("div",ote,[a.createElementVNode("div",ite,[a.createElementVNode("p",null,a.toDisplayString(e.t("embed-form.introduction")),1),a.createElementVNode("textarea",{ref:"embed-form__code",class:"form-control embed-form__code mb-2",readonly:"",value:e.embedCode(),onClick:t[0]||(t[0]=(...s)=>e.selectCode&&e.selectCode(...s))},null,8,lte),a.createElementVNode("div",ste,[a.createElementVNode("div",cte,[a.withDirectives(a.createElementVNode("input",{type:"checkbox",class:"form-check-input",id:"responsiveOptin","onUpdate:modelValue":t[1]||(t[1]=s=>e.responsiveCheck=s)},null,512),[[a.vModelCheckbox,e.responsiveCheck]]),a.createElementVNode("label",ute,a.toDisplayString(e.t("embed-form.responsive-optin")),1)]),a.createVNode(l,{class:"btn-link btn-sm text-uppercase fw-bold",text:e.embedCode(),label:e.t("embed-form.copy").toString(),onAttempt:t[2]||(t[2]=s=>e.selectCode())},null,8,["text","label"])])]),e.noPreview?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",fte,[a.createElementVNode("span",{innerHTML:e.embedCode(!1)},null,8,dte)]))])])])}const _y=rt(tte,[["render",hte],["__scopeId","data-v-5b17eacc"]]);var Ss={};function pte(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var mte=function(e,t,n,r){t=t||"&",n=n||"=";var o={};if(typeof e!="string"||e.length===0)return o;var i=/\+/g;e=e.split(t);var l=1e3;r&&typeof r.maxKeys=="number"&&(l=r.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var c=0;c<s;++c){var u=e[c].replace(i,"%20"),d=u.indexOf(n),p,m,g,v;d>=0?(p=u.substr(0,d),m=u.substr(d+1)):(p=u,m=""),g=decodeURIComponent(p),v=decodeURIComponent(m),pte(o,g)?gte(o[g])?o[g].push(v):o[g]=[o[g],v]:o[g]=v}return o},gte=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"},uu=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},yte=function(e,t,n,r){return t=t||"&",n=n||"=",e===null&&(e=void 0),typeof e=="object"?sS(bte(e),function(o){var i=encodeURIComponent(uu(o))+n;return vte(e[o])?sS(e[o],function(l){return i+encodeURIComponent(uu(l))}).join(t):i+encodeURIComponent(uu(e[o]))}).join(t):r?encodeURIComponent(uu(r))+n+encodeURIComponent(uu(e)):""},vte=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function sS(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var bte=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t};Ss.decode=Ss.parse=mte,Ss.encode=Ss.stringify=yte;var cS={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="envelope",r=512,o=512,i=[128386,9993,61443],l="f0e0",s="M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z";e.definition={prefix:t,iconName:n,icon:[r,o,i,l,s]},e.faEnvelope=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=o,e.ligatures=i,e.unicode=l,e.svgPathData=s,e.aliases=i})(cS);var wy={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fab",n="twitter",r=512,o=512,i=[],l="f099",s="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z";e.definition={prefix:t,iconName:n,icon:[r,o,i,l,s]},e.faTwitter=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=o,e.ligatures=i,e.unicode=l,e.svgPathData=s,e.aliases=i})(wy);var Sy={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fab",n="facebook",r=512,o=512,i=[62e3],l="f09a",s="M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z";e.definition={prefix:t,iconName:n,icon:[r,o,i,l,s]},e.faFacebook=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=o,e.ligatures=i,e.unicode=l,e.svgPathData=s,e.aliases=i})(Sy);var ky={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fab",n="linkedin",r=448,o=512,i=[],l="f08c",s="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z";e.definition={prefix:t,iconName:n,icon:[r,o,i,l,s]},e.faLinkedin=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=o,e.ligatures=i,e.unicode=l,e.svgPathData=s,e.aliases=i})(ky);const cr={instance:null,interval:void 0,parent:typeof window!="undefined"?window:null},_te=e=>t=>{t&&t.preventDefault(),e()},fu={email:{base:"mailto:?",icon:cS.faEnvelope,args:{subject:"title",body:"description"}},facebook:{base:"https://www.facebook.com/sharer.php?",icon:Sy.faFacebook,args:{u:"url",title:"title",description:"description",hashtag:"hashtags"}},linkedin:{base:"https://www.linkedin.com/sharing/share-offsite/?",icon:ky.faLinkedin,args:{url:"url",title:"title",summary:"description"}},twitter:{base:"https://twitter.com/intent/tweet?",icon:wy.faTwitter,args:{url:"url",text:"title",via:"user",hashtags:"hashtags"}}},Cy=a.defineComponent({name:"SharingOptionsLink",components:{Fa:zn},props:{tag:{type:String,default:"a"},network:{type:String,required:!0,validator(e){return Object.keys(fu).includes(e)}},noIcon:{type:Boolean},url:{type:String,default:null},title:{type:String,default:null},description:{type:String,default:null},media:{type:String,default:null},user:{type:String,default:null},hashtags:{type:String,default:null}},data(){return{popup:{status:"no",resizable:"yes",toolbar:"no",menubar:"no",scrollbars:"no",location:"no",directories:"no",width:626,height:436,top:0,left:0,screenY:0,screenX:0}}},computed:{href(){return this.base+Ss.stringify(this.query)},base(){return Hr(fu,[this.network,"base"],"")},args(){return Hr(fu,[this.network,"args"],{})},icon(){return Hr(fu,[this.network,"icon"],null)},query(){return iS(this.args,(e,t,n)=>(this.$props[t]&&(e[n]=this.$props[t]),e),{})},name(){return Hr(fu,[this.network,"name"],this.network)},popupParams(){return Ss.stringify(this.popup).split("&").join(",")}},methods:{click(){this.cleanExistingPopupInstance(),this.openPopup()},renderIcon(){if(!this.noIcon)return a.h(zn,{icon:this.icon})},openPopup(){var e,t;cr.instance=(e=cr.parent)==null?void 0:e.open(this.href,"sharer",this.popupParams),(t=cr.instance)==null||t.focus(),cr.interval=setInterval(this.cleanExistingPopupInterval,500)},cleanExistingPopupInstance(){cr.instance&&cr.interval&&(clearInterval(cr.interval),cr.interval=void 0,cr.instance.close())},cleanExistingPopupInterval(){cr.instance&&cr.instance.closed&&(clearInterval(cr.interval),cr.interval=void 0,cr.instance=null)},hasPopup(){return this.network!=="email"}},render(){const e=this.hasPopup()?_te(this.click):Dd,t=this.href,n=this.$slots.default?this.$slots.default():[this.renderIcon(),a.h("span",{class:"visually-hidden"},this.name)];return a.h(this.tag,{attrs:{href:t},onClick:e},n)}}),wte=a.defineComponent({name:"SharingOptions",components:{BModal:Wl,EmbedForm:_y,SharingOptionsLink:Cy,Fa:zn},props:{url:{type:String,default:()=>It.get("sharing-options.url",null)||ji.deletePymParams()},embedUrl:{type:String,default:null},direction:{default:"row",validator(e){return["row","row-reverse","column","column-reverse"].indexOf(e)!==-1}},values:{type:Object,default:()=>({})},valuesKeys:{default:()=>["url","title","description","media","user"],type:Array},noEmbed:{type:Boolean},iframeMinHeight:{type:Number,default:100},iframeMinWidth:{type:Number,default:100},noMeta:{type:Boolean}},setup(e){a.onBeforeMount(()=>{da.add(lS.faCode)});const t=a.ref(null),{show:n}=kM("embedForm"),r=a.computed(()=>({"flex-direction":e.direction})),o=a.computed(()=>{var s;return{url:(s=e.url)!=null?s:"",title:l("sharing-options.title"),description:l("sharing-options.description",'meta[name="description]'),facebook_title:l("sharing-options.facebook_title",'meta[property="og:title"]'),facebook_description:l("sharing-options.description",'meta[property="og:description"]'),facebook_media:l("sharing-options.media",'meta[property="og:image"]'),twitter_media:l("sharing-options.media",'meta[name="twitter:image"]'),twitter_user:l("sharing-options.twitter-user",'meta[name="twitter:site"]')}});function i(s){const c=Object.assign(o.value,e.values);return iS(e.valuesKeys,(u,d)=>(u[d]=Hr(c,`${s}_${d}`,c[d]),u),{})}function l(s,c){return e.noMeta||!c?It.get(s):Hr(document.head.querySelector(c),"content",It.get(s))}return{style:r,show:n,embedForm:t,valuesFor:i}}}),Ste={class:"sharing-options__link sharing-options__link--embed"},kte=a.createElementVNode("span",{class:"sr-only"},"Embed",-1);function Cte(e,t,n,r,o,i){const l=a.resolveComponent("sharing-options-link"),s=a.resolveComponent("fa"),c=a.resolveComponent("embed-form"),u=Wl;return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style),class:"sharing-options"},[a.createVNode(l,a.mergeProps({class:"sharing-options__link",network:"facebook"},e.valuesFor("facebook")),null,16),a.createVNode(l,a.mergeProps({class:"sharing-options__link",network:"twitter"},e.valuesFor("twitter")),null,16),a.createVNode(l,a.mergeProps({class:"sharing-options__link",network:"linkedin"},e.valuesFor("linkedin")),null,16),a.createVNode(l,a.mergeProps({class:"sharing-options__link",network:"email"},e.valuesFor("email")),null,16),a.withDirectives(a.createElementVNode("div",Ste,[a.createElementVNode("a",{onClick:t[0]||(t[0]=(...d)=>e.show&&e.show(...d))},[a.createVNode(s,{icon:"code"}),kte])],512),[[a.vShow,!e.noEmbed]]),a.createVNode(u,{id:"embedForm",ref:"embedForm",class:"text-dark","hide-footer":"",title:"Embed on your website"},{default:a.withCtx(()=>[a.createVNode(c,{"min-height":e.iframeMinHeight,"min-width":e.iframeMinWidth,url:e.embedUrl||e.url,"no-preview":"","no-title":""},null,8,["min-height","min-width","url"])]),_:1},512)],4)}const xy=rt(wte,[["render",Cte]]),xte=a.defineComponent({name:"EmbeddableFooter",components:{Fa:zn,SharingOptions:xy,Brand:Sg},props:{title:{type:String,default:()=>It.get("project.name")},lead:{type:String,default:""},iframeMinHeight:{type:Number,default:100},iframeMinWidth:{type:Number,default:100},homeUrl:{type:String,default:()=>It.get("app.home")},sharingOptionsValues:{type:Object,default:()=>({})}},data(){return{showShareOptions:!1}},beforeMount(){da.add(eS.faShareAlt)},mounted(){ji.create()}}),Ete={class:"embeddable-footer p-2 text-nowrap"},Bte=["href"],Nte=["innerHTML"],Tte={class:"embeddable-footer__lead small text-truncate"},$te=["innerHTML"],Ate={class:"sr-only"};function Ote(e,t,n,r,o,i){const l=a.resolveComponent("brand"),s=a.resolveComponent("fa"),c=a.resolveComponent("sharing-options");return a.openBlock(),a.createElementBlock("div",Ete,[a.createElementVNode("a",{href:e.homeUrl,target:"_blank",class:"text-white embeddable-footer__brand"},[a.createVNode(l,{size:40,"no-border":"",class:"me-2",color:"white"}),a.renderSlot(e.$slots,"title",{},()=>[a.createElementVNode("span",{innerHTML:e.title},null,8,Nte)],!0)],8,Bte),a.createElementVNode("div",Tte,[a.renderSlot(e.$slots,"default",{lead:e.lead},()=>[a.createElementVNode("span",{innerHTML:e.lead},null,8,$te)],!0)]),a.renderSlot(e.$slots,"sharing-button",a.normalizeProps(a.guardReactiveProps({sharingOptionsValues:e.sharingOptionsValues})),()=>[a.createElementVNode("button",{class:a.normalizeClass(["btn btn-link text-white btn-sm py-0 embeddable-footer__share-btn",{active:e.showShareOptions}]),onClick:t[0]||(t[0]=u=>e.showShareOptions=!e.showShareOptions)},[a.createVNode(s,{icon:"share-alt"}),a.createElementVNode("span",Ate,a.toDisplayString(e.$t("embeddable-footer.share")),1)],2)],!0),e.showShareOptions?(a.openBlock(),a.createBlock(c,{key:0,values:e.sharingOptionsValues,direction:"column-reverse","iframe-min-height":e.iframeMinHeight,"iframe-min-width":e.iframeMinWidth},null,8,["values","iframe-min-height","iframe-min-width"])):a.createCommentVNode("",!0)])}const uS=rt(xte,[["render",Ote],["__scopeId","data-v-8eac1b02"]]);function Mte(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var Pte=Mte;const Ite=_t(Pte);var Ey={exports:{}},By={exports:{}},du=1e3,hu=du*60,pu=hu*60,mu=pu*24,Vte=mu*365.25,Rte=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0)return Lte(e);if(n==="number"&&isNaN(e)===!1)return t.long?zte(e):Dte(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Lte(e){if(e=String(e),!(e.length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*Vte;case"days":case"day":case"d":return n*mu;case"hours":case"hour":case"hrs":case"hr":case"h":return n*pu;case"minutes":case"minute":case"mins":case"min":case"m":return n*hu;case"seconds":case"second":case"secs":case"sec":case"s":return n*du;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function Dte(e){return e>=mu?Math.round(e/mu)+"d":e>=pu?Math.round(e/pu)+"h":e>=hu?Math.round(e/hu)+"m":e>=du?Math.round(e/du)+"s":e+"ms"}function zte(e){return Sh(e,mu,"day")||Sh(e,pu,"hour")||Sh(e,hu,"minute")||Sh(e,du,"second")||e+" ms"}function Sh(e,t,n){if(!(e<t))return e<t*1.5?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}(function(e,t){t=e.exports=o.debug=o.default=o,t.coerce=c,t.disable=l,t.enable=i,t.enabled=s,t.humanize=Rte,t.names=[],t.skips=[],t.formatters={};var n;function r(u){var d=0,p;for(p in u)d=(d<<5)-d+u.charCodeAt(p),d|=0;return t.colors[Math.abs(d)%t.colors.length]}function o(u){function d(){if(d.enabled){var p=d,m=+new Date,g=m-(n||m);p.diff=g,p.prev=n,p.curr=m,n=m;for(var v=new Array(arguments.length),w=0;w<v.length;w++)v[w]=arguments[w];v[0]=t.coerce(v[0]),typeof v[0]!="string"&&v.unshift("%O");var _=0;v[0]=v[0].replace(/%([a-zA-Z%])/g,function(C,S){if(C==="%%")return C;_++;var k=t.formatters[S];if(typeof k=="function"){var x=v[_];C=k.call(p,x),v.splice(_,1),_--}return C}),t.formatArgs.call(p,v);var y=d.log||t.log||console.log.bind(console);y.apply(p,v)}}return d.namespace=u,d.enabled=t.enabled(u),d.useColors=t.useColors(),d.color=r(u),typeof t.init=="function"&&t.init(d),d}function i(u){t.save(u),t.names=[],t.skips=[];for(var d=(typeof u=="string"?u:"").split(/[\s,]+/),p=d.length,m=0;m<p;m++)d[m]&&(u=d[m].replace(/\*/g,".*?"),u[0]==="-"?t.skips.push(new RegExp("^"+u.substr(1)+"$")):t.names.push(new RegExp("^"+u+"$")))}function l(){t.enable("")}function s(u){var d,p;for(d=0,p=t.skips.length;d<p;d++)if(t.skips[d].test(u))return!1;for(d=0,p=t.names.length;d<p;d++)if(t.names[d].test(u))return!0;return!1}function c(u){return u instanceof Error?u.stack||u.message:u}})(By,By.exports);var Fte=By.exports;(function(e,t){t=e.exports=Fte,t.log=o,t.formatArgs=r,t.save=i,t.load=l,t.useColors=n,t.storage=typeof chrome!="undefined"&&typeof chrome.storage!="undefined"?chrome.storage.local:s(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"];function n(){return typeof window!="undefined"&&window.process&&window.process.type==="renderer"?!0:typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}t.formatters.j=function(c){try{return JSON.stringify(c)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}};function r(c){var u=this.useColors;if(c[0]=(u?"%c":"")+this.namespace+(u?" %c":" ")+c[0]+(u?"%c ":" ")+"+"+t.humanize(this.diff),!!u){var d="color: "+this.color;c.splice(1,0,d,"color: inherit");var p=0,m=0;c[0].replace(/%[a-zA-Z%]/g,function(g){g!=="%%"&&(p++,g==="%c"&&(m=p))}),c.splice(m,0,d)}}function o(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function i(c){try{c==null?t.storage.removeItem("debug"):t.storage.debug=c}catch(u){}}function l(){var c;try{c=t.storage.debug}catch(u){}return!c&&typeof process!="undefined"&&"env"in process&&(c=process.env.DEBUG),c}t.enable(l());function s(){try{return window.localStorage}catch(c){}}})(Ey,Ey.exports);var Hte=Ey.exports,fS=Hte("jsonp"),Ute=Gte,Wte=0;function jte(){}function Gte(e,t,n){typeof t=="function"&&(n=t,t={}),t||(t={});var r=t.prefix||"__jp",o=t.name||r+Wte++,i=t.param||"callback",l=t.timeout!=null?t.timeout:6e4,s=encodeURIComponent,c=document.getElementsByTagName("script")[0]||document.head,u,d;l&&(d=setTimeout(function(){p(),n&&n(new Error("Timeout"))},l));function p(){u.parentNode&&u.parentNode.removeChild(u),window[o]=jte,d&&clearTimeout(d)}function m(){window[o]&&p()}return window[o]=function(g){fS("jsonp got",g),p(),n&&n(null,g)},e+=(~e.indexOf("?")?"&":"?")+i+"="+s(o),e=e.replace("?&","?"),fS('jsonp req "%s"',e),u=document.createElement("script"),u.src=e,c.parentNode.insertBefore(u,c),m}const Yte=_t(Ute);var qte=Y7;function Kte(e){var t=e==null?0:e.length;return t?qte(e,1):[]}var Xte=Kte;const Zte=_t(Xte);var Jte=dn;function Qte(){if(!arguments.length)return[];var e=arguments[0];return Jte(e)?e:[e]}var ene=Qte;const Ny=_t(ene);function tne(e,t,n,r,o,i){const l=a.toValue(e),s=a.computed(()=>Zte(Ny(i).map(m=>m.split(",")))),c=a.computed(()=>t==null?void 0:t.replace("/post?","/post-json?").concat("&c=?")),u=a.computed(()=>o||(window.location!==window.parent.location?document.referrer:document.location.href)),d=a.computed(()=>{if(typeof c.value=="undefined"||!r||!n)throw new Error("Missing url Info");const m=new URL(c.value);return m.searchParams.set("SIGNUP",r),m.searchParams.set("MMERGE24",u.value),m.searchParams.set(n,l),s.value.map(g=>m.searchParams.set(g,"1")),m.href});function p(){return new Promise((m,g)=>{Yte(d.value,{param:"c"},(v,w)=>v?g(v):m(w))})}return{send:p}}const nne=a.defineComponent({name:"SignUpForm",props:{action:{type:String,default:()=>It.get("signup-form.action")},emailField:{type:String,default:()=>It.get("signup-form.email-field")},defaultGroups:{type:[String,Array],default:()=>It.get("signup-form.default-groups")},noLabel:{type:Boolean},horizontal:{type:Boolean},tracker:{type:String,default:()=>It.get("signup-form.tracker")},referrer:{type:String,default:null},variant:{type:String,default:"primary"}},setup(e){const{t}=Sr(),n=a.ref(""),r=a.ref(!1),o=a.ref({}),i=a.ref(null),l=a.ref(null),{send:s}=tne(n,e.action,e.emailField,e.tracker,e.referrer,e.defaultGroups),c=a.computed(()=>`btn-${e.variant}`);function u(){return Ge(this,null,function*(){p(),m(),yield s().then(d,d).finally(g)})}function d({result:v,msg:w}){var _;v==="success"?(n.value="",l.value=w):i.value=(_=Ite((w||"Something's wrong").split("0 -")))!=null?_:null}function p(){i.value=null,l.value=null}function m(){r.value=!0}function g(){r.value=!1}return{t,email:n,frozen:r,response:o,errorMessage:i,successMessage:l,variantColorClass:c,subscribe:u,send:s}}}),rne=["disabled"],ane={key:0,class:"text-uppercase text-muted fw-bold",for:"input-email"},one=["placeholder"],ine={key:0,class:"alert alert-danger p-2 m-0 mt-2"},lne={key:1,class:"alert alert-success p-2 m-0 mt-2"};function sne(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("form",{class:a.normalizeClass(["sign-up-form",{"sign-up-form--horizontal":e.horizontal}]),onSubmit:t[1]||(t[1]=a.withModifiers((...l)=>e.subscribe&&e.subscribe(...l),["prevent"]))},[a.createElementVNode("fieldset",{disabled:e.frozen},[e.noLabel?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("label",ane,a.toDisplayString(e.t("sign-up-form.label")),1)),a.createElementVNode("div",{class:a.normalizeClass(["sign-up-form__fieldset__group",{"input-group":e.horizontal}])},[a.withDirectives(a.createElementVNode("input",{id:"input-email","onUpdate:modelValue":t[0]||(t[0]=l=>e.email=l),name:"EMAIL",type:"email",class:"form-control",placeholder:e.t("sign-up-form.placeholder").toString()},null,8,one),[[a.vModelText,e.email]]),a.createElementVNode("button",{class:a.normalizeClass(["sign-up-form__fieldset__group__addon btn text-uppercase fw-bold input-group-text",{[e.variantColorClass]:!0}]),type:"submit"},a.toDisplayString(e.t("sign-up-form.submit")),3)],2)],8,rne),e.errorMessage?(a.openBlock(),a.createElementBlock("p",ine,a.toDisplayString(e.errorMessage),1)):a.createCommentVNode("",!0),e.successMessage?(a.openBlock(),a.createElementBlock("p",lne,a.toDisplayString(e.successMessage),1)):a.createCommentVNode("",!0)],34)}const Ty=rt(nne,[["render",sne]]),cne=a.defineComponent({name:"FollowUsPopover",components:{Fa:zn,SignUpForm:Ty},emits:["update:close"],setup(e,{emit:t}){const{t:n}=Sr();a.onBeforeMount(()=>{da.add(kg.faTimes,wy.faTwitter,Sy.faFacebook,ky.faLinkedin)});function r(){t("update:close",!1)}return{t:n,closeSignupPopover:r}}}),$y=e=>(a.pushScopeId("data-v-c14b374b"),e=e(),a.popScopeId(),e),une={class:"follow-us"},fne={class:"px-3 pb-1 text-uppercase text-muted fw-bold"},dne={class:"p-3 bg-light d-flex justify-content-between text-center"},hne={class:"col"},pne={href:"https://twitter.com/ICIJorg",target:"_blank",class:"d-inline-block text-primary border border-primary rounded-circle bg-white follow-us__social-btn",title:"Twitter"},mne=$y(()=>a.createElementVNode("span",{class:"sr-only"},"Twitter",-1)),gne={class:"col"},yne={href:"https://www.facebook.com/ICIJ.org",target:"_blank",class:"d-inline-block text-primary border border-primary rounded-circle bg-white follow-us__social-btn",title:"Facebook"},vne=$y(()=>a.createElementVNode("span",{class:"sr-only"},"Facebook",-1)),bne={class:"col"},_ne={href:"https://www.linkedin.com/company/1732242/",target:"_blank",class:"d-inline-block text-primary border border-primary rounded-circle bg-white follow-us__social-btn",title:"Linkedin"},wne=$y(()=>a.createElementVNode("span",{class:"sr-only"},"Linkedin",-1));function Sne(e,t,n,r,o,i){const l=a.resolveComponent("fa"),s=a.resolveComponent("sign-up-form");return a.openBlock(),a.createElementBlock("div",une,[a.createElementVNode("button",{class:"btn btn-link text-light follow-us__close",onClick:t[0]||(t[0]=(...c)=>e.closeSignupPopover&&e.closeSignupPopover(...c))},[a.createVNode(l,{icon:"times"})]),a.createVNode(s,{class:"p-3"}),a.createElementVNode("div",fne,a.toDisplayString(e.t("follow-us-popover.heading")),1),a.createElementVNode("div",dne,[a.createElementVNode("div",hne,[a.createElementVNode("a",pne,[a.createVNode(l,{icon:["fab","twitter"],size:"lg"}),mne])]),a.createElementVNode("div",gne,[a.createElementVNode("a",yne,[a.createVNode(l,{icon:["fab","facebook"],size:"lg"}),vne])]),a.createElementVNode("div",bne,[a.createElementVNode("a",_ne,[a.createVNode(l,{icon:["fab","linkedin"],size:"lg"}),wne])])])])}const kh=rt(cne,[["render",Sne],["__scopeId","data-v-c14b374b"]]),kne=a.defineComponent({name:"GenericFooter",components:{BrandExpansion:Hd},props:{version:{type:String,default:null},showAboutUs:{type:Boolean,default:!1}},data(){return{mode:Go.Long}},computed:{year(){return new Date().getFullYear()},contactEmail(){return It.get("contact-email")},contactEmailMailto(){return`mailto:${this.contactEmail}`}}}),Ay=e=>(a.pushScopeId("data-v-d5485089"),e=e(),a.popScopeId(),e),Cne={class:"generic-footer"},xne={class:"container"},Ene={class:"row"},Bne={class:"col-12 col-lg-5"},Nne={class:"text-uppercase text-white clearfix generic-footer__icij mb-3"},Tne={href:"https://icij.org",target:"_blank",class:"generic-footer__icij__logo text-decoration-none"},$ne=Ay(()=>a.createElementVNode("span",{class:"sr-only"},"International Consortium of Investigative Journalists",-1)),Ane=Ay(()=>a.createElementVNode("br",null,null,-1)),One=["href"],Mne={class:"col-12 col-lg-7"},Pne={class:"row justify-content-end"},Ine={key:0,class:"col-6 col-lg-4"},Vne=[a.createStaticVNode('<h5 class="text-uppercase mb-3" data-v-d5485089>About Us</h5><ul class="list-unstyled" data-v-d5485089><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/about/our-team/" target="_blank" data-v-d5485089> Our team </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/about/our-supporters/" target="_blank" data-v-d5485089> Our supporters </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/about/awards/" target="_blank" data-v-d5485089> ICIJ's Awards </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/about/corporate/" target="_blank" data-v-d5485089> Corportate </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/about/work-with-us/" target="_blank" data-v-d5485089> Work with us </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/journalists/" target="_blank" data-v-d5485089> Journalists </a></li></ul>',2)],Rne={class:"col-6 col-lg-4"},Lne={class:"text-uppercase mb-3"},Dne=a.createStaticVNode('<ul class="list-unstyled" data-v-d5485089><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/investigations/uber-files/" target="_blank" data-v-d5485089> The Uber Files </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/investigations/russia-archive/" target="_blank" data-v-d5485089> Russia Archive </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/investigations/ericsson-list/" target="_blank" data-v-d5485089> The Ericsson List </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/investigations/pandora-papers/" target="_blank" data-v-d5485089> Pandora Papers </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/investigations/fincen-files/" target="_blank" data-v-d5485089> FinCEN Files </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/investigations/" target="_blank" data-v-d5485089> More investigations </a></li></ul>',1),zne={class:"col-6 col-lg-4"},Fne={class:"text-uppercase mb-3"},Hne=a.createStaticVNode('<ul class="list-unstyled" data-v-d5485089><li class="list-unstyled-item" data-v-d5485089><a href="https://www.facebook.com/ICIJ.org" target="_blank" data-v-d5485089> Facebook </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://www.linkedin.com/company/1732242/" target="_blank" data-v-d5485089> LinkedIn </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://twitter.com/ICIJorg" target="_blank" data-v-d5485089> Twitter </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://instagram.com/icijorg" target="_blank" data-v-d5485089> Instagram </a></li><li class="list-unstyled-item" data-v-d5485089><a href="https://www.icij.org/signup/" target="_blank" data-v-d5485089> Sign-up </a></li></ul>',1),Une={class:"text-white text-md-right small mt-5"},Wne={class:"generic-footer__year"},jne=Ay(()=>a.createElementVNode("br",null,null,-1)),Gne={key:0,class:"text-muted generic-footer__version"};function Yne(e,t,n,r,o,i){const l=a.resolveComponent("brand-expansion");return a.openBlock(),a.createElementBlock("footer",Cne,[a.createElementVNode("div",xne,[a.createElementVNode("div",Ene,[a.createElementVNode("div",Bne,[a.createElementVNode("h5",Nne,[a.createElementVNode("a",Tne,[a.createVNode(l,{mode:e.mode,dark:""},null,8,["mode"]),$ne])]),a.createElementVNode("p",null,[a.renderSlot(e.$slots,"address",{},()=>[a.createTextVNode(" 1800 M Street NW, Front 1 #33019"),Ane,a.createTextVNode(" Washington, D.C. 20033 USA ")],!0)]),a.createElementVNode("p",null,[a.createElementVNode("strong",null,[a.createElementVNode("a",{href:e.contactEmailMailto,class:""},a.toDisplayString(e.contactEmail),9,One)])]),a.renderSlot(e.$slots,"left",{},void 0,!0)]),a.createElementVNode("div",Mne,[a.createElementVNode("div",Pne,[e.showAboutUs?(a.openBlock(),a.createElementBlock("div",Ine,Vne)):a.createCommentVNode("",!0),a.createElementVNode("div",Rne,[a.createElementVNode("h5",Lne,a.toDisplayString(e.$t("generic-footer.investigations")),1),a.renderSlot(e.$slots,"investigations",{},()=>[Dne],!0)]),a.createElementVNode("div",zne,[a.createElementVNode("h5",Fne,a.toDisplayString(e.$t("generic-footer.follow-us")),1),Hne])])])]),a.createElementVNode("p",Une,[a.createElementVNode("strong",null,[a.createTextVNode(" © "),a.createElementVNode("span",Wne,a.toDisplayString(e.year),1),a.createTextVNode(" — The International Consortium of Investigative Journalists. ")]),a.createTextVNode(" "+a.toDisplayString(e.$t("generic-footer.all-rights"))+" ",1),jne,e.version?(a.openBlock(),a.createElementBlock("span",Gne,a.toDisplayString(e.$t("generic-footer.version",{version:e.version})),1)):a.createCommentVNode("",!0)])])])}const dS=rt(kne,[["render",Yne],["__scopeId","data-v-d5485089"]]);var hS={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="bars",r=448,o=512,i=["navicon"],l="f0c9",s="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z";e.definition={prefix:t,iconName:n,icon:[r,o,i,l,s]},e.faBars=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=o,e.ligatures=i,e.unicode=l,e.svgPathData=s,e.aliases=i})(hS);function qne(e){const t=e.currentScrollY.value>=e.lastScrollY.value?"down":"up",n=Math.abs(e.currentScrollY.value-e.lastScrollY.value),r=e.lastScrollY.value===void 0;let o;return e.currentScrollY.value>e.height.value+e.offset.value&&e.state.value==="unfixed"&&r?o="pin":e.currentScrollY.value<=e.offset.value&&e.state.value!=="unfixed"?o="unfix":e.currentScrollY.value<=e.height.value&&t==="down"&&e.state.value==="unfixed"?o="none":e.currentScrollY.value>e.height.value+e.offset.value&&t==="down"&&e.state.value==="unfixed"&&!r?o="unpin-snap":t==="down"&&["pinned","unfixed"].indexOf(e.state.value)>=0&&e.currentScrollY.value>e.height.value+e.offset.value&&n>e.downTolerance.value?o="unpin":t==="up"&&n>e.upTolerance.value&&["pinned","unfixed"].indexOf(e.state.value)<0||t==="up"&&e.currentScrollY.value<=e.height.value&&["pinned","unfixed"].indexOf(e.state.value)<0?o="pin":o="none",o}function Kne(){const e=document.createElement("div");let t=!1;const n=["perspectiveProperty","WebkitPerspective"];for(let r=n.length-1;r>=0;r--)t=t||e.style[n[r]]!==void 0;if(t){const r=document.createElement("style");r.textContent="#modernizr{width:0;height:0} @media (transform-3d),(-webkit-transform-3d){#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}",document.getElementsByTagName("head")[0].appendChild(r),e.id="modernizr",document.body.appendChild(e),t=e.offsetWidth===7&&e.offsetHeight===18,r.parentNode.removeChild(r),e.parentNode.removeChild(e)}return t}const pS={pinned:"headroom--pinned",unpinned:"headroom--unpinned",unfixed:"headroom--unfixed",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"},Xne=a.defineComponent({name:"vueHeadroom",props:{scroller:{type:Function,default:()=>window},disabled:{type:Boolean,default:!1},upTolerance:{type:Number,default:5},downTolerance:{type:Number,default:0},speed:{type:Number,default:250},easing:{type:String,default:"ease-in-out"},zIndex:{type:Number,default:9999},offset:{type:Number,default:0},classes:{type:Object,default(){return pS}},footroom:{type:Boolean,default:!1}},setup(e,{emit:t}){const n=a.ref(!1),r=a.ref(!1),o=a.ref(!1),i=a.ref(!1),l=a.ref(!1),s=a.ref(!1),c=a.ref(0),u=a.ref(void 0),d=a.ref("unfixed"),p=a.ref(0),m=a.ref(""),g=a.ref(!0),v=a.ref(!1),w=a.ref(null);a.onMounted(()=>{v.value=Kne(),A(),e.disabled||e.scroller().addEventListener("scroll",M),M()}),a.onUpdated(()=>{a.nextTick(function(){A()})}),a.onBeforeUnmount(()=>{e.scroller().removeEventListener("scroll",M)});const _=a.computed(()=>{let U={position:e.disabled||d.value==="unfixed"?"relative":"fixed",top:"0",left:"0",right:"0","z-index":e.zIndex};e.footroom&&(U=Le(de({},U),{top:"unset",bottom:"0"}));const oe=typeof window=="undefined";return oe||(U.transform=v.value&&!oe?`translate3d(0, ${p.value}, 0)`:`translateY(${p.value})`,g.value&&(U.transition=`all ${e.speed}ms ${e.easing}`)),U}),y=a.computed(()=>de(de({},pS),e.classes)),C=a.computed(()=>{let U=y.value;return e.disabled?{}:{[U.top]:n.value,[U.notTop]:r.value,[U.bottom]:o.value,[U.notBottom]:i.value,[U.pinned]:l.value,[U.unpinned]:s.value,[U.initial]:!0}}),S=()=>window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,k=U=>Math.max(U.offsetHeight,U.clientHeight),x=()=>{const U=document.body,oe=document.documentElement;return Math.max(U.scrollHeight,oe.scrollHeight,U.offsetHeight,oe.offsetHeight,U.clientHeight,oe.clientHeight)},B=U=>Math.max(U.scrollHeight,U.offsetHeight,U.clientHeight);function N(){const U=e.scroller();return U===window||U===document.body?S():k(U)}function $(){const U=e.scroller();return U===window||U===document.body?x():B(U)}function T(U){const oe=U<0,le=N(),ue=$(),K=U+le>ue;return oe||K}function M(){window.requestAnimationFrame(z)}function A(){var U,oe;m.value=(oe=(U=w.value)==null?void 0:U.offsetHeight)!=null?oe:""}function F(){let U;return e.scroller().pageYOffset!==void 0?U=e.scroller().pageYOffset:e.scroller().scrollTop!==void 0?U=e.scroller().scrollTop:U=(document.documentElement||document.body.parentNode||document.body).scrollTop,U}function z(){if(c.value=F(),T(c.value))return;c.value<=e.offset?O():L(),c.value+S()>=$()?V():H();const U=qne({currentScrollY:c,lastScrollY:u,height:m,offset:a.toRef(e.offset),downTolerance:a.toRef(e.downTolerance),upTolerance:a.toRef(e.upTolerance),state:d});U==="pin"?G():U==="unpin-snap"?ne():U==="unpin"?W():U==="unfix"&&se(),u.value=c.value}function O(){n.value=!0,r.value=!1,t("top")}function L(){n.value=!1,r.value=!0,t("not-top")}function V(){o.value=!0,i.value=!1,t("bottom")}function H(){i.value=!0,o.value=!1,t("not-bottom")}function G(){l.value=!0,s.value=!1,g.value=!0,t("pin"),p.value=0,a.nextTick(()=>{d.value="pinned"})}function W(){s.value=!0,l.value=!1,g.value=!0,t("unpin"),p.value=e.footroom?"100%":"-100%",a.nextTick(()=>{d.value="unpinned"})}function ne(){s.value=!0,l.value=!1,g.value=!1,t("unpin"),p.value=e.footroom?"100%":"-100%",a.nextTick(()=>{d.value="unpinned"})}function se(){p.value=0,g.value=!1,t("unfix"),a.nextTick(()=>{d.value="unfixed"})}return a.watch(()=>e.disabled,U=>{U?e.scroller().removeEventListener("scroll",M):e.scroller().addEventListener("scroll",M)}),{main:w,height:m,cls:C,style:_}}});function Zne(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle({height:e.height+"px"})},[a.createElementVNode("div",{class:a.normalizeClass(e.cls),style:a.normalizeStyle(e.style),ref:"main"},[a.renderSlot(e.$slots,"default",{},()=>[a.createTextVNode("test")])],6)],4)}const mS=rt(Xne,[["render",Zne]]),Jne=a.defineComponent({name:"GenericHeader",components:{BPopover:Ci,BrandExpansion:Hd,Fa:zn,FollowUsPopover:kh,headroom:mS},props:{position:{type:String,default:"fixed"},noHeadroom:{type:Boolean,default:!1},homeUrl:{type:String,default:()=>It.get("app.home")},brandOptions:{type:Object,default:()=>({})},donateUrl:{type:String,default:()=>It.get("app.donate-url")}},setup(e){a.onBeforeMount(()=>{da.add(hS.faBars)});const{t}=Sr(),n=a.ref(null),r=a.ref(!1),o=a.ref(!1),i=a.ref(!0),l=a.ref(Go.Short),s=a.ref(Go.Long),c=a.computed(()=>e.noHeadroom?"div":"headroom"),u=a.computed(()=>de(de({},d.value),e.brandOptions)),d=a.computed(()=>({noBorder:!0,size:50,color:"white",background:"#A10207"}));function p(){var g,v;(g=n.value)!=null&&g.hide&&((v=n.value)==null||v.hide(new Event("forceHide"))),o.value=!1}function m(){i.value=!i.value,p()}return{t,rootElement:c,showFollowUsPopover:o,followUsPopover:n,collapseNavbar:i,shortMode:l,longMode:s,appliedBrandOptions:u,closable:r,closeFollowUsPopover:p,toggleNavbar:m}}}),Qne=["href"],ere=a.createElementVNode("span",{class:"sr-only"},"International Consortium of Investigative Journalists",-1),tre={class:"navbar-nav ms-auto"},nre={class:"nav-item"},rre={href:"https://www.icij.org/investigations/",target:"_blank",class:"nav-link text-uppercase"},are={class:"nav-item"},ore={href:"https://www.icij.org/leak/",target:"_blank",class:"nav-link text-uppercase"},ire={class:"nav-item"},lre={class:"nav-item me-lg-3"},sre=["href"];function cre(e,t,n,r,o,i){const l=a.resolveComponent("brand-expansion"),s=a.resolveComponent("fa"),c=a.resolveComponent("follow-us-popover"),u=Ci;return a.openBlock(),a.createElementBlock("div",null,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.rootElement),{id:"generic-header","data-turbolinks-permanent":"",class:a.normalizeClass(["navbar navbar-expand-lg navbar-light generic-header",{"headroom--frozen":!e.collapseNavbar,"generic-header--collapsed":e.collapseNavbar}]),offset:100,"z-index":1020,"on-unpin":e.closeFollowUsPopover,style:a.normalizeStyle({position:e.position})},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"brand",{},()=>[a.createElementVNode("a",{href:e.homeUrl,class:"navbar-brand generic-header__brand"},[a.createVNode(l,{size:45,mode:e.shortMode,class:"d-inline-block d-sm-none"},null,8,["mode"]),a.createVNode(l,{size:45,mode:e.longMode,class:"d-none d-sm-inline-block"},null,8,["mode"]),ere],8,Qne)]),a.createElementVNode("button",{class:"navbar-toggler border-0",type:"button","aria-label":"Toggle navigation",onClick:t[0]||(t[0]=(...d)=>e.toggleNavbar&&e.toggleNavbar(...d))},[a.createVNode(s,{icon:"bars",size:"xl",class:"text-primary"})]),a.createElementVNode("div",{class:a.normalizeClass(["navbar-collapse",{collapse:e.collapseNavbar}])},[a.createElementVNode("ul",tre,[a.createElementVNode("li",nre,[a.createElementVNode("a",rre,a.toDisplayString(e.t("generic-header.navbar.investigations")),1)]),a.createElementVNode("li",are,[a.createElementVNode("a",ore,a.toDisplayString(e.t("generic-header.navbar.leak")),1)]),a.createElementVNode("li",ire,[a.createElementVNode("a",{id:"follow-us-toggler",class:"nav-link text-uppercase",onMouseenter:t[1]||(t[1]=d=>e.showFollowUsPopover=!0)},a.toDisplayString(e.t("generic-header.navbar.follow")),33)]),a.createElementVNode("li",lre,[a.renderSlot(e.$slots,"donate-link",{},()=>[a.createElementVNode("a",{class:"text-uppercase btn btn-primary fw-bold",target:"_blank",href:e.donateUrl},a.toDisplayString(e.t("generic-header.navbar.support")),9,sre)])])]),a.createVNode(u,{modelValue:e.showFollowUsPopover,"onUpdate:modelValue":t[2]||(t[2]=d=>e.showFollowUsPopover=d),target:"follow-us-toggler",placement:"bottom-start",ref:"followUsPopover",click:""},{default:a.withCtx(()=>[a.createVNode(c,{"onUpdate:close":e.closeFollowUsPopover,onKeydown:a.withKeys(e.closeFollowUsPopover,["esc"])},null,8,["onUpdate:close","onKeydown"])]),_:1},8,["modelValue"])],2)]),_:3},40,["on-unpin","class","style"]))])}const gS=rt(Jne,[["render",cre]]);var yS={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="globe",r=512,o=512,i=[127760],l="f0ac",s="M352 256c0 22.2-1.2 43.6-3.3 64H163.3c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64H348.7c2.2 20.4 3.3 41.8 3.3 64zm28.8-64H503.9c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64H380.8c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32H376.7c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0H167.7c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0H18.6C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192H131.2c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64H8.1C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6H344.3c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352H135.3zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6H493.4z";e.definition={prefix:t,iconName:n,icon:[r,o,i,l,s]},e.faGlobe=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=o,e.ligatures=i,e.unicode=l,e.svgPathData=s,e.aliases=i})(yS);var ure=Jo,fre=vs,dre=cu;function hre(e){return function(t,n,r){var o=Object(t);if(!fre(t)){var i=ure(n);t=dre(t),n=function(s){return i(o[s],s,o)}}var l=e(t,n,r);return l>-1?o[i?t[l]:l]:void 0}}var pre=hre;function mre(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}var vS=mre,gre=/\s/;function yre(e){for(var t=e.length;t--&&gre.test(e.charAt(t)););return t}var vre=yre,bre=vre,_re=/^\s+/;function wre(e){return e&&e.slice(0,bre(e)+1).replace(_re,"")}var Sre=wre,kre=Sre,bS=ps,Cre=as,_S=NaN,xre=/^[-+]0x[0-9a-f]+$/i,Ere=/^0b[01]+$/i,Bre=/^0o[0-7]+$/i,Nre=parseInt;function Tre(e){if(typeof e=="number")return e;if(Cre(e))return _S;if(bS(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=bS(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=kre(e);var n=Ere.test(e);return n||Bre.test(e)?Nre(e.slice(2),n?2:8):xre.test(e)?_S:+e}var $re=Tre,Are=$re,wS=1/0,Ore=17976931348623157e292;function Mre(e){if(!e)return e===0?e:0;if(e=Are(e),e===wS||e===-wS){var t=e<0?-1:1;return t*Ore}return e===e?e:0}var Pre=Mre,Ire=Pre;function Vre(e){var t=Ire(e),n=t%1;return t===t?n?t-n:t:0}var Rre=Vre,Lre=vS,Dre=Jo,zre=Rre,Fre=Math.max;function Hre(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var o=n==null?0:zre(n);return o<0&&(o=Fre(r+o,0)),Lre(e,Dre(t),o)}var SS=Hre;const Ure=_t(SS);var Wre=pre,jre=SS,Gre=Wre(jre),Yre=Gre;const gu=_t(Yre),qre=a.defineComponent({name:"ImddbHeader",components:{BDropdownItem:i0,BModal:Wl,BNavItemDropdown:p0,BPopover:Ci,headroom:mS,FollowUsPopover:kh,Fa:zn},props:{position:{type:String,default:"fixed"},noHeadroom:{type:Boolean},project:{type:String,default:()=>It.get("project.name")},title:{type:String,default:()=>It.get("app.name")},dropdownItems:{type:Array,default:()=>It.get("imddb-header.dropdown.items")},homeUrl:{type:String,default:()=>It.get("app.home")},donateUrl:{type:String,default:()=>It.get("app.donate-url")}},setup(e){const{t}=Sr(),n=a.ref(null),r=a.ref(!1),o=a.ref(!0),i=a.ref([]),l=a.ref(null),s=a.computed(()=>e.noHeadroom?"div":"headroom"),c=a.computed(()=>{var v;return!!((v=i.value)!=null&&v.length)}),u=a.computed(()=>Hr(gu(i.value,{active:!0}),"label","Language"));a.onBeforeMount(()=>{da.add(yS.faGlobe)}),a.onMounted(()=>{i.value=It.get("imddb-header.languages.items")});function d(){var v,w;(v=n.value)!=null&&v.hide&&((w=n.value)==null||w.hide(new Event("forceHide"))),r.value=!1}function p(){var v;(v=l.value)==null||v.$emit("bv::hide::popover"),d()}function m(){var v;(v=l.value)==null||v.$emit("bv::hide::dropdown")}function g(){o.value=!o.value,p(),m()}return{t,root:l,collapseNavbar:o,currentLanguage:u,hasLanguagesDropdown:c,languages:i,rootElement:s,followUsPopover:n,showFollowUsPopover:r,closeFollowUsPopover:d,hidePopover:p,toggleNavbar:g}}}),Kre="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJ4AAACeCAYAAADDhbN7AAAACXBIWXMAAAupAAALqQGl4eo5AAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAD25JREFUeJztnWmQHkUZx3+zCVfkEhNBgQCBhBCucHpwyCGCFF4UfjCleB8YLVRQQC2VAhVFKAWpQvHiUDzxgFK0ogkqYiQc4QjEcIcARRIg5DAhyf790LO6rvu+/UzP0bP79q+qaz+83c/0dP+3Z6b76aczEv+DIAN2AibnaUr+dwdgXJ62BbbMi6wCngPW5OlJYNHglMHiBm9hRJDFrkAbEEwCXpuno4HxFV9iJTAXmJWnOzLor/gaibYjGCN4neBKwTKBGk5LBT8QHCcYE7s9EjUjOEBwseCJCGLrlJYILhJMj90+iYoRHC64vgUi86W/Ct6g9Ao0chH05Z04twWCKpruFJyq9BgeWQiOENzVAgFVIcDDY7dnwoNgB8FVgv4WiKaq1J/f0/ax2zcxBEEm+IjguRYIpa70rODDSu9/7UAwXnBDAx0/v6I8ZdNvBC+J3e49jdy73OKaO3qlYIbgIEPegwRvz8vUWafHBIfFbv+eQ+7Reo5gfc0dvFSwf35Nk/DyvNNV/8T0esFZcXuih5Bbdfh2YGetEjxizLtMgyZ1iwgvzz9dsNx4rUcFqwPv6XKlaZd6EWwu+GVA56wTXCrYR7YPkNWDRZRfu5DwBpVZYyj3bF63b+Z1LXp/vxBs3mxv9AiCbQU3BXTK7+ScABBcYizz/mGuX1h4ebkPGq/5jTz/JMGNAfc5R7BN/T3RQwi2EvyjYEcsE7xjkI0pghcM5X7SoQ5BwsvL/tRQ9gU596uBMqeq+HviP/Rfd61EGQSbCv5QsANuFLx0iJ0fGcot6TRqlBTeNrI5JvxwSLmXBtz7HwSbVtcDPYjc1+uVBRq9X3CBhrxsC3Yyjnbv7FKXYOHl5d9tKL9eMHGYNjhLsLFAO1wr6CvfAz2K7O9kEqwQvL6DnYsM5W/r1lkVCK9PcLvBxoUdyp8oeL5Ae3y9eIsnELynQCM/3anT5R5zKww2jvLUp5TwchtHGWw8J9iqQ/lD5OYWre3yLmt7JwDBNNnntR4V7NnF1ukGG3MMdSotvNyO5cv8I13KT83v2dI2qwR7+eqUAATjBHcbG/YxwS4ee/MMdk421Ksq4Z1ssDPXY2NX2ZcK7xJs4atXzyO4wtigT8ntAOtma6rBziMyzPxXKLwxsq2eWO7taWNbfctXr55GbvOLpSH/JXilwd75BltnGutWifByW5802DrXYOdg2V9JTrDUrSla49sl2Ay4m0GTqF2YCVxryDePfNWiA2uBvYFnDbb2B2Z78hwNzDfY2g64F3fPnXgIONhgawbwTUO+hcB+GbxgyNs7CD5r/M9NKTydHbufB2jFiCc3aboAeFHsuoxy1gDTMng0dkXaMrv9FZLommAccH7sSkALRjzB7rj3j+RT1gwbgakZPBCzEm0Y8c4mia5JxgBnxK5E1BFPLgLTwyQnxqZZB0zK4IlYFYg94p1JEl0MNgM+FrMC0UY8wSa4/7iqQ4IlbCwFdsxgfYyLj41x0ZzX4xfd34GLC9qdDHzRk+fi3HYRJgEXePKcjZv4LcIrgU948nwGF+SxCGcAr+jy+wTgeOCGgnZHNrK5g78lwO4Mg92pAXYrWzIbYneawe7bAuyeYrD7o6J2qyLKO55ga+AkT7YnCPtv9IlqFfDPALt1sRBY7cnT0e2rC78ClnjyvDnvi8aJ9XFxMn5XncsD3z98wpvfpjCwmZtXu8uTrbBPXQYbgO94sm0BvLGo7SqIJbzXGvL8NNC2T3gLAu3WyX2e3wu/GuRYHqXHBtouRSzhHen5/Z7MPYIKIXc/Pu+Woi/pTeB79E9RwCR75uze78l2TFG7VdC48AR7ADt7sl0XaH43/POChQXdAL46bY7H07oLvracKNg10HYwMUa81xjy3Bhou5vv3QBFpzua4EFDHsu9DcfvDHmODrQdTAzh+UKrrgVuD7Q9wZDn8UDbdeL7+gTbvQ3HPPzOn42Hu40hPN8X2rzMrSWG4Ouc1Zk7hadVZPAM/imVoBWezPaPHPrxEkwM4fle/ouuKAzGFymzjaPdAL4F+zJLi7d4fu+6sagOGhWeXONt58lWZrrDN+ItK2G7bpZ7fg991IK/TcfL3y+V0vSIZ9nIU8ZB0TcqWDb1xOIZz+9lRjxLm+5Rwn5hmhZe3V+dvs5ZUcJ23fj+KeoW3u4l7Bemae8US+DAzwsUaH8fz+8HKnxzs6XjP63wx/mBnt/3LVF3i/vbtoG2g2haeMMGoxnC/0XjrJC9qDeWiDcURgnGAx+o0X6jAR2bftSmaJXtJQkvEQXL06gymhbeuIavl7DT6L7mpoUXuiKRqJ+1TV6saeGtbPh6CTuN9k3TwvOtRybisarJizU9neL7rxLhnikA0+juUr8UeCzQ9jj8UzH34QLjhDCR7stia/B7KnfDtxFp9D6NBO8y7Hx6cQn7f/XY/n4J2wcb6n5ACfu+YxVuKmF7gqHup4baD6HpR61ltAl1eAT/qkGjs/MF8S3SLy1h27IO22josqaFZ9lWWGaxOglveCxt2uiWz6aFt4R69pAO4BNeo64/BfG9Yvjcprrha9OVwFMl7BemUeFl7uPB5ynRLeyCD5/wdixhu258dSsz4vkClS/Kwh0zgojhgezbUfUqhQcT8o54auGZD3JLib4d/UFeL/m2yEM92RqPrBBDeF0PD8E9ckI9SHydkwEvD7RdJ77tnhA+4u2Lfx22zHaDIGIIb7Yhz3GBti1fzbsF2q4Ty57ZxYG2LVEb5gTaDiaG8Obj97YtHCUq55+4WCTdaHxjiwHfy/8GbHtvh8PnI/gM7nyRRmlceHnAnL94sh2Rh6ktanst/vmoMl/NdeGr04MhB6Pkbej7WJsTI4hRrNgpvsdtH/CmQNu+WCGN7yE14BNeaNiNU/D3seXVp3JiCe9n+B+JHwq07ROeb29Do+Rf8NM92ULXaH2u8v3ALwNtlyKK8DI3kfxnT7bpglcFmPeNDuNl+4psil3xT2yHRM46EvdF240/ZrbwGZUTMwbyNfiDxXxU/hFsKJaGPEK2YDaDsbiGbx3g5HCYIc+TAXZnGvL8sKDNyogZ9X1r3DJN6yZ0e4S1wA5ZpL3G0c65yOB5Ir1fJAD4eSzRQfyTffYD7oxdjx5EwP5ZhPm7AaKe7JO5oNNF37US5bk+puigBSONnOeEL4xWoloOy+BvMSsQ+ywzMrdA7VvJSFTH7NiigxaMeOD2M+C8VqL/I4xy+oFXZ34PodppRUdnLk5v8EachJkr2iA6aMmIB/+JFroQm3v6Bdi2QX6L7hOv64D3YluA3x34sifPWbjzd31sCnwv/9uJ5cBpBlsHA58y5FsO7JmVc6EfnQhOM2zDk2CJDG7sgm8bbM0w1q2y7Y2CUw22LjPYeZlgsbHN6gxxNrIR9AluMjbkrfIsYwmONNgxed9WLLxbDbZe7bGxjeAOY1vNVkteq1qLYEfBUmOD3qwuUY4EmeBhgx3vBqOqhCc4zGDnYXV5DRJsUeAf9Gm1e5NTexCcKOg3NuwsdYm7J/iSwYZ3sbxC4f3YYOfcLuW3EvzR2DYbBSf46pQYhOBCY+NKMFcdYhQLdhGs95R/QZ7g01UITzA5v5avLjt1KD9BMK9Au/hOFE8MRbCJ4E8FGnmBOmyaMY4yv/DUpwrh/cpg45oOZScJFhZoj1mCTewtnvgPco+V2wo09jIN82gxikbqcnZrWeEJjjHW4ZBhyp4oWF6gHear3eE62o9gB8EDBRp9o9yRBX1D7Fhexm9Th3NhywhPMDYXg6/87CHlxgjOk/19V4JFgu2r64EeRu4x82SBxpfcF++0QTaOMpb7XIc6lBHeecZrHzuozN6CWwre89Nq5/bNkYtgH8HjBTtireBzylcIBNcbymwQHDHM9YOEJ/eI3Wgo++s8/2aCcwXrCt7rYsHe9fdEDyJ3mvR9BTtEco/qGfko4vvCHejECUOuXVh4gu3lVll85dYLpgneLngo4P4WyEUUTdSF4CWCvwd0jgR3Cu415r1Dg44hLSo8uamPu4zXuqdA3qHpFvmPS01UgeBFsk1NlE23K3daKCI8uS2Ulo+Jsuk6pbNDmkVuOezjKv4uVDQtkHsMmoQn9y56f811Wic4XS3yLuo5BIcIHqy5o9cIrjHku1rwr5rr8oCcK1QiNnKeGlfX3OGxU7/gKvkDOCaaRs4N6u4WiKTqdL/CYwYmmkBuleB0wYoWCKZsWiX4grp7KifahJx37tcEK1sgoKLpecFXlZa+Ri5ygXTOknMgiC0oX1qWj3BtPhYhUQTBlnJ7Om5WsUX3ulO/3FFYH1LDZ8YmGkaws9x7oHXPQh1pQT66lTnJaMTS8xOQcmenHY6LU3c8tgjsITyFi5gwC7g5g3trus6IoOeFNxQ5t6L9cH8n53+n0MG1fhiWAotwe4QX5Wl+5v4mcpLwCiDYBvcetiX/3Vq5EnfI8OqY8eYSiUQikUgkEonYVP5xcdlll+08duzYO6q2m4jHhg0bDpg5c2boIX7DUvk5F319fWNIrtijirxPq7VZtcFEwkISXiIKSXiJKCThJaKQhJeIQhJeIgp1TKc8C5xTtd1EPPI+TSQSiUQikUgkEnUg2KNXN+okIiK4QfD72PVI9BCCtw7apnhK7PokegC5IxAGx2J+It8ElEjUh+DiYTZnXxS7XolRjGBfDX8k1HrB9Nj1S4xC5I40vblLSIq5SmvfiaoRvN8QD+V9seuZGEXIHXFgOUN3uYacj5FIBCP4XoEoUN+NXd/EKEBwuIrF0+sXHBW73okRjFw85TsDYt/do3RWbCIUwZklAi+eEbv+iRGIXNTQMoG7Vwt2jX0fiRGG3DlhZcPNdj1uPpH4HwTHVyC6gXRS7PtJjAAEW6jas9EeUYrmnvAhOL9C0Q2k82LfV6LFCCbLHSdftfDWCabGvr9ESxHMqkF0A2mOUrDzxFAEM2oU3UB6W+z7TLQIufPOljQgvKcE28a+30RLEFzagOgG0iWx7zfRAgQHCTY0KLyNgkNj33ciInJexbc0KLqBdKug8rjCiRGC4MMRRDeQTot9/4kICLYXPBNReCsEL4vdDomGEVwdUXQD6arY7ZBoEMGRas8p3cfEbo9EAwg2lTsdO7bgBtJCwWax26VpenEf6BnAXrErMYgpwMdjVyJRI4KJglUtGOWGpjWC3WK3T6ImBL9pgcg6pd/Gbp9EDQje3AJx+dKbYrdTokIE4wQPtUBYvvSoYMvY7dUEvfJx8XlGxjvUROCzsSuRqADBNA0fWqytab1gv9jtVjf/BmL0IYneUAnMAAAAAElFTkSuQmCC",Xre=["href"],Zre=a.createElementVNode("img",{alt:"ICIJ logo",class:"me-3",height:"25",src:Kre},null,-1),Jre=[a.createElementVNode("span",{class:"navbar-toggler-icon"},null,-1)],Qre={class:"imddb-header__site-switch me-auto"},eae={class:"navbar-nav"},tae={class:"navbar-nav"},nae={key:0,class:"nav-item"},rae={class:"nav-item"},aae={href:"https://www.icij.org/leak/",target:"_blank",class:"nav-link"},oae={class:"nav-item me-lg-3"},iae=["href"],lae={class:"nav-item"};function sae(e,t,n,r,o,i){const l=i0,s=p0,c=a.resolveComponent("fa"),u=a.resolveComponent("follow-us-popover"),d=Ci;return a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.rootElement),{id:"imddb-header","data-turbolinks-permanent":"",class:a.normalizeClass(["navbar navbar-expand-lg imddb-header",{"headroom--frozen":!e.collapseNavbar}]),offset:100,"z-index":1020,"on-unpin":e.closeFollowUsPopover,style:a.normalizeStyle({position:e.position})},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"brand",{},()=>[a.createElementVNode("a",{href:e.homeUrl,class:"navbar-brand imddb-header__brand"},[Zre,a.createTextVNode(" "+a.toDisplayString(e.project),1)],8,Xre)]),a.createElementVNode("button",{class:"navbar-toggler",type:"button","aria-label":"Toggle navigation",onClick:t[0]||(t[0]=(...p)=>e.toggleNavbar&&e.toggleNavbar(...p))},Jre),a.createElementVNode("div",{class:a.normalizeClass(["navbar-collapse",{collapse:e.collapseNavbar}])},[a.createElementVNode("div",Qre,[a.renderSlot(e.$slots,"navbar",{},()=>[a.createElementVNode("ul",eae,[a.createVNode(s,{onShow:e.hidePopover},{"button-content":a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.dropdownItems,(p,m)=>(a.openBlock(),a.createBlock(l,a.mergeProps({active:!!p.active},{key:m,href:p.href}),{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(p.label),1)]),_:2},1040,["href"]))),128))]),_:1},8,["onShow"])])])]),a.createElementVNode("ul",tae,[e.hasLanguagesDropdown?(a.openBlock(),a.createElementBlock("li",nae,[a.createVNode(s,{onShow:e.hidePopover},{"button-content":a.withCtx(()=>[a.createVNode(c,{icon:"globe"}),a.createTextVNode(" "+a.toDisplayString(e.currentLanguage),1)]),default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.languages,(p,m)=>(a.openBlock(),a.createBlock(l,a.mergeProps({active:!!p.active},{key:m,href:p.href}),{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(p.label),1)]),_:2},1040,["href"]))),128))]),_:1},8,["onShow"])])):a.createCommentVNode("",!0),a.createElementVNode("li",rae,[a.createElementVNode("a",aae,a.toDisplayString(e.t("imddb-header.navbar.leak")),1)]),a.createElementVNode("li",oae,[a.renderSlot(e.$slots,"donate-link",{},()=>[a.createElementVNode("a",{target:"_blank",href:e.donateUrl,class:"nav-link"},a.toDisplayString(e.t("imddb-header.navbar.support")),9,iae)])]),a.createElementVNode("li",lae,[a.createElementVNode("button",{id:"follow-icij",class:"btn btn-primary btn-block fw-bold",onMouseenter:t[1]||(t[1]=p=>e.showFollowUsPopover=!0)},a.toDisplayString(e.t("imddb-header.navbar.follow")),33),a.createVNode(d,{modelValue:e.showFollowUsPopover,"onUpdate:modelValue":t[2]||(t[2]=p=>e.showFollowUsPopover=p),target:"follow-icij",ref:"followUsPopover",placement:"bottom-start",click:""},{default:a.withCtx(()=>[a.createVNode(u,{"onUpdate:close":e.closeFollowUsPopover,onKeydown:a.withKeys(e.closeFollowUsPopover,["esc"])},null,8,["onUpdate:close","onKeydown"])]),_:1},8,["modelValue"])])])],2)]),_:3},40,["on-unpin","class","style"])}const kS=rt(qre,[["render",sae]]);function zt(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function CS(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Ch(e){let t,n,r;e.length!==2?(t=zt,n=(s,c)=>zt(e(s),c),r=(s,c)=>e(s)-c):(t=e===zt||e===CS?e:cae,n=e,r=e);function o(s,c,u=0,d=s.length){if(u<d){if(t(c,c)!==0)return d;do{const p=u+d>>>1;n(s[p],c)<0?u=p+1:d=p}while(u<d)}return u}function i(s,c,u=0,d=s.length){if(u<d){if(t(c,c)!==0)return d;do{const p=u+d>>>1;n(s[p],c)<=0?u=p+1:d=p}while(u<d)}return u}function l(s,c,u=0,d=s.length){const p=o(s,c,u,d-1);return p>u&&r(s[p-1],c)>-r(s[p],c)?p-1:p}return{left:o,center:l,right:i}}function cae(){return 0}function xh(e){return e===null?NaN:+e}function*uae(e,t){if(t===void 0)for(let n of e)n!=null&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}const xS=Ch(zt),Qo=xS.right,fae=xS.left,dae=Ch(xh).center;function hae(e,t){if(!((t=+t)>=0))throw new RangeError("invalid r");let n=e.length;if(!((n=Math.floor(n))>=0))throw new RangeError("invalid length");if(!n||!t)return e;const r=Oy(t),o=e.slice();return r(e,o,0,n,1),r(o,e,0,n,1),r(e,o,0,n,1),e}const ES=BS(Oy),pae=BS(mae);function BS(e){return function(t,n,r=n){if(!((n=+n)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:o,width:i,height:l}=t;if(!((i=Math.floor(i))>=0))throw new RangeError("invalid width");if(!((l=Math.floor(l!==void 0?l:o.length/i))>=0))throw new RangeError("invalid height");if(!i||!l||!n&&!r)return t;const s=n&&e(n),c=r&&e(r),u=o.slice();return s&&c?(ks(s,u,o,i,l),ks(s,o,u,i,l),ks(s,u,o,i,l),Cs(c,o,u,i,l),Cs(c,u,o,i,l),Cs(c,o,u,i,l)):s?(ks(s,o,u,i,l),ks(s,u,o,i,l),ks(s,o,u,i,l)):c&&(Cs(c,o,u,i,l),Cs(c,u,o,i,l),Cs(c,o,u,i,l)),t}}function ks(e,t,n,r,o){for(let i=0,l=r*o;i<l;)e(t,n,i,i+=r,1)}function Cs(e,t,n,r,o){for(let i=0,l=r*o;i<r;++i)e(t,n,i,i+l,r)}function mae(e){const t=Oy(e);return(n,r,o,i,l)=>{o<<=2,i<<=2,l<<=2,t(n,r,o+0,i+0,l),t(n,r,o+1,i+1,l),t(n,r,o+2,i+2,l),t(n,r,o+3,i+3,l)}}function Oy(e){const t=Math.floor(e);if(t===e)return gae(e);const n=e-t,r=2*e+1;return(o,i,l,s,c)=>{if(!((s-=c)>=l))return;let u=t*i[l];const d=c*t,p=d+c;for(let m=l,g=l+d;m<g;m+=c)u+=i[Math.min(s,m)];for(let m=l,g=s;m<=g;m+=c)u+=i[Math.min(s,m+d)],o[m]=(u+n*(i[Math.max(l,m-p)]+i[Math.min(s,m+p)]))/r,u-=i[Math.max(l,m-d)]}}function gae(e){const t=2*e+1;return(n,r,o,i,l)=>{if(!((i-=l)>=o))return;let s=e*r[o];const c=l*e;for(let u=o,d=o+c;u<d;u+=l)s+=r[Math.min(i,u)];for(let u=o,d=i;u<=d;u+=l)s+=r[Math.min(i,u+c)],n[u]=s/t,s-=r[Math.max(o,u-c)]}}function Eh(e,t){let n=0;if(t===void 0)for(let r of e)r!=null&&(r=+r)>=r&&++n;else{let r=-1;for(let o of e)(o=t(o,++r,e))!=null&&(o=+o)>=o&&++n}return n}function yae(e){return e.length|0}function vae(e){return!(e>0)}function bae(e){return typeof e!="object"||"length"in e?e:Array.from(e)}function _ae(e){return t=>e(...t)}function wae(...e){const t=typeof e[e.length-1]=="function"&&_ae(e.pop());e=e.map(bae);const n=e.map(yae),r=e.length-1,o=new Array(r+1).fill(0),i=[];if(r<0||n.some(vae))return i;for(;;){i.push(o.map((s,c)=>e[c][s]));let l=r;for(;++o[l]===n[l];){if(l===0)return t?i.map(t):i;o[l--]=0}}}function Sae(e,t){var n=0,r=0;return Float64Array.from(e,t===void 0?o=>n+=+o||0:o=>n+=+t(o,r++,e)||0)}function NS(e,t){let n=0,r,o=0,i=0;if(t===void 0)for(let l of e)l!=null&&(l=+l)>=l&&(r=l-o,o+=r/++n,i+=r*(l-o));else{let l=-1;for(let s of e)(s=t(s,++l,e))!=null&&(s=+s)>=s&&(r=s-o,o+=r/++n,i+=r*(s-o))}if(n>1)return i/(n-1)}function TS(e,t){const n=NS(e,t);return n&&Math.sqrt(n)}function xs(e,t){let n,r;if(t===void 0)for(const o of e)o!=null&&(n===void 0?o>=o&&(n=r=o):(n>o&&(n=o),r<o&&(r=o)));else{let o=-1;for(let i of e)(i=t(i,++o,e))!=null&&(n===void 0?i>=i&&(n=r=i):(n>i&&(n=i),r<i&&(r=i)))}return[n,r]}class ln{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let r=0;for(let o=0;o<this._n&&o<32;o++){const i=n[o],l=t+i,s=Math.abs(t)<Math.abs(i)?t-(l-i):i-(l-t);s&&(n[r++]=s),t=l}return n[r]=t,this._n=r+1,this}valueOf(){const t=this._partials;let n=this._n,r,o,i,l=0;if(n>0){for(l=t[--n];n>0&&(r=l,o=t[--n],l=r+o,i=o-(l-r),!i););n>0&&(i<0&&t[n-1]<0||i>0&&t[n-1]>0)&&(o=i*2,r=l+o,o==r-l&&(l=r))}return l}}function kae(e,t){const n=new ln;if(t===void 0)for(let r of e)(r=+r)&&n.add(r);else{let r=-1;for(let o of e)(o=+t(o,++r,e))&&n.add(o)}return+n}function Cae(e,t){const n=new ln;let r=-1;return Float64Array.from(e,t===void 0?o=>n.add(+o||0):o=>n.add(+t(o,++r,e)||0))}class yu extends Map{constructor(t,n=OS){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,o]of t)this.set(r,o)}get(t){return super.get(My(this,t))}has(t){return super.has(My(this,t))}set(t,n){return super.set($S(this,t),n)}delete(t){return super.delete(AS(this,t))}}class Gi extends Set{constructor(t,n=OS){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const r of t)this.add(r)}has(t){return super.has(My(this,t))}add(t){return super.add($S(this,t))}delete(t){return super.delete(AS(this,t))}}function My({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function $S({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function AS({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function OS(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Es(e){return e}function MS(e,...t){return Bs(e,Es,Es,t)}function PS(e,...t){return Bs(e,Array.from,Es,t)}function IS(e,t){for(let n=1,r=t.length;n<r;++n)e=e.flatMap(o=>o.pop().map(([i,l])=>[...o,i,l]));return e}function xae(e,...t){return IS(PS(e,...t),t)}function Eae(e,t,...n){return IS(RS(e,t,...n),n)}function VS(e,t,...n){return Bs(e,Es,t,n)}function RS(e,t,...n){return Bs(e,Array.from,t,n)}function Bae(e,...t){return Bs(e,Es,LS,t)}function Nae(e,...t){return Bs(e,Array.from,LS,t)}function LS(e){if(e.length!==1)throw new Error("duplicate key");return e[0]}function Bs(e,t,n,r){return function o(i,l){if(l>=r.length)return n(i);const s=new yu,c=r[l++];let u=-1;for(const d of i){const p=c(d,++u,i),m=s.get(p);m?m.push(d):s.set(p,[d])}for(const[d,p]of s)s.set(d,o(p,l));return t(s)}(e,0)}function DS(e,t){return Array.from(t,n=>e[n])}function Py(e,...t){if(typeof e[Symbol.iterator]!="function")throw new TypeError("values is not iterable");e=Array.from(e);let[n]=t;if(n&&n.length!==2||t.length>1){const r=Uint32Array.from(e,(o,i)=>i);return t.length>1?(t=t.map(o=>e.map(o)),r.sort((o,i)=>{for(const l of t){const s=Ns(l[o],l[i]);if(s)return s}})):(n=e.map(n),r.sort((o,i)=>Ns(n[o],n[i]))),DS(e,r)}return e.sort(Iy(n))}function Iy(e=zt){if(e===zt)return Ns;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function Ns(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}function Tae(e,t,n){return(t.length!==2?Py(VS(e,t,n),([r,o],[i,l])=>zt(o,l)||zt(r,i)):Py(MS(e,n),([r,o],[i,l])=>t(o,l)||zt(r,i))).map(([r])=>r)}var $ae=Array.prototype,Aae=$ae.slice;function Vy(e){return()=>e}const Oae=Math.sqrt(50),Mae=Math.sqrt(10),Pae=Math.sqrt(2);function Bh(e,t,n){const r=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(r)),i=r/Math.pow(10,o),l=i>=Oae?10:i>=Mae?5:i>=Pae?2:1;let s,c,u;return o<0?(u=Math.pow(10,-o)/l,s=Math.round(e*u),c=Math.round(t*u),s/u<e&&++s,c/u>t&&--c,u=-u):(u=Math.pow(10,o)*l,s=Math.round(e/u),c=Math.round(t/u),s*u<e&&++s,c*u>t&&--c),c<s&&.5<=n&&n<2?Bh(e,t,n*2):[s,c,u]}function Yi(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const r=t<e,[o,i,l]=r?Bh(t,e,n):Bh(e,t,n);if(!(i>=o))return[];const s=i-o+1,c=new Array(s);if(r)if(l<0)for(let u=0;u<s;++u)c[u]=(i-u)/-l;else for(let u=0;u<s;++u)c[u]=(i-u)*l;else if(l<0)for(let u=0;u<s;++u)c[u]=(o+u)/-l;else for(let u=0;u<s;++u)c[u]=(o+u)*l;return c}function qi(e,t,n){return t=+t,e=+e,n=+n,Bh(e,t,n)[2]}function Nh(e,t,n){t=+t,e=+e,n=+n;const r=t<e,o=r?qi(t,e,n):qi(e,t,n);return(r?-1:1)*(o<0?1/-o:o)}function Ry(e,t,n){let r;for(;;){const o=qi(e,t,n);if(o===r||o===0||!isFinite(o))return[e,t];o>0?(e=Math.floor(e/o)*o,t=Math.ceil(t/o)*o):o<0&&(e=Math.ceil(e*o)/o,t=Math.floor(t*o)/o),r=o}}function Ly(e){return Math.max(1,Math.ceil(Math.log(Eh(e))/Math.LN2)+1)}function zS(){var e=Es,t=xs,n=Ly;function r(o){Array.isArray(o)||(o=Array.from(o));var i,l=o.length,s,c,u=new Array(l);for(i=0;i<l;++i)u[i]=e(o[i],i,o);var d=t(u),p=d[0],m=d[1],g=n(u,p,m);if(!Array.isArray(g)){const S=m,k=+g;if(t===xs&&([p,m]=Ry(p,m,k)),g=Yi(p,m,k),g[0]<=p&&(c=qi(p,m,k)),g[g.length-1]>=m)if(S>=m&&t===xs){const x=qi(p,m,k);isFinite(x)&&(x>0?m=(Math.floor(m/x)+1)*x:x<0&&(m=(Math.ceil(m*-x)+1)/-x))}else g.pop()}for(var v=g.length,w=0,_=v;g[w]<=p;)++w;for(;g[_-1]>m;)--_;(w||_<v)&&(g=g.slice(w,_),v=_-w);var y=new Array(v+1),C;for(i=0;i<=v;++i)C=y[i]=[],C.x0=i>0?g[i-1]:p,C.x1=i<v?g[i]:m;if(isFinite(c)){if(c>0)for(i=0;i<l;++i)(s=u[i])!=null&&p<=s&&s<=m&&y[Math.min(v,Math.floor((s-p)/c))].push(o[i]);else if(c<0){for(i=0;i<l;++i)if((s=u[i])!=null&&p<=s&&s<=m){const S=Math.floor((p-s)*c);y[Math.min(v,S+(g[S]<=s))].push(o[i])}}}else for(i=0;i<l;++i)(s=u[i])!=null&&p<=s&&s<=m&&y[Qo(g,s,0,v)].push(o[i]);return y}return r.value=function(o){return arguments.length?(e=typeof o=="function"?o:Vy(o),r):e},r.domain=function(o){return arguments.length?(t=typeof o=="function"?o:Vy([o[0],o[1]]),r):t},r.thresholds=function(o){return arguments.length?(n=typeof o=="function"?o:Vy(Array.isArray(o)?Aae.call(o):o),r):n},r}function Ia(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let o of e)(o=t(o,++r,e))!=null&&(n<o||n===void 0&&o>=o)&&(n=o)}return n}function Dy(e,t){let n,r=-1,o=-1;if(t===void 0)for(const i of e)++o,i!=null&&(n<i||n===void 0&&i>=i)&&(n=i,r=o);else for(let i of e)(i=t(i,++o,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i,r=o);return r}function Th(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let o of e)(o=t(o,++r,e))!=null&&(n>o||n===void 0&&o>=o)&&(n=o)}return n}function zy(e,t){let n,r=-1,o=-1;if(t===void 0)for(const i of e)++o,i!=null&&(n>i||n===void 0&&i>=i)&&(n=i,r=o);else for(let i of e)(i=t(i,++o,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i,r=o);return r}function $h(e,t,n=0,r=1/0,o){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(o=o===void 0?Ns:Iy(o);r>n;){if(r-n>600){const c=r-n+1,u=t-n+1,d=Math.log(c),p=.5*Math.exp(2*d/3),m=.5*Math.sqrt(d*p*(c-p)/c)*(u-c/2<0?-1:1),g=Math.max(n,Math.floor(t-u*p/c+m)),v=Math.min(r,Math.floor(t+(c-u)*p/c+m));$h(e,t,g,v,o)}const i=e[t];let l=n,s=r;for(vu(e,n,t),o(e[r],i)>0&&vu(e,n,r);l<s;){for(vu(e,l,s),++l,--s;o(e[l],i)<0;)++l;for(;o(e[s],i)>0;)--s}o(e[n],i)===0?vu(e,n,s):(++s,vu(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function vu(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function FS(e,t=zt){let n,r=!1;if(t.length===1){let o;for(const i of e){const l=t(i);(r?zt(l,o)>0:zt(l,l)===0)&&(n=i,o=l,r=!0)}}else for(const o of e)(r?t(o,n)>0:t(o,o)===0)&&(n=o,r=!0);return n}function bu(e,t,n){if(e=Float64Array.from(uae(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return Th(e);if(t>=1)return Ia(e);var r,o=(r-1)*t,i=Math.floor(o),l=Ia($h(e,i).subarray(0,i+1)),s=Th(e.subarray(i+1));return l+(s-l)*(o-i)}}function HS(e,t,n=xh){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),l=+n(e[i],i,e),s=+n(e[i+1],i+1,e);return l+(s-l)*(o-i)}}function US(e,t,n=xh){if(!isNaN(t=+t)){if(r=Float64Array.from(e,(s,c)=>xh(n(e[c],c,e))),t<=0)return zy(r);if(t>=1)return Dy(r);var r,o=Uint32Array.from(e,(s,c)=>c),i=r.length-1,l=Math.floor(i*t);return $h(o,l,0,i,(s,c)=>Ns(r[s],r[c])),l=FS(o.subarray(0,l+1),s=>r[s]),l>=0?l:-1}}function Iae(e,t,n){const r=Eh(e),o=bu(e,.75)-bu(e,.25);return r&&o?Math.ceil((n-t)/(2*o*Math.pow(r,-1/3))):1}function Vae(e,t,n){const r=Eh(e),o=TS(e);return r&&o?Math.ceil((n-t)*Math.cbrt(r)/(3.49*o)):1}function Rae(e,t){let n=0,r=0;if(t===void 0)for(let o of e)o!=null&&(o=+o)>=o&&(++n,r+=o);else{let o=-1;for(let i of e)(i=t(i,++o,e))!=null&&(i=+i)>=i&&(++n,r+=i)}if(n)return r/n}function Lae(e,t){return bu(e,.5,t)}function Dae(e,t){return US(e,.5,t)}function*zae(e){for(const t of e)yield*BA(t)}function Fy(e){return Array.from(zae(e))}function Fae(e,t){const n=new yu;if(t===void 0)for(let i of e)i!=null&&i>=i&&n.set(i,(n.get(i)||0)+1);else{let i=-1;for(let l of e)(l=t(l,++i,e))!=null&&l>=l&&n.set(l,(n.get(l)||0)+1)}let r,o=0;for(const[i,l]of n)l>o&&(o=l,r=i);return r}function Hae(e,t=Uae){const n=[];let r,o=!1;for(const i of e)o&&n.push(t(r,i)),r=i,o=!0;return n}function Uae(e,t){return[e,t]}function Va(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=Math.max(0,Math.ceil((t-e)/n))|0,i=new Array(o);++r<o;)i[r]=e+r*n;return i}function Wae(e,t=zt){if(typeof e[Symbol.iterator]!="function")throw new TypeError("values is not iterable");let n=Array.from(e);const r=new Float64Array(n.length);t.length!==2&&(n=n.map(t),t=zt);const o=(s,c)=>t(n[s],n[c]);let i,l;return e=Uint32Array.from(n,(s,c)=>c),e.sort(t===zt?(s,c)=>Ns(n[s],n[c]):Iy(o)),e.forEach((s,c)=>{const u=o(s,i===void 0?s:i);u>=0?((i===void 0||u>0)&&(i=s,l=c),r[s]=l):r[s]=NaN}),r}function jae(e,t=zt){let n,r=!1;if(t.length===1){let o;for(const i of e){const l=t(i);(r?zt(l,o)<0:zt(l,l)===0)&&(n=i,o=l,r=!0)}}else for(const o of e)(r?t(o,n)<0:t(o,o)===0)&&(n=o,r=!0);return n}function WS(e,t=zt){if(t.length===1)return zy(e,t);let n,r=-1,o=-1;for(const i of e)++o,(r<0?t(i,i)===0:t(i,n)<0)&&(n=i,r=o);return r}function Gae(e,t=zt){if(t.length===1)return Dy(e,t);let n,r=-1,o=-1;for(const i of e)++o,(r<0?t(i,i)===0:t(i,n)>0)&&(n=i,r=o);return r}function Yae(e,t){const n=WS(e,t);return n<0?void 0:n}const qae=jS(Math.random);function jS(e){return function(n,r=0,o=n.length){let i=o-(r=+r);for(;i;){const l=e()*i--|0,s=n[i+r];n[i+r]=n[l+r],n[l+r]=s}return n}}function Hy(e,t){let n=0;if(t===void 0)for(let r of e)(r=+r)&&(n+=r);else{let r=-1;for(let o of e)(o=+t(o,++r,e))&&(n+=o)}return n}function GS(e){if(!(i=e.length))return[];for(var t=-1,n=Th(e,Kae),r=new Array(n);++t<n;)for(var o=-1,i,l=r[t]=new Array(i);++o<i;)l[o]=e[o][t];return r}function Kae(e){return e.length}function Xae(){return GS(arguments)}function Zae(e,t){if(typeof t!="function")throw new TypeError("test is not a function");let n=-1;for(const r of e)if(!t(r,++n,e))return!1;return!0}function Jae(e,t){if(typeof t!="function")throw new TypeError("test is not a function");let n=-1;for(const r of e)if(t(r,++n,e))return!0;return!1}function Qae(e,t){if(typeof t!="function")throw new TypeError("test is not a function");const n=[];let r=-1;for(const o of e)t(o,++r,e)&&n.push(o);return n}function eoe(e,t){if(typeof e[Symbol.iterator]!="function")throw new TypeError("values is not iterable");if(typeof t!="function")throw new TypeError("mapper is not a function");return Array.from(e,(n,r)=>t(n,r,e))}function toe(e,t,n){if(typeof t!="function")throw new TypeError("reducer is not a function");const r=e[Symbol.iterator]();let o,i,l=-1;if(arguments.length<3){if({done:o,value:n}=r.next(),o)return;++l}for(;{done:o,value:i}=r.next(),!o;)n=t(n,i,++l,e);return n}function noe(e){if(typeof e[Symbol.iterator]!="function")throw new TypeError("values is not iterable");return Array.from(e).reverse()}function roe(e,...t){e=new Gi(e);for(const n of t)for(const r of n)e.delete(r);return e}function aoe(e,t){const n=t[Symbol.iterator](),r=new Gi;for(const o of e){if(r.has(o))return!1;let i,l;for(;({value:i,done:l}=n.next())&&!l;){if(Object.is(o,i))return!1;r.add(i)}}return!0}function ooe(e,...t){e=new Gi(e),t=t.map(ioe);e:for(const n of e)for(const r of t)if(!r.has(n)){e.delete(n);continue e}return e}function ioe(e){return e instanceof Gi?e:new Gi(e)}function YS(e,t){const n=e[Symbol.iterator](),r=new Set;for(const o of t){const i=qS(o);if(r.has(i))continue;let l,s;for(;{value:l,done:s}=n.next();){if(s)return!1;const c=qS(l);if(r.add(c),Object.is(i,c))break}}return!0}function qS(e){return e!==null&&typeof e=="object"?e.valueOf():e}function loe(e,t){return YS(t,e)}function soe(...e){const t=new Gi;for(const n of e)for(const r of n)t.add(r);return t}function coe(e){return e}var Ah=1,Oh=2,Uy=3,_u=4,KS=1e-6;function uoe(e){return"translate("+e+",0)"}function foe(e){return"translate(0,"+e+")"}function doe(e){return t=>+e(t)}function hoe(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function poe(){return!this.__axis}function Mh(e,t){var n=[],r=null,o=null,i=6,l=6,s=3,c=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,u=e===Ah||e===_u?-1:1,d=e===_u||e===Oh?"x":"y",p=e===Ah||e===Uy?uoe:foe;function m(g){var v=r==null?t.ticks?t.ticks.apply(t,n):t.domain():r,w=o==null?t.tickFormat?t.tickFormat.apply(t,n):coe:o,_=Math.max(i,0)+s,y=t.range(),C=+y[0]+c,S=+y[y.length-1]+c,k=(t.bandwidth?hoe:doe)(t.copy(),c),x=g.selection?g.selection():g,B=x.selectAll(".domain").data([null]),N=x.selectAll(".tick").data(v,t).order(),$=N.exit(),T=N.enter().append("g").attr("class","tick"),M=N.select("line"),A=N.select("text");B=B.merge(B.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),N=N.merge(T),M=M.merge(T.append("line").attr("stroke","currentColor").attr(d+"2",u*i)),A=A.merge(T.append("text").attr("fill","currentColor").attr(d,u*_).attr("dy",e===Ah?"0em":e===Uy?"0.71em":"0.32em")),g!==x&&(B=B.transition(g),N=N.transition(g),M=M.transition(g),A=A.transition(g),$=$.transition(g).attr("opacity",KS).attr("transform",function(F){return isFinite(F=k(F))?p(F+c):this.getAttribute("transform")}),T.attr("opacity",KS).attr("transform",function(F){var z=this.parentNode.__axis;return p((z&&isFinite(z=z(F))?z:k(F))+c)})),$.remove(),B.attr("d",e===_u||e===Oh?l?"M"+u*l+","+C+"H"+c+"V"+S+"H"+u*l:"M"+c+","+C+"V"+S:l?"M"+C+","+u*l+"V"+c+"H"+S+"V"+u*l:"M"+C+","+c+"H"+S),N.attr("opacity",1).attr("transform",function(F){return p(k(F)+c)}),M.attr(d+"2",u*i),A.attr(d,u*_).text(w),x.filter(poe).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===Oh?"start":e===_u?"end":"middle"),x.each(function(){this.__axis=k})}return m.scale=function(g){return arguments.length?(t=g,m):t},m.ticks=function(){return n=Array.from(arguments),m},m.tickArguments=function(g){return arguments.length?(n=g==null?[]:Array.from(g),m):n.slice()},m.tickValues=function(g){return arguments.length?(r=g==null?null:Array.from(g),m):r&&r.slice()},m.tickFormat=function(g){return arguments.length?(o=g,m):o},m.tickSize=function(g){return arguments.length?(i=l=+g,m):i},m.tickSizeInner=function(g){return arguments.length?(i=+g,m):i},m.tickSizeOuter=function(g){return arguments.length?(l=+g,m):l},m.tickPadding=function(g){return arguments.length?(s=+g,m):s},m.offset=function(g){return arguments.length?(c=+g,m):c},m}function moe(e){return Mh(Ah,e)}function goe(e){return Mh(Oh,e)}function Ph(e){return Mh(Uy,e)}function Ih(e){return Mh(_u,e)}var yoe={value:()=>{}};function Ki(){for(var e=0,t=arguments.length,n={},r;e<t;++e){if(!(r=arguments[e]+"")||r in n||/[\s.]/.test(r))throw new Error("illegal type: "+r);n[r]=[]}return new Vh(n)}function Vh(e){this._=e}function voe(e,t){return e.trim().split(/^|\s+/).map(function(n){var r="",o=n.indexOf(".");if(o>=0&&(r=n.slice(o+1),n=n.slice(0,o)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Vh.prototype=Ki.prototype={constructor:Vh,on:function(e,t){var n=this._,r=voe(e+"",n),o,i=-1,l=r.length;if(arguments.length<2){for(;++i<l;)if((o=(e=r[i]).type)&&(o=boe(n[o],e.name)))return o;return}if(t!=null&&typeof t!="function")throw new Error("invalid callback: "+t);for(;++i<l;)if(o=(e=r[i]).type)n[o]=XS(n[o],e.name,t);else if(t==null)for(o in n)n[o]=XS(n[o],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new Vh(e)},call:function(e,t){if((o=arguments.length-2)>0)for(var n=new Array(o),r=0,o,i;r<o;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(i=this._[e],r=0,o=i.length;r<o;++r)i[r].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],o=0,i=r.length;o<i;++o)r[o].value.apply(t,n)}};function boe(e,t){for(var n=0,r=e.length,o;n<r;++n)if((o=e[n]).name===t)return o.value}function XS(e,t,n){for(var r=0,o=e.length;r<o;++r)if(e[r].name===t){e[r]=yoe,e=e.slice(0,r).concat(e.slice(r+1));break}return n!=null&&e.push({name:t,value:n}),e}var Wy="http://www.w3.org/1999/xhtml";const jy={svg:"http://www.w3.org/2000/svg",xhtml:Wy,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function wu(e){var t=e+="",n=t.indexOf(":");return n>=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),jy.hasOwnProperty(t)?{space:jy[t],local:e}:e}function _oe(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===Wy&&t.documentElement.namespaceURI===Wy?t.createElement(e):t.createElementNS(n,e)}}function woe(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Rh(e){var t=wu(e);return(t.local?woe:_oe)(t)}function Soe(){}function Lh(e){return e==null?Soe:function(){return this.querySelector(e)}}function koe(e){typeof e!="function"&&(e=Lh(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o<n;++o)for(var i=t[o],l=i.length,s=r[o]=new Array(l),c,u,d=0;d<l;++d)(c=i[d])&&(u=e.call(c,c.__data__,d,i))&&("__data__"in c&&(u.__data__=c.__data__),s[d]=u);return new Hn(r,this._parents)}function ZS(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function Coe(){return[]}function Gy(e){return e==null?Coe:function(){return this.querySelectorAll(e)}}function xoe(e){return function(){return ZS(e.apply(this,arguments))}}function Eoe(e){typeof e=="function"?e=xoe(e):e=Gy(e);for(var t=this._groups,n=t.length,r=[],o=[],i=0;i<n;++i)for(var l=t[i],s=l.length,c,u=0;u<s;++u)(c=l[u])&&(r.push(e.call(c,c.__data__,u,l)),o.push(c));return new Hn(r,o)}function Yy(e){return function(){return this.matches(e)}}function JS(e){return function(t){return t.matches(e)}}var Boe=Array.prototype.find;function Noe(e){return function(){return Boe.call(this.children,e)}}function Toe(){return this.firstElementChild}function $oe(e){return this.select(e==null?Toe:Noe(typeof e=="function"?e:JS(e)))}var Aoe=Array.prototype.filter;function Ooe(){return Array.from(this.children)}function Moe(e){return function(){return Aoe.call(this.children,e)}}function Poe(e){return this.selectAll(e==null?Ooe:Moe(typeof e=="function"?e:JS(e)))}function Ioe(e){typeof e!="function"&&(e=Yy(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o<n;++o)for(var i=t[o],l=i.length,s=r[o]=[],c,u=0;u<l;++u)(c=i[u])&&e.call(c,c.__data__,u,i)&&s.push(c);return new Hn(r,this._parents)}function QS(e){return new Array(e.length)}function Voe(){return new Hn(this._enter||this._groups.map(QS),this._parents)}function Dh(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}Dh.prototype={constructor:Dh,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function Roe(e){return function(){return e}}function Loe(e,t,n,r,o,i){for(var l=0,s,c=t.length,u=i.length;l<u;++l)(s=t[l])?(s.__data__=i[l],r[l]=s):n[l]=new Dh(e,i[l]);for(;l<c;++l)(s=t[l])&&(o[l]=s)}function Doe(e,t,n,r,o,i,l){var s,c,u=new Map,d=t.length,p=i.length,m=new Array(d),g;for(s=0;s<d;++s)(c=t[s])&&(m[s]=g=l.call(c,c.__data__,s,t)+"",u.has(g)?o[s]=c:u.set(g,c));for(s=0;s<p;++s)g=l.call(e,i[s],s,i)+"",(c=u.get(g))?(r[s]=c,c.__data__=i[s],u.delete(g)):n[s]=new Dh(e,i[s]);for(s=0;s<d;++s)(c=t[s])&&u.get(m[s])===c&&(o[s]=c)}function zoe(e){return e.__data__}function Foe(e,t){if(!arguments.length)return Array.from(this,zoe);var n=t?Doe:Loe,r=this._parents,o=this._groups;typeof e!="function"&&(e=Roe(e));for(var i=o.length,l=new Array(i),s=new Array(i),c=new Array(i),u=0;u<i;++u){var d=r[u],p=o[u],m=p.length,g=Hoe(e.call(d,d&&d.__data__,u,r)),v=g.length,w=s[u]=new Array(v),_=l[u]=new Array(v),y=c[u]=new Array(m);n(d,p,w,_,y,g,t);for(var C=0,S=0,k,x;C<v;++C)if(k=w[C]){for(C>=S&&(S=C+1);!(x=_[S])&&++S<v;);k._next=x||null}}return l=new Hn(l,r),l._enter=s,l._exit=c,l}function Hoe(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Uoe(){return new Hn(this._exit||this._groups.map(QS),this._parents)}function Woe(e,t,n){var r=this.enter(),o=this,i=this.exit();return typeof e=="function"?(r=e(r),r&&(r=r.selection())):r=r.append(e+""),t!=null&&(o=t(o),o&&(o=o.selection())),n==null?i.remove():n(i),r&&o?r.merge(o).order():o}function joe(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,o=n.length,i=r.length,l=Math.min(o,i),s=new Array(o),c=0;c<l;++c)for(var u=n[c],d=r[c],p=u.length,m=s[c]=new Array(p),g,v=0;v<p;++v)(g=u[v]||d[v])&&(m[v]=g);for(;c<o;++c)s[c]=n[c];return new Hn(s,this._parents)}function Goe(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r=e[t],o=r.length-1,i=r[o],l;--o>=0;)(l=r[o])&&(i&&l.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(l,i),i=l);return this}function Yoe(e){e||(e=qoe);function t(p,m){return p&&m?e(p.__data__,m.__data__):!p-!m}for(var n=this._groups,r=n.length,o=new Array(r),i=0;i<r;++i){for(var l=n[i],s=l.length,c=o[i]=new Array(s),u,d=0;d<s;++d)(u=l[d])&&(c[d]=u);c.sort(t)}return new Hn(o,this._parents).order()}function qoe(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Koe(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Xoe(){return Array.from(this)}function Zoe(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],o=0,i=r.length;o<i;++o){var l=r[o];if(l)return l}return null}function Joe(){let e=0;for(const t of this)++e;return e}function Qoe(){return!this.node()}function eie(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var o=t[n],i=0,l=o.length,s;i<l;++i)(s=o[i])&&e.call(s,s.__data__,i,o);return this}function tie(e){return function(){this.removeAttribute(e)}}function nie(e){return function(){this.removeAttributeNS(e.space,e.local)}}function rie(e,t){return function(){this.setAttribute(e,t)}}function aie(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function oie(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function iie(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function lie(e,t){var n=wu(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?nie:tie:typeof t=="function"?n.local?iie:oie:n.local?aie:rie)(n,t))}function qy(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function sie(e){return function(){this.style.removeProperty(e)}}function cie(e,t,n){return function(){this.style.setProperty(e,t,n)}}function uie(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function fie(e,t,n){return arguments.length>1?this.each((t==null?sie:typeof t=="function"?uie:cie)(e,t,n==null?"":n)):Xi(this.node(),e)}function Xi(e,t){return e.style.getPropertyValue(t)||qy(e).getComputedStyle(e,null).getPropertyValue(t)}function die(e){return function(){delete this[e]}}function hie(e,t){return function(){this[e]=t}}function pie(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function mie(e,t){return arguments.length>1?this.each((t==null?die:typeof t=="function"?pie:hie)(e,t)):this.node()[e]}function e9(e){return e.trim().split(/^|\s+/)}function Ky(e){return e.classList||new t9(e)}function t9(e){this._node=e,this._names=e9(e.getAttribute("class")||"")}t9.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 n9(e,t){for(var n=Ky(e),r=-1,o=t.length;++r<o;)n.add(t[r])}function r9(e,t){for(var n=Ky(e),r=-1,o=t.length;++r<o;)n.remove(t[r])}function gie(e){return function(){n9(this,e)}}function yie(e){return function(){r9(this,e)}}function vie(e,t){return function(){(t.apply(this,arguments)?n9:r9)(this,e)}}function bie(e,t){var n=e9(e+"");if(arguments.length<2){for(var r=Ky(this.node()),o=-1,i=n.length;++o<i;)if(!r.contains(n[o]))return!1;return!0}return this.each((typeof t=="function"?vie:t?gie:yie)(n,t))}function _ie(){this.textContent=""}function wie(e){return function(){this.textContent=e}}function Sie(e){return function(){var t=e.apply(this,arguments);this.textContent=t==null?"":t}}function kie(e){return arguments.length?this.each(e==null?_ie:(typeof e=="function"?Sie:wie)(e)):this.node().textContent}function Cie(){this.innerHTML=""}function xie(e){return function(){this.innerHTML=e}}function Eie(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t==null?"":t}}function Bie(e){return arguments.length?this.each(e==null?Cie:(typeof e=="function"?Eie:xie)(e)):this.node().innerHTML}function Nie(){this.nextSibling&&this.parentNode.appendChild(this)}function Tie(){return this.each(Nie)}function $ie(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Aie(){return this.each($ie)}function Oie(e){var t=typeof e=="function"?e:Rh(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function Mie(){return null}function Pie(e,t){var n=typeof e=="function"?e:Rh(e),r=t==null?Mie:typeof t=="function"?t:Lh(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function Iie(){var e=this.parentNode;e&&e.removeChild(this)}function Vie(){return this.each(Iie)}function Rie(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Lie(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Die(e){return this.select(e?Lie:Rie)}function zie(e){return arguments.length?this.property("__data__",e):this.node().__data__}function Fie(e){return function(t){e.call(this,t,this.__data__)}}function Hie(e){return e.trim().split(/^|\s+/).map(function(t){var n="",r=t.indexOf(".");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function Uie(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,o=t.length,i;n<o;++n)i=t[n],(!e.type||i.type===e.type)&&i.name===e.name?this.removeEventListener(i.type,i.listener,i.options):t[++r]=i;++r?t.length=r:delete this.__on}}}function Wie(e,t,n){return function(){var r=this.__on,o,i=Fie(t);if(r){for(var l=0,s=r.length;l<s;++l)if((o=r[l]).type===e.type&&o.name===e.name){this.removeEventListener(o.type,o.listener,o.options),this.addEventListener(o.type,o.listener=i,o.options=n),o.value=t;return}}this.addEventListener(e.type,i,n),o={type:e.type,name:e.name,value:t,listener:i,options:n},r?r.push(o):this.__on=[o]}}function jie(e,t,n){var r=Hie(e+""),o,i=r.length,l;if(arguments.length<2){var s=this.node().__on;if(s){for(var c=0,u=s.length,d;c<u;++c)for(o=0,d=s[c];o<i;++o)if((l=r[o]).type===d.type&&l.name===d.name)return d.value}return}for(s=t?Wie:Uie,o=0;o<i;++o)this.each(s(r[o],t,n));return this}function a9(e,t,n){var r=qy(e),o=r.CustomEvent;typeof o=="function"?o=new o(t,n):(o=r.document.createEvent("Event"),n?(o.initEvent(t,n.bubbles,n.cancelable),o.detail=n.detail):o.initEvent(t,!1,!1)),e.dispatchEvent(o)}function Gie(e,t){return function(){return a9(this,e,t)}}function Yie(e,t){return function(){return a9(this,e,t.apply(this,arguments))}}function qie(e,t){return this.each((typeof t=="function"?Yie:Gie)(e,t))}function*Kie(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],o=0,i=r.length,l;o<i;++o)(l=r[o])&&(yield l)}var Xy=[null];function Hn(e,t){this._groups=e,this._parents=t}function Zi(){return new Hn([[document.documentElement]],Xy)}function Xie(){return this}Hn.prototype=Zi.prototype={constructor:Hn,select:koe,selectAll:Eoe,selectChild:$oe,selectChildren:Poe,filter:Ioe,data:Foe,enter:Voe,exit:Uoe,join:Woe,merge:joe,selection:Xie,order:Goe,sort:Yoe,call:Koe,nodes:Xoe,node:Zoe,size:Joe,empty:Qoe,each:eie,attr:lie,style:fie,property:mie,classed:bie,text:kie,html:Bie,raise:Tie,lower:Aie,append:Oie,insert:Pie,remove:Vie,clone:Die,datum:zie,on:jie,dispatch:qie,[Symbol.iterator]:Kie};function Vt(e){return typeof e=="string"?new Hn([[document.querySelector(e)]],[document.documentElement]):new Hn([[e]],Xy)}function o9(e){return Vt(Rh(e).call(document.documentElement))}var Zie=0;function i9(){return new Zy}function Zy(){this._="@"+(++Zie).toString(36)}Zy.prototype=i9.prototype={constructor:Zy,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}};function l9(e){let t;for(;t=e.sourceEvent;)e=t;return e}function Un(e,t){if(e=l9(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}if(t.getBoundingClientRect){var o=t.getBoundingClientRect();return[e.clientX-o.left-t.clientLeft,e.clientY-o.top-t.clientTop]}}return[e.pageX,e.pageY]}function Jie(e,t){return e.target&&(e=l9(e),t===void 0&&(t=e.currentTarget),e=e.touches||[e]),Array.from(e,n=>Un(n,t))}function Qie(e){return typeof e=="string"?new Hn([document.querySelectorAll(e)],[document.documentElement]):new Hn([ZS(e)],Xy)}const ele={passive:!1},Su={capture:!0,passive:!1};function Jy(e){e.stopImmediatePropagation()}function Ts(e){e.preventDefault(),e.stopImmediatePropagation()}function zh(e){var t=e.document.documentElement,n=Vt(e).on("dragstart.drag",Ts,Su);"onselectstart"in t?n.on("selectstart.drag",Ts,Su):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function Fh(e,t){var n=e.document.documentElement,r=Vt(e).on("dragstart.drag",null);t&&(r.on("click.drag",Ts,Su),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}const Hh=e=>()=>e;function Qy(e,{sourceEvent:t,subject:n,target:r,identifier:o,active:i,x:l,y:s,dx:c,dy:u,dispatch:d}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:o,enumerable:!0,configurable:!0},active:{value:i,enumerable:!0,configurable:!0},x:{value:l,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:d}})}Qy.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function tle(e){return!e.ctrlKey&&!e.button}function nle(){return this.parentNode}function rle(e,t){return t==null?{x:e.x,y:e.y}:t}function ale(){return navigator.maxTouchPoints||"ontouchstart"in this}function s9(){var e=tle,t=nle,n=rle,r=ale,o={},i=Ki("start","drag","end"),l=0,s,c,u,d,p=0;function m(k){k.on("mousedown.drag",g).filter(r).on("touchstart.drag",_).on("touchmove.drag",y,ele).on("touchend.drag touchcancel.drag",C).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(k,x){if(!(d||!e.call(this,k,x))){var B=S(this,t.call(this,k,x),k,x,"mouse");B&&(Vt(k.view).on("mousemove.drag",v,Su).on("mouseup.drag",w,Su),zh(k.view),Jy(k),u=!1,s=k.clientX,c=k.clientY,B("start",k))}}function v(k){if(Ts(k),!u){var x=k.clientX-s,B=k.clientY-c;u=x*x+B*B>p}o.mouse("drag",k)}function w(k){Vt(k.view).on("mousemove.drag mouseup.drag",null),Fh(k.view,u),Ts(k),o.mouse("end",k)}function _(k,x){if(e.call(this,k,x)){var B=k.changedTouches,N=t.call(this,k,x),$=B.length,T,M;for(T=0;T<$;++T)(M=S(this,N,k,x,B[T].identifier,B[T]))&&(Jy(k),M("start",k,B[T]))}}function y(k){var x=k.changedTouches,B=x.length,N,$;for(N=0;N<B;++N)($=o[x[N].identifier])&&(Ts(k),$("drag",k,x[N]))}function C(k){var x=k.changedTouches,B=x.length,N,$;for(d&&clearTimeout(d),d=setTimeout(function(){d=null},500),N=0;N<B;++N)($=o[x[N].identifier])&&(Jy(k),$("end",k,x[N]))}function S(k,x,B,N,$,T){var M=i.copy(),A=Un(T||B,x),F,z,O;if((O=n.call(k,new Qy("beforestart",{sourceEvent:B,target:m,identifier:$,active:l,x:A[0],y:A[1],dx:0,dy:0,dispatch:M}),N))!=null)return F=O.x-A[0]||0,z=O.y-A[1]||0,function L(V,H,G){var W=A,ne;switch(V){case"start":o[$]=L,ne=l++;break;case"end":delete o[$],--l;case"drag":A=Un(G||H,x),ne=l;break}M.call(V,k,new Qy(V,{sourceEvent:H,subject:O,target:m,identifier:$,active:ne,x:A[0]+F,y:A[1]+z,dx:A[0]-W[0],dy:A[1]-W[1],dispatch:M}),N)}}return m.filter=function(k){return arguments.length?(e=typeof k=="function"?k:Hh(!!k),m):e},m.container=function(k){return arguments.length?(t=typeof k=="function"?k:Hh(k),m):t},m.subject=function(k){return arguments.length?(n=typeof k=="function"?k:Hh(k),m):n},m.touchable=function(k){return arguments.length?(r=typeof k=="function"?k:Hh(!!k),m):r},m.on=function(){var k=i.on.apply(i,arguments);return k===i?m:k},m.clickDistance=function(k){return arguments.length?(p=(k=+k)*k,m):Math.sqrt(p)},m}function $s(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ku(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ei(){}var Ji=.7,As=1/Ji,Os="\\s*([+-]?\\d+)\\s*",Cu="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ra="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ole=/^#([0-9a-f]{3,8})$/,ile=new RegExp(`^rgb\\(${Os},${Os},${Os}\\)$`),lle=new RegExp(`^rgb\\(${Ra},${Ra},${Ra}\\)$`),sle=new RegExp(`^rgba\\(${Os},${Os},${Os},${Cu}\\)$`),cle=new RegExp(`^rgba\\(${Ra},${Ra},${Ra},${Cu}\\)$`),ule=new RegExp(`^hsl\\(${Cu},${Ra},${Ra}\\)$`),fle=new RegExp(`^hsla\\(${Cu},${Ra},${Ra},${Cu}\\)$`),c9={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};$s(ei,ti,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:u9,formatHex:u9,formatHex8:dle,formatHsl:hle,formatRgb:f9,toString:f9});function u9(){return this.rgb().formatHex()}function dle(){return this.rgb().formatHex8()}function hle(){return g9(this).formatHsl()}function f9(){return this.rgb().formatRgb()}function ti(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=ole.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?d9(t):n===3?new hn(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Uh(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Uh(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=ile.exec(e))?new hn(t[1],t[2],t[3],1):(t=lle.exec(e))?new hn(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=sle.exec(e))?Uh(t[1],t[2],t[3],t[4]):(t=cle.exec(e))?Uh(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=ule.exec(e))?m9(t[1],t[2]/100,t[3]/100,1):(t=fle.exec(e))?m9(t[1],t[2]/100,t[3]/100,t[4]):c9.hasOwnProperty(e)?d9(c9[e]):e==="transparent"?new hn(NaN,NaN,NaN,0):null}function d9(e){return new hn(e>>16&255,e>>8&255,e&255,1)}function Uh(e,t,n,r){return r<=0&&(e=t=n=NaN),new hn(e,t,n,r)}function ev(e){return e instanceof ei||(e=ti(e)),e?(e=e.rgb(),new hn(e.r,e.g,e.b,e.opacity)):new hn}function Ms(e,t,n,r){return arguments.length===1?ev(e):new hn(e,t,n,r==null?1:r)}function hn(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}$s(hn,Ms,ku(ei,{brighter(e){return e=e==null?As:Math.pow(As,e),new hn(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Ji:Math.pow(Ji,e),new hn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new hn(Qi(this.r),Qi(this.g),Qi(this.b),Wh(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:h9,formatHex:h9,formatHex8:ple,formatRgb:p9,toString:p9}));function h9(){return`#${el(this.r)}${el(this.g)}${el(this.b)}`}function ple(){return`#${el(this.r)}${el(this.g)}${el(this.b)}${el((isNaN(this.opacity)?1:this.opacity)*255)}`}function p9(){const e=Wh(this.opacity);return`${e===1?"rgb(":"rgba("}${Qi(this.r)}, ${Qi(this.g)}, ${Qi(this.b)}${e===1?")":`, ${e})`}`}function Wh(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Qi(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function el(e){return e=Qi(e),(e<16?"0":"")+e.toString(16)}function m9(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new va(e,t,n,r)}function g9(e){if(e instanceof va)return new va(e.h,e.s,e.l,e.opacity);if(e instanceof ei||(e=ti(e)),!e)return new va;if(e instanceof va)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),l=NaN,s=i-o,c=(i+o)/2;return s?(t===i?l=(n-r)/s+(n<r)*6:n===i?l=(r-t)/s+2:l=(t-n)/s+4,s/=c<.5?i+o:2-i-o,l*=60):s=c>0&&c<1?0:l,new va(l,s,c,e.opacity)}function jh(e,t,n,r){return arguments.length===1?g9(e):new va(e,t,n,r==null?1:r)}function va(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}$s(va,jh,ku(ei,{brighter(e){return e=e==null?As:Math.pow(As,e),new va(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Ji:Math.pow(Ji,e),new va(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,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new hn(tv(e>=240?e-240:e+120,o,r),tv(e,o,r),tv(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new va(y9(this.h),Gh(this.s),Gh(this.l),Wh(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=Wh(this.opacity);return`${e===1?"hsl(":"hsla("}${y9(this.h)}, ${Gh(this.s)*100}%, ${Gh(this.l)*100}%${e===1?")":`, ${e})`}`}}));function y9(e){return e=(e||0)%360,e<0?e+360:e}function Gh(e){return Math.max(0,Math.min(1,e||0))}function tv(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const v9=Math.PI/180,b9=180/Math.PI,Yh=18,_9=.96422,w9=1,S9=.82521,k9=4/29,Ps=6/29,C9=3*Ps*Ps,mle=Ps*Ps*Ps;function x9(e){if(e instanceof ba)return new ba(e.l,e.a,e.b,e.opacity);if(e instanceof La)return B9(e);e instanceof hn||(e=ev(e));var t=ov(e.r),n=ov(e.g),r=ov(e.b),o=nv((.2225045*t+.7168786*n+.0606169*r)/w9),i,l;return t===n&&n===r?i=l=o:(i=nv((.4360747*t+.3850649*n+.1430804*r)/_9),l=nv((.0139322*t+.0971045*n+.7141733*r)/S9)),new ba(116*o-16,500*(i-o),200*(o-l),e.opacity)}function gle(e,t){return new ba(e,0,0,t==null?1:t)}function qh(e,t,n,r){return arguments.length===1?x9(e):new ba(e,t,n,r==null?1:r)}function ba(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}$s(ba,qh,ku(ei,{brighter(e){return new ba(this.l+Yh*(e==null?1:e),this.a,this.b,this.opacity)},darker(e){return new ba(this.l-Yh*(e==null?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return t=_9*rv(t),e=w9*rv(e),n=S9*rv(n),new hn(av(3.1338561*t-1.6168667*e-.4906146*n),av(-.9787684*t+1.9161415*e+.033454*n),av(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}}));function nv(e){return e>mle?Math.pow(e,1/3):e/C9+k9}function rv(e){return e>Ps?e*e*e:C9*(e-k9)}function av(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function ov(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function E9(e){if(e instanceof La)return new La(e.h,e.c,e.l,e.opacity);if(e instanceof ba||(e=x9(e)),e.a===0&&e.b===0)return new La(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*b9;return new La(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function yle(e,t,n,r){return arguments.length===1?E9(e):new La(n,t,e,r==null?1:r)}function Kh(e,t,n,r){return arguments.length===1?E9(e):new La(e,t,n,r==null?1:r)}function La(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function B9(e){if(isNaN(e.h))return new ba(e.l,0,0,e.opacity);var t=e.h*v9;return new ba(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}$s(La,Kh,ku(ei,{brighter(e){return new La(this.h,this.c,this.l+Yh*(e==null?1:e),this.opacity)},darker(e){return new La(this.h,this.c,this.l-Yh*(e==null?1:e),this.opacity)},rgb(){return B9(this).rgb()}}));var N9=-.14861,iv=1.78277,lv=-.29227,Xh=-.90649,xu=1.97294,T9=xu*Xh,$9=xu*iv,A9=iv*lv-Xh*N9;function vle(e){if(e instanceof tl)return new tl(e.h,e.s,e.l,e.opacity);e instanceof hn||(e=ev(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(A9*r+T9*t-$9*n)/(A9+T9-$9),i=r-o,l=(xu*(n-o)-lv*i)/Xh,s=Math.sqrt(l*l+i*i)/(xu*o*(1-o)),c=s?Math.atan2(l,i)*b9-120:NaN;return new tl(c<0?c+360:c,s,o,e.opacity)}function _a(e,t,n,r){return arguments.length===1?vle(e):new tl(e,t,n,r==null?1:r)}function tl(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}$s(tl,_a,ku(ei,{brighter(e){return e=e==null?As:Math.pow(As,e),new tl(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Ji:Math.pow(Ji,e),new tl(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*v9,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new hn(255*(t+n*(N9*r+iv*o)),255*(t+n*(lv*r+Xh*o)),255*(t+n*(xu*r)),this.opacity)}}));function O9(e,t,n,r,o){var i=e*e,l=i*e;return((1-3*e+3*i-l)*t+(4-6*i+3*l)*n+(1+3*e+3*i-3*l)*r+l*o)/6}function M9(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],l=r>0?e[r-1]:2*o-i,s=r<t-1?e[r+2]:2*i-o;return O9((n-r/t)*t,l,o,i,s)}}function P9(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],l=e[(r+1)%t],s=e[(r+2)%t];return O9((n-r/t)*t,o,i,l,s)}}const Zh=e=>()=>e;function I9(e,t){return function(n){return e+n*t}}function ble(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function Jh(e,t){var n=t-e;return n?I9(e,n>180||n<-180?n-360*Math.round(n/360):n):Zh(isNaN(e)?t:e)}function _le(e){return(e=+e)==1?pn:function(t,n){return n-t?ble(t,n,e):Zh(isNaN(t)?n:t)}}function pn(e,t){var n=t-e;return n?I9(e,n):Zh(isNaN(e)?t:e)}const Eu=function e(t){var n=_le(t);function r(o,i){var l=n((o=Ms(o)).r,(i=Ms(i)).r),s=n(o.g,i.g),c=n(o.b,i.b),u=pn(o.opacity,i.opacity);return function(d){return o.r=l(d),o.g=s(d),o.b=c(d),o.opacity=u(d),o+""}}return r.gamma=e,r}(1);function V9(e){return function(t){var n=t.length,r=new Array(n),o=new Array(n),i=new Array(n),l,s;for(l=0;l<n;++l)s=Ms(t[l]),r[l]=s.r||0,o[l]=s.g||0,i[l]=s.b||0;return r=e(r),o=e(o),i=e(i),s.opacity=1,function(c){return s.r=r(c),s.g=o(c),s.b=i(c),s+""}}}var R9=V9(M9),wle=V9(P9);function sv(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),o;return function(i){for(o=0;o<n;++o)r[o]=e[o]*(1-i)+t[o]*i;return r}}function L9(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Sle(e,t){return(L9(t)?sv:D9)(e,t)}function D9(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,o=new Array(r),i=new Array(n),l;for(l=0;l<r;++l)o[l]=ni(e[l],t[l]);for(;l<n;++l)i[l]=t[l];return function(s){for(l=0;l<r;++l)i[l]=o[l](s);return i}}function z9(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Ur(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function F9(e,t){var n={},r={},o;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(o in t)o in e?n[o]=ni(e[o],t[o]):r[o]=t[o];return function(i){for(o in n)r[o]=n[o](i);return r}}var cv=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,uv=new RegExp(cv.source,"g");function kle(e){return function(){return e}}function Cle(e){return function(t){return e(t)+""}}function fv(e,t){var n=cv.lastIndex=uv.lastIndex=0,r,o,i,l=-1,s=[],c=[];for(e=e+"",t=t+"";(r=cv.exec(e))&&(o=uv.exec(t));)(i=o.index)>n&&(i=t.slice(n,i),s[l]?s[l]+=i:s[++l]=i),(r=r[0])===(o=o[0])?s[l]?s[l]+=o:s[++l]=o:(s[++l]=null,c.push({i:l,x:Ur(r,o)})),n=uv.lastIndex;return n<t.length&&(i=t.slice(n),s[l]?s[l]+=i:s[++l]=i),s.length<2?c[0]?Cle(c[0].x):kle(t):(t=c.length,function(u){for(var d=0,p;d<t;++d)s[(p=c[d]).i]=p.x(u);return s.join("")})}function ni(e,t){var n=typeof t,r;return t==null||n==="boolean"?Zh(t):(n==="number"?Ur:n==="string"?(r=ti(t))?(t=r,Eu):fv:t instanceof ti?Eu:t instanceof Date?z9:L9(t)?sv:Array.isArray(t)?D9:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?F9:Ur)(e,t)}function xle(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}function Ele(e,t){var n=Jh(+e,+t);return function(r){var o=n(r);return o-360*Math.floor(o/360)}}function Bu(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var H9=180/Math.PI,dv={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function U9(e,t,n,r,o,i){var l,s,c;return(l=Math.sqrt(e*e+t*t))&&(e/=l,t/=l),(c=e*n+t*r)&&(n-=e*c,r-=t*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),e*r<t*n&&(e=-e,t=-t,c=-c,l=-l),{translateX:o,translateY:i,rotate:Math.atan2(t,e)*H9,skewX:Math.atan(c)*H9,scaleX:l,scaleY:s}}var Qh;function Ble(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?dv:U9(t.a,t.b,t.c,t.d,t.e,t.f)}function Nle(e){return e==null||(Qh||(Qh=document.createElementNS("http://www.w3.org/2000/svg","g")),Qh.setAttribute("transform",e),!(e=Qh.transform.baseVal.consolidate()))?dv:(e=e.matrix,U9(e.a,e.b,e.c,e.d,e.e,e.f))}function W9(e,t,n,r){function o(u){return u.length?u.pop()+" ":""}function i(u,d,p,m,g,v){if(u!==p||d!==m){var w=g.push("translate(",null,t,null,n);v.push({i:w-4,x:Ur(u,p)},{i:w-2,x:Ur(d,m)})}else(p||m)&&g.push("translate("+p+t+m+n)}function l(u,d,p,m){u!==d?(u-d>180?d+=360:d-u>180&&(u+=360),m.push({i:p.push(o(p)+"rotate(",null,r)-2,x:Ur(u,d)})):d&&p.push(o(p)+"rotate("+d+r)}function s(u,d,p,m){u!==d?m.push({i:p.push(o(p)+"skewX(",null,r)-2,x:Ur(u,d)}):d&&p.push(o(p)+"skewX("+d+r)}function c(u,d,p,m,g,v){if(u!==p||d!==m){var w=g.push(o(g)+"scale(",null,",",null,")");v.push({i:w-4,x:Ur(u,p)},{i:w-2,x:Ur(d,m)})}else(p!==1||m!==1)&&g.push(o(g)+"scale("+p+","+m+")")}return function(u,d){var p=[],m=[];return u=e(u),d=e(d),i(u.translateX,u.translateY,d.translateX,d.translateY,p,m),l(u.rotate,d.rotate,p,m),s(u.skewX,d.skewX,p,m),c(u.scaleX,u.scaleY,d.scaleX,d.scaleY,p,m),u=d=null,function(g){for(var v=-1,w=m.length,_;++v<w;)p[(_=m[v]).i]=_.x(g);return p.join("")}}}var j9=W9(Ble,"px, ","px)","deg)"),G9=W9(Nle,", ",")",")"),Tle=1e-12;function Y9(e){return((e=Math.exp(e))+1/e)/2}function $le(e){return((e=Math.exp(e))-1/e)/2}function Ale(e){return((e=Math.exp(2*e))-1)/(e+1)}const q9=function e(t,n,r){function o(i,l){var s=i[0],c=i[1],u=i[2],d=l[0],p=l[1],m=l[2],g=d-s,v=p-c,w=g*g+v*v,_,y;if(w<Tle)y=Math.log(m/u)/t,_=function(N){return[s+N*g,c+N*v,u*Math.exp(t*N*y)]};else{var C=Math.sqrt(w),S=(m*m-u*u+r*w)/(2*u*n*C),k=(m*m-u*u-r*w)/(2*m*n*C),x=Math.log(Math.sqrt(S*S+1)-S),B=Math.log(Math.sqrt(k*k+1)-k);y=(B-x)/t,_=function(N){var $=N*y,T=Y9(x),M=u/(n*C)*(T*Ale(t*$+x)-$le(x));return[s+M*g,c+M*v,u*T/Y9(t*$+x)]}}return _.duration=y*1e3*t/Math.SQRT2,_}return o.rho=function(i){var l=Math.max(.001,+i),s=l*l,c=s*s;return e(l,s,c)},o}(Math.SQRT2,2,4);function K9(e){return function(t,n){var r=e((t=jh(t)).h,(n=jh(n)).h),o=pn(t.s,n.s),i=pn(t.l,n.l),l=pn(t.opacity,n.opacity);return function(s){return t.h=r(s),t.s=o(s),t.l=i(s),t.opacity=l(s),t+""}}}const Ole=K9(Jh);var Mle=K9(pn);function Ple(e,t){var n=pn((e=qh(e)).l,(t=qh(t)).l),r=pn(e.a,t.a),o=pn(e.b,t.b),i=pn(e.opacity,t.opacity);return function(l){return e.l=n(l),e.a=r(l),e.b=o(l),e.opacity=i(l),e+""}}function X9(e){return function(t,n){var r=e((t=Kh(t)).h,(n=Kh(n)).h),o=pn(t.c,n.c),i=pn(t.l,n.l),l=pn(t.opacity,n.opacity);return function(s){return t.h=r(s),t.c=o(s),t.l=i(s),t.opacity=l(s),t+""}}}const Ile=X9(Jh);var Vle=X9(pn);function Z9(e){return function t(n){n=+n;function r(o,i){var l=e((o=_a(o)).h,(i=_a(i)).h),s=pn(o.s,i.s),c=pn(o.l,i.l),u=pn(o.opacity,i.opacity);return function(d){return o.h=l(d),o.s=s(d),o.l=c(Math.pow(d,n)),o.opacity=u(d),o+""}}return r.gamma=t,r}(1)}const Rle=Z9(Jh);var ep=Z9(pn);function J9(e,t){t===void 0&&(t=e,e=ni);for(var n=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);n<r;)i[n]=e(o,o=t[++n]);return function(l){var s=Math.max(0,Math.min(r-1,Math.floor(l*=r)));return i[s](l-s)}}function Lle(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e(r/(t-1));return n}var Is=0,Nu=0,Tu=0,Q9=1e3,tp,$u,np=0,nl=0,rp=0,Au=typeof performance=="object"&&performance.now?performance:Date,ek=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Ou(){return nl||(ek(Dle),nl=Au.now()+rp)}function Dle(){nl=0}function Mu(){this._call=this._time=this._next=null}Mu.prototype=ap.prototype={constructor:Mu,restart:function(e,t,n){if(typeof e!="function")throw new TypeError("callback is not a function");n=(n==null?Ou():+n)+(t==null?0:+t),!this._next&&$u!==this&&($u?$u._next=this:tp=this,$u=this),this._call=e,this._time=n,hv()},stop:function(){this._call&&(this._call=null,this._time=1/0,hv())}};function ap(e,t,n){var r=new Mu;return r.restart(e,t,n),r}function tk(){Ou(),++Is;for(var e=tp,t;e;)(t=nl-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Is}function nk(){nl=(np=Au.now())+rp,Is=Nu=0;try{tk()}finally{Is=0,Fle(),nl=0}}function zle(){var e=Au.now(),t=e-np;t>Q9&&(rp-=t,np=e)}function Fle(){for(var e,t=tp,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:tp=n);$u=e,hv(r)}function hv(e){if(!Is){Nu&&(Nu=clearTimeout(Nu));var t=e-nl;t>24?(e<1/0&&(Nu=setTimeout(nk,e-Au.now()-rp)),Tu&&(Tu=clearInterval(Tu))):(Tu||(np=Au.now(),Tu=setInterval(zle,Q9)),Is=1,ek(nk))}}function pv(e,t,n){var r=new Mu;return t=t==null?0:+t,r.restart(o=>{r.stop(),e(o+t)},t,n),r}function Hle(e,t,n){var r=new Mu,o=t;return t==null?(r.restart(e,t,n),r):(r._restart=r.restart,r.restart=function(i,l,s){l=+l,s=s==null?Ou():+s,r._restart(function c(u){u+=o,r._restart(c,o+=l,s),i(u)},l,s)},r.restart(e,t,n),r)}var Ule=Ki("start","end","cancel","interrupt"),Wle=[],rk=0,mv=1,gv=2,op=3,ak=4,yv=5,ip=6;function lp(e,t,n,r,o,i){var l=e.__transition;if(!l)e.__transition={};else if(n in l)return;jle(e,n,{name:t,index:r,group:o,on:Ule,tween:Wle,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:rk})}function vv(e,t){var n=wa(e,t);if(n.state>rk)throw new Error("too late; already scheduled");return n}function Da(e,t){var n=wa(e,t);if(n.state>op)throw new Error("too late; already running");return n}function wa(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function jle(e,t,n){var r=e.__transition,o;r[t]=n,n.timer=ap(i,0,n.time);function i(u){n.state=mv,n.timer.restart(l,n.delay,n.time),n.delay<=u&&l(u-n.delay)}function l(u){var d,p,m,g;if(n.state!==mv)return c();for(d in r)if(g=r[d],g.name===n.name){if(g.state===op)return pv(l);g.state===ak?(g.state=ip,g.timer.stop(),g.on.call("interrupt",e,e.__data__,g.index,g.group),delete r[d]):+d<t&&(g.state=ip,g.timer.stop(),g.on.call("cancel",e,e.__data__,g.index,g.group),delete r[d])}if(pv(function(){n.state===op&&(n.state=ak,n.timer.restart(s,n.delay,n.time),s(u))}),n.state=gv,n.on.call("start",e,e.__data__,n.index,n.group),n.state===gv){for(n.state=op,o=new Array(m=n.tween.length),d=0,p=-1;d<m;++d)(g=n.tween[d].value.call(e,e.__data__,n.index,n.group))&&(o[++p]=g);o.length=p+1}}function s(u){for(var d=u<n.duration?n.ease.call(null,u/n.duration):(n.timer.restart(c),n.state=yv,1),p=-1,m=o.length;++p<m;)o[p].call(e,d);n.state===yv&&(n.on.call("end",e,e.__data__,n.index,n.group),c())}function c(){n.state=ip,n.timer.stop(),delete r[t];for(var u in r)return;delete e.__transition}}function rl(e,t){var n=e.__transition,r,o,i=!0,l;if(n){t=t==null?null:t+"";for(l in n){if((r=n[l]).name!==t){i=!1;continue}o=r.state>gv&&r.state<yv,r.state=ip,r.timer.stop(),r.on.call(o?"interrupt":"cancel",e,e.__data__,r.index,r.group),delete n[l]}i&&delete e.__transition}}function Gle(e){return this.each(function(){rl(this,e)})}function Yle(e,t){var n,r;return function(){var o=Da(this,e),i=o.tween;if(i!==n){r=n=i;for(var l=0,s=r.length;l<s;++l)if(r[l].name===t){r=r.slice(),r.splice(l,1);break}}o.tween=r}}function qle(e,t,n){var r,o;if(typeof n!="function")throw new Error;return function(){var i=Da(this,e),l=i.tween;if(l!==r){o=(r=l).slice();for(var s={name:t,value:n},c=0,u=o.length;c<u;++c)if(o[c].name===t){o[c]=s;break}c===u&&o.push(s)}i.tween=o}}function Kle(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r=wa(this.node(),n).tween,o=0,i=r.length,l;o<i;++o)if((l=r[o]).name===e)return l.value;return null}return this.each((t==null?Yle:qle)(n,e,t))}function bv(e,t,n){var r=e._id;return e.each(function(){var o=Da(this,r);(o.value||(o.value={}))[t]=n.apply(this,arguments)}),function(o){return wa(o,r).value[t]}}function ok(e,t){var n;return(typeof t=="number"?Ur:t instanceof ti?Eu:(n=ti(t))?(t=n,Eu):fv)(e,t)}function Xle(e){return function(){this.removeAttribute(e)}}function Zle(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Jle(e,t,n){var r,o=n+"",i;return function(){var l=this.getAttribute(e);return l===o?null:l===r?i:i=t(r=l,n)}}function Qle(e,t,n){var r,o=n+"",i;return function(){var l=this.getAttributeNS(e.space,e.local);return l===o?null:l===r?i:i=t(r=l,n)}}function ese(e,t,n){var r,o,i;return function(){var l,s=n(this),c;return s==null?void this.removeAttribute(e):(l=this.getAttribute(e),c=s+"",l===c?null:l===r&&c===o?i:(o=c,i=t(r=l,s)))}}function tse(e,t,n){var r,o,i;return function(){var l,s=n(this),c;return s==null?void this.removeAttributeNS(e.space,e.local):(l=this.getAttributeNS(e.space,e.local),c=s+"",l===c?null:l===r&&c===o?i:(o=c,i=t(r=l,s)))}}function nse(e,t){var n=wu(e),r=n==="transform"?G9:ok;return this.attrTween(e,typeof t=="function"?(n.local?tse:ese)(n,r,bv(this,"attr."+e,t)):t==null?(n.local?Zle:Xle)(n):(n.local?Qle:Jle)(n,r,t))}function rse(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function ase(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function ose(e,t){var n,r;function o(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&ase(e,i)),n}return o._value=t,o}function ise(e,t){var n,r;function o(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&rse(e,i)),n}return o._value=t,o}function lse(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!="function")throw new Error;var r=wu(e);return this.tween(n,(r.local?ose:ise)(r,t))}function sse(e,t){return function(){vv(this,e).delay=+t.apply(this,arguments)}}function cse(e,t){return t=+t,function(){vv(this,e).delay=t}}function use(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?sse:cse)(t,e)):wa(this.node(),t).delay}function fse(e,t){return function(){Da(this,e).duration=+t.apply(this,arguments)}}function dse(e,t){return t=+t,function(){Da(this,e).duration=t}}function hse(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?fse:dse)(t,e)):wa(this.node(),t).duration}function pse(e,t){if(typeof t!="function")throw new Error;return function(){Da(this,e).ease=t}}function mse(e){var t=this._id;return arguments.length?this.each(pse(t,e)):wa(this.node(),t).ease}function gse(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!="function")throw new Error;Da(this,e).ease=n}}function yse(e){if(typeof e!="function")throw new Error;return this.each(gse(this._id,e))}function vse(e){typeof e!="function"&&(e=Yy(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o<n;++o)for(var i=t[o],l=i.length,s=r[o]=[],c,u=0;u<l;++u)(c=i[u])&&e.call(c,c.__data__,u,i)&&s.push(c);return new za(r,this._parents,this._name,this._id)}function bse(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,o=n.length,i=Math.min(r,o),l=new Array(r),s=0;s<i;++s)for(var c=t[s],u=n[s],d=c.length,p=l[s]=new Array(d),m,g=0;g<d;++g)(m=c[g]||u[g])&&(p[g]=m);for(;s<r;++s)l[s]=t[s];return new za(l,this._parents,this._name,this._id)}function _se(e){return(e+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||t==="start"})}function wse(e,t,n){var r,o,i=_se(t)?vv:Da;return function(){var l=i(this,e),s=l.on;s!==r&&(o=(r=s).copy()).on(t,n),l.on=o}}function Sse(e,t){var n=this._id;return arguments.length<2?wa(this.node(),n).on.on(e):this.each(wse(n,e,t))}function kse(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function Cse(){return this.on("end.remove",kse(this._id))}function xse(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Lh(e));for(var r=this._groups,o=r.length,i=new Array(o),l=0;l<o;++l)for(var s=r[l],c=s.length,u=i[l]=new Array(c),d,p,m=0;m<c;++m)(d=s[m])&&(p=e.call(d,d.__data__,m,s))&&("__data__"in d&&(p.__data__=d.__data__),u[m]=p,lp(u[m],t,n,m,u,wa(d,n)));return new za(i,this._parents,t,n)}function Ese(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Gy(e));for(var r=this._groups,o=r.length,i=[],l=[],s=0;s<o;++s)for(var c=r[s],u=c.length,d,p=0;p<u;++p)if(d=c[p]){for(var m=e.call(d,d.__data__,p,c),g,v=wa(d,n),w=0,_=m.length;w<_;++w)(g=m[w])&&lp(g,t,n,w,m,v);i.push(m),l.push(d)}return new za(i,l,t,n)}var Bse=Zi.prototype.constructor;function Nse(){return new Bse(this._groups,this._parents)}function Tse(e,t){var n,r,o;return function(){var i=Xi(this,e),l=(this.style.removeProperty(e),Xi(this,e));return i===l?null:i===n&&l===r?o:o=t(n=i,r=l)}}function ik(e){return function(){this.style.removeProperty(e)}}function $se(e,t,n){var r,o=n+"",i;return function(){var l=Xi(this,e);return l===o?null:l===r?i:i=t(r=l,n)}}function Ase(e,t,n){var r,o,i;return function(){var l=Xi(this,e),s=n(this),c=s+"";return s==null&&(c=s=(this.style.removeProperty(e),Xi(this,e))),l===c?null:l===r&&c===o?i:(o=c,i=t(r=l,s))}}function Ose(e,t){var n,r,o,i="style."+t,l="end."+i,s;return function(){var c=Da(this,e),u=c.on,d=c.value[i]==null?s||(s=ik(t)):void 0;(u!==n||o!==d)&&(r=(n=u).copy()).on(l,o=d),c.on=r}}function Mse(e,t,n){var r=(e+="")=="transform"?j9:ok;return t==null?this.styleTween(e,Tse(e,r)).on("end.style."+e,ik(e)):typeof t=="function"?this.styleTween(e,Ase(e,r,bv(this,"style."+e,t))).each(Ose(this._id,e)):this.styleTween(e,$se(e,r,t),n).on("end.style."+e,null)}function Pse(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function Ise(e,t,n){var r,o;function i(){var l=t.apply(this,arguments);return l!==o&&(r=(o=l)&&Pse(e,l,n)),r}return i._value=t,i}function Vse(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!="function")throw new Error;return this.tween(r,Ise(e,t,n==null?"":n))}function Rse(e){return function(){this.textContent=e}}function Lse(e){return function(){var t=e(this);this.textContent=t==null?"":t}}function Dse(e){return this.tween("text",typeof e=="function"?Lse(bv(this,"text",e)):Rse(e==null?"":e+""))}function zse(e){return function(t){this.textContent=e.call(this,t)}}function Fse(e){var t,n;function r(){var o=e.apply(this,arguments);return o!==n&&(t=(n=o)&&zse(o)),t}return r._value=e,r}function Hse(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!="function")throw new Error;return this.tween(t,Fse(e))}function Use(){for(var e=this._name,t=this._id,n=sk(),r=this._groups,o=r.length,i=0;i<o;++i)for(var l=r[i],s=l.length,c,u=0;u<s;++u)if(c=l[u]){var d=wa(c,t);lp(c,e,n,u,l,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new za(r,this._parents,e,n)}function Wse(){var e,t,n=this,r=n._id,o=n.size();return new Promise(function(i,l){var s={value:l},c={value:function(){--o===0&&i()}};n.each(function(){var u=Da(this,r),d=u.on;d!==e&&(t=(e=d).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(c)),u.on=t}),o===0&&i()})}var jse=0;function za(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function lk(e){return Zi().transition(e)}function sk(){return++jse}var po=Zi.prototype;za.prototype=lk.prototype={constructor:za,select:xse,selectAll:Ese,selectChild:po.selectChild,selectChildren:po.selectChildren,filter:vse,merge:bse,selection:Nse,transition:Use,call:po.call,nodes:po.nodes,node:po.node,size:po.size,empty:po.empty,each:po.each,on:Sse,attr:nse,attrTween:lse,style:Mse,styleTween:Vse,text:Dse,textTween:Hse,remove:Cse,tween:Kle,delay:use,duration:hse,ease:mse,easeVarying:yse,end:Wse,[Symbol.iterator]:po[Symbol.iterator]};const Gse=e=>+e;function Yse(e){return e*e}function qse(e){return e*(2-e)}function ck(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function Kse(e){return e*e*e}function Xse(e){return--e*e*e+1}function _v(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var wv=3,Zse=function e(t){t=+t;function n(r){return Math.pow(r,t)}return n.exponent=e,n}(wv),Jse=function e(t){t=+t;function n(r){return 1-Math.pow(1-r,t)}return n.exponent=e,n}(wv),uk=function e(t){t=+t;function n(r){return((r*=2)<=1?Math.pow(r,t):2-Math.pow(2-r,t))/2}return n.exponent=e,n}(wv),fk=Math.PI,dk=fk/2;function Qse(e){return+e==1?1:1-Math.cos(e*dk)}function ece(e){return Math.sin(e*dk)}function hk(e){return(1-Math.cos(fk*e))/2}function ri(e){return(Math.pow(2,-10*e)-.0009765625)*1.0009775171065494}function tce(e){return ri(1-+e)}function nce(e){return 1-ri(e)}function pk(e){return((e*=2)<=1?ri(1-e):2-ri(e-1))/2}function rce(e){return 1-Math.sqrt(1-e*e)}function ace(e){return Math.sqrt(1- --e*e)}function mk(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var Sv=4/11,oce=6/11,ice=8/11,lce=3/4,sce=9/11,cce=10/11,uce=15/16,fce=21/22,dce=63/64,sp=1/Sv/Sv;function hce(e){return 1-Pu(1-e)}function Pu(e){return(e=+e)<Sv?sp*e*e:e<ice?sp*(e-=oce)*e+lce:e<cce?sp*(e-=sce)*e+uce:sp*(e-=fce)*e+dce}function pce(e){return((e*=2)<=1?1-Pu(1-e):Pu(e-1)+1)/2}var kv=1.70158,mce=function e(t){t=+t;function n(r){return(r=+r)*r*(t*(r-1)+r)}return n.overshoot=e,n}(kv),gce=function e(t){t=+t;function n(r){return--r*r*((r+1)*t+r)+1}return n.overshoot=e,n}(kv),gk=function e(t){t=+t;function n(r){return((r*=2)<1?r*r*((t+1)*r-t):(r-=2)*r*((t+1)*r+t)+2)/2}return n.overshoot=e,n}(kv),Vs=2*Math.PI,Cv=1,xv=.3,yce=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Vs);function o(i){return t*ri(- --i)*Math.sin((r-i)/n)}return o.amplitude=function(i){return e(i,n*Vs)},o.period=function(i){return e(t,i)},o}(Cv,xv),yk=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Vs);function o(i){return 1-t*ri(i=+i)*Math.sin((i+r)/n)}return o.amplitude=function(i){return e(i,n*Vs)},o.period=function(i){return e(t,i)},o}(Cv,xv),vce=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Vs);function o(i){return((i=i*2-1)<0?t*ri(-i)*Math.sin((r-i)/n):2-t*ri(i)*Math.sin((r+i)/n))/2}return o.amplitude=function(i){return e(i,n*Vs)},o.period=function(i){return e(t,i)},o}(Cv,xv),bce={time:null,delay:0,duration:250,ease:_v};function _ce(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function wce(e){var t,n;e instanceof za?(t=e._id,e=e._name):(t=sk(),(n=bce).time=Ou(),e=e==null?null:e+"");for(var r=this._groups,o=r.length,i=0;i<o;++i)for(var l=r[i],s=l.length,c,u=0;u<s;++u)(c=l[u])&&lp(c,e,t,u,l,n||_ce(c,t));return new za(r,this._parents,e,t)}Zi.prototype.interrupt=Gle,Zi.prototype.transition=wce;var Sce=[null];function kce(e,t){var n=e.__transition,r,o;if(n){t=t==null?null:t+"";for(o in n)if((r=n[o]).state>mv&&r.name===t)return new za([[e]],Sce,t,+o)}return null}const Ev=e=>()=>e;function Cce(e,{sourceEvent:t,target:n,selection:r,mode:o,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:o,enumerable:!0,configurable:!0},_:{value:i}})}function xce(e){e.stopImmediatePropagation()}function Bv(e){e.preventDefault(),e.stopImmediatePropagation()}var vk={name:"drag"},Nv={name:"space"},Rs={name:"handle"},Ls={name:"center"};const{abs:bk,max:$n,min:An}=Math;function _k(e){return[+e[0],+e[1]]}function Tv(e){return[_k(e[0]),_k(e[1])]}var cp={name:"x",handles:["w","e"].map(Iu),input:function(e,t){return e==null?null:[[+e[0],t[0][1]],[+e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},up={name:"y",handles:["n","s"].map(Iu),input:function(e,t){return e==null?null:[[t[0][0],+e[0]],[t[1][0],+e[1]]]},output:function(e){return e&&[e[0][1],e[1][1]]}},Ece={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Iu),input:function(e){return e==null?null:Tv(e)},output:function(e){return e}},mo={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},wk={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Sk={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Bce={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Nce={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Iu(e){return{type:e}}function Tce(e){return!e.ctrlKey&&!e.button}function $ce(){var e=this.ownerSVGElement||this;return 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]]}function Ace(){return navigator.maxTouchPoints||"ontouchstart"in this}function $v(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function Oce(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}function Mce(e){var t=e.__brush;return t?t.dim.output(t.selection):null}function Pce(){return Av(cp)}function Ice(){return Av(up)}function Vce(){return Av(Ece)}function Av(e){var t=$ce,n=Tce,r=Ace,o=!0,i=Ki("start","brush","end"),l=6,s;function c(_){var y=_.property("__brush",w).selectAll(".overlay").data([Iu("overlay")]);y.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",mo.overlay).merge(y).each(function(){var S=$v(this).extent;Vt(this).attr("x",S[0][0]).attr("y",S[0][1]).attr("width",S[1][0]-S[0][0]).attr("height",S[1][1]-S[0][1])}),_.selectAll(".selection").data([Iu("selection")]).enter().append("rect").attr("class","selection").attr("cursor",mo.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var C=_.selectAll(".handle").data(e.handles,function(S){return S.type});C.exit().remove(),C.enter().append("rect").attr("class",function(S){return"handle handle--"+S.type}).attr("cursor",function(S){return mo[S.type]}),_.each(u).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",m).filter(r).on("touchstart.brush",m).on("touchmove.brush",g).on("touchend.brush touchcancel.brush",v).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}c.move=function(_,y,C){_.tween?_.on("start.brush",function(S){d(this,arguments).beforestart().start(S)}).on("interrupt.brush end.brush",function(S){d(this,arguments).end(S)}).tween("brush",function(){var S=this,k=S.__brush,x=d(S,arguments),B=k.selection,N=e.input(typeof y=="function"?y.apply(this,arguments):y,k.extent),$=ni(B,N);function T(M){k.selection=M===1&&N===null?null:$(M),u.call(S),x.brush()}return B!==null&&N!==null?T:T(1)}):_.each(function(){var S=this,k=arguments,x=S.__brush,B=e.input(typeof y=="function"?y.apply(S,k):y,x.extent),N=d(S,k).beforestart();rl(S),x.selection=B===null?null:B,u.call(S),N.start(C).brush(C).end(C)})},c.clear=function(_,y){c.move(_,null,y)};function u(){var _=Vt(this),y=$v(this).selection;y?(_.selectAll(".selection").style("display",null).attr("x",y[0][0]).attr("y",y[0][1]).attr("width",y[1][0]-y[0][0]).attr("height",y[1][1]-y[0][1]),_.selectAll(".handle").style("display",null).attr("x",function(C){return C.type[C.type.length-1]==="e"?y[1][0]-l/2:y[0][0]-l/2}).attr("y",function(C){return C.type[0]==="s"?y[1][1]-l/2:y[0][1]-l/2}).attr("width",function(C){return C.type==="n"||C.type==="s"?y[1][0]-y[0][0]+l:l}).attr("height",function(C){return C.type==="e"||C.type==="w"?y[1][1]-y[0][1]+l:l})):_.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function d(_,y,C){var S=_.__brush.emitter;return S&&(!C||!S.clean)?S:new p(_,y,C)}function p(_,y,C){this.that=_,this.args=y,this.state=_.__brush,this.active=0,this.clean=C}p.prototype={beforestart:function(){return++this.active===1&&(this.state.emitter=this,this.starting=!0),this},start:function(_,y){return this.starting?(this.starting=!1,this.emit("start",_,y)):this.emit("brush",_),this},brush:function(_,y){return this.emit("brush",_,y),this},end:function(_,y){return--this.active===0&&(delete this.state.emitter,this.emit("end",_,y)),this},emit:function(_,y,C){var S=Vt(this.that).datum();i.call(_,this.that,new Cce(_,{sourceEvent:y,target:c,selection:e.output(this.state.selection),mode:C,dispatch:i}),S)}};function m(_){if(s&&!_.touches||!n.apply(this,arguments))return;var y=this,C=_.target.__data__.type,S=(o&&_.metaKey?C="overlay":C)==="selection"?vk:o&&_.altKey?Ls:Rs,k=e===up?null:Bce[C],x=e===cp?null:Nce[C],B=$v(y),N=B.extent,$=B.selection,T=N[0][0],M,A,F=N[0][1],z,O,L=N[1][0],V,H,G=N[1][1],W,ne,se=0,U=0,oe,le=k&&x&&o&&_.shiftKey,ue,K,J=Array.from(_.touches||[_],ee=>{const he=ee.identifier;return ee=Un(ee,y),ee.point0=ee.slice(),ee.identifier=he,ee});rl(y);var q=d(y,arguments,!0).beforestart();if(C==="overlay"){$&&(oe=!0);const ee=[J[0],J[1]||J[0]];B.selection=$=[[M=e===up?T:An(ee[0][0],ee[1][0]),z=e===cp?F:An(ee[0][1],ee[1][1])],[V=e===up?L:$n(ee[0][0],ee[1][0]),W=e===cp?G:$n(ee[0][1],ee[1][1])]],J.length>1&&ye(_)}else M=$[0][0],z=$[0][1],V=$[1][0],W=$[1][1];A=M,O=z,H=V,ne=W;var j=Vt(y).attr("pointer-events","none"),re=j.selectAll(".overlay").attr("cursor",mo[C]);if(_.touches)q.moved=Q,q.ended=_e;else{var X=Vt(_.view).on("mousemove.brush",Q,!0).on("mouseup.brush",_e,!0);o&&X.on("keydown.brush",Ne,!0).on("keyup.brush",ke,!0),zh(_.view)}u.call(y),q.start(_,S.name);function Q(ee){for(const he of ee.changedTouches||[ee])for(const Ke of J)Ke.identifier===he.identifier&&(Ke.cur=Un(he,y));if(le&&!ue&&!K&&J.length===1){const he=J[0];bk(he.cur[0]-he[0])>bk(he.cur[1]-he[1])?K=!0:ue=!0}for(const he of J)he.cur&&(he[0]=he.cur[0],he[1]=he.cur[1]);oe=!0,Bv(ee),ye(ee)}function ye(ee){const he=J[0],Ke=he.point0;var Fe;switch(se=he[0]-Ke[0],U=he[1]-Ke[1],S){case Nv:case vk:{k&&(se=$n(T-M,An(L-V,se)),A=M+se,H=V+se),x&&(U=$n(F-z,An(G-W,U)),O=z+U,ne=W+U);break}case Rs:{J[1]?(k&&(A=$n(T,An(L,J[0][0])),H=$n(T,An(L,J[1][0])),k=1),x&&(O=$n(F,An(G,J[0][1])),ne=$n(F,An(G,J[1][1])),x=1)):(k<0?(se=$n(T-M,An(L-M,se)),A=M+se,H=V):k>0&&(se=$n(T-V,An(L-V,se)),A=M,H=V+se),x<0?(U=$n(F-z,An(G-z,U)),O=z+U,ne=W):x>0&&(U=$n(F-W,An(G-W,U)),O=z,ne=W+U));break}case Ls:{k&&(A=$n(T,An(L,M-se*k)),H=$n(T,An(L,V+se*k))),x&&(O=$n(F,An(G,z-U*x)),ne=$n(F,An(G,W+U*x)));break}}H<A&&(k*=-1,Fe=M,M=V,V=Fe,Fe=A,A=H,H=Fe,C in wk&&re.attr("cursor",mo[C=wk[C]])),ne<O&&(x*=-1,Fe=z,z=W,W=Fe,Fe=O,O=ne,ne=Fe,C in Sk&&re.attr("cursor",mo[C=Sk[C]])),B.selection&&($=B.selection),ue&&(A=$[0][0],H=$[1][0]),K&&(O=$[0][1],ne=$[1][1]),($[0][0]!==A||$[0][1]!==O||$[1][0]!==H||$[1][1]!==ne)&&(B.selection=[[A,O],[H,ne]],u.call(y),q.brush(ee,S.name))}function _e(ee){if(xce(ee),ee.touches){if(ee.touches.length)return;s&&clearTimeout(s),s=setTimeout(function(){s=null},500)}else Fh(ee.view,oe),X.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);j.attr("pointer-events","all"),re.attr("cursor",mo.overlay),B.selection&&($=B.selection),Oce($)&&(B.selection=null,u.call(y)),q.end(ee,S.name)}function Ne(ee){switch(ee.keyCode){case 16:{le=k&&x;break}case 18:{S===Rs&&(k&&(V=H-se*k,M=A+se*k),x&&(W=ne-U*x,z=O+U*x),S=Ls,ye(ee));break}case 32:{(S===Rs||S===Ls)&&(k<0?V=H-se:k>0&&(M=A-se),x<0?W=ne-U:x>0&&(z=O-U),S=Nv,re.attr("cursor",mo.selection),ye(ee));break}default:return}Bv(ee)}function ke(ee){switch(ee.keyCode){case 16:{le&&(ue=K=le=!1,ye(ee));break}case 18:{S===Ls&&(k<0?V=H:k>0&&(M=A),x<0?W=ne:x>0&&(z=O),S=Rs,ye(ee));break}case 32:{S===Nv&&(ee.altKey?(k&&(V=H-se*k,M=A+se*k),x&&(W=ne-U*x,z=O+U*x),S=Ls):(k<0?V=H:k>0&&(M=A),x<0?W=ne:x>0&&(z=O),S=Rs),re.attr("cursor",mo[C]),ye(ee));break}default:return}Bv(ee)}}function g(_){d(this,arguments).moved(_)}function v(_){d(this,arguments).ended(_)}function w(){var _=this.__brush||{selection:null};return _.extent=Tv(t.apply(this,arguments)),_.dim=e,_}return c.extent=function(_){return arguments.length?(t=typeof _=="function"?_:Ev(Tv(_)),c):t},c.filter=function(_){return arguments.length?(n=typeof _=="function"?_:Ev(!!_),c):n},c.touchable=function(_){return arguments.length?(r=typeof _=="function"?_:Ev(!!_),c):r},c.handleSize=function(_){return arguments.length?(l=+_,c):l},c.keyModifiers=function(_){return arguments.length?(o=!!_,c):o},c.on=function(){var _=i.on.apply(i,arguments);return _===i?c:_},c}var kk=Math.abs,Ds=Math.cos,zs=Math.sin,Ck=Math.PI,fp=Ck/2,xk=Ck*2,Ek=Math.max,Ov=1e-12;function Mv(e,t){return Array.from({length:t-e},(n,r)=>e+r)}function Rce(e){return function(t,n){return e(t.source.value+t.target.value,n.source.value+n.target.value)}}function Lce(){return Pv(!1,!1)}function Dce(){return Pv(!1,!0)}function zce(){return Pv(!0,!1)}function Pv(e,t){var n=0,r=null,o=null,i=null;function l(s){var c=s.length,u=new Array(c),d=Mv(0,c),p=new Array(c*c),m=new Array(c),g=0,v;s=Float64Array.from({length:c*c},t?(w,_)=>s[_%c][_/c|0]:(w,_)=>s[_/c|0][_%c]);for(let w=0;w<c;++w){let _=0;for(let y=0;y<c;++y)_+=s[w*c+y]+e*s[y*c+w];g+=u[w]=_}g=Ek(0,xk-n*c)/g,v=g?n:xk/c;{let w=0;r&&d.sort((_,y)=>r(u[_],u[y]));for(const _ of d){const y=w;if(e){const C=Mv(~c+1,c).filter(S=>S<0?s[~S*c+_]:s[_*c+S]);o&&C.sort((S,k)=>o(S<0?-s[~S*c+_]:s[_*c+S],k<0?-s[~k*c+_]:s[_*c+k]));for(const S of C)if(S<0){const k=p[~S*c+_]||(p[~S*c+_]={source:null,target:null});k.target={index:_,startAngle:w,endAngle:w+=s[~S*c+_]*g,value:s[~S*c+_]}}else{const k=p[_*c+S]||(p[_*c+S]={source:null,target:null});k.source={index:_,startAngle:w,endAngle:w+=s[_*c+S]*g,value:s[_*c+S]}}m[_]={index:_,startAngle:y,endAngle:w,value:u[_]}}else{const C=Mv(0,c).filter(S=>s[_*c+S]||s[S*c+_]);o&&C.sort((S,k)=>o(s[_*c+S],s[_*c+k]));for(const S of C){let k;if(_<S?(k=p[_*c+S]||(p[_*c+S]={source:null,target:null}),k.source={index:_,startAngle:w,endAngle:w+=s[_*c+S]*g,value:s[_*c+S]}):(k=p[S*c+_]||(p[S*c+_]={source:null,target:null}),k.target={index:_,startAngle:w,endAngle:w+=s[_*c+S]*g,value:s[_*c+S]},_===S&&(k.source=k.target)),k.source&&k.target&&k.source.value<k.target.value){const x=k.source;k.source=k.target,k.target=x}}m[_]={index:_,startAngle:y,endAngle:w,value:u[_]}}w+=v}}return p=Object.values(p),p.groups=m,i?p.sort(i):p}return l.padAngle=function(s){return arguments.length?(n=Ek(0,s),l):n},l.sortGroups=function(s){return arguments.length?(r=s,l):r},l.sortSubgroups=function(s){return arguments.length?(o=s,l):o},l.sortChords=function(s){return arguments.length?(s==null?i=null:(i=Rce(s))._=s,l):i&&i._},l}const Iv=Math.PI,Vv=2*Iv,al=1e-6,Fce=Vv-al;function Bk(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Hce(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Bk;const n=g3(10,t);return function(r){this._+=r[0];for(let o=1,i=r.length;o<i;++o)this._+=Math.round(arguments[o]*n)/n+r[o]}}let Vu=class{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?Bk:Hce(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,r,o){this._append`Q${+t},${+n},${this._x1=+r},${this._y1=+o}`}bezierCurveTo(t,n,r,o,i,l){this._append`C${+t},${+n},${+r},${+o},${this._x1=+i},${this._y1=+l}`}arcTo(t,n,r,o,i){if(t=+t,n=+n,r=+r,o=+o,i=+i,i<0)throw new Error(`negative radius: ${i}`);let l=this._x1,s=this._y1,c=r-t,u=o-n,d=l-t,p=s-n,m=d*d+p*p;if(this._x1===null)this._append`M${this._x1=t},${this._y1=n}`;else if(m>al)if(!(Math.abs(p*c-u*d)>al)||!i)this._append`L${this._x1=t},${this._y1=n}`;else{let g=r-l,v=o-s,w=c*c+u*u,_=g*g+v*v,y=Math.sqrt(w),C=Math.sqrt(m),S=i*Math.tan((Iv-Math.acos((w+m-_)/(2*y*C)))/2),k=S/C,x=S/y;Math.abs(k-1)>al&&this._append`L${t+k*d},${n+k*p}`,this._append`A${i},${i},0,0,${+(p*g>d*v)},${this._x1=t+x*c},${this._y1=n+x*u}`}}arc(t,n,r,o,i,l){if(t=+t,n=+n,r=+r,l=!!l,r<0)throw new Error(`negative radius: ${r}`);let s=r*Math.cos(o),c=r*Math.sin(o),u=t+s,d=n+c,p=1^l,m=l?o-i:i-o;this._x1===null?this._append`M${u},${d}`:(Math.abs(this._x1-u)>al||Math.abs(this._y1-d)>al)&&this._append`L${u},${d}`,r&&(m<0&&(m=m%Vv+Vv),m>Fce?this._append`A${r},${r},0,1,${p},${t-s},${n-c}A${r},${r},0,1,${p},${this._x1=u},${this._y1=d}`:m>al&&this._append`A${r},${r},0,${+(m>=Iv)},${p},${this._x1=t+r*Math.cos(i)},${this._y1=n+r*Math.sin(i)}`)}rect(t,n,r,o){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+o}h${-r}Z`}toString(){return this._}};function Rv(){return new Vu}Rv.prototype=Vu.prototype;function Uce(e=3){return new Vu(+e)}var Wce=Array.prototype.slice;function ol(e){return function(){return e}}function jce(e){return e.source}function Gce(e){return e.target}function Nk(e){return e.radius}function Yce(e){return e.startAngle}function qce(e){return e.endAngle}function Kce(){return 0}function Xce(){return 10}function Tk(e){var t=jce,n=Gce,r=Nk,o=Nk,i=Yce,l=qce,s=Kce,c=null;function u(){var d,p=t.apply(this,arguments),m=n.apply(this,arguments),g=s.apply(this,arguments)/2,v=Wce.call(arguments),w=+r.apply(this,(v[0]=p,v)),_=i.apply(this,v)-fp,y=l.apply(this,v)-fp,C=+o.apply(this,(v[0]=m,v)),S=i.apply(this,v)-fp,k=l.apply(this,v)-fp;if(c||(c=d=Rv()),g>Ov&&(kk(y-_)>g*2+Ov?y>_?(_+=g,y-=g):(_-=g,y+=g):_=y=(_+y)/2,kk(k-S)>g*2+Ov?k>S?(S+=g,k-=g):(S-=g,k+=g):S=k=(S+k)/2),c.moveTo(w*Ds(_),w*zs(_)),c.arc(0,0,w,_,y),_!==S||y!==k)if(e){var x=+e.apply(this,arguments),B=C-x,N=(S+k)/2;c.quadraticCurveTo(0,0,B*Ds(S),B*zs(S)),c.lineTo(C*Ds(N),C*zs(N)),c.lineTo(B*Ds(k),B*zs(k))}else c.quadraticCurveTo(0,0,C*Ds(S),C*zs(S)),c.arc(0,0,C,S,k);if(c.quadraticCurveTo(0,0,w*Ds(_),w*zs(_)),c.closePath(),d)return c=null,d+""||null}return e&&(u.headRadius=function(d){return arguments.length?(e=typeof d=="function"?d:ol(+d),u):e}),u.radius=function(d){return arguments.length?(r=o=typeof d=="function"?d:ol(+d),u):r},u.sourceRadius=function(d){return arguments.length?(r=typeof d=="function"?d:ol(+d),u):r},u.targetRadius=function(d){return arguments.length?(o=typeof d=="function"?d:ol(+d),u):o},u.startAngle=function(d){return arguments.length?(i=typeof d=="function"?d:ol(+d),u):i},u.endAngle=function(d){return arguments.length?(l=typeof d=="function"?d:ol(+d),u):l},u.padAngle=function(d){return arguments.length?(s=typeof d=="function"?d:ol(+d),u):s},u.source=function(d){return arguments.length?(t=d,u):t},u.target=function(d){return arguments.length?(n=d,u):n},u.context=function(d){return arguments.length?(c=d==null?null:d,u):c},u}function Zce(){return Tk()}function Jce(){return Tk(Xce)}var Qce=Array.prototype,$k=Qce.slice;function eue(e,t){return e-t}function tue(e){for(var t=0,n=e.length,r=e[n-1][1]*e[0][0]-e[n-1][0]*e[0][1];++t<n;)r+=e[t-1][1]*e[t][0]-e[t-1][0]*e[t][1];return r}const ai=e=>()=>e;function nue(e,t){for(var n=-1,r=t.length,o;++n<r;)if(o=rue(e,t[n]))return o;return 0}function rue(e,t){for(var n=t[0],r=t[1],o=-1,i=0,l=e.length,s=l-1;i<l;s=i++){var c=e[i],u=c[0],d=c[1],p=e[s],m=p[0],g=p[1];if(aue(c,p,t))return 0;d>r!=g>r&&n<(m-u)*(r-d)/(g-d)+u&&(o=-o)}return o}function aue(e,t,n){var r;return oue(e,t,n)&&iue(e[r=+(e[0]===t[0])],n[r],t[r])}function oue(e,t,n){return(t[0]-e[0])*(n[1]-e[1])===(n[0]-e[0])*(t[1]-e[1])}function iue(e,t,n){return e<=t&&t<=n||n<=t&&t<=e}function lue(){}var go=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function Lv(){var e=1,t=1,n=Ly,r=c;function o(u){var d=n(u);if(Array.isArray(d))d=d.slice().sort(eue);else{const p=xs(u,sue);for(d=Yi(...Ry(p[0],p[1],d),d);d[d.length-1]>=p[1];)d.pop();for(;d[1]<p[0];)d.shift()}return d.map(p=>i(u,p))}function i(u,d){const p=d==null?NaN:+d;if(isNaN(p))throw new Error(`invalid value: ${d}`);var m=[],g=[];return l(u,p,function(v){r(v,u,p),tue(v)>0?m.push([v]):g.push(v)}),g.forEach(function(v){for(var w=0,_=m.length,y;w<_;++w)if(nue((y=m[w])[0],v)!==-1){y.push(v);return}}),{type:"MultiPolygon",value:d,coordinates:m}}function l(u,d,p){var m=new Array,g=new Array,v,w,_,y,C,S;for(v=w=-1,y=il(u[0],d),go[y<<1].forEach(k);++v<e-1;)_=y,y=il(u[v+1],d),go[_|y<<1].forEach(k);for(go[y<<0].forEach(k);++w<t-1;){for(v=-1,y=il(u[w*e+e],d),C=il(u[w*e],d),go[y<<1|C<<2].forEach(k);++v<e-1;)_=y,y=il(u[w*e+e+v+1],d),S=C,C=il(u[w*e+v+1],d),go[_|y<<1|C<<2|S<<3].forEach(k);go[y|C<<3].forEach(k)}for(v=-1,C=u[w*e]>=d,go[C<<2].forEach(k);++v<e-1;)S=C,C=il(u[w*e+v+1],d),go[C<<2|S<<3].forEach(k);go[C<<3].forEach(k);function k(x){var B=[x[0][0]+v,x[0][1]+w],N=[x[1][0]+v,x[1][1]+w],$=s(B),T=s(N),M,A;(M=g[$])?(A=m[T])?(delete g[M.end],delete m[A.start],M===A?(M.ring.push(N),p(M.ring)):m[M.start]=g[A.end]={start:M.start,end:A.end,ring:M.ring.concat(A.ring)}):(delete g[M.end],M.ring.push(N),g[M.end=T]=M):(M=m[T])?(A=g[$])?(delete m[M.start],delete g[A.end],M===A?(M.ring.push(N),p(M.ring)):m[A.start]=g[M.end]={start:A.start,end:M.end,ring:A.ring.concat(M.ring)}):(delete m[M.start],M.ring.unshift(B),m[M.start=$]=M):m[$]=g[T]={start:$,end:T,ring:[B,N]}}}function s(u){return u[0]*2+u[1]*(e+1)*4}function c(u,d,p){u.forEach(function(m){var g=m[0],v=m[1],w=g|0,_=v|0,y=Dv(d[_*e+w]);g>0&&g<e&&w===g&&(m[0]=Ak(g,Dv(d[_*e+w-1]),y,p)),v>0&&v<t&&_===v&&(m[1]=Ak(v,Dv(d[(_-1)*e+w]),y,p))})}return o.contour=i,o.size=function(u){if(!arguments.length)return[e,t];var d=Math.floor(u[0]),p=Math.floor(u[1]);if(!(d>=0&&p>=0))throw new Error("invalid size");return e=d,t=p,o},o.thresholds=function(u){return arguments.length?(n=typeof u=="function"?u:Array.isArray(u)?ai($k.call(u)):ai(u),o):n},o.smooth=function(u){return arguments.length?(r=u?c:lue,o):r===c},o}function sue(e){return isFinite(e)?e:NaN}function il(e,t){return e==null?!1:+e>=t}function Dv(e){return e==null||isNaN(e=+e)?-1/0:e}function Ak(e,t,n,r){const o=r-t,i=n-t,l=isFinite(o)||isFinite(i)?o/i:Math.sign(o)/Math.sign(i);return isNaN(l)?e:e+l-.5}function cue(e){return e[0]}function uue(e){return e[1]}function fue(){return 1}function due(){var e=cue,t=uue,n=fue,r=960,o=500,i=20,l=2,s=i*3,c=r+s*2>>l,u=o+s*2>>l,d=ai(20);function p(C){var S=new Float32Array(c*u),k=Math.pow(2,-l),x=-1;for(const z of C){var B=(e(z,++x,C)+s)*k,N=(t(z,x,C)+s)*k,$=+n(z,x,C);if($&&B>=0&&B<c&&N>=0&&N<u){var T=Math.floor(B),M=Math.floor(N),A=B-T-.5,F=N-M-.5;S[T+M*c]+=(1-A)*(1-F)*$,S[T+1+M*c]+=A*(1-F)*$,S[T+1+(M+1)*c]+=A*F*$,S[T+(M+1)*c]+=(1-A)*F*$}}return ES({data:S,width:c,height:u},i*k),S}function m(C){var S=p(C),k=d(S),x=Math.pow(2,2*l);return Array.isArray(k)||(k=Yi(Number.MIN_VALUE,Ia(S)/x,k)),Lv().size([c,u]).thresholds(k.map(B=>B*x))(S).map((B,N)=>(B.value=+k[N],g(B)))}m.contours=function(C){var S=p(C),k=Lv().size([c,u]),x=Math.pow(2,2*l),B=N=>{N=+N;var $=g(k.contour(S,N*x));return $.value=N,$};return Object.defineProperty(B,"max",{get:()=>Ia(S)/x}),B};function g(C){return C.coordinates.forEach(v),C}function v(C){C.forEach(w)}function w(C){C.forEach(_)}function _(C){C[0]=C[0]*Math.pow(2,l)-s,C[1]=C[1]*Math.pow(2,l)-s}function y(){return s=i*3,c=r+s*2>>l,u=o+s*2>>l,m}return m.x=function(C){return arguments.length?(e=typeof C=="function"?C:ai(+C),m):e},m.y=function(C){return arguments.length?(t=typeof C=="function"?C:ai(+C),m):t},m.weight=function(C){return arguments.length?(n=typeof C=="function"?C:ai(+C),m):n},m.size=function(C){if(!arguments.length)return[r,o];var S=+C[0],k=+C[1];if(!(S>=0&&k>=0))throw new Error("invalid size");return r=S,o=k,y()},m.cellSize=function(C){if(!arguments.length)return 1<<l;if(!((C=+C)>=1))throw new Error("invalid cell size");return l=Math.floor(Math.log(C)/Math.LN2),y()},m.thresholds=function(C){return arguments.length?(d=typeof C=="function"?C:Array.isArray(C)?ai($k.call(C)):ai(C),m):d},m.bandwidth=function(C){if(!arguments.length)return Math.sqrt(i*(i+1));if(!((C=+C)>=0))throw new Error("invalid bandwidth");return i=(Math.sqrt(4*C*C+1)-1)/2,y()},m}const yo=11102230246251565e-32,On=134217729,hue=(3+8*yo)*yo;function zv(e,t,n,r,o){let i,l,s,c,u=t[0],d=r[0],p=0,m=0;d>u==d>-u?(i=u,u=t[++p]):(i=d,d=r[++m]);let g=0;if(p<e&&m<n)for(d>u==d>-u?(l=u+i,s=i-(l-u),u=t[++p]):(l=d+i,s=i-(l-d),d=r[++m]),i=l,s!==0&&(o[g++]=s);p<e&&m<n;)d>u==d>-u?(l=i+u,c=l-i,s=i-(l-c)+(u-c),u=t[++p]):(l=i+d,c=l-i,s=i-(l-c)+(d-c),d=r[++m]),i=l,s!==0&&(o[g++]=s);for(;p<e;)l=i+u,c=l-i,s=i-(l-c)+(u-c),u=t[++p],i=l,s!==0&&(o[g++]=s);for(;m<n;)l=i+d,c=l-i,s=i-(l-c)+(d-c),d=r[++m],i=l,s!==0&&(o[g++]=s);return(i!==0||g===0)&&(o[g++]=i),g}function pue(e,t){let n=t[0];for(let r=1;r<e;r++)n+=t[r];return n}function Ru(e){return new Float64Array(e)}const mue=(3+16*yo)*yo,gue=(2+12*yo)*yo,yue=(9+64*yo)*yo*yo,Fs=Ru(4),Ok=Ru(8),Mk=Ru(12),Pk=Ru(16),Wn=Ru(4);function vue(e,t,n,r,o,i,l){let s,c,u,d,p,m,g,v,w,_,y,C,S,k,x,B,N,$;const T=e-o,M=n-o,A=t-i,F=r-i;k=T*F,m=On*T,g=m-(m-T),v=T-g,m=On*F,w=m-(m-F),_=F-w,x=v*_-(k-g*w-v*w-g*_),B=A*M,m=On*A,g=m-(m-A),v=A-g,m=On*M,w=m-(m-M),_=M-w,N=v*_-(B-g*w-v*w-g*_),y=x-N,p=x-y,Fs[0]=x-(y+p)+(p-N),C=k+y,p=C-k,S=k-(C-p)+(y-p),y=S-B,p=S-y,Fs[1]=S-(y+p)+(p-B),$=C+y,p=$-C,Fs[2]=C-($-p)+(y-p),Fs[3]=$;let z=pue(4,Fs),O=gue*l;if(z>=O||-z>=O||(p=e-T,s=e-(T+p)+(p-o),p=n-M,u=n-(M+p)+(p-o),p=t-A,c=t-(A+p)+(p-i),p=r-F,d=r-(F+p)+(p-i),s===0&&c===0&&u===0&&d===0)||(O=yue*l+hue*Math.abs(z),z+=T*d+F*s-(A*u+M*c),z>=O||-z>=O))return z;k=s*F,m=On*s,g=m-(m-s),v=s-g,m=On*F,w=m-(m-F),_=F-w,x=v*_-(k-g*w-v*w-g*_),B=c*M,m=On*c,g=m-(m-c),v=c-g,m=On*M,w=m-(m-M),_=M-w,N=v*_-(B-g*w-v*w-g*_),y=x-N,p=x-y,Wn[0]=x-(y+p)+(p-N),C=k+y,p=C-k,S=k-(C-p)+(y-p),y=S-B,p=S-y,Wn[1]=S-(y+p)+(p-B),$=C+y,p=$-C,Wn[2]=C-($-p)+(y-p),Wn[3]=$;const L=zv(4,Fs,4,Wn,Ok);k=T*d,m=On*T,g=m-(m-T),v=T-g,m=On*d,w=m-(m-d),_=d-w,x=v*_-(k-g*w-v*w-g*_),B=A*u,m=On*A,g=m-(m-A),v=A-g,m=On*u,w=m-(m-u),_=u-w,N=v*_-(B-g*w-v*w-g*_),y=x-N,p=x-y,Wn[0]=x-(y+p)+(p-N),C=k+y,p=C-k,S=k-(C-p)+(y-p),y=S-B,p=S-y,Wn[1]=S-(y+p)+(p-B),$=C+y,p=$-C,Wn[2]=C-($-p)+(y-p),Wn[3]=$;const V=zv(L,Ok,4,Wn,Mk);k=s*d,m=On*s,g=m-(m-s),v=s-g,m=On*d,w=m-(m-d),_=d-w,x=v*_-(k-g*w-v*w-g*_),B=c*u,m=On*c,g=m-(m-c),v=c-g,m=On*u,w=m-(m-u),_=u-w,N=v*_-(B-g*w-v*w-g*_),y=x-N,p=x-y,Wn[0]=x-(y+p)+(p-N),C=k+y,p=C-k,S=k-(C-p)+(y-p),y=S-B,p=S-y,Wn[1]=S-(y+p)+(p-B),$=C+y,p=$-C,Wn[2]=C-($-p)+(y-p),Wn[3]=$;const H=zv(V,Mk,4,Wn,Pk);return Pk[H-1]}function dp(e,t,n,r,o,i){const l=(t-i)*(n-o),s=(e-o)*(r-i),c=l-s,u=Math.abs(l+s);return Math.abs(c)>=mue*u?c:-vue(e,t,n,r,o,i,u)}const Ik=Math.pow(2,-52),hp=new Uint32Array(512);class pp{static from(t,n=kue,r=Cue){const o=t.length,i=new Float64Array(o*2);for(let l=0;l<o;l++){const s=t[l];i[2*l]=n(s),i[2*l+1]=r(s)}return new pp(i)}constructor(t){const n=t.length>>1;if(n>0&&typeof t[0]!="number")throw new Error("Expected coords to contain numbers.");this.coords=t;const r=Math.max(2*n-5,0);this._triangles=new Uint32Array(r*3),this._halfedges=new Int32Array(r*3),this._hashSize=Math.ceil(Math.sqrt(n)),this._hullPrev=new Uint32Array(n),this._hullNext=new Uint32Array(n),this._hullTri=new Uint32Array(n),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(n),this._dists=new Float64Array(n),this.update()}update(){const{coords:t,_hullPrev:n,_hullNext:r,_hullTri:o,_hullHash:i}=this,l=t.length>>1;let s=1/0,c=1/0,u=-1/0,d=-1/0;for(let T=0;T<l;T++){const M=t[2*T],A=t[2*T+1];M<s&&(s=M),A<c&&(c=A),M>u&&(u=M),A>d&&(d=A),this._ids[T]=T}const p=(s+u)/2,m=(c+d)/2;let g,v,w;for(let T=0,M=1/0;T<l;T++){const A=Fv(p,m,t[2*T],t[2*T+1]);A<M&&(g=T,M=A)}const _=t[2*g],y=t[2*g+1];for(let T=0,M=1/0;T<l;T++){if(T===g)continue;const A=Fv(_,y,t[2*T],t[2*T+1]);A<M&&A>0&&(v=T,M=A)}let C=t[2*v],S=t[2*v+1],k=1/0;for(let T=0;T<l;T++){if(T===g||T===v)continue;const M=wue(_,y,C,S,t[2*T],t[2*T+1]);M<k&&(w=T,k=M)}let x=t[2*w],B=t[2*w+1];if(k===1/0){for(let A=0;A<l;A++)this._dists[A]=t[2*A]-t[0]||t[2*A+1]-t[1];Hs(this._ids,this._dists,0,l-1);const T=new Uint32Array(l);let M=0;for(let A=0,F=-1/0;A<l;A++){const z=this._ids[A],O=this._dists[z];O>F&&(T[M++]=z,F=O)}this.hull=T.subarray(0,M),this.triangles=new Uint32Array(0),this.halfedges=new Uint32Array(0);return}if(dp(_,y,C,S,x,B)<0){const T=v,M=C,A=S;v=w,C=x,S=B,w=T,x=M,B=A}const N=Sue(_,y,C,S,x,B);this._cx=N.x,this._cy=N.y;for(let T=0;T<l;T++)this._dists[T]=Fv(t[2*T],t[2*T+1],N.x,N.y);Hs(this._ids,this._dists,0,l-1),this._hullStart=g;let $=3;r[g]=n[w]=v,r[v]=n[g]=w,r[w]=n[v]=g,o[g]=0,o[v]=1,o[w]=2,i.fill(-1),i[this._hashKey(_,y)]=g,i[this._hashKey(C,S)]=v,i[this._hashKey(x,B)]=w,this.trianglesLen=0,this._addTriangle(g,v,w,-1,-1,-1);for(let T=0,M,A;T<this._ids.length;T++){const F=this._ids[T],z=t[2*F],O=t[2*F+1];if(T>0&&Math.abs(z-M)<=Ik&&Math.abs(O-A)<=Ik||(M=z,A=O,F===g||F===v||F===w))continue;let L=0;for(let ne=0,se=this._hashKey(z,O);ne<this._hashSize&&(L=i[(se+ne)%this._hashSize],!(L!==-1&&L!==r[L]));ne++);L=n[L];let V=L,H;for(;H=r[V],dp(z,O,t[2*V],t[2*V+1],t[2*H],t[2*H+1])>=0;)if(V=H,V===L){V=-1;break}if(V===-1)continue;let G=this._addTriangle(V,F,r[V],-1,-1,o[V]);o[F]=this._legalize(G+2),o[V]=G,$++;let W=r[V];for(;H=r[W],dp(z,O,t[2*W],t[2*W+1],t[2*H],t[2*H+1])<0;)G=this._addTriangle(W,F,H,o[F],-1,o[W]),o[F]=this._legalize(G+2),r[W]=W,$--,W=H;if(V===L)for(;H=n[V],dp(z,O,t[2*H],t[2*H+1],t[2*V],t[2*V+1])<0;)G=this._addTriangle(H,F,V,-1,o[V],o[H]),this._legalize(G+2),o[H]=G,r[V]=V,$--,V=H;this._hullStart=n[F]=V,r[V]=n[W]=F,r[F]=W,i[this._hashKey(z,O)]=F,i[this._hashKey(t[2*V],t[2*V+1])]=V}this.hull=new Uint32Array($);for(let T=0,M=this._hullStart;T<$;T++)this.hull[T]=M,M=r[M];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(t,n){return Math.floor(bue(t-this._cx,n-this._cy)*this._hashSize)%this._hashSize}_legalize(t){const{_triangles:n,_halfedges:r,coords:o}=this;let i=0,l=0;for(;;){const s=r[t],c=t-t%3;if(l=c+(t+2)%3,s===-1){if(i===0)break;t=hp[--i];continue}const u=s-s%3,d=c+(t+1)%3,p=u+(s+2)%3,m=n[l],g=n[t],v=n[d],w=n[p];if(_ue(o[2*m],o[2*m+1],o[2*g],o[2*g+1],o[2*v],o[2*v+1],o[2*w],o[2*w+1])){n[t]=w,n[s]=m;const y=r[p];if(y===-1){let S=this._hullStart;do{if(this._hullTri[S]===p){this._hullTri[S]=t;break}S=this._hullPrev[S]}while(S!==this._hullStart)}this._link(t,y),this._link(s,r[l]),this._link(l,p);const C=u+(s+1)%3;i<hp.length&&(hp[i++]=C)}else{if(i===0)break;t=hp[--i]}}return l}_link(t,n){this._halfedges[t]=n,n!==-1&&(this._halfedges[n]=t)}_addTriangle(t,n,r,o,i,l){const s=this.trianglesLen;return this._triangles[s]=t,this._triangles[s+1]=n,this._triangles[s+2]=r,this._link(s,o),this._link(s+1,i),this._link(s+2,l),this.trianglesLen+=3,s}}function bue(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}function Fv(e,t,n,r){const o=e-n,i=t-r;return o*o+i*i}function _ue(e,t,n,r,o,i,l,s){const c=e-l,u=t-s,d=n-l,p=r-s,m=o-l,g=i-s,v=c*c+u*u,w=d*d+p*p,_=m*m+g*g;return c*(p*_-w*g)-u*(d*_-w*m)+v*(d*g-p*m)<0}function wue(e,t,n,r,o,i){const l=n-e,s=r-t,c=o-e,u=i-t,d=l*l+s*s,p=c*c+u*u,m=.5/(l*u-s*c),g=(u*d-s*p)*m,v=(l*p-c*d)*m;return g*g+v*v}function Sue(e,t,n,r,o,i){const l=n-e,s=r-t,c=o-e,u=i-t,d=l*l+s*s,p=c*c+u*u,m=.5/(l*u-s*c),g=e+(u*d-s*p)*m,v=t+(l*p-c*d)*m;return{x:g,y:v}}function Hs(e,t,n,r){if(r-n<=20)for(let o=n+1;o<=r;o++){const i=e[o],l=t[i];let s=o-1;for(;s>=n&&t[e[s]]>l;)e[s+1]=e[s--];e[s+1]=i}else{const o=n+r>>1;let i=n+1,l=r;Lu(e,o,i),t[e[n]]>t[e[r]]&&Lu(e,n,r),t[e[i]]>t[e[r]]&&Lu(e,i,r),t[e[n]]>t[e[i]]&&Lu(e,n,i);const s=e[i],c=t[s];for(;;){do i++;while(t[e[i]]<c);do l--;while(t[e[l]]>c);if(l<i)break;Lu(e,i,l)}e[n+1]=e[l],e[l]=s,r-i+1>=l-n?(Hs(e,t,i,r),Hs(e,t,n,l-1)):(Hs(e,t,n,l-1),Hs(e,t,i,r))}}function Lu(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function kue(e){return e[0]}function Cue(e){return e[1]}const Vk=1e-6;class ll{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(t,n){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(t,n){this._+=`L${this._x1=+t},${this._y1=+n}`}arc(t,n,r){t=+t,n=+n,r=+r;const o=t+r,i=n;if(r<0)throw new Error("negative radius");this._x1===null?this._+=`M${o},${i}`:(Math.abs(this._x1-o)>Vk||Math.abs(this._y1-i)>Vk)&&(this._+="L"+o+","+i),r&&(this._+=`A${r},${r},0,1,1,${t-r},${n}A${r},${r},0,1,1,${this._x1=o},${this._y1=i}`)}rect(t,n,r,o){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${+r}v${+o}h${-r}Z`}value(){return this._||null}}class Hv{constructor(){this._=[]}moveTo(t,n){this._.push([t,n])}closePath(){this._.push(this._[0].slice())}lineTo(t,n){this._.push([t,n])}value(){return this._.length?this._:null}}class Rk{constructor(t,[n,r,o,i]=[0,0,960,500]){if(!((o=+o)>=(n=+n))||!((i=+i)>=(r=+r)))throw new Error("invalid bounds");this.delaunay=t,this._circumcenters=new Float64Array(t.points.length*2),this.vectors=new Float64Array(t.points.length*2),this.xmax=o,this.xmin=n,this.ymax=i,this.ymin=r,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:t,hull:n,triangles:r},vectors:o}=this;let i,l;const s=this.circumcenters=this._circumcenters.subarray(0,r.length/3*2);for(let w=0,_=0,y=r.length,C,S;w<y;w+=3,_+=2){const k=r[w]*2,x=r[w+1]*2,B=r[w+2]*2,N=t[k],$=t[k+1],T=t[x],M=t[x+1],A=t[B],F=t[B+1],z=T-N,O=M-$,L=A-N,V=F-$,H=(z*V-O*L)*2;if(Math.abs(H)<1e-9){if(i===void 0){i=l=0;for(const W of n)i+=t[W*2],l+=t[W*2+1];i/=n.length,l/=n.length}const G=1e9*Math.sign((i-N)*V-(l-$)*L);C=(N+A)/2-G*V,S=($+F)/2+G*L}else{const G=1/H,W=z*z+O*O,ne=L*L+V*V;C=N+(V*W-O*ne)*G,S=$+(z*ne-L*W)*G}s[_]=C,s[_+1]=S}let c=n[n.length-1],u,d=c*4,p,m=t[2*c],g,v=t[2*c+1];o.fill(0);for(let w=0;w<n.length;++w)c=n[w],u=d,p=m,g=v,d=c*4,m=t[2*c],v=t[2*c+1],o[u+2]=o[d]=g-v,o[u+3]=o[d+1]=m-p}render(t){const n=t==null?t=new ll:void 0,{delaunay:{halfedges:r,inedges:o,hull:i},circumcenters:l,vectors:s}=this;if(i.length<=1)return null;for(let d=0,p=r.length;d<p;++d){const m=r[d];if(m<d)continue;const g=Math.floor(d/3)*2,v=Math.floor(m/3)*2,w=l[g],_=l[g+1],y=l[v],C=l[v+1];this._renderSegment(w,_,y,C,t)}let c,u=i[i.length-1];for(let d=0;d<i.length;++d){c=u,u=i[d];const p=Math.floor(o[u]/3)*2,m=l[p],g=l[p+1],v=c*4,w=this._project(m,g,s[v+2],s[v+3]);w&&this._renderSegment(m,g,w[0],w[1],t)}return n&&n.value()}renderBounds(t){const n=t==null?t=new ll:void 0;return t.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),n&&n.value()}renderCell(t,n){const r=n==null?n=new ll:void 0,o=this._clip(t);if(o===null||!o.length)return;n.moveTo(o[0],o[1]);let i=o.length;for(;o[0]===o[i-2]&&o[1]===o[i-1]&&i>1;)i-=2;for(let l=2;l<i;l+=2)(o[l]!==o[l-2]||o[l+1]!==o[l-1])&&n.lineTo(o[l],o[l+1]);return n.closePath(),r&&r.value()}*cellPolygons(){const{delaunay:{points:t}}=this;for(let n=0,r=t.length/2;n<r;++n){const o=this.cellPolygon(n);o&&(o.index=n,yield o)}}cellPolygon(t){const n=new Hv;return this.renderCell(t,n),n.value()}_renderSegment(t,n,r,o,i){let l;const s=this._regioncode(t,n),c=this._regioncode(r,o);s===0&&c===0?(i.moveTo(t,n),i.lineTo(r,o)):(l=this._clipSegment(t,n,r,o,s,c))&&(i.moveTo(l[0],l[1]),i.lineTo(l[2],l[3]))}contains(t,n,r){return n=+n,n!==n||(r=+r,r!==r)?!1:this.delaunay._step(t,n,r)===t}*neighbors(t){const n=this._clip(t);if(n)for(const r of this.delaunay.neighbors(t)){const o=this._clip(r);if(o){e:for(let i=0,l=n.length;i<l;i+=2)for(let s=0,c=o.length;s<c;s+=2)if(n[i]===o[s]&&n[i+1]===o[s+1]&&n[(i+2)%l]===o[(s+c-2)%c]&&n[(i+3)%l]===o[(s+c-1)%c]){yield r;break e}}}}_cell(t){const{circumcenters:n,delaunay:{inedges:r,halfedges:o,triangles:i}}=this,l=r[t];if(l===-1)return null;const s=[];let c=l;do{const u=Math.floor(c/3);if(s.push(n[u*2],n[u*2+1]),c=c%3===2?c-2:c+1,i[c]!==t)break;c=o[c]}while(c!==l&&c!==-1);return s}_clip(t){if(t===0&&this.delaunay.hull.length===1)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const n=this._cell(t);if(n===null)return null;const{vectors:r}=this,o=t*4;return this._simplify(r[o]||r[o+1]?this._clipInfinite(t,n,r[o],r[o+1],r[o+2],r[o+3]):this._clipFinite(t,n))}_clipFinite(t,n){const r=n.length;let o=null,i,l,s=n[r-2],c=n[r-1],u,d=this._regioncode(s,c),p,m=0;for(let g=0;g<r;g+=2)if(i=s,l=c,s=n[g],c=n[g+1],u=d,d=this._regioncode(s,c),u===0&&d===0)p=m,m=0,o?o.push(s,c):o=[s,c];else{let v,w,_,y,C;if(u===0){if((v=this._clipSegment(i,l,s,c,u,d))===null)continue;[w,_,y,C]=v}else{if((v=this._clipSegment(s,c,i,l,d,u))===null)continue;[y,C,w,_]=v,p=m,m=this._edgecode(w,_),p&&m&&this._edge(t,p,m,o,o.length),o?o.push(w,_):o=[w,_]}p=m,m=this._edgecode(y,C),p&&m&&this._edge(t,p,m,o,o.length),o?o.push(y,C):o=[y,C]}if(o)p=m,m=this._edgecode(o[0],o[1]),p&&m&&this._edge(t,p,m,o,o.length);else if(this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return o}_clipSegment(t,n,r,o,i,l){const s=i<l;for(s&&([t,n,r,o,i,l]=[r,o,t,n,l,i]);;){if(i===0&&l===0)return s?[r,o,t,n]:[t,n,r,o];if(i&l)return null;let c,u,d=i||l;d&8?(c=t+(r-t)*(this.ymax-n)/(o-n),u=this.ymax):d&4?(c=t+(r-t)*(this.ymin-n)/(o-n),u=this.ymin):d&2?(u=n+(o-n)*(this.xmax-t)/(r-t),c=this.xmax):(u=n+(o-n)*(this.xmin-t)/(r-t),c=this.xmin),i?(t=c,n=u,i=this._regioncode(t,n)):(r=c,o=u,l=this._regioncode(r,o))}}_clipInfinite(t,n,r,o,i,l){let s=Array.from(n),c;if((c=this._project(s[0],s[1],r,o))&&s.unshift(c[0],c[1]),(c=this._project(s[s.length-2],s[s.length-1],i,l))&&s.push(c[0],c[1]),s=this._clipFinite(t,s))for(let u=0,d=s.length,p,m=this._edgecode(s[d-2],s[d-1]);u<d;u+=2)p=m,m=this._edgecode(s[u],s[u+1]),p&&m&&(u=this._edge(t,p,m,s,u),d=s.length);else this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}_edge(t,n,r,o,i){for(;n!==r;){let l,s;switch(n){case 5:n=4;continue;case 4:n=6,l=this.xmax,s=this.ymin;break;case 6:n=2;continue;case 2:n=10,l=this.xmax,s=this.ymax;break;case 10:n=8;continue;case 8:n=9,l=this.xmin,s=this.ymax;break;case 9:n=1;continue;case 1:n=5,l=this.xmin,s=this.ymin;break}(o[i]!==l||o[i+1]!==s)&&this.contains(t,l,s)&&(o.splice(i,0,l,s),i+=2)}return i}_project(t,n,r,o){let i=1/0,l,s,c;if(o<0){if(n<=this.ymin)return null;(l=(this.ymin-n)/o)<i&&(c=this.ymin,s=t+(i=l)*r)}else if(o>0){if(n>=this.ymax)return null;(l=(this.ymax-n)/o)<i&&(c=this.ymax,s=t+(i=l)*r)}if(r>0){if(t>=this.xmax)return null;(l=(this.xmax-t)/r)<i&&(s=this.xmax,c=n+(i=l)*o)}else if(r<0){if(t<=this.xmin)return null;(l=(this.xmin-t)/r)<i&&(s=this.xmin,c=n+(i=l)*o)}return[s,c]}_edgecode(t,n){return(t===this.xmin?1:t===this.xmax?2:0)|(n===this.ymin?4:n===this.ymax?8:0)}_regioncode(t,n){return(t<this.xmin?1:t>this.xmax?2:0)|(n<this.ymin?4:n>this.ymax?8:0)}_simplify(t){if(t&&t.length>4){for(let n=0;n<t.length;n+=2){const r=(n+2)%t.length,o=(n+4)%t.length;(t[n]===t[r]&&t[r]===t[o]||t[n+1]===t[r+1]&&t[r+1]===t[o+1])&&(t.splice(r,2),n-=2)}t.length||(t=null)}return t}}const xue=2*Math.PI,Us=Math.pow;function Eue(e){return e[0]}function Bue(e){return e[1]}function Nue(e){const{triangles:t,coords:n}=e;for(let r=0;r<t.length;r+=3){const o=2*t[r],i=2*t[r+1],l=2*t[r+2];if((n[l]-n[o])*(n[i+1]-n[o+1])-(n[i]-n[o])*(n[l+1]-n[o+1])>1e-10)return!1}return!0}function Tue(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class Uv{static from(t,n=Eue,r=Bue,o){return new Uv("length"in t?$ue(t,n,r,o):Float64Array.from(Aue(t,n,r,o)))}constructor(t){this._delaunator=new pp(t),this.inedges=new Int32Array(t.length/2),this._hullIndex=new Int32Array(t.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const t=this._delaunator,n=this.points;if(t.hull&&t.hull.length>2&&Nue(t)){this.collinear=Int32Array.from({length:n.length/2},(m,g)=>g).sort((m,g)=>n[2*m]-n[2*g]||n[2*m+1]-n[2*g+1]);const c=this.collinear[0],u=this.collinear[this.collinear.length-1],d=[n[2*c],n[2*c+1],n[2*u],n[2*u+1]],p=1e-8*Math.hypot(d[3]-d[1],d[2]-d[0]);for(let m=0,g=n.length/2;m<g;++m){const v=Tue(n[2*m],n[2*m+1],p);n[2*m]=v[0],n[2*m+1]=v[1]}this._delaunator=new pp(n)}else delete this.collinear;const r=this.halfedges=this._delaunator.halfedges,o=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,l=this.inedges.fill(-1),s=this._hullIndex.fill(-1);for(let c=0,u=r.length;c<u;++c){const d=i[c%3===2?c-2:c+1];(r[c]===-1||l[d]===-1)&&(l[d]=c)}for(let c=0,u=o.length;c<u;++c)s[o[c]]=c;o.length<=2&&o.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=o[0],l[o[0]]=1,o.length===2&&(l[o[1]]=0,this.triangles[1]=o[1],this.triangles[2]=o[1]))}voronoi(t){return new Rk(this,t)}*neighbors(t){const{inedges:n,hull:r,_hullIndex:o,halfedges:i,triangles:l,collinear:s}=this;if(s){const p=s.indexOf(t);p>0&&(yield s[p-1]),p<s.length-1&&(yield s[p+1]);return}const c=n[t];if(c===-1)return;let u=c,d=-1;do{if(yield d=l[u],u=u%3===2?u-2:u+1,l[u]!==t)return;if(u=i[u],u===-1){const p=r[(o[t]+1)%r.length];p!==d&&(yield p);return}}while(u!==c)}find(t,n,r=0){if(t=+t,t!==t||(n=+n,n!==n))return-1;const o=r;let i;for(;(i=this._step(r,t,n))>=0&&i!==r&&i!==o;)r=i;return i}_step(t,n,r){const{inedges:o,hull:i,_hullIndex:l,halfedges:s,triangles:c,points:u}=this;if(o[t]===-1||!u.length)return(t+1)%(u.length>>1);let d=t,p=Us(n-u[t*2],2)+Us(r-u[t*2+1],2);const m=o[t];let g=m;do{let v=c[g];const w=Us(n-u[v*2],2)+Us(r-u[v*2+1],2);if(w<p&&(p=w,d=v),g=g%3===2?g-2:g+1,c[g]!==t)break;if(g=s[g],g===-1){if(g=i[(l[t]+1)%i.length],g!==v&&Us(n-u[g*2],2)+Us(r-u[g*2+1],2)<p)return g;break}}while(g!==m);return d}render(t){const n=t==null?t=new ll:void 0,{points:r,halfedges:o,triangles:i}=this;for(let l=0,s=o.length;l<s;++l){const c=o[l];if(c<l)continue;const u=i[l]*2,d=i[c]*2;t.moveTo(r[u],r[u+1]),t.lineTo(r[d],r[d+1])}return this.renderHull(t),n&&n.value()}renderPoints(t,n){n===void 0&&(!t||typeof t.moveTo!="function")&&(n=t,t=null),n=n==null?2:+n;const r=t==null?t=new ll:void 0,{points:o}=this;for(let i=0,l=o.length;i<l;i+=2){const s=o[i],c=o[i+1];t.moveTo(s+n,c),t.arc(s,c,n,0,xue)}return r&&r.value()}renderHull(t){const n=t==null?t=new ll:void 0,{hull:r,points:o}=this,i=r[0]*2,l=r.length;t.moveTo(o[i],o[i+1]);for(let s=1;s<l;++s){const c=2*r[s];t.lineTo(o[c],o[c+1])}return t.closePath(),n&&n.value()}hullPolygon(){const t=new Hv;return this.renderHull(t),t.value()}renderTriangle(t,n){const r=n==null?n=new ll:void 0,{points:o,triangles:i}=this,l=i[t*=3]*2,s=i[t+1]*2,c=i[t+2]*2;return n.moveTo(o[l],o[l+1]),n.lineTo(o[s],o[s+1]),n.lineTo(o[c],o[c+1]),n.closePath(),r&&r.value()}*trianglePolygons(){const{triangles:t}=this;for(let n=0,r=t.length/3;n<r;++n)yield this.trianglePolygon(n)}trianglePolygon(t){const n=new Hv;return this.renderTriangle(t,n),n.value()}}function $ue(e,t,n,r){const o=e.length,i=new Float64Array(o*2);for(let l=0;l<o;++l){const s=e[l];i[l*2]=t.call(r,s,l,e),i[l*2+1]=n.call(r,s,l,e)}return i}function*Aue(e,t,n,r){let o=0;for(const i of e)yield t.call(r,i,o,e),yield n.call(r,i,o,e),++o}var Lk={},Wv={},jv=34,Du=10,Gv=13;function Dk(e){return new Function("d","return {"+e.map(function(t,n){return JSON.stringify(t)+": d["+n+'] || ""'}).join(",")+"}")}function Oue(e,t){var n=Dk(e);return function(r,o){return t(n(r),o,e)}}function zk(e){var t=Object.create(null),n=[];return e.forEach(function(r){for(var o in r)o in t||n.push(t[o]=o)}),n}function ur(e,t){var n=e+"",r=n.length;return r<t?new Array(t-r+1).join(0)+n:n}function Mue(e){return e<0?"-"+ur(-e,6):e>9999?"+"+ur(e,6):ur(e,4)}function Pue(e){var t=e.getUTCHours(),n=e.getUTCMinutes(),r=e.getUTCSeconds(),o=e.getUTCMilliseconds();return isNaN(e)?"Invalid Date":Mue(e.getUTCFullYear())+"-"+ur(e.getUTCMonth()+1,2)+"-"+ur(e.getUTCDate(),2)+(o?"T"+ur(t,2)+":"+ur(n,2)+":"+ur(r,2)+"."+ur(o,3)+"Z":r?"T"+ur(t,2)+":"+ur(n,2)+":"+ur(r,2)+"Z":n||t?"T"+ur(t,2)+":"+ur(n,2)+"Z":"")}function mp(e){var t=new RegExp('["'+e+`
|
|
832
|
-
\r]`),n=e.charCodeAt(0);function r(p,m){var g,v,w=o(p,function(_,y){if(g)return g(_,y-1);v=_,g=m?Oue(_,m):Dk(_)});return w.columns=v||[],w}function o(p,m){var g=[],v=p.length,w=0,_=0,y,C=v<=0,S=!1;p.charCodeAt(v-1)===Du&&--v,p.charCodeAt(v-1)===Gv&&--v;function k(){if(C)return Wv;if(S)return S=!1,Lk;var B,N=w,$;if(p.charCodeAt(N)===jv){for(;w++<v&&p.charCodeAt(w)!==jv||p.charCodeAt(++w)===jv;);return(B=w)>=v?C=!0:($=p.charCodeAt(w++))===Du?S=!0:$===Gv&&(S=!0,p.charCodeAt(w)===Du&&++w),p.slice(N+1,B-1).replace(/""/g,'"')}for(;w<v;){if(($=p.charCodeAt(B=w++))===Du)S=!0;else if($===Gv)S=!0,p.charCodeAt(w)===Du&&++w;else if($!==n)continue;return p.slice(N,B)}return C=!0,p.slice(N,v)}for(;(y=k())!==Wv;){for(var x=[];y!==Lk&&y!==Wv;)x.push(y),y=k();m&&(x=m(x,_++))==null||g.push(x)}return g}function i(p,m){return p.map(function(g){return m.map(function(v){return d(g[v])}).join(e)})}function l(p,m){return m==null&&(m=zk(p)),[m.map(d).join(e)].concat(i(p,m)).join(`
|
|
833
|
-
`)}function s(p,m){return m==null&&(m=zk(p)),i(p,m).join(`
|
|
834
|
-
`)}function c(p){return p.map(u).join(`
|
|
835
|
-
`)}function u(p){return p.map(d).join(e)}function d(p){return p==null?"":p instanceof Date?Pue(p):t.test(p+="")?'"'+p.replace(/"/g,'""')+'"':p}return{parse:r,parseRows:o,format:l,formatBody:s,formatRows:c,formatRow:u,formatValue:d}}var sl=mp(","),Fk=sl.parse,Iue=sl.parseRows,Vue=sl.format,Rue=sl.formatBody,Lue=sl.formatRows,Due=sl.formatRow,zue=sl.formatValue,cl=mp(" "),Hk=cl.parse,Fue=cl.parseRows,Hue=cl.format,Uue=cl.formatBody,Wue=cl.formatRows,jue=cl.formatRow,Gue=cl.formatValue;function Yue(e){for(var t in e){var n=e[t].trim(),r,o;if(!n)n=null;else if(n==="true")n=!0;else if(n==="false")n=!1;else if(n==="NaN")n=NaN;else if(!isNaN(r=+n))n=r;else if(o=n.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/))que&&o[4]&&!o[7]&&(n=n.replace(/-/g,"/").replace(/T/," ")),n=new Date(n);else continue;e[t]=n}return e}const que=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function Kue(e){if(!e.ok)throw new Error(e.status+" "+e.statusText);return e.blob()}function Xue(e,t){return fetch(e,t).then(Kue)}function Zue(e){if(!e.ok)throw new Error(e.status+" "+e.statusText);return e.arrayBuffer()}function Jue(e,t){return fetch(e,t).then(Zue)}function Que(e){if(!e.ok)throw new Error(e.status+" "+e.statusText);return e.text()}function gp(e,t){return fetch(e,t).then(Que)}function Uk(e){return function(t,n,r){return arguments.length===2&&typeof n=="function"&&(r=n,n=void 0),gp(t,n).then(function(o){return e(o,r)})}}function efe(e,t,n,r){arguments.length===3&&typeof n=="function"&&(r=n,n=void 0);var o=mp(e);return gp(t,n).then(function(i){return o.parse(i,r)})}var tfe=Uk(Fk),nfe=Uk(Hk);function rfe(e,t){return new Promise(function(n,r){var o=new Image;for(var i in t)o[i]=t[i];o.onerror=r,o.onload=function(){n(o)},o.src=e})}function afe(e){if(!e.ok)throw new Error(e.status+" "+e.statusText);if(!(e.status===204||e.status===205))return e.json()}function Yv(e,t){return fetch(e,t).then(afe)}function qv(e){return(t,n)=>gp(t,n).then(r=>new DOMParser().parseFromString(r,e))}const ofe=qv("application/xml");var ife=qv("text/html"),lfe=qv("image/svg+xml");function sfe(e,t){var n,r=1;e==null&&(e=0),t==null&&(t=0);function o(){var i,l=n.length,s,c=0,u=0;for(i=0;i<l;++i)s=n[i],c+=s.x,u+=s.y;for(c=(c/l-e)*r,u=(u/l-t)*r,i=0;i<l;++i)s=n[i],s.x-=c,s.y-=u}return o.initialize=function(i){n=i},o.x=function(i){return arguments.length?(e=+i,o):e},o.y=function(i){return arguments.length?(t=+i,o):t},o.strength=function(i){return arguments.length?(r=+i,o):r},o}function cfe(e){const t=+this._x.call(null,e),n=+this._y.call(null,e);return Wk(this.cover(t,n),t,n,e)}function Wk(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var o,i=e._root,l={data:r},s=e._x0,c=e._y0,u=e._x1,d=e._y1,p,m,g,v,w,_,y,C;if(!i)return e._root=l,e;for(;i.length;)if((w=t>=(p=(s+u)/2))?s=p:u=p,(_=n>=(m=(c+d)/2))?c=m:d=m,o=i,!(i=i[y=_<<1|w]))return o[y]=l,e;if(g=+e._x.call(null,i.data),v=+e._y.call(null,i.data),t===g&&n===v)return l.next=i,o?o[y]=l:e._root=l,e;do o=o?o[y]=new Array(4):e._root=new Array(4),(w=t>=(p=(s+u)/2))?s=p:u=p,(_=n>=(m=(c+d)/2))?c=m:d=m;while((y=_<<1|w)===(C=(v>=m)<<1|g>=p));return o[C]=i,o[y]=l,e}function ufe(e){var t,n,r=e.length,o,i,l=new Array(r),s=new Array(r),c=1/0,u=1/0,d=-1/0,p=-1/0;for(n=0;n<r;++n)isNaN(o=+this._x.call(null,t=e[n]))||isNaN(i=+this._y.call(null,t))||(l[n]=o,s[n]=i,o<c&&(c=o),o>d&&(d=o),i<u&&(u=i),i>p&&(p=i));if(c>d||u>p)return this;for(this.cover(c,u).cover(d,p),n=0;n<r;++n)Wk(this,l[n],s[n],e[n]);return this}function ffe(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var n=this._x0,r=this._y0,o=this._x1,i=this._y1;if(isNaN(n))o=(n=Math.floor(e))+1,i=(r=Math.floor(t))+1;else{for(var l=o-n||1,s=this._root,c,u;n>e||e>=o||r>t||t>=i;)switch(u=(t<r)<<1|e<n,c=new Array(4),c[u]=s,s=c,l*=2,u){case 0:o=n+l,i=r+l;break;case 1:n=o-l,i=r+l;break;case 2:o=n+l,r=i-l;break;case 3:n=o-l,r=i-l;break}this._root&&this._root.length&&(this._root=s)}return this._x0=n,this._y0=r,this._x1=o,this._y1=i,this}function dfe(){var e=[];return this.visit(function(t){if(!t.length)do e.push(t.data);while(t=t.next)}),e}function hfe(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function jn(e,t,n,r,o){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=o}function pfe(e,t,n){var r,o=this._x0,i=this._y0,l,s,c,u,d=this._x1,p=this._y1,m=[],g=this._root,v,w;for(g&&m.push(new jn(g,o,i,d,p)),n==null?n=1/0:(o=e-n,i=t-n,d=e+n,p=t+n,n*=n);v=m.pop();)if(!(!(g=v.node)||(l=v.x0)>d||(s=v.y0)>p||(c=v.x1)<o||(u=v.y1)<i))if(g.length){var _=(l+c)/2,y=(s+u)/2;m.push(new jn(g[3],_,y,c,u),new jn(g[2],l,y,_,u),new jn(g[1],_,s,c,y),new jn(g[0],l,s,_,y)),(w=(t>=y)<<1|e>=_)&&(v=m[m.length-1],m[m.length-1]=m[m.length-1-w],m[m.length-1-w]=v)}else{var C=e-+this._x.call(null,g.data),S=t-+this._y.call(null,g.data),k=C*C+S*S;if(k<n){var x=Math.sqrt(n=k);o=e-x,i=t-x,d=e+x,p=t+x,r=g.data}}return r}function mfe(e){if(isNaN(d=+this._x.call(null,e))||isNaN(p=+this._y.call(null,e)))return this;var t,n=this._root,r,o,i,l=this._x0,s=this._y0,c=this._x1,u=this._y1,d,p,m,g,v,w,_,y;if(!n)return this;if(n.length)for(;;){if((v=d>=(m=(l+c)/2))?l=m:c=m,(w=p>=(g=(s+u)/2))?s=g:u=g,t=n,!(n=n[_=w<<1|v]))return this;if(!n.length)break;(t[_+1&3]||t[_+2&3]||t[_+3&3])&&(r=t,y=_)}for(;n.data!==e;)if(o=n,!(n=n.next))return this;return(i=n.next)&&delete n.next,o?(i?o.next=i:delete o.next,this):t?(i?t[_]=i:delete t[_],(n=t[0]||t[1]||t[2]||t[3])&&n===(t[3]||t[2]||t[1]||t[0])&&!n.length&&(r?r[y]=n:this._root=n),this):(this._root=i,this)}function gfe(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this}function yfe(){return this._root}function vfe(){var e=0;return this.visit(function(t){if(!t.length)do++e;while(t=t.next)}),e}function bfe(e){var t=[],n,r=this._root,o,i,l,s,c;for(r&&t.push(new jn(r,this._x0,this._y0,this._x1,this._y1));n=t.pop();)if(!e(r=n.node,i=n.x0,l=n.y0,s=n.x1,c=n.y1)&&r.length){var u=(i+s)/2,d=(l+c)/2;(o=r[3])&&t.push(new jn(o,u,d,s,c)),(o=r[2])&&t.push(new jn(o,i,d,u,c)),(o=r[1])&&t.push(new jn(o,u,l,s,d)),(o=r[0])&&t.push(new jn(o,i,l,u,d))}return this}function _fe(e){var t=[],n=[],r;for(this._root&&t.push(new jn(this._root,this._x0,this._y0,this._x1,this._y1));r=t.pop();){var o=r.node;if(o.length){var i,l=r.x0,s=r.y0,c=r.x1,u=r.y1,d=(l+c)/2,p=(s+u)/2;(i=o[0])&&t.push(new jn(i,l,s,d,p)),(i=o[1])&&t.push(new jn(i,d,s,c,p)),(i=o[2])&&t.push(new jn(i,l,p,d,u)),(i=o[3])&&t.push(new jn(i,d,p,c,u))}n.push(r)}for(;r=n.pop();)e(r.node,r.x0,r.y0,r.x1,r.y1);return this}function wfe(e){return e[0]}function Sfe(e){return arguments.length?(this._x=e,this):this._x}function kfe(e){return e[1]}function Cfe(e){return arguments.length?(this._y=e,this):this._y}function yp(e,t,n){var r=new Kv(t==null?wfe:t,n==null?kfe:n,NaN,NaN,NaN,NaN);return e==null?r:r.addAll(e)}function Kv(e,t,n,r,o,i){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=o,this._y1=i,this._root=void 0}function jk(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var Gn=yp.prototype=Kv.prototype;Gn.copy=function(){var e=new Kv(this._x,this._y,this._x0,this._y0,this._x1,this._y1),t=this._root,n,r;if(!t)return e;if(!t.length)return e._root=jk(t),e;for(n=[{source:t,target:e._root=new Array(4)}];t=n.pop();)for(var o=0;o<4;++o)(r=t.source[o])&&(r.length?n.push({source:r,target:t.target[o]=new Array(4)}):t.target[o]=jk(r));return e},Gn.add=cfe,Gn.addAll=ufe,Gn.cover=ffe,Gn.data=dfe,Gn.extent=hfe,Gn.find=pfe,Gn.remove=mfe,Gn.removeAll=gfe,Gn.root=yfe,Gn.size=vfe,Gn.visit=bfe,Gn.visitAfter=_fe,Gn.x=Sfe,Gn.y=Cfe;function sn(e){return function(){return e}}function oi(e){return(e()-.5)*1e-6}function xfe(e){return e.x+e.vx}function Efe(e){return e.y+e.vy}function Bfe(e){var t,n,r,o=1,i=1;typeof e!="function"&&(e=sn(e==null?1:+e));function l(){for(var u,d=t.length,p,m,g,v,w,_,y=0;y<i;++y)for(p=yp(t,xfe,Efe).visitAfter(s),u=0;u<d;++u)m=t[u],w=n[m.index],_=w*w,g=m.x+m.vx,v=m.y+m.vy,p.visit(C);function C(S,k,x,B,N){var $=S.data,T=S.r,M=w+T;if($){if($.index>m.index){var A=g-$.x-$.vx,F=v-$.y-$.vy,z=A*A+F*F;z<M*M&&(A===0&&(A=oi(r),z+=A*A),F===0&&(F=oi(r),z+=F*F),z=(M-(z=Math.sqrt(z)))/z*o,m.vx+=(A*=z)*(M=(T*=T)/(_+T)),m.vy+=(F*=z)*M,$.vx-=A*(M=1-M),$.vy-=F*M)}return}return k>g+M||B<g-M||x>v+M||N<v-M}}function s(u){if(u.data)return u.r=n[u.data.index];for(var d=u.r=0;d<4;++d)u[d]&&u[d].r>u.r&&(u.r=u[d].r)}function c(){if(t){var u,d=t.length,p;for(n=new Array(d),u=0;u<d;++u)p=t[u],n[p.index]=+e(p,u,t)}}return l.initialize=function(u,d){t=u,r=d,c()},l.iterations=function(u){return arguments.length?(i=+u,l):i},l.strength=function(u){return arguments.length?(o=+u,l):o},l.radius=function(u){return arguments.length?(e=typeof u=="function"?u:sn(+u),c(),l):e},l}function Nfe(e){return e.index}function Gk(e,t){var n=e.get(t);if(!n)throw new Error("node not found: "+t);return n}function Tfe(e){var t=Nfe,n=p,r,o=sn(30),i,l,s,c,u,d=1;e==null&&(e=[]);function p(_){return 1/Math.min(s[_.source.index],s[_.target.index])}function m(_){for(var y=0,C=e.length;y<d;++y)for(var S=0,k,x,B,N,$,T,M;S<C;++S)k=e[S],x=k.source,B=k.target,N=B.x+B.vx-x.x-x.vx||oi(u),$=B.y+B.vy-x.y-x.vy||oi(u),T=Math.sqrt(N*N+$*$),T=(T-i[S])/T*_*r[S],N*=T,$*=T,B.vx-=N*(M=c[S]),B.vy-=$*M,x.vx+=N*(M=1-M),x.vy+=$*M}function g(){if(l){var _,y=l.length,C=e.length,S=new Map(l.map((x,B)=>[t(x,B,l),x])),k;for(_=0,s=new Array(y);_<C;++_)k=e[_],k.index=_,typeof k.source!="object"&&(k.source=Gk(S,k.source)),typeof k.target!="object"&&(k.target=Gk(S,k.target)),s[k.source.index]=(s[k.source.index]||0)+1,s[k.target.index]=(s[k.target.index]||0)+1;for(_=0,c=new Array(C);_<C;++_)k=e[_],c[_]=s[k.source.index]/(s[k.source.index]+s[k.target.index]);r=new Array(C),v(),i=new Array(C),w()}}function v(){if(l)for(var _=0,y=e.length;_<y;++_)r[_]=+n(e[_],_,e)}function w(){if(l)for(var _=0,y=e.length;_<y;++_)i[_]=+o(e[_],_,e)}return m.initialize=function(_,y){l=_,u=y,g()},m.links=function(_){return arguments.length?(e=_,g(),m):e},m.id=function(_){return arguments.length?(t=_,m):t},m.iterations=function(_){return arguments.length?(d=+_,m):d},m.strength=function(_){return arguments.length?(n=typeof _=="function"?_:sn(+_),v(),m):n},m.distance=function(_){return arguments.length?(o=typeof _=="function"?_:sn(+_),w(),m):o},m}const $fe=1664525,Afe=1013904223,Yk=4294967296;function Ofe(){let e=1;return()=>(e=($fe*e+Afe)%Yk)/Yk}function Mfe(e){return e.x}function Pfe(e){return e.y}var Ife=10,Vfe=Math.PI*(3-Math.sqrt(5));function Rfe(e){var t,n=1,r=.001,o=1-Math.pow(r,1/300),i=0,l=.6,s=new Map,c=ap(p),u=Ki("tick","end"),d=Ofe();e==null&&(e=[]);function p(){m(),u.call("tick",t),n<r&&(c.stop(),u.call("end",t))}function m(w){var _,y=e.length,C;w===void 0&&(w=1);for(var S=0;S<w;++S)for(n+=(i-n)*o,s.forEach(function(k){k(n)}),_=0;_<y;++_)C=e[_],C.fx==null?C.x+=C.vx*=l:(C.x=C.fx,C.vx=0),C.fy==null?C.y+=C.vy*=l:(C.y=C.fy,C.vy=0);return t}function g(){for(var w=0,_=e.length,y;w<_;++w){if(y=e[w],y.index=w,y.fx!=null&&(y.x=y.fx),y.fy!=null&&(y.y=y.fy),isNaN(y.x)||isNaN(y.y)){var C=Ife*Math.sqrt(.5+w),S=w*Vfe;y.x=C*Math.cos(S),y.y=C*Math.sin(S)}(isNaN(y.vx)||isNaN(y.vy))&&(y.vx=y.vy=0)}}function v(w){return w.initialize&&w.initialize(e,d),w}return g(),t={tick:m,restart:function(){return c.restart(p),t},stop:function(){return c.stop(),t},nodes:function(w){return arguments.length?(e=w,g(),s.forEach(v),t):e},alpha:function(w){return arguments.length?(n=+w,t):n},alphaMin:function(w){return arguments.length?(r=+w,t):r},alphaDecay:function(w){return arguments.length?(o=+w,t):+o},alphaTarget:function(w){return arguments.length?(i=+w,t):i},velocityDecay:function(w){return arguments.length?(l=1-w,t):1-l},randomSource:function(w){return arguments.length?(d=w,s.forEach(v),t):d},force:function(w,_){return arguments.length>1?(_==null?s.delete(w):s.set(w,v(_)),t):s.get(w)},find:function(w,_,y){var C=0,S=e.length,k,x,B,N,$;for(y==null?y=1/0:y*=y,C=0;C<S;++C)N=e[C],k=w-N.x,x=_-N.y,B=k*k+x*x,B<y&&($=N,y=B);return $},on:function(w,_){return arguments.length>1?(u.on(w,_),t):u.on(w)}}}function Lfe(){var e,t,n,r,o=sn(-30),i,l=1,s=1/0,c=.81;function u(g){var v,w=e.length,_=yp(e,Mfe,Pfe).visitAfter(p);for(r=g,v=0;v<w;++v)t=e[v],_.visit(m)}function d(){if(e){var g,v=e.length,w;for(i=new Array(v),g=0;g<v;++g)w=e[g],i[w.index]=+o(w,g,e)}}function p(g){var v=0,w,_,y=0,C,S,k;if(g.length){for(C=S=k=0;k<4;++k)(w=g[k])&&(_=Math.abs(w.value))&&(v+=w.value,y+=_,C+=_*w.x,S+=_*w.y);g.x=C/y,g.y=S/y}else{w=g,w.x=w.data.x,w.y=w.data.y;do v+=i[w.data.index];while(w=w.next)}g.value=v}function m(g,v,w,_){if(!g.value)return!0;var y=g.x-t.x,C=g.y-t.y,S=_-v,k=y*y+C*C;if(S*S/c<k)return k<s&&(y===0&&(y=oi(n),k+=y*y),C===0&&(C=oi(n),k+=C*C),k<l&&(k=Math.sqrt(l*k)),t.vx+=y*g.value*r/k,t.vy+=C*g.value*r/k),!0;if(g.length||k>=s)return;(g.data!==t||g.next)&&(y===0&&(y=oi(n),k+=y*y),C===0&&(C=oi(n),k+=C*C),k<l&&(k=Math.sqrt(l*k)));do g.data!==t&&(S=i[g.data.index]*r/k,t.vx+=y*S,t.vy+=C*S);while(g=g.next)}return u.initialize=function(g,v){e=g,n=v,d()},u.strength=function(g){return arguments.length?(o=typeof g=="function"?g:sn(+g),d(),u):o},u.distanceMin=function(g){return arguments.length?(l=g*g,u):Math.sqrt(l)},u.distanceMax=function(g){return arguments.length?(s=g*g,u):Math.sqrt(s)},u.theta=function(g){return arguments.length?(c=g*g,u):Math.sqrt(c)},u}function Dfe(e,t,n){var r,o=sn(.1),i,l;typeof e!="function"&&(e=sn(+e)),t==null&&(t=0),n==null&&(n=0);function s(u){for(var d=0,p=r.length;d<p;++d){var m=r[d],g=m.x-t||1e-6,v=m.y-n||1e-6,w=Math.sqrt(g*g+v*v),_=(l[d]-w)*i[d]*u/w;m.vx+=g*_,m.vy+=v*_}}function c(){if(r){var u,d=r.length;for(i=new Array(d),l=new Array(d),u=0;u<d;++u)l[u]=+e(r[u],u,r),i[u]=isNaN(l[u])?0:+o(r[u],u,r)}}return s.initialize=function(u){r=u,c()},s.strength=function(u){return arguments.length?(o=typeof u=="function"?u:sn(+u),c(),s):o},s.radius=function(u){return arguments.length?(e=typeof u=="function"?u:sn(+u),c(),s):e},s.x=function(u){return arguments.length?(t=+u,s):t},s.y=function(u){return arguments.length?(n=+u,s):n},s}function zfe(e){var t=sn(.1),n,r,o;typeof e!="function"&&(e=sn(e==null?0:+e));function i(s){for(var c=0,u=n.length,d;c<u;++c)d=n[c],d.vx+=(o[c]-d.x)*r[c]*s}function l(){if(n){var s,c=n.length;for(r=new Array(c),o=new Array(c),s=0;s<c;++s)r[s]=isNaN(o[s]=+e(n[s],s,n))?0:+t(n[s],s,n)}}return i.initialize=function(s){n=s,l()},i.strength=function(s){return arguments.length?(t=typeof s=="function"?s:sn(+s),l(),i):t},i.x=function(s){return arguments.length?(e=typeof s=="function"?s:sn(+s),l(),i):e},i}function Ffe(e){var t=sn(.1),n,r,o;typeof e!="function"&&(e=sn(e==null?0:+e));function i(s){for(var c=0,u=n.length,d;c<u;++c)d=n[c],d.vy+=(o[c]-d.y)*r[c]*s}function l(){if(n){var s,c=n.length;for(r=new Array(c),o=new Array(c),s=0;s<c;++s)r[s]=isNaN(o[s]=+e(n[s],s,n))?0:+t(n[s],s,n)}}return i.initialize=function(s){n=s,l()},i.strength=function(s){return arguments.length?(t=typeof s=="function"?s:sn(+s),l(),i):t},i.y=function(s){return arguments.length?(e=typeof s=="function"?s:sn(+s),l(),i):e},i}function Hfe(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function vp(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Ws(e){return e=vp(Math.abs(e)),e?e[1]:NaN}function Ufe(e,t){return function(n,r){for(var o=n.length,i=[],l=0,s=e[0],c=0;o>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),i.push(n.substring(o-=s,o+s)),!((c+=s+1)>r));)s=e[l=(l+1)%e.length];return i.reverse().join(t)}}function Wfe(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var jfe=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function js(e){if(!(t=jfe.exec(e)))throw new Error("invalid format: "+e);var t;return new bp({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]})}js.prototype=bp.prototype;function bp(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+""}bp.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 Gfe(e){e:for(var t=e.length,n=1,r=-1,o;n<t;++n)switch(e[n]){case".":r=o=n;break;case"0":r===0&&(r=n),o=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(o+1):e}var qk;function Yfe(e,t){var n=vp(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(qk=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,l=r.length;return i===l?r:i>l?r+new Array(i-l+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+vp(e,Math.max(0,t+i-1))[0]}function Kk(e,t){var n=vp(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}const Xk={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:Hfe,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)=>Kk(e*100,t),r:Kk,s:Yfe,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Zk(e){return e}var Jk=Array.prototype.map,Qk=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function eC(e){var t=e.grouping===void 0||e.thousands===void 0?Zk:Ufe(Jk.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",o=e.decimal===void 0?".":e.decimal+"",i=e.numerals===void 0?Zk:Wfe(Jk.call(e.numerals,String)),l=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"−":e.minus+"",c=e.nan===void 0?"NaN":e.nan+"";function u(p){p=js(p);var m=p.fill,g=p.align,v=p.sign,w=p.symbol,_=p.zero,y=p.width,C=p.comma,S=p.precision,k=p.trim,x=p.type;x==="n"?(C=!0,x="g"):Xk[x]||(S===void 0&&(S=12),k=!0,x="g"),(_||m==="0"&&g==="=")&&(_=!0,m="0",g="=");var B=w==="$"?n:w==="#"&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",N=w==="$"?r:/[%p]/.test(x)?l:"",$=Xk[x],T=/[defgprs%]/.test(x);S=S===void 0?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,S)):Math.max(0,Math.min(20,S));function M(A){var F=B,z=N,O,L,V;if(x==="c")z=$(A)+z,A="";else{A=+A;var H=A<0||1/A<0;if(A=isNaN(A)?c:$(Math.abs(A),S),k&&(A=Gfe(A)),H&&+A==0&&v!=="+"&&(H=!1),F=(H?v==="("?v:s:v==="-"||v==="("?"":v)+F,z=(x==="s"?Qk[8+qk/3]:"")+z+(H&&v==="("?")":""),T){for(O=-1,L=A.length;++O<L;)if(V=A.charCodeAt(O),48>V||V>57){z=(V===46?o+A.slice(O+1):A.slice(O))+z,A=A.slice(0,O);break}}}C&&!_&&(A=t(A,1/0));var G=F.length+A.length+z.length,W=G<y?new Array(y-G+1).join(m):"";switch(C&&_&&(A=t(W+A,W.length?y-z.length:1/0),W=""),g){case"<":A=F+A+z+W;break;case"=":A=F+W+A+z;break;case"^":A=W.slice(0,G=W.length>>1)+F+A+z+W.slice(G);break;default:A=W+F+A+z;break}return i(A)}return M.toString=function(){return p+""},M}function d(p,m){var g=u((p=js(p),p.type="f",p)),v=Math.max(-8,Math.min(8,Math.floor(Ws(m)/3)))*3,w=Math.pow(10,-v),_=Qk[8+v/3];return function(y){return g(w*y)+_}}return{format:u,formatPrefix:d}}var _p,Gs,Xv;tC({thousands:",",grouping:[3],currency:["$",""]});function tC(e){return _p=eC(e),Gs=_p.format,Xv=_p.formatPrefix,_p}function nC(e){return Math.max(0,-Ws(Math.abs(e)))}function rC(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Ws(t)/3)))*3-Ws(Math.abs(e)))}function aC(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Ws(t)-Ws(e))+1}var ze=1e-6,zu=1e-12,at=Math.PI,Gt=at/2,wp=at/4,Yn=at*2,Ct=180/at,He=at/180,lt=Math.abs,Ys=Math.atan,qn=Math.atan2,Ve=Math.cos,Sp=Math.ceil,oC=Math.exp,Zv=Math.hypot,kp=Math.log,Jv=Math.pow,$e=Math.sin,Wr=Math.sign||function(e){return e>0?1:e<0?-1:0},mn=Math.sqrt,Qv=Math.tan;function iC(e){return e>1?0:e<-1?at:Math.acos(e)}function Kn(e){return e>1?Gt:e<-1?-Gt:Math.asin(e)}function lC(e){return(e=$e(e/2))*e}function Ft(){}function Cp(e,t){e&&cC.hasOwnProperty(e.type)&&cC[e.type](e,t)}var sC={Feature:function(e,t){Cp(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r<o;)Cp(n[r].geometry,t)}},cC={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)e=n[r],t.point(e[0],e[1],e[2])},LineString:function(e,t){eb(e.coordinates,t,0)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)eb(n[r],t,0)},Polygon:function(e,t){uC(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)uC(n[r],t)},GeometryCollection:function(e,t){for(var n=e.geometries,r=-1,o=n.length;++r<o;)Cp(n[r],t)}};function eb(e,t,n){var r=-1,o=e.length-n,i;for(t.lineStart();++r<o;)i=e[r],t.point(i[0],i[1],i[2]);t.lineEnd()}function uC(e,t){var n=-1,r=e.length;for(t.polygonStart();++n<r;)eb(e[n],t,1);t.polygonEnd()}function Sa(e,t){e&&sC.hasOwnProperty(e.type)?sC[e.type](e,t):Cp(e,t)}var xp=new ln,Ep=new ln,fC,dC,tb,nb,rb,Fa={point:Ft,lineStart:Ft,lineEnd:Ft,polygonStart:function(){xp=new ln,Fa.lineStart=qfe,Fa.lineEnd=Kfe},polygonEnd:function(){var e=+xp;Ep.add(e<0?Yn+e:e),this.lineStart=this.lineEnd=this.point=Ft},sphere:function(){Ep.add(Yn)}};function qfe(){Fa.point=Xfe}function Kfe(){hC(fC,dC)}function Xfe(e,t){Fa.point=hC,fC=e,dC=t,e*=He,t*=He,tb=e,nb=Ve(t=t/2+wp),rb=$e(t)}function hC(e,t){e*=He,t*=He,t=t/2+wp;var n=e-tb,r=n>=0?1:-1,o=r*n,i=Ve(t),l=$e(t),s=rb*l,c=nb*i+s*Ve(o),u=s*r*$e(o);xp.add(qn(u,c)),tb=e,nb=i,rb=l}function Zfe(e){return Ep=new ln,Sa(e,Fa),Ep*2}function Bp(e){return[qn(e[1],e[0]),Kn(e[2])]}function ul(e){var t=e[0],n=e[1],r=Ve(n);return[r*Ve(t),r*$e(t),$e(n)]}function Np(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function qs(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function ab(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Tp(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function $p(e){var t=mn(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var Ht,fr,Yt,Cr,fl,pC,mC,Ks,Fu,ii,vo,bo={point:ob,lineStart:yC,lineEnd:vC,polygonStart:function(){bo.point=bC,bo.lineStart=Jfe,bo.lineEnd=Qfe,Fu=new ln,Fa.polygonStart()},polygonEnd:function(){Fa.polygonEnd(),bo.point=ob,bo.lineStart=yC,bo.lineEnd=vC,xp<0?(Ht=-(Yt=180),fr=-(Cr=90)):Fu>ze?Cr=90:Fu<-ze&&(fr=-90),vo[0]=Ht,vo[1]=Yt},sphere:function(){Ht=-(Yt=180),fr=-(Cr=90)}};function ob(e,t){ii.push(vo=[Ht=e,Yt=e]),t<fr&&(fr=t),t>Cr&&(Cr=t)}function gC(e,t){var n=ul([e*He,t*He]);if(Ks){var r=qs(Ks,n),o=[r[1],-r[0],0],i=qs(o,r);$p(i),i=Bp(i);var l=e-fl,s=l>0?1:-1,c=i[0]*Ct*s,u,d=lt(l)>180;d^(s*fl<c&&c<s*e)?(u=i[1]*Ct,u>Cr&&(Cr=u)):(c=(c+360)%360-180,d^(s*fl<c&&c<s*e)?(u=-i[1]*Ct,u<fr&&(fr=u)):(t<fr&&(fr=t),t>Cr&&(Cr=t))),d?e<fl?xr(Ht,e)>xr(Ht,Yt)&&(Yt=e):xr(e,Yt)>xr(Ht,Yt)&&(Ht=e):Yt>=Ht?(e<Ht&&(Ht=e),e>Yt&&(Yt=e)):e>fl?xr(Ht,e)>xr(Ht,Yt)&&(Yt=e):xr(e,Yt)>xr(Ht,Yt)&&(Ht=e)}else ii.push(vo=[Ht=e,Yt=e]);t<fr&&(fr=t),t>Cr&&(Cr=t),Ks=n,fl=e}function yC(){bo.point=gC}function vC(){vo[0]=Ht,vo[1]=Yt,bo.point=ob,Ks=null}function bC(e,t){if(Ks){var n=e-fl;Fu.add(lt(n)>180?n+(n>0?360:-360):n)}else pC=e,mC=t;Fa.point(e,t),gC(e,t)}function Jfe(){Fa.lineStart()}function Qfe(){bC(pC,mC),Fa.lineEnd(),lt(Fu)>ze&&(Ht=-(Yt=180)),vo[0]=Ht,vo[1]=Yt,Ks=null}function xr(e,t){return(t-=e)<0?t+360:t}function ede(e,t){return e[0]-t[0]}function _C(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t<e[0]||e[1]<t}function tde(e){var t,n,r,o,i,l,s;if(Cr=Yt=-(Ht=fr=1/0),ii=[],Sa(e,bo),n=ii.length){for(ii.sort(ede),t=1,r=ii[0],i=[r];t<n;++t)o=ii[t],_C(r,o[0])||_C(r,o[1])?(xr(r[0],o[1])>xr(r[0],r[1])&&(r[1]=o[1]),xr(o[0],r[1])>xr(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(l=-1/0,n=i.length-1,t=0,r=i[n];t<=n;r=o,++t)o=i[t],(s=xr(r[1],o[0]))>l&&(l=s,Ht=o[0],Yt=r[1])}return ii=vo=null,Ht===1/0||fr===1/0?[[NaN,NaN],[NaN,NaN]]:[[Ht,fr],[Yt,Cr]]}var Hu,Ap,Op,Mp,Pp,Ip,Vp,Rp,ib,lb,sb,wC,SC,Xn,Zn,Jn,ka={sphere:Ft,point:cb,lineStart:kC,lineEnd:CC,polygonStart:function(){ka.lineStart=ade,ka.lineEnd=ode},polygonEnd:function(){ka.lineStart=kC,ka.lineEnd=CC}};function cb(e,t){e*=He,t*=He;var n=Ve(t);Uu(n*Ve(e),n*$e(e),$e(t))}function Uu(e,t,n){++Hu,Op+=(e-Op)/Hu,Mp+=(t-Mp)/Hu,Pp+=(n-Pp)/Hu}function kC(){ka.point=nde}function nde(e,t){e*=He,t*=He;var n=Ve(t);Xn=n*Ve(e),Zn=n*$e(e),Jn=$e(t),ka.point=rde,Uu(Xn,Zn,Jn)}function rde(e,t){e*=He,t*=He;var n=Ve(t),r=n*Ve(e),o=n*$e(e),i=$e(t),l=qn(mn((l=Zn*i-Jn*o)*l+(l=Jn*r-Xn*i)*l+(l=Xn*o-Zn*r)*l),Xn*r+Zn*o+Jn*i);Ap+=l,Ip+=l*(Xn+(Xn=r)),Vp+=l*(Zn+(Zn=o)),Rp+=l*(Jn+(Jn=i)),Uu(Xn,Zn,Jn)}function CC(){ka.point=cb}function ade(){ka.point=ide}function ode(){xC(wC,SC),ka.point=cb}function ide(e,t){wC=e,SC=t,e*=He,t*=He,ka.point=xC;var n=Ve(t);Xn=n*Ve(e),Zn=n*$e(e),Jn=$e(t),Uu(Xn,Zn,Jn)}function xC(e,t){e*=He,t*=He;var n=Ve(t),r=n*Ve(e),o=n*$e(e),i=$e(t),l=Zn*i-Jn*o,s=Jn*r-Xn*i,c=Xn*o-Zn*r,u=Zv(l,s,c),d=Kn(u),p=u&&-d/u;ib.add(p*l),lb.add(p*s),sb.add(p*c),Ap+=d,Ip+=d*(Xn+(Xn=r)),Vp+=d*(Zn+(Zn=o)),Rp+=d*(Jn+(Jn=i)),Uu(Xn,Zn,Jn)}function lde(e){Hu=Ap=Op=Mp=Pp=Ip=Vp=Rp=0,ib=new ln,lb=new ln,sb=new ln,Sa(e,ka);var t=+ib,n=+lb,r=+sb,o=Zv(t,n,r);return o<zu&&(t=Ip,n=Vp,r=Rp,Ap<ze&&(t=Op,n=Mp,r=Pp),o=Zv(t,n,r),o<zu)?[NaN,NaN]:[qn(n,t)*Ct,Kn(r/o)*Ct]}function Xs(e){return function(){return e}}function ub(e,t){function n(r,o){return r=e(r,o),t(r[0],r[1])}return e.invert&&t.invert&&(n.invert=function(r,o){return r=t.invert(r,o),r&&e.invert(r[0],r[1])}),n}function fb(e,t){return lt(e)>at&&(e-=Math.round(e/Yn)*Yn),[e,t]}fb.invert=fb;function db(e,t,n){return(e%=Yn)?t||n?ub(BC(e),NC(t,n)):BC(e):t||n?NC(t,n):fb}function EC(e){return function(t,n){return t+=e,lt(t)>at&&(t-=Math.round(t/Yn)*Yn),[t,n]}}function BC(e){var t=EC(e);return t.invert=EC(-e),t}function NC(e,t){var n=Ve(e),r=$e(e),o=Ve(t),i=$e(t);function l(s,c){var u=Ve(c),d=Ve(s)*u,p=$e(s)*u,m=$e(c),g=m*n+d*r;return[qn(p*o-g*i,d*n-m*r),Kn(g*o+p*i)]}return l.invert=function(s,c){var u=Ve(c),d=Ve(s)*u,p=$e(s)*u,m=$e(c),g=m*o-p*i;return[qn(p*o+m*i,d*n+g*r),Kn(g*n-d*r)]},l}function TC(e){e=db(e[0]*He,e[1]*He,e.length>2?e[2]*He:0);function t(n){return n=e(n[0]*He,n[1]*He),n[0]*=Ct,n[1]*=Ct,n}return t.invert=function(n){return n=e.invert(n[0]*He,n[1]*He),n[0]*=Ct,n[1]*=Ct,n},t}function $C(e,t,n,r,o,i){if(n){var l=Ve(t),s=$e(t),c=r*n;o==null?(o=t+r*Yn,i=t-c/2):(o=AC(l,o),i=AC(l,i),(r>0?o<i:o>i)&&(o+=r*Yn));for(var u,d=o;r>0?d>i:d<i;d-=c)u=Bp([l,-s*Ve(d),-s*$e(d)]),e.point(u[0],u[1])}}function AC(e,t){t=ul(t),t[0]-=e,$p(t);var n=iC(-t[1]);return((-t[2]<0?-n:n)+Yn-ze)%Yn}function sde(){var e=Xs([0,0]),t=Xs(90),n=Xs(6),r,o,i={point:l};function l(c,u){r.push(c=o(c,u)),c[0]*=Ct,c[1]*=Ct}function s(){var c=e.apply(this,arguments),u=t.apply(this,arguments)*He,d=n.apply(this,arguments)*He;return r=[],o=db(-c[0]*He,-c[1]*He,0).invert,$C(i,u,d,1),c={type:"Polygon",coordinates:[r]},r=o=null,c}return s.center=function(c){return arguments.length?(e=typeof c=="function"?c:Xs([+c[0],+c[1]]),s):e},s.radius=function(c){return arguments.length?(t=typeof c=="function"?c:Xs(+c),s):t},s.precision=function(c){return arguments.length?(n=typeof c=="function"?c:Xs(+c),s):n},s}function OC(){var e=[],t;return{point:function(n,r,o){t.push([n,r,o])},lineStart:function(){e.push(t=[])},lineEnd:Ft,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function Lp(e,t){return lt(e[0]-t[0])<ze&<(e[1]-t[1])<ze}function Dp(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function MC(e,t,n,r,o){var i=[],l=[],s,c;if(e.forEach(function(v){if(!((w=v.length-1)<=0)){var w,_=v[0],y=v[w],C;if(Lp(_,y)){if(!_[2]&&!y[2]){for(o.lineStart(),s=0;s<w;++s)o.point((_=v[s])[0],_[1]);o.lineEnd();return}y[0]+=2*ze}i.push(C=new Dp(_,v,null,!0)),l.push(C.o=new Dp(_,null,C,!1)),i.push(C=new Dp(y,v,null,!1)),l.push(C.o=new Dp(y,null,C,!0))}}),!!i.length){for(l.sort(t),PC(i),PC(l),s=0,c=l.length;s<c;++s)l[s].e=n=!n;for(var u=i[0],d,p;;){for(var m=u,g=!0;m.v;)if((m=m.n)===u)return;d=m.z,o.lineStart();do{if(m.v=m.o.v=!0,m.e){if(g)for(s=0,c=d.length;s<c;++s)o.point((p=d[s])[0],p[1]);else r(m.x,m.n.x,1,o);m=m.n}else{if(g)for(d=m.p.z,s=d.length-1;s>=0;--s)o.point((p=d[s])[0],p[1]);else r(m.x,m.p.x,-1,o);m=m.p}m=m.o,d=m.z,g=!g}while(!m.v);o.lineEnd()}}}function PC(e){if(t=e.length){for(var t,n=0,r=e[0],o;++n<t;)r.n=o=e[n],o.p=r,r=o;r.n=o=e[0],o.p=r}}function hb(e){return lt(e[0])<=at?e[0]:Wr(e[0])*((lt(e[0])+at)%Yn-at)}function IC(e,t){var n=hb(t),r=t[1],o=$e(r),i=[$e(n),-Ve(n),0],l=0,s=0,c=new ln;o===1?r=Gt+ze:o===-1&&(r=-Gt-ze);for(var u=0,d=e.length;u<d;++u)if(m=(p=e[u]).length)for(var p,m,g=p[m-1],v=hb(g),w=g[1]/2+wp,_=$e(w),y=Ve(w),C=0;C<m;++C,v=k,_=B,y=N,g=S){var S=p[C],k=hb(S),x=S[1]/2+wp,B=$e(x),N=Ve(x),$=k-v,T=$>=0?1:-1,M=T*$,A=M>at,F=_*B;if(c.add(qn(F*T*$e(M),y*N+F*Ve(M))),l+=A?$+T*Yn:$,A^v>=n^k>=n){var z=qs(ul(g),ul(S));$p(z);var O=qs(i,z);$p(O);var L=(A^$>=0?-1:1)*Kn(O[2]);(r>L||r===L&&(z[0]||z[1]))&&(s+=A^$>=0?1:-1)}}return(l<-ze||l<ze&&c<-zu)^s&1}function VC(e,t,n,r){return function(o){var i=t(o),l=OC(),s=t(l),c=!1,u,d,p,m={point:g,lineStart:w,lineEnd:_,polygonStart:function(){m.point=y,m.lineStart=C,m.lineEnd=S,d=[],u=[]},polygonEnd:function(){m.point=g,m.lineStart=w,m.lineEnd=_,d=Fy(d);var k=IC(u,r);d.length?(c||(o.polygonStart(),c=!0),MC(d,ude,k,n,o)):k&&(c||(o.polygonStart(),c=!0),o.lineStart(),n(null,null,1,o),o.lineEnd()),c&&(o.polygonEnd(),c=!1),d=u=null},sphere:function(){o.polygonStart(),o.lineStart(),n(null,null,1,o),o.lineEnd(),o.polygonEnd()}};function g(k,x){e(k,x)&&o.point(k,x)}function v(k,x){i.point(k,x)}function w(){m.point=v,i.lineStart()}function _(){m.point=g,i.lineEnd()}function y(k,x){p.push([k,x]),s.point(k,x)}function C(){s.lineStart(),p=[]}function S(){y(p[0][0],p[0][1]),s.lineEnd();var k=s.clean(),x=l.result(),B,N=x.length,$,T,M;if(p.pop(),u.push(p),p=null,!!N){if(k&1){if(T=x[0],($=T.length-1)>0){for(c||(o.polygonStart(),c=!0),o.lineStart(),B=0;B<$;++B)o.point((M=T[B])[0],M[1]);o.lineEnd()}return}N>1&&k&2&&x.push(x.pop().concat(x.shift())),d.push(x.filter(cde))}}return m}}function cde(e){return e.length>1}function ude(e,t){return((e=e.x)[0]<0?e[1]-Gt-ze:Gt-e[1])-((t=t.x)[0]<0?t[1]-Gt-ze:Gt-t[1])}const pb=VC(function(){return!0},fde,hde,[-at,-Gt]);function fde(e){var t=NaN,n=NaN,r=NaN,o;return{lineStart:function(){e.lineStart(),o=1},point:function(i,l){var s=i>0?at:-at,c=lt(i-t);lt(c-at)<ze?(e.point(t,n=(n+l)/2>0?Gt:-Gt),e.point(r,n),e.lineEnd(),e.lineStart(),e.point(s,n),e.point(i,n),o=0):r!==s&&c>=at&&(lt(t-r)<ze&&(t-=r*ze),lt(i-s)<ze&&(i-=s*ze),n=dde(t,n,i,l),e.point(r,n),e.lineEnd(),e.lineStart(),e.point(s,n),o=0),e.point(t=i,n=l),r=s},lineEnd:function(){e.lineEnd(),t=n=NaN},clean:function(){return 2-o}}}function dde(e,t,n,r){var o,i,l=$e(e-n);return lt(l)>ze?Ys(($e(t)*(i=Ve(r))*$e(n)-$e(r)*(o=Ve(t))*$e(e))/(o*i*l)):(t+r)/2}function hde(e,t,n,r){var o;if(e==null)o=n*Gt,r.point(-at,o),r.point(0,o),r.point(at,o),r.point(at,0),r.point(at,-o),r.point(0,-o),r.point(-at,-o),r.point(-at,0),r.point(-at,o);else if(lt(e[0]-t[0])>ze){var i=e[0]<t[0]?at:-at;o=n*i/2,r.point(-i,o),r.point(0,o),r.point(i,o)}else r.point(t[0],t[1])}function RC(e){var t=Ve(e),n=6*He,r=t>0,o=lt(t)>ze;function i(d,p,m,g){$C(g,e,n,m,d,p)}function l(d,p){return Ve(d)*Ve(p)>t}function s(d){var p,m,g,v,w;return{lineStart:function(){v=g=!1,w=1},point:function(_,y){var C=[_,y],S,k=l(_,y),x=r?k?0:u(_,y):k?u(_+(_<0?at:-at),y):0;if(!p&&(v=g=k)&&d.lineStart(),k!==g&&(S=c(p,C),(!S||Lp(p,S)||Lp(C,S))&&(C[2]=1)),k!==g)w=0,k?(d.lineStart(),S=c(C,p),d.point(S[0],S[1])):(S=c(p,C),d.point(S[0],S[1],2),d.lineEnd()),p=S;else if(o&&p&&r^k){var B;!(x&m)&&(B=c(C,p,!0))&&(w=0,r?(d.lineStart(),d.point(B[0][0],B[0][1]),d.point(B[1][0],B[1][1]),d.lineEnd()):(d.point(B[1][0],B[1][1]),d.lineEnd(),d.lineStart(),d.point(B[0][0],B[0][1],3)))}k&&(!p||!Lp(p,C))&&d.point(C[0],C[1]),p=C,g=k,m=x},lineEnd:function(){g&&d.lineEnd(),p=null},clean:function(){return w|(v&&g)<<1}}}function c(d,p,m){var g=ul(d),v=ul(p),w=[1,0,0],_=qs(g,v),y=Np(_,_),C=_[0],S=y-C*C;if(!S)return!m&&d;var k=t*y/S,x=-t*C/S,B=qs(w,_),N=Tp(w,k),$=Tp(_,x);ab(N,$);var T=B,M=Np(N,T),A=Np(T,T),F=M*M-A*(Np(N,N)-1);if(!(F<0)){var z=mn(F),O=Tp(T,(-M-z)/A);if(ab(O,N),O=Bp(O),!m)return O;var L=d[0],V=p[0],H=d[1],G=p[1],W;V<L&&(W=L,L=V,V=W);var ne=V-L,se=lt(ne-at)<ze,U=se||ne<ze;if(!se&&G<H&&(W=H,H=G,G=W),U?se?H+G>0^O[1]<(lt(O[0]-L)<ze?H:G):H<=O[1]&&O[1]<=G:ne>at^(L<=O[0]&&O[0]<=V)){var oe=Tp(T,(-M+z)/A);return ab(oe,N),[O,Bp(oe)]}}}function u(d,p){var m=r?e:at-e,g=0;return d<-m?g|=1:d>m&&(g|=2),p<-m?g|=4:p>m&&(g|=8),g}return VC(l,s,i,r?[0,-e]:[-at,e-at])}function pde(e,t,n,r,o,i){var l=e[0],s=e[1],c=t[0],u=t[1],d=0,p=1,m=c-l,g=u-s,v;if(v=n-l,!(!m&&v>0)){if(v/=m,m<0){if(v<d)return;v<p&&(p=v)}else if(m>0){if(v>p)return;v>d&&(d=v)}if(v=o-l,!(!m&&v<0)){if(v/=m,m<0){if(v>p)return;v>d&&(d=v)}else if(m>0){if(v<d)return;v<p&&(p=v)}if(v=r-s,!(!g&&v>0)){if(v/=g,g<0){if(v<d)return;v<p&&(p=v)}else if(g>0){if(v>p)return;v>d&&(d=v)}if(v=i-s,!(!g&&v<0)){if(v/=g,g<0){if(v>p)return;v>d&&(d=v)}else if(g>0){if(v<d)return;v<p&&(p=v)}return d>0&&(e[0]=l+d*m,e[1]=s+d*g),p<1&&(t[0]=l+p*m,t[1]=s+p*g),!0}}}}}var Wu=1e9,zp=-Wu;function Fp(e,t,n,r){function o(u,d){return e<=u&&u<=n&&t<=d&&d<=r}function i(u,d,p,m){var g=0,v=0;if(u==null||(g=l(u,p))!==(v=l(d,p))||c(u,d)<0^p>0)do m.point(g===0||g===3?e:n,g>1?r:t);while((g=(g+p+4)%4)!==v);else m.point(d[0],d[1])}function l(u,d){return lt(u[0]-e)<ze?d>0?0:3:lt(u[0]-n)<ze?d>0?2:1:lt(u[1]-t)<ze?d>0?1:0:d>0?3:2}function s(u,d){return c(u.x,d.x)}function c(u,d){var p=l(u,1),m=l(d,1);return p!==m?p-m:p===0?d[1]-u[1]:p===1?u[0]-d[0]:p===2?u[1]-d[1]:d[0]-u[0]}return function(u){var d=u,p=OC(),m,g,v,w,_,y,C,S,k,x,B,N={point:$,lineStart:F,lineEnd:z,polygonStart:M,polygonEnd:A};function $(L,V){o(L,V)&&d.point(L,V)}function T(){for(var L=0,V=0,H=g.length;V<H;++V)for(var G=g[V],W=1,ne=G.length,se=G[0],U,oe,le=se[0],ue=se[1];W<ne;++W)U=le,oe=ue,se=G[W],le=se[0],ue=se[1],oe<=r?ue>r&&(le-U)*(r-oe)>(ue-oe)*(e-U)&&++L:ue<=r&&(le-U)*(r-oe)<(ue-oe)*(e-U)&&--L;return L}function M(){d=p,m=[],g=[],B=!0}function A(){var L=T(),V=B&&L,H=(m=Fy(m)).length;(V||H)&&(u.polygonStart(),V&&(u.lineStart(),i(null,null,1,u),u.lineEnd()),H&&MC(m,s,L,i,u),u.polygonEnd()),d=u,m=g=v=null}function F(){N.point=O,g&&g.push(v=[]),x=!0,k=!1,C=S=NaN}function z(){m&&(O(w,_),y&&k&&p.rejoin(),m.push(p.result())),N.point=$,k&&d.lineEnd()}function O(L,V){var H=o(L,V);if(g&&v.push([L,V]),x)w=L,_=V,y=H,x=!1,H&&(d.lineStart(),d.point(L,V));else if(H&&k)d.point(L,V);else{var G=[C=Math.max(zp,Math.min(Wu,C)),S=Math.max(zp,Math.min(Wu,S))],W=[L=Math.max(zp,Math.min(Wu,L)),V=Math.max(zp,Math.min(Wu,V))];pde(G,W,e,t,n,r)?(k||(d.lineStart(),d.point(G[0],G[1])),d.point(W[0],W[1]),H||d.lineEnd(),B=!1):H&&(d.lineStart(),d.point(L,V),B=!1)}C=L,S=V,k=H}return N}}function mde(){var e=0,t=0,n=960,r=500,o,i,l;return l={stream:function(s){return o&&i===s?o:o=Fp(e,t,n,r)(i=s)},extent:function(s){return arguments.length?(e=+s[0][0],t=+s[0][1],n=+s[1][0],r=+s[1][1],o=i=null,l):[[e,t],[n,r]]}}}var mb,gb,Hp,Up,Zs={sphere:Ft,point:Ft,lineStart:gde,lineEnd:Ft,polygonStart:Ft,polygonEnd:Ft};function gde(){Zs.point=vde,Zs.lineEnd=yde}function yde(){Zs.point=Zs.lineEnd=Ft}function vde(e,t){e*=He,t*=He,gb=e,Hp=$e(t),Up=Ve(t),Zs.point=bde}function bde(e,t){e*=He,t*=He;var n=$e(t),r=Ve(t),o=lt(e-gb),i=Ve(o),l=$e(o),s=r*l,c=Up*n-Hp*r*i,u=Hp*n+Up*r*i;mb.add(qn(mn(s*s+c*c),u)),gb=e,Hp=n,Up=r}function LC(e){return mb=new ln,Sa(e,Zs),+mb}var yb=[null,null],_de={type:"LineString",coordinates:yb};function ju(e,t){return yb[0]=e,yb[1]=t,LC(_de)}var DC={Feature:function(e,t){return Wp(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r<o;)if(Wp(n[r].geometry,t))return!0;return!1}},zC={Sphere:function(){return!0},Point:function(e,t){return FC(e.coordinates,t)},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)if(FC(n[r],t))return!0;return!1},LineString:function(e,t){return HC(e.coordinates,t)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)if(HC(n[r],t))return!0;return!1},Polygon:function(e,t){return UC(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)if(UC(n[r],t))return!0;return!1},GeometryCollection:function(e,t){for(var n=e.geometries,r=-1,o=n.length;++r<o;)if(Wp(n[r],t))return!0;return!1}};function Wp(e,t){return e&&zC.hasOwnProperty(e.type)?zC[e.type](e,t):!1}function FC(e,t){return ju(e,t)===0}function HC(e,t){for(var n,r,o,i=0,l=e.length;i<l;i++){if(r=ju(e[i],t),r===0||i>0&&(o=ju(e[i],e[i-1]),o>0&&n<=o&&r<=o&&(n+r-o)*(1-Math.pow((n-r)/o,2))<zu*o))return!0;n=r}return!1}function UC(e,t){return!!IC(e.map(wde),WC(t))}function wde(e){return e=e.map(WC),e.pop(),e}function WC(e){return[e[0]*He,e[1]*He]}function Sde(e,t){return(e&&DC.hasOwnProperty(e.type)?DC[e.type]:Wp)(e,t)}function jC(e,t,n){var r=Va(e,t-ze,n).concat(t);return function(o){return r.map(function(i){return[o,i]})}}function GC(e,t,n){var r=Va(e,t-ze,n).concat(t);return function(o){return r.map(function(i){return[i,o]})}}function vb(){var e,t,n,r,o,i,l,s,c=10,u=c,d=90,p=360,m,g,v,w,_=2.5;function y(){return{type:"MultiLineString",coordinates:C()}}function C(){return Va(Sp(r/d)*d,n,d).map(v).concat(Va(Sp(s/p)*p,l,p).map(w)).concat(Va(Sp(t/c)*c,e,c).filter(function(S){return lt(S%d)>ze}).map(m)).concat(Va(Sp(i/u)*u,o,u).filter(function(S){return lt(S%p)>ze}).map(g))}return y.lines=function(){return C().map(function(S){return{type:"LineString",coordinates:S}})},y.outline=function(){return{type:"Polygon",coordinates:[v(r).concat(w(l).slice(1),v(n).reverse().slice(1),w(s).reverse().slice(1))]}},y.extent=function(S){return arguments.length?y.extentMajor(S).extentMinor(S):y.extentMinor()},y.extentMajor=function(S){return arguments.length?(r=+S[0][0],n=+S[1][0],s=+S[0][1],l=+S[1][1],r>n&&(S=r,r=n,n=S),s>l&&(S=s,s=l,l=S),y.precision(_)):[[r,s],[n,l]]},y.extentMinor=function(S){return arguments.length?(t=+S[0][0],e=+S[1][0],i=+S[0][1],o=+S[1][1],t>e&&(S=t,t=e,e=S),i>o&&(S=i,i=o,o=S),y.precision(_)):[[t,i],[e,o]]},y.step=function(S){return arguments.length?y.stepMajor(S).stepMinor(S):y.stepMinor()},y.stepMajor=function(S){return arguments.length?(d=+S[0],p=+S[1],y):[d,p]},y.stepMinor=function(S){return arguments.length?(c=+S[0],u=+S[1],y):[c,u]},y.precision=function(S){return arguments.length?(_=+S,m=jC(i,o,90),g=GC(t,e,_),v=jC(s,l,90),w=GC(r,n,_),y):_},y.extentMajor([[-180,-90+ze],[180,90-ze]]).extentMinor([[-180,-80-ze],[180,80+ze]])}function kde(){return vb()()}function Cde(e,t){var n=e[0]*He,r=e[1]*He,o=t[0]*He,i=t[1]*He,l=Ve(r),s=$e(r),c=Ve(i),u=$e(i),d=l*Ve(n),p=l*$e(n),m=c*Ve(o),g=c*$e(o),v=2*Kn(mn(lC(i-r)+l*c*lC(o-n))),w=$e(v),_=v?function(y){var C=$e(y*=v)/w,S=$e(v-y)/w,k=S*d+C*m,x=S*p+C*g,B=S*s+C*u;return[qn(x,k)*Ct,qn(B,mn(k*k+x*x))*Ct]}:function(){return[n*Ct,r*Ct]};return _.distance=v,_}const Gu=e=>e;var bb=new ln,_b=new ln,YC,qC,wb,Sb,_o={point:Ft,lineStart:Ft,lineEnd:Ft,polygonStart:function(){_o.lineStart=xde,_o.lineEnd=Bde},polygonEnd:function(){_o.lineStart=_o.lineEnd=_o.point=Ft,bb.add(lt(_b)),_b=new ln},result:function(){var e=bb/2;return bb=new ln,e}};function xde(){_o.point=Ede}function Ede(e,t){_o.point=KC,YC=wb=e,qC=Sb=t}function KC(e,t){_b.add(Sb*e-wb*t),wb=e,Sb=t}function Bde(){KC(YC,qC)}var Js=1/0,jp=Js,Yu=-Js,Gp=Yu,Yp={point:Nde,lineStart:Ft,lineEnd:Ft,polygonStart:Ft,polygonEnd:Ft,result:function(){var e=[[Js,jp],[Yu,Gp]];return Yu=Gp=-(jp=Js=1/0),e}};function Nde(e,t){e<Js&&(Js=e),e>Yu&&(Yu=e),t<jp&&(jp=t),t>Gp&&(Gp=t)}var kb=0,Cb=0,qu=0,qp=0,Kp=0,Qs=0,xb=0,Eb=0,Ku=0,XC,ZC,Ha,Ua,jr={point:dl,lineStart:JC,lineEnd:QC,polygonStart:function(){jr.lineStart=Ade,jr.lineEnd=Ode},polygonEnd:function(){jr.point=dl,jr.lineStart=JC,jr.lineEnd=QC},result:function(){var e=Ku?[xb/Ku,Eb/Ku]:Qs?[qp/Qs,Kp/Qs]:qu?[kb/qu,Cb/qu]:[NaN,NaN];return kb=Cb=qu=qp=Kp=Qs=xb=Eb=Ku=0,e}};function dl(e,t){kb+=e,Cb+=t,++qu}function JC(){jr.point=Tde}function Tde(e,t){jr.point=$de,dl(Ha=e,Ua=t)}function $de(e,t){var n=e-Ha,r=t-Ua,o=mn(n*n+r*r);qp+=o*(Ha+e)/2,Kp+=o*(Ua+t)/2,Qs+=o,dl(Ha=e,Ua=t)}function QC(){jr.point=dl}function Ade(){jr.point=Mde}function Ode(){ex(XC,ZC)}function Mde(e,t){jr.point=ex,dl(XC=Ha=e,ZC=Ua=t)}function ex(e,t){var n=e-Ha,r=t-Ua,o=mn(n*n+r*r);qp+=o*(Ha+e)/2,Kp+=o*(Ua+t)/2,Qs+=o,o=Ua*e-Ha*t,xb+=o*(Ha+e),Eb+=o*(Ua+t),Ku+=o*3,dl(Ha=e,Ua=t)}function tx(e){this._context=e}tx.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:{this._context.moveTo(e,t),this._point=1;break}case 1:{this._context.lineTo(e,t);break}default:{this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,Yn);break}}},result:Ft};var Bb=new ln,Nb,nx,rx,Xu,Zu,Ju={point:Ft,lineStart:function(){Ju.point=Pde},lineEnd:function(){Nb&&ax(nx,rx),Ju.point=Ft},polygonStart:function(){Nb=!0},polygonEnd:function(){Nb=null},result:function(){var e=+Bb;return Bb=new ln,e}};function Pde(e,t){Ju.point=ax,nx=Xu=e,rx=Zu=t}function ax(e,t){Xu-=e,Zu-=t,Bb.add(mn(Xu*Xu+Zu*Zu)),Xu=e,Zu=t}let ox,Xp,ix,lx;class sx{constructor(t){this._append=t==null?cx:Ide(t),this._radius=4.5,this._=""}pointRadius(t){return this._radius=+t,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){this._line===0&&(this._+="Z"),this._point=NaN}point(t,n){switch(this._point){case 0:{this._append`M${t},${n}`,this._point=1;break}case 1:{this._append`L${t},${n}`;break}default:{if(this._append`M${t},${n}`,this._radius!==ix||this._append!==Xp){const r=this._radius,o=this._;this._="",this._append`m0,${r}a${r},${r} 0 1,1 0,${-2*r}a${r},${r} 0 1,1 0,${2*r}z`,ix=r,Xp=this._append,lx=this._,this._=o}this._+=lx;break}}}result(){const t=this._;return this._="",t.length?t:null}}function cx(e){let t=1;this._+=e[0];for(const n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Ide(e){const t=Math.floor(e);if(!(t>=0))throw new RangeError(`invalid digits: ${e}`);if(t>15)return cx;if(t!==ox){const n=g3(10,t);ox=t,Xp=function(o){let i=1;this._+=o[0];for(const l=o.length;i<l;++i)this._+=Math.round(arguments[i]*n)/n+o[i]}}return Xp}function Tb(e,t){let n=3,r=4.5,o,i;function l(s){return s&&(typeof r=="function"&&i.pointRadius(+r.apply(this,arguments)),Sa(s,o(i))),i.result()}return l.area=function(s){return Sa(s,o(_o)),_o.result()},l.measure=function(s){return Sa(s,o(Ju)),Ju.result()},l.bounds=function(s){return Sa(s,o(Yp)),Yp.result()},l.centroid=function(s){return Sa(s,o(jr)),jr.result()},l.projection=function(s){return arguments.length?(o=s==null?(e=null,Gu):(e=s).stream,l):e},l.context=function(s){return arguments.length?(i=s==null?(t=null,new sx(n)):new tx(t=s),typeof r!="function"&&i.pointRadius(r),l):t},l.pointRadius=function(s){return arguments.length?(r=typeof s=="function"?s:(i.pointRadius(+s),+s),l):r},l.digits=function(s){if(!arguments.length)return n;if(s==null)n=null;else{const c=Math.floor(s);if(!(c>=0))throw new RangeError(`invalid digits: ${s}`);n=c}return t===null&&(i=new sx(n)),l},l.projection(e).digits(n).context(t)}function Vde(e){return{stream:Qu(e)}}function Qu(e){return function(t){var n=new $b;for(var r in e)n[r]=e[r];return n.stream=t,n}}function $b(){}$b.prototype={constructor:$b,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function Ab(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),r!=null&&e.clipExtent(null),Sa(n,e.stream(Yp)),t(Yp.result()),r!=null&&e.clipExtent(r),e}function Zp(e,t,n){return Ab(e,function(r){var o=t[1][0]-t[0][0],i=t[1][1]-t[0][1],l=Math.min(o/(r[1][0]-r[0][0]),i/(r[1][1]-r[0][1])),s=+t[0][0]+(o-l*(r[1][0]+r[0][0]))/2,c=+t[0][1]+(i-l*(r[1][1]+r[0][1]))/2;e.scale(150*l).translate([s,c])},n)}function Ob(e,t,n){return Zp(e,[[0,0],t],n)}function Mb(e,t,n){return Ab(e,function(r){var o=+t,i=o/(r[1][0]-r[0][0]),l=(o-i*(r[1][0]+r[0][0]))/2,s=-i*r[0][1];e.scale(150*i).translate([l,s])},n)}function Pb(e,t,n){return Ab(e,function(r){var o=+t,i=o/(r[1][1]-r[0][1]),l=-i*r[0][0],s=(o-i*(r[1][1]+r[0][1]))/2;e.scale(150*i).translate([l,s])},n)}var ux=16,Rde=Ve(30*He);function fx(e,t){return+t?Dde(e,t):Lde(e)}function Lde(e){return Qu({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}function Dde(e,t){function n(r,o,i,l,s,c,u,d,p,m,g,v,w,_){var y=u-r,C=d-o,S=y*y+C*C;if(S>4*t&&w--){var k=l+m,x=s+g,B=c+v,N=mn(k*k+x*x+B*B),$=Kn(B/=N),T=lt(lt(B)-1)<ze||lt(i-p)<ze?(i+p)/2:qn(x,k),M=e(T,$),A=M[0],F=M[1],z=A-r,O=F-o,L=C*z-y*O;(L*L/S>t||lt((y*z+C*O)/S-.5)>.3||l*m+s*g+c*v<Rde)&&(n(r,o,i,l,s,c,A,F,T,k/=N,x/=N,B,w,_),_.point(A,F),n(A,F,T,k,x,B,u,d,p,m,g,v,w,_))}}return function(r){var o,i,l,s,c,u,d,p,m,g,v,w,_={point:y,lineStart:C,lineEnd:k,polygonStart:function(){r.polygonStart(),_.lineStart=x},polygonEnd:function(){r.polygonEnd(),_.lineStart=C}};function y($,T){$=e($,T),r.point($[0],$[1])}function C(){p=NaN,_.point=S,r.lineStart()}function S($,T){var M=ul([$,T]),A=e($,T);n(p,m,d,g,v,w,p=A[0],m=A[1],d=$,g=M[0],v=M[1],w=M[2],ux,r),r.point(p,m)}function k(){_.point=y,r.lineEnd()}function x(){C(),_.point=B,_.lineEnd=N}function B($,T){S(o=$,T),i=p,l=m,s=g,c=v,u=w,_.point=S}function N(){n(p,m,d,g,v,w,i,l,o,s,c,u,ux,r),_.lineEnd=k,k()}return _}}var zde=Qu({point:function(e,t){this.stream.point(e*He,t*He)}});function Fde(e){return Qu({point:function(t,n){var r=e(t,n);return this.stream.point(r[0],r[1])}})}function Hde(e,t,n,r,o){function i(l,s){return l*=r,s*=o,[t+e*l,n-e*s]}return i.invert=function(l,s){return[(l-t)/e*r,(n-s)/e*o]},i}function dx(e,t,n,r,o,i){if(!i)return Hde(e,t,n,r,o);var l=Ve(i),s=$e(i),c=l*e,u=s*e,d=l/e,p=s/e,m=(s*n-l*t)/e,g=(s*t+l*n)/e;function v(w,_){return w*=r,_*=o,[c*w-u*_+t,n-u*w-c*_]}return v.invert=function(w,_){return[r*(d*w-p*_+m),o*(g-p*w-d*_)]},v}function Ca(e){return Ib(function(){return e})()}function Ib(e){var t,n=150,r=480,o=250,i=0,l=0,s=0,c=0,u=0,d,p=0,m=1,g=1,v=null,w=pb,_=null,y,C,S,k=Gu,x=.5,B,N,$,T,M;function A(L){return $(L[0]*He,L[1]*He)}function F(L){return L=$.invert(L[0],L[1]),L&&[L[0]*Ct,L[1]*Ct]}A.stream=function(L){return T&&M===L?T:T=zde(Fde(d)(w(B(k(M=L)))))},A.preclip=function(L){return arguments.length?(w=L,v=void 0,O()):w},A.postclip=function(L){return arguments.length?(k=L,_=y=C=S=null,O()):k},A.clipAngle=function(L){return arguments.length?(w=+L?RC(v=L*He):(v=null,pb),O()):v*Ct},A.clipExtent=function(L){return arguments.length?(k=L==null?(_=y=C=S=null,Gu):Fp(_=+L[0][0],y=+L[0][1],C=+L[1][0],S=+L[1][1]),O()):_==null?null:[[_,y],[C,S]]},A.scale=function(L){return arguments.length?(n=+L,z()):n},A.translate=function(L){return arguments.length?(r=+L[0],o=+L[1],z()):[r,o]},A.center=function(L){return arguments.length?(i=L[0]%360*He,l=L[1]%360*He,z()):[i*Ct,l*Ct]},A.rotate=function(L){return arguments.length?(s=L[0]%360*He,c=L[1]%360*He,u=L.length>2?L[2]%360*He:0,z()):[s*Ct,c*Ct,u*Ct]},A.angle=function(L){return arguments.length?(p=L%360*He,z()):p*Ct},A.reflectX=function(L){return arguments.length?(m=L?-1:1,z()):m<0},A.reflectY=function(L){return arguments.length?(g=L?-1:1,z()):g<0},A.precision=function(L){return arguments.length?(B=fx(N,x=L*L),O()):mn(x)},A.fitExtent=function(L,V){return Zp(A,L,V)},A.fitSize=function(L,V){return Ob(A,L,V)},A.fitWidth=function(L,V){return Mb(A,L,V)},A.fitHeight=function(L,V){return Pb(A,L,V)};function z(){var L=dx(n,0,0,m,g,p).apply(null,t(i,l)),V=dx(n,r-L[0],o-L[1],m,g,p);return d=db(s,c,u),N=ub(t,V),$=ub(d,N),B=fx(N,x),O()}function O(){return T=M=null,A}return function(){return t=e.apply(this,arguments),A.invert=t.invert&&F,z()}}function Vb(e){var t=0,n=at/3,r=Ib(e),o=r(t,n);return o.parallels=function(i){return arguments.length?r(t=i[0]*He,n=i[1]*He):[t*Ct,n*Ct]},o}function Ude(e){var t=Ve(e);function n(r,o){return[r*t,$e(o)/t]}return n.invert=function(r,o){return[r/t,Kn(o*t)]},n}function hx(e,t){var n=$e(e),r=(n+$e(t))/2;if(lt(r)<ze)return Ude(e);var o=1+n*(2*r-n),i=mn(o)/r;function l(s,c){var u=mn(o-2*r*$e(c))/r;return[u*$e(s*=r),i-u*Ve(s)]}return l.invert=function(s,c){var u=i-c,d=qn(s,lt(u))*Wr(u);return u*r<0&&(d-=at*Wr(s)*Wr(u)),[d/r,Kn((o-(s*s+u*u)*r*r)/(2*r))]},l}function Jp(){return Vb(hx).scale(155.424).center([0,33.6442])}function px(){return Jp().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function Wde(e){var t=e.length;return{point:function(n,r){for(var o=-1;++o<t;)e[o].point(n,r)},sphere:function(){for(var n=-1;++n<t;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<t;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<t;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<t;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<t;)e[n].polygonEnd()}}}function jde(){var e,t,n=px(),r,o=Jp().rotate([154,0]).center([-2,58.5]).parallels([55,65]),i,l=Jp().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s,c,u={point:function(m,g){c=[m,g]}};function d(m){var g=m[0],v=m[1];return c=null,r.point(g,v),c||(i.point(g,v),c)||(s.point(g,v),c)}d.invert=function(m){var g=n.scale(),v=n.translate(),w=(m[0]-v[0])/g,_=(m[1]-v[1])/g;return(_>=.12&&_<.234&&w>=-.425&&w<-.214?o:_>=.166&&_<.234&&w>=-.214&&w<-.115?l:n).invert(m)},d.stream=function(m){return e&&t===m?e:e=Wde([n.stream(t=m),o.stream(m),l.stream(m)])},d.precision=function(m){return arguments.length?(n.precision(m),o.precision(m),l.precision(m),p()):n.precision()},d.scale=function(m){return arguments.length?(n.scale(m),o.scale(m*.35),l.scale(m),d.translate(n.translate())):n.scale()},d.translate=function(m){if(!arguments.length)return n.translate();var g=n.scale(),v=+m[0],w=+m[1];return r=n.translate(m).clipExtent([[v-.455*g,w-.238*g],[v+.455*g,w+.238*g]]).stream(u),i=o.translate([v-.307*g,w+.201*g]).clipExtent([[v-.425*g+ze,w+.12*g+ze],[v-.214*g-ze,w+.234*g-ze]]).stream(u),s=l.translate([v-.205*g,w+.212*g]).clipExtent([[v-.214*g+ze,w+.166*g+ze],[v-.115*g-ze,w+.234*g-ze]]).stream(u),p()},d.fitExtent=function(m,g){return Zp(d,m,g)},d.fitSize=function(m,g){return Ob(d,m,g)},d.fitWidth=function(m,g){return Mb(d,m,g)},d.fitHeight=function(m,g){return Pb(d,m,g)};function p(){return e=t=null,d}return d.scale(1070)}function mx(e){return function(t,n){var r=Ve(t),o=Ve(n),i=e(r*o);return i===1/0?[2,0]:[i*o*$e(t),i*$e(n)]}}function ef(e){return function(t,n){var r=mn(t*t+n*n),o=e(r),i=$e(o),l=Ve(o);return[qn(t*i,r*l),Kn(r&&n*i/r)]}}var Rb=mx(function(e){return mn(2/(1+e))});Rb.invert=ef(function(e){return 2*Kn(e/2)});function Gde(){return Ca(Rb).scale(124.75).clipAngle(180-.001)}var Lb=mx(function(e){return(e=iC(e))&&e/$e(e)});Lb.invert=ef(function(e){return e});function Yde(){return Ca(Lb).scale(79.4188).clipAngle(180-.001)}function tf(e,t){return[e,kp(Qv((Gt+t)/2))]}tf.invert=function(e,t){return[e,2*Ys(oC(t))-Gt]};function qde(){return gx(tf).scale(961/Yn)}function gx(e){var t=Ca(e),n=t.center,r=t.scale,o=t.translate,i=t.clipExtent,l=null,s,c,u;t.scale=function(p){return arguments.length?(r(p),d()):r()},t.translate=function(p){return arguments.length?(o(p),d()):o()},t.center=function(p){return arguments.length?(n(p),d()):n()},t.clipExtent=function(p){return arguments.length?(p==null?l=s=c=u=null:(l=+p[0][0],s=+p[0][1],c=+p[1][0],u=+p[1][1]),d()):l==null?null:[[l,s],[c,u]]};function d(){var p=at*r(),m=t(TC(t.rotate()).invert([0,0]));return i(l==null?[[m[0]-p,m[1]-p],[m[0]+p,m[1]+p]]:e===tf?[[Math.max(m[0]-p,l),s],[Math.min(m[0]+p,c),u]]:[[l,Math.max(m[1]-p,s)],[c,Math.min(m[1]+p,u)]])}return d()}function Qp(e){return Qv((Gt+e)/2)}function yx(e,t){var n=Ve(e),r=e===t?$e(e):kp(n/Ve(t))/kp(Qp(t)/Qp(e)),o=n*Jv(Qp(e),r)/r;if(!r)return tf;function i(l,s){o>0?s<-Gt+ze&&(s=-Gt+ze):s>Gt-ze&&(s=Gt-ze);var c=o/Jv(Qp(s),r);return[c*$e(r*l),o-c*Ve(r*l)]}return i.invert=function(l,s){var c=o-s,u=Wr(r)*mn(l*l+c*c),d=qn(l,lt(c))*Wr(c);return c*r<0&&(d-=at*Wr(l)*Wr(c)),[d/r,2*Ys(Jv(o/u,1/r))-Gt]},i}function Kde(){return Vb(yx).scale(109.5).parallels([30,30])}function nf(e,t){return[e,t]}nf.invert=nf;function Xde(){return Ca(nf).scale(152.63)}function vx(e,t){var n=Ve(e),r=e===t?$e(e):(n-Ve(t))/(t-e),o=n/r+e;if(lt(r)<ze)return nf;function i(l,s){var c=o-s,u=r*l;return[c*$e(u),o-c*Ve(u)]}return i.invert=function(l,s){var c=o-s,u=qn(l,lt(c))*Wr(c);return c*r<0&&(u-=at*Wr(l)*Wr(c)),[u/r,o-Wr(r)*mn(l*l+c*c)]},i}function Zde(){return Vb(vx).scale(131.154).center([0,13.9389])}var rf=1.340264,af=-.081106,of=893e-6,lf=.003796,em=mn(3)/2,Jde=12;function Db(e,t){var n=Kn(em*$e(t)),r=n*n,o=r*r*r;return[e*Ve(n)/(em*(rf+3*af*r+o*(7*of+9*lf*r))),n*(rf+af*r+o*(of+lf*r))]}Db.invert=function(e,t){for(var n=t,r=n*n,o=r*r*r,i=0,l,s,c;i<Jde&&(s=n*(rf+af*r+o*(of+lf*r))-t,c=rf+3*af*r+o*(7*of+9*lf*r),n-=l=s/c,r=n*n,o=r*r*r,!(lt(l)<zu));++i);return[em*e*(rf+3*af*r+o*(7*of+9*lf*r))/Ve(n),Kn($e(n)/em)]};function Qde(){return Ca(Db).scale(177.158)}function zb(e,t){var n=Ve(t),r=Ve(e)*n;return[n*$e(e)/r,$e(t)/r]}zb.invert=ef(Ys);function ehe(){return Ca(zb).scale(144.049).clipAngle(60)}function the(){var e=1,t=0,n=0,r=1,o=1,i=0,l,s,c=null,u,d,p,m=1,g=1,v=Qu({point:function(k,x){var B=S([k,x]);this.stream.point(B[0],B[1])}}),w=Gu,_,y;function C(){return m=e*r,g=e*o,_=y=null,S}function S(k){var x=k[0]*m,B=k[1]*g;if(i){var N=B*l-x*s;x=x*l+B*s,B=N}return[x+t,B+n]}return S.invert=function(k){var x=k[0]-t,B=k[1]-n;if(i){var N=B*l+x*s;x=x*l-B*s,B=N}return[x/m,B/g]},S.stream=function(k){return _&&y===k?_:_=v(w(y=k))},S.postclip=function(k){return arguments.length?(w=k,c=u=d=p=null,C()):w},S.clipExtent=function(k){return arguments.length?(w=k==null?(c=u=d=p=null,Gu):Fp(c=+k[0][0],u=+k[0][1],d=+k[1][0],p=+k[1][1]),C()):c==null?null:[[c,u],[d,p]]},S.scale=function(k){return arguments.length?(e=+k,C()):e},S.translate=function(k){return arguments.length?(t=+k[0],n=+k[1],C()):[t,n]},S.angle=function(k){return arguments.length?(i=k%360*He,s=$e(i),l=Ve(i),C()):i*Ct},S.reflectX=function(k){return arguments.length?(r=k?-1:1,C()):r<0},S.reflectY=function(k){return arguments.length?(o=k?-1:1,C()):o<0},S.fitExtent=function(k,x){return Zp(S,k,x)},S.fitSize=function(k,x){return Ob(S,k,x)},S.fitWidth=function(k,x){return Mb(S,k,x)},S.fitHeight=function(k,x){return Pb(S,k,x)},S}function Fb(e,t){var n=t*t,r=n*n;return[e*(.8707-.131979*n+r*(-.013791+r*(.003971*n-.001529*r))),t*(1.007226+n*(.015085+r*(-.044475+.028874*n-.005916*r)))]}Fb.invert=function(e,t){var n=t,r=25,o;do{var i=n*n,l=i*i;n-=o=(n*(1.007226+i*(.015085+l*(-.044475+.028874*i-.005916*l)))-t)/(1.007226+i*(.015085*3+l*(-.044475*7+.028874*9*i-.005916*11*l)))}while(lt(o)>ze&&--r>0);return[e/(.8707+(i=n*n)*(-.131979+i*(-.013791+i*i*i*(.003971-.001529*i)))),n]};function nhe(){return Ca(Fb).scale(175.295)}function Hb(e,t){return[Ve(t)*$e(e),$e(t)]}Hb.invert=ef(Kn);function rhe(){return Ca(Hb).scale(249.5).clipAngle(90+ze)}function Ub(e,t){var n=Ve(t),r=1+Ve(e)*n;return[n*$e(e)/r,$e(t)/r]}Ub.invert=ef(function(e){return 2*Ys(e)});function ahe(){return Ca(Ub).scale(250).clipAngle(142)}function Wb(e,t){return[kp(Qv((Gt+t)/2)),-e]}Wb.invert=function(e,t){return[-t,2*Ys(oC(e))-Gt]};function ohe(){var e=gx(Wb),t=e.center,n=e.rotate;return e.center=function(r){return arguments.length?t([-r[1],r[0]]):(r=t(),[r[1],-r[0]])},e.rotate=function(r){return arguments.length?n([r[0],r[1],r.length>2?r[2]+90:90]):(r=n(),[r[0],r[1],r[2]-90])},n([0,0,90]).scale(159.155)}function ihe(e,t){return e.parent===t.parent?1:2}function lhe(e){return e.reduce(she,0)/e.length}function she(e,t){return e+t.x}function che(e){return 1+e.reduce(uhe,0)}function uhe(e,t){return Math.max(e,t.y)}function fhe(e){for(var t;t=e.children;)e=t[0];return e}function dhe(e){for(var t;t=e.children;)e=t[t.length-1];return e}function hhe(){var e=ihe,t=1,n=1,r=!1;function o(i){var l,s=0;i.eachAfter(function(m){var g=m.children;g?(m.x=lhe(g),m.y=che(g)):(m.x=l?s+=e(m,l):0,m.y=0,l=m)});var c=fhe(i),u=dhe(i),d=c.x-e(c,u)/2,p=u.x+e(u,c)/2;return i.eachAfter(r?function(m){m.x=(m.x-i.x)*t,m.y=(i.y-m.y)*n}:function(m){m.x=(m.x-d)/(p-d)*t,m.y=(1-(i.y?m.y/i.y:1))*n})}return o.separation=function(i){return arguments.length?(e=i,o):e},o.size=function(i){return arguments.length?(r=!1,t=+i[0],n=+i[1],o):r?null:[t,n]},o.nodeSize=function(i){return arguments.length?(r=!0,t=+i[0],n=+i[1],o):r?[t,n]:null},o}function phe(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function mhe(){return this.eachAfter(phe)}function ghe(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this}function yhe(e,t){for(var n=this,r=[n],o,i,l=-1;n=r.pop();)if(e.call(t,n,++l,this),o=n.children)for(i=o.length-1;i>=0;--i)r.push(o[i]);return this}function vhe(e,t){for(var n=this,r=[n],o=[],i,l,s,c=-1;n=r.pop();)if(o.push(n),i=n.children)for(l=0,s=i.length;l<s;++l)r.push(i[l]);for(;n=o.pop();)e.call(t,n,++c,this);return this}function bhe(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r}function _he(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n})}function whe(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function She(e){for(var t=this,n=khe(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r}function khe(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}function Che(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function xhe(){return Array.from(this)}function Ehe(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function Bhe(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function*Nhe(){var e=this,t,n=[e],r,o,i;do for(t=n.reverse(),n=[];e=t.pop();)if(yield e,r=e.children)for(o=0,i=r.length;o<i;++o)n.push(r[o]);while(n.length)}function jb(e,t){e instanceof Map?(e=[void 0,e],t===void 0&&(t=Ahe)):t===void 0&&(t=$he);for(var n=new hl(e),r,o=[n],i,l,s,c;r=o.pop();)if((l=t(r.data))&&(c=(l=Array.from(l)).length))for(r.children=l,s=c-1;s>=0;--s)o.push(i=l[s]=new hl(l[s])),i.parent=r,i.depth=r.depth+1;return n.eachBefore(bx)}function The(){return jb(this).eachBefore(Ohe)}function $he(e){return e.children}function Ahe(e){return Array.isArray(e)?e[1]:null}function Ohe(e){e.data.value!==void 0&&(e.value=e.data.value),e.data=e.data.data}function bx(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function hl(e){this.data=e,this.depth=this.height=0,this.parent=null}hl.prototype=jb.prototype={constructor:hl,count:mhe,each:ghe,eachAfter:vhe,eachBefore:yhe,find:bhe,sum:_he,sort:whe,path:She,ancestors:Che,descendants:xhe,leaves:Ehe,links:Bhe,copy:The,[Symbol.iterator]:Nhe};function tm(e){return e==null?null:_x(e)}function _x(e){if(typeof e!="function")throw new Error;return e}function pl(){return 0}function ec(e){return function(){return e}}const Mhe=1664525,Phe=1013904223,wx=4294967296;function Gb(){let e=1;return()=>(e=(Mhe*e+Phe)%wx)/wx}function Ihe(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Vhe(e,t){let n=e.length,r,o;for(;n;)o=t()*n--|0,r=e[n],e[n]=e[o],e[o]=r;return e}function Rhe(e){return Sx(e,Gb())}function Sx(e,t){for(var n=0,r=(e=Vhe(Array.from(e),t)).length,o=[],i,l;n<r;)i=e[n],l&&kx(l,i)?++n:(l=Dhe(o=Lhe(o,i)),n=0);return l}function Lhe(e,t){var n,r;if(Yb(t,e))return[t];for(n=0;n<e.length;++n)if(nm(t,e[n])&&Yb(sf(e[n],t),e))return[e[n],t];for(n=0;n<e.length-1;++n)for(r=n+1;r<e.length;++r)if(nm(sf(e[n],e[r]),t)&&nm(sf(e[n],t),e[r])&&nm(sf(e[r],t),e[n])&&Yb(Cx(e[n],e[r],t),e))return[e[n],e[r],t];throw new Error}function nm(e,t){var n=e.r-t.r,r=t.x-e.x,o=t.y-e.y;return n<0||n*n<r*r+o*o}function kx(e,t){var n=e.r-t.r+Math.max(e.r,t.r,1)*1e-9,r=t.x-e.x,o=t.y-e.y;return n>0&&n*n>r*r+o*o}function Yb(e,t){for(var n=0;n<t.length;++n)if(!kx(e,t[n]))return!1;return!0}function Dhe(e){switch(e.length){case 1:return zhe(e[0]);case 2:return sf(e[0],e[1]);case 3:return Cx(e[0],e[1],e[2])}}function zhe(e){return{x:e.x,y:e.y,r:e.r}}function sf(e,t){var n=e.x,r=e.y,o=e.r,i=t.x,l=t.y,s=t.r,c=i-n,u=l-r,d=s-o,p=Math.sqrt(c*c+u*u);return{x:(n+i+c/p*d)/2,y:(r+l+u/p*d)/2,r:(p+o+s)/2}}function Cx(e,t,n){var r=e.x,o=e.y,i=e.r,l=t.x,s=t.y,c=t.r,u=n.x,d=n.y,p=n.r,m=r-l,g=r-u,v=o-s,w=o-d,_=c-i,y=p-i,C=r*r+o*o-i*i,S=C-l*l-s*s+c*c,k=C-u*u-d*d+p*p,x=g*v-m*w,B=(v*k-w*S)/(x*2)-r,N=(w*_-v*y)/x,$=(g*S-m*k)/(x*2)-o,T=(m*y-g*_)/x,M=N*N+T*T-1,A=2*(i+B*N+$*T),F=B*B+$*$-i*i,z=-(Math.abs(M)>1e-6?(A+Math.sqrt(A*A-4*M*F))/(2*M):F/A);return{x:r+B+N*z,y:o+$+T*z,r:z}}function xx(e,t,n){var r=e.x-t.x,o,i,l=e.y-t.y,s,c,u=r*r+l*l;u?(i=t.r+n.r,i*=i,c=e.r+n.r,c*=c,i>c?(o=(u+c-i)/(2*u),s=Math.sqrt(Math.max(0,c/u-o*o)),n.x=e.x-o*r-s*l,n.y=e.y-o*l+s*r):(o=(u+i-c)/(2*u),s=Math.sqrt(Math.max(0,i/u-o*o)),n.x=t.x+o*r-s*l,n.y=t.y+o*l+s*r)):(n.x=t.x+n.r,n.y=t.y)}function Ex(e,t){var n=e.r+t.r-1e-6,r=t.x-e.x,o=t.y-e.y;return n>0&&n*n>r*r+o*o}function Bx(e){var t=e._,n=e.next._,r=t.r+n.r,o=(t.x*n.r+n.x*t.r)/r,i=(t.y*n.r+n.y*t.r)/r;return o*o+i*i}function rm(e){this._=e,this.next=null,this.previous=null}function Nx(e,t){if(!(i=(e=Ihe(e)).length))return 0;var n,r,o,i,l,s,c,u,d,p,m;if(n=e[0],n.x=0,n.y=0,!(i>1))return n.r;if(r=e[1],n.x=-r.r,r.x=n.r,r.y=0,!(i>2))return n.r+r.r;xx(r,n,o=e[2]),n=new rm(n),r=new rm(r),o=new rm(o),n.next=o.previous=r,r.next=n.previous=o,o.next=r.previous=n;e:for(c=3;c<i;++c){xx(n._,r._,o=e[c]),o=new rm(o),u=r.next,d=n.previous,p=r._.r,m=n._.r;do if(p<=m){if(Ex(u._,o._)){r=u,n.next=r,r.previous=n,--c;continue e}p+=u._.r,u=u.next}else{if(Ex(d._,o._)){n=d,n.next=r,r.previous=n,--c;continue e}m+=d._.r,d=d.previous}while(u!==d.next);for(o.previous=n,o.next=r,n.next=r.previous=r=o,l=Bx(n);(o=o.next)!==r;)(s=Bx(o))<l&&(n=o,l=s);r=n.next}for(n=[r._],o=r;(o=o.next)!==r;)n.push(o._);for(o=Sx(n,t),c=0;c<i;++c)n=e[c],n.x-=o.x,n.y-=o.y;return o.r}function Fhe(e){return Nx(e,Gb()),e}function Hhe(e){return Math.sqrt(e.value)}function Uhe(){var e=null,t=1,n=1,r=pl;function o(i){const l=Gb();return i.x=t/2,i.y=n/2,e?i.eachBefore(Tx(e)).eachAfter(qb(r,.5,l)).eachBefore($x(1)):i.eachBefore(Tx(Hhe)).eachAfter(qb(pl,1,l)).eachAfter(qb(r,i.r/Math.min(t,n),l)).eachBefore($x(Math.min(t,n)/(2*i.r))),i}return o.radius=function(i){return arguments.length?(e=tm(i),o):e},o.size=function(i){return arguments.length?(t=+i[0],n=+i[1],o):[t,n]},o.padding=function(i){return arguments.length?(r=typeof i=="function"?i:ec(+i),o):r},o}function Tx(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function qb(e,t,n){return function(r){if(o=r.children){var o,i,l=o.length,s=e(r)*t||0,c;if(s)for(i=0;i<l;++i)o[i].r+=s;if(c=Nx(o,n),s)for(i=0;i<l;++i)o[i].r-=s;r.r=c+s}}}function $x(e){return function(t){var n=t.parent;t.r*=e,n&&(t.x=n.x+e*t.x,t.y=n.y+e*t.y)}}function Ax(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function cf(e,t,n,r,o){for(var i=e.children,l,s=-1,c=i.length,u=e.value&&(r-t)/e.value;++s<c;)l=i[s],l.y0=n,l.y1=o,l.x0=t,l.x1=t+=l.value*u}function Whe(){var e=1,t=1,n=0,r=!1;function o(l){var s=l.height+1;return l.x0=l.y0=n,l.x1=e,l.y1=t/s,l.eachBefore(i(t,s)),r&&l.eachBefore(Ax),l}function i(l,s){return function(c){c.children&&cf(c,c.x0,l*(c.depth+1)/s,c.x1,l*(c.depth+2)/s);var u=c.x0,d=c.y0,p=c.x1-n,m=c.y1-n;p<u&&(u=p=(u+p)/2),m<d&&(d=m=(d+m)/2),c.x0=u,c.y0=d,c.x1=p,c.y1=m}}return o.round=function(l){return arguments.length?(r=!!l,o):r},o.size=function(l){return arguments.length?(e=+l[0],t=+l[1],o):[e,t]},o.padding=function(l){return arguments.length?(n=+l,o):n},o}var jhe={depth:-1},Ox={},Kb={};function Ghe(e){return e.id}function Yhe(e){return e.parentId}function qhe(){var e=Ghe,t=Yhe,n;function r(o){var i=Array.from(o),l=e,s=t,c,u,d,p,m,g,v,w,_=new Map;if(n!=null){const y=i.map((k,x)=>Khe(n(k,x,o))),C=y.map(Mx),S=new Set(y).add("");for(const k of C)S.has(k)||(S.add(k),y.push(k),C.push(Mx(k)),i.push(Kb));l=(k,x)=>y[x],s=(k,x)=>C[x]}for(d=0,c=i.length;d<c;++d)u=i[d],g=i[d]=new hl(u),(v=l(u,d,o))!=null&&(v+="")&&(w=g.id=v,_.set(w,_.has(w)?Ox:g)),(v=s(u,d,o))!=null&&(v+="")&&(g.parent=v);for(d=0;d<c;++d)if(g=i[d],v=g.parent){if(m=_.get(v),!m)throw new Error("missing: "+v);if(m===Ox)throw new Error("ambiguous: "+v);m.children?m.children.push(g):m.children=[g],g.parent=m}else{if(p)throw new Error("multiple roots");p=g}if(!p)throw new Error("no root");if(n!=null){for(;p.data===Kb&&p.children.length===1;)p=p.children[0],--c;for(let y=i.length-1;y>=0&&(g=i[y],g.data===Kb);--y)g.data=null}if(p.parent=jhe,p.eachBefore(function(y){y.depth=y.parent.depth+1,--c}).eachBefore(bx),p.parent=null,c>0)throw new Error("cycle");return p}return r.id=function(o){return arguments.length?(e=tm(o),r):e},r.parentId=function(o){return arguments.length?(t=tm(o),r):t},r.path=function(o){return arguments.length?(n=tm(o),r):n},r}function Khe(e){e=`${e}`;let t=e.length;return Xb(e,t-1)&&!Xb(e,t-2)&&(e=e.slice(0,-1)),e[0]==="/"?e:`/${e}`}function Mx(e){let t=e.length;if(t<2)return"";for(;--t>1&&!Xb(e,t););return e.slice(0,t)}function Xb(e,t){if(e[t]==="/"){let n=0;for(;t>0&&e[--t]==="\\";)++n;if(!(n&1))return!0}return!1}function Xhe(e,t){return e.parent===t.parent?1:2}function Zb(e){var t=e.children;return t?t[0]:e.t}function Jb(e){var t=e.children;return t?t[t.length-1]:e.t}function Zhe(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function Jhe(e){for(var t=0,n=0,r=e.children,o=r.length,i;--o>=0;)i=r[o],i.z+=t,i.m+=t,t+=i.s+(n+=i.c)}function Qhe(e,t,n){return e.a.parent===t.parent?e.a:n}function am(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}am.prototype=Object.create(hl.prototype);function epe(e){for(var t=new am(e,0),n,r=[t],o,i,l,s;n=r.pop();)if(i=n._.children)for(n.children=new Array(s=i.length),l=s-1;l>=0;--l)r.push(o=n.children[l]=new am(i[l],l)),o.parent=n;return(t.parent=new am(null,0)).children=[t],t}function tpe(){var e=Xhe,t=1,n=1,r=null;function o(u){var d=epe(u);if(d.eachAfter(i),d.parent.m=-d.z,d.eachBefore(l),r)u.eachBefore(c);else{var p=u,m=u,g=u;u.eachBefore(function(C){C.x<p.x&&(p=C),C.x>m.x&&(m=C),C.depth>g.depth&&(g=C)});var v=p===m?1:e(p,m)/2,w=v-p.x,_=t/(m.x+v+w),y=n/(g.depth||1);u.eachBefore(function(C){C.x=(C.x+w)*_,C.y=C.depth*y})}return u}function i(u){var d=u.children,p=u.parent.children,m=u.i?p[u.i-1]:null;if(d){Jhe(u);var g=(d[0].z+d[d.length-1].z)/2;m?(u.z=m.z+e(u._,m._),u.m=u.z-g):u.z=g}else m&&(u.z=m.z+e(u._,m._));u.parent.A=s(u,m,u.parent.A||p[0])}function l(u){u._.x=u.z+u.parent.m,u.m+=u.parent.m}function s(u,d,p){if(d){for(var m=u,g=u,v=d,w=m.parent.children[0],_=m.m,y=g.m,C=v.m,S=w.m,k;v=Jb(v),m=Zb(m),v&&m;)w=Zb(w),g=Jb(g),g.a=u,k=v.z+C-m.z-_+e(v._,m._),k>0&&(Zhe(Qhe(v,u,p),u,k),_+=k,y+=k),C+=v.m,_+=m.m,S+=w.m,y+=g.m;v&&!Jb(g)&&(g.t=v,g.m+=C-y),m&&!Zb(w)&&(w.t=m,w.m+=_-S,p=u)}return p}function c(u){u.x*=t,u.y=u.depth*n}return o.separation=function(u){return arguments.length?(e=u,o):e},o.size=function(u){return arguments.length?(r=!1,t=+u[0],n=+u[1],o):r?null:[t,n]},o.nodeSize=function(u){return arguments.length?(r=!0,t=+u[0],n=+u[1],o):r?[t,n]:null},o}function om(e,t,n,r,o){for(var i=e.children,l,s=-1,c=i.length,u=e.value&&(o-n)/e.value;++s<c;)l=i[s],l.x0=t,l.x1=r,l.y0=n,l.y1=n+=l.value*u}var Px=(1+Math.sqrt(5))/2;function Ix(e,t,n,r,o,i){for(var l=[],s=t.children,c,u,d=0,p=0,m=s.length,g,v,w=t.value,_,y,C,S,k,x,B;d<m;){g=o-n,v=i-r;do _=s[p++].value;while(!_&&p<m);for(y=C=_,x=Math.max(v/g,g/v)/(w*e),B=_*_*x,k=Math.max(C/B,B/y);p<m;++p){if(_+=u=s[p].value,u<y&&(y=u),u>C&&(C=u),B=_*_*x,S=Math.max(C/B,B/y),S>k){_-=u;break}k=S}l.push(c={value:_,dice:g<v,children:s.slice(d,p)}),c.dice?cf(c,n,r,o,w?r+=v*_/w:i):om(c,n,r,w?n+=g*_/w:o,i),w-=_,d=p}return l}const Vx=function e(t){function n(r,o,i,l,s){Ix(t,r,o,i,l,s)}return n.ratio=function(r){return e((r=+r)>1?r:1)},n}(Px);function npe(){var e=Vx,t=!1,n=1,r=1,o=[0],i=pl,l=pl,s=pl,c=pl,u=pl;function d(m){return m.x0=m.y0=0,m.x1=n,m.y1=r,m.eachBefore(p),o=[0],t&&m.eachBefore(Ax),m}function p(m){var g=o[m.depth],v=m.x0+g,w=m.y0+g,_=m.x1-g,y=m.y1-g;_<v&&(v=_=(v+_)/2),y<w&&(w=y=(w+y)/2),m.x0=v,m.y0=w,m.x1=_,m.y1=y,m.children&&(g=o[m.depth+1]=i(m)/2,v+=u(m)-g,w+=l(m)-g,_-=s(m)-g,y-=c(m)-g,_<v&&(v=_=(v+_)/2),y<w&&(w=y=(w+y)/2),e(m,v,w,_,y))}return d.round=function(m){return arguments.length?(t=!!m,d):t},d.size=function(m){return arguments.length?(n=+m[0],r=+m[1],d):[n,r]},d.tile=function(m){return arguments.length?(e=_x(m),d):e},d.padding=function(m){return arguments.length?d.paddingInner(m).paddingOuter(m):d.paddingInner()},d.paddingInner=function(m){return arguments.length?(i=typeof m=="function"?m:ec(+m),d):i},d.paddingOuter=function(m){return arguments.length?d.paddingTop(m).paddingRight(m).paddingBottom(m).paddingLeft(m):d.paddingTop()},d.paddingTop=function(m){return arguments.length?(l=typeof m=="function"?m:ec(+m),d):l},d.paddingRight=function(m){return arguments.length?(s=typeof m=="function"?m:ec(+m),d):s},d.paddingBottom=function(m){return arguments.length?(c=typeof m=="function"?m:ec(+m),d):c},d.paddingLeft=function(m){return arguments.length?(u=typeof m=="function"?m:ec(+m),d):u},d}function rpe(e,t,n,r,o){var i=e.children,l,s=i.length,c,u=new Array(s+1);for(u[0]=c=l=0;l<s;++l)u[l+1]=c+=i[l].value;d(0,s,e.value,t,n,r,o);function d(p,m,g,v,w,_,y){if(p>=m-1){var C=i[p];C.x0=v,C.y0=w,C.x1=_,C.y1=y;return}for(var S=u[p],k=g/2+S,x=p+1,B=m-1;x<B;){var N=x+B>>>1;u[N]<k?x=N+1:B=N}k-u[x-1]<u[x]-k&&p+1<x&&--x;var $=u[x]-S,T=g-$;if(_-v>y-w){var M=g?(v*T+_*$)/g:_;d(p,x,$,v,w,M,y),d(x,m,T,M,w,_,y)}else{var A=g?(w*T+y*$)/g:y;d(p,x,$,v,w,_,A),d(x,m,T,v,A,_,y)}}}function ape(e,t,n,r,o){(e.depth&1?om:cf)(e,t,n,r,o)}const ope=function e(t){function n(r,o,i,l,s){if((c=r._squarify)&&c.ratio===t)for(var c,u,d,p,m=-1,g,v=c.length,w=r.value;++m<v;){for(u=c[m],d=u.children,p=u.value=0,g=d.length;p<g;++p)u.value+=d[p].value;u.dice?cf(u,o,i,l,w?i+=(s-i)*u.value/w:s):om(u,o,i,w?o+=(l-o)*u.value/w:l,s),w-=u.value}else r._squarify=c=Ix(t,r,o,i,l,s),c.ratio=t}return n.ratio=function(r){return e((r=+r)>1?r:1)},n}(Px);function ipe(e){for(var t=-1,n=e.length,r,o=e[n-1],i=0;++t<n;)r=o,o=e[t],i+=r[1]*o[0]-r[0]*o[1];return i/2}function lpe(e){for(var t=-1,n=e.length,r=0,o=0,i,l=e[n-1],s,c=0;++t<n;)i=l,l=e[t],c+=s=i[0]*l[1]-l[0]*i[1],r+=(i[0]+l[0])*s,o+=(i[1]+l[1])*s;return c*=3,[r/c,o/c]}function spe(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}function cpe(e,t){return e[0]-t[0]||e[1]-t[1]}function Rx(e){const t=e.length,n=[0,1];let r=2,o;for(o=2;o<t;++o){for(;r>1&&spe(e[n[r-2]],e[n[r-1]],e[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}function upe(e){if((n=e.length)<3)return null;var t,n,r=new Array(n),o=new Array(n);for(t=0;t<n;++t)r[t]=[+e[t][0],+e[t][1],t];for(r.sort(cpe),t=0;t<n;++t)o[t]=[r[t][0],-r[t][1]];var i=Rx(r),l=Rx(o),s=l[0]===i[0],c=l[l.length-1]===i[i.length-1],u=[];for(t=i.length-1;t>=0;--t)u.push(e[r[i[t]][2]]);for(t=+s;t<l.length-c;++t)u.push(e[r[l[t]][2]]);return u}function fpe(e,t){for(var n=e.length,r=e[n-1],o=t[0],i=t[1],l=r[0],s=r[1],c,u,d=!1,p=0;p<n;++p)r=e[p],c=r[0],u=r[1],u>i!=s>i&&o<(l-c)*(i-u)/(s-u)+c&&(d=!d),l=c,s=u;return d}function dpe(e){for(var t=-1,n=e.length,r=e[n-1],o,i,l=r[0],s=r[1],c=0;++t<n;)o=l,i=s,r=e[t],l=r[0],s=r[1],o-=l,i-=s,c+=Math.hypot(o,i);return c}const Sn=Math.random,hpe=function e(t){function n(r,o){return r=r==null?0:+r,o=o==null?1:+o,arguments.length===1?(o=r,r=0):o-=r,function(){return t()*o+r}}return n.source=e,n}(Sn),ppe=function e(t){function n(r,o){return arguments.length<2&&(o=r,r=0),r=Math.floor(r),o=Math.floor(o)-r,function(){return Math.floor(t()*o+r)}}return n.source=e,n}(Sn),Qb=function e(t){function n(r,o){var i,l;return r=r==null?0:+r,o=o==null?1:+o,function(){var s;if(i!=null)s=i,i=null;else do i=t()*2-1,s=t()*2-1,l=i*i+s*s;while(!l||l>1);return r+o*s*Math.sqrt(-2*Math.log(l)/l)}}return n.source=e,n}(Sn),mpe=function e(t){var n=Qb.source(t);function r(){var o=n.apply(this,arguments);return function(){return Math.exp(o())}}return r.source=e,r}(Sn),Lx=function e(t){function n(r){return(r=+r)<=0?()=>0:function(){for(var o=0,i=r;i>1;--i)o+=t();return o+i*t()}}return n.source=e,n}(Sn),gpe=function e(t){var n=Lx.source(t);function r(o){if((o=+o)==0)return t;var i=n(o);return function(){return i()/o}}return r.source=e,r}(Sn),ype=function e(t){function n(r){return function(){return-Math.log1p(-t())/r}}return n.source=e,n}(Sn),vpe=function e(t){function n(r){if((r=+r)<0)throw new RangeError("invalid alpha");return r=1/-r,function(){return Math.pow(1-t(),r)}}return n.source=e,n}(Sn),bpe=function e(t){function n(r){if((r=+r)<0||r>1)throw new RangeError("invalid p");return function(){return Math.floor(t()+r)}}return n.source=e,n}(Sn),Dx=function e(t){function n(r){if((r=+r)<0||r>1)throw new RangeError("invalid p");return r===0?()=>1/0:r===1?()=>1:(r=Math.log1p(-r),function(){return 1+Math.floor(Math.log1p(-t())/r)})}return n.source=e,n}(Sn),e2=function e(t){var n=Qb.source(t)();function r(o,i){if((o=+o)<0)throw new RangeError("invalid k");if(o===0)return()=>0;if(i=i==null?1:+i,o===1)return()=>-Math.log1p(-t())*i;var l=(o<1?o+1:o)-1/3,s=1/(3*Math.sqrt(l)),c=o<1?()=>Math.pow(t(),1/o):()=>1;return function(){do{do var u=n(),d=1+s*u;while(d<=0);d*=d*d;var p=1-t()}while(p>=1-.0331*u*u*u*u&&Math.log(p)>=.5*u*u+l*(1-d+Math.log(d)));return l*d*c()*i}}return r.source=e,r}(Sn),zx=function e(t){var n=e2.source(t);function r(o,i){var l=n(o),s=n(i);return function(){var c=l();return c===0?0:c/(c+s())}}return r.source=e,r}(Sn),Fx=function e(t){var n=Dx.source(t),r=zx.source(t);function o(i,l){return i=+i,(l=+l)>=1?()=>i:l<=0?()=>0:function(){for(var s=0,c=i,u=l;c*u>16&&c*(1-u)>16;){var d=Math.floor((c+1)*u),p=r(d,c-d+1)();p<=u?(s+=d,c-=d,u=(u-p)/(1-p)):(c=d-1,u/=p)}for(var m=u<.5,g=m?u:1-u,v=n(g),w=v(),_=0;w<=c;++_)w+=v();return s+(m?_:c-_)}}return o.source=e,o}(Sn),_pe=function e(t){function n(r,o,i){var l;return(r=+r)==0?l=s=>-Math.log(s):(r=1/r,l=s=>Math.pow(s,r)),o=o==null?0:+o,i=i==null?1:+i,function(){return o+i*l(-Math.log1p(-t()))}}return n.source=e,n}(Sn),wpe=function e(t){function n(r,o){return r=r==null?0:+r,o=o==null?1:+o,function(){return r+o*Math.tan(Math.PI*t())}}return n.source=e,n}(Sn),Spe=function e(t){function n(r,o){return r=r==null?0:+r,o=o==null?1:+o,function(){var i=t();return r+o*Math.log(i/(1-i))}}return n.source=e,n}(Sn),kpe=function e(t){var n=e2.source(t),r=Fx.source(t);function o(i){return function(){for(var l=0,s=i;s>16;){var c=Math.floor(.875*s),u=n(c)();if(u>s)return l+r(c-1,s/u)();l+=c,s-=u}for(var d=-Math.log1p(-t()),p=0;d<=s;++p)d-=Math.log1p(-t());return l+p}}return o.source=e,o}(Sn),Cpe=1664525,xpe=1013904223,Hx=1/4294967296;function Epe(e=Math.random()){let t=(0<=e&&e<1?e/Hx:Math.abs(e))|0;return()=>(t=Cpe*t+xpe|0,Hx*(t>>>0))}function Gr(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function wo(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const im=Symbol("implicit");function tc(){var e=new yu,t=[],n=[],r=im;function o(i){let l=e.get(i);if(l===void 0){if(r!==im)return r;e.set(i,l=t.push(i)-1)}return n[l%n.length]}return o.domain=function(i){if(!arguments.length)return t.slice();t=[],e=new yu;for(const l of i)e.has(l)||e.set(l,t.push(l)-1);return o},o.range=function(i){return arguments.length?(n=Array.from(i),o):n.slice()},o.unknown=function(i){return arguments.length?(r=i,o):r},o.copy=function(){return tc(t,n).unknown(r)},Gr.apply(o,arguments),o}function uf(){var e=tc().unknown(void 0),t=e.domain,n=e.range,r=0,o=1,i,l,s=!1,c=0,u=0,d=.5;delete e.unknown;function p(){var m=t().length,g=o<r,v=g?o:r,w=g?r:o;i=(w-v)/Math.max(1,m-c+u*2),s&&(i=Math.floor(i)),v+=(w-v-i*(m-c))*d,l=i*(1-c),s&&(v=Math.round(v),l=Math.round(l));var _=Va(m).map(function(y){return v+i*y});return n(g?_.reverse():_)}return e.domain=function(m){return arguments.length?(t(m),p()):t()},e.range=function(m){return arguments.length?([r,o]=m,r=+r,o=+o,p()):[r,o]},e.rangeRound=function(m){return[r,o]=m,r=+r,o=+o,s=!0,p()},e.bandwidth=function(){return l},e.step=function(){return i},e.round=function(m){return arguments.length?(s=!!m,p()):s},e.padding=function(m){return arguments.length?(c=Math.min(1,u=+m),p()):c},e.paddingInner=function(m){return arguments.length?(c=Math.min(1,m),p()):c},e.paddingOuter=function(m){return arguments.length?(u=+m,p()):u},e.align=function(m){return arguments.length?(d=Math.max(0,Math.min(1,m)),p()):d},e.copy=function(){return uf(t(),[r,o]).round(s).paddingInner(c).paddingOuter(u).align(d)},Gr.apply(p(),arguments)}function Ux(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Ux(t())},e}function Wx(){return Ux(uf.apply(null,arguments).paddingInner(1))}function Bpe(e){return function(){return e}}function lm(e){return+e}var jx=[0,1];function Qn(e){return e}function t2(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Bpe(isNaN(t)?NaN:.5)}function Npe(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function Tpe(e,t,n){var r=e[0],o=e[1],i=t[0],l=t[1];return o<r?(r=t2(o,r),i=n(l,i)):(r=t2(r,o),i=n(i,l)),function(s){return i(r(s))}}function $pe(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),l=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++l<r;)o[l]=t2(e[l],e[l+1]),i[l]=n(t[l],t[l+1]);return function(s){var c=Qo(e,s,1,r)-1;return i[c](o[c](s))}}function ff(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function sm(){var e=jx,t=jx,n=ni,r,o,i,l=Qn,s,c,u;function d(){var m=Math.min(e.length,t.length);return l!==Qn&&(l=Npe(e[0],e[m-1])),s=m>2?$pe:Tpe,c=u=null,p}function p(m){return m==null||isNaN(m=+m)?i:(c||(c=s(e.map(r),t,n)))(r(l(m)))}return p.invert=function(m){return l(o((u||(u=s(t,e.map(r),Ur)))(m)))},p.domain=function(m){return arguments.length?(e=Array.from(m,lm),d()):e.slice()},p.range=function(m){return arguments.length?(t=Array.from(m),d()):t.slice()},p.rangeRound=function(m){return t=Array.from(m),n=Bu,d()},p.clamp=function(m){return arguments.length?(l=m?!0:Qn,d()):l!==Qn},p.interpolate=function(m){return arguments.length?(n=m,d()):n},p.unknown=function(m){return arguments.length?(i=m,p):i},function(m,g){return r=m,o=g,d()}}function n2(){return sm()(Qn,Qn)}function r2(e,t,n,r){var o=Nh(e,t,n),i;switch(r=js(r==null?",f":r),r.type){case"s":{var l=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(i=rC(o,l))&&(r.precision=i),Xv(r,l)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(i=aC(o,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=i-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(i=nC(o))&&(r.precision=i-(r.type==="%")*2);break}}return Gs(r)}function li(e){var t=e.domain;return e.ticks=function(n){var r=t();return Yi(r[0],r[r.length-1],n==null?10:n)},e.tickFormat=function(n,r){var o=t();return r2(o[0],o[o.length-1],n==null?10:n,r)},e.nice=function(n){n==null&&(n=10);var r=t(),o=0,i=r.length-1,l=r[o],s=r[i],c,u,d=10;for(s<l&&(u=l,l=s,s=u,u=o,o=i,i=u);d-- >0;){if(u=qi(l,s,n),u===c)return r[o]=l,r[i]=s,t(r);if(u>0)l=Math.floor(l/u)*u,s=Math.ceil(s/u)*u;else if(u<0)l=Math.ceil(l*u)/u,s=Math.floor(s*u)/u;else break;c=u}return e},e}function So(){var e=n2();return e.copy=function(){return ff(e,So())},Gr.apply(e,arguments),li(e)}function a2(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,lm),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return a2(e).unknown(t)},e=arguments.length?Array.from(e,lm):[0,1],li(n)}function Gx(e,t){e=e.slice();var n=0,r=e.length-1,o=e[n],i=e[r],l;return i<o&&(l=n,n=r,r=l,l=o,o=i,i=l),e[n]=t.floor(o),e[r]=t.ceil(i),e}function Yx(e){return Math.log(e)}function qx(e){return Math.exp(e)}function Ape(e){return-Math.log(-e)}function Ope(e){return-Math.exp(-e)}function Mpe(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Ppe(e){return e===10?Mpe:e===Math.E?Math.exp:t=>Math.pow(e,t)}function Ipe(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function Kx(e){return(t,n)=>-e(-t,n)}function o2(e){const t=e(Yx,qx),n=t.domain;let r=10,o,i;function l(){return o=Ipe(r),i=Ppe(r),n()[0]<0?(o=Kx(o),i=Kx(i),e(Ape,Ope)):e(Yx,qx),t}return t.base=function(s){return arguments.length?(r=+s,l()):r},t.domain=function(s){return arguments.length?(n(s),l()):n()},t.ticks=s=>{const c=n();let u=c[0],d=c[c.length-1];const p=d<u;p&&([u,d]=[d,u]);let m=o(u),g=o(d),v,w;const _=s==null?10:+s;let y=[];if(!(r%1)&&g-m<_){if(m=Math.floor(m),g=Math.ceil(g),u>0){for(;m<=g;++m)for(v=1;v<r;++v)if(w=m<0?v/i(-m):v*i(m),!(w<u)){if(w>d)break;y.push(w)}}else for(;m<=g;++m)for(v=r-1;v>=1;--v)if(w=m>0?v/i(-m):v*i(m),!(w<u)){if(w>d)break;y.push(w)}y.length*2<_&&(y=Yi(u,d,_))}else y=Yi(m,g,Math.min(g-m,_)).map(i);return p?y.reverse():y},t.tickFormat=(s,c)=>{if(s==null&&(s=10),c==null&&(c=r===10?"s":","),typeof c!="function"&&(!(r%1)&&(c=js(c)).precision==null&&(c.trim=!0),c=Gs(c)),s===1/0)return c;const u=Math.max(1,r*s/t.ticks().length);return d=>{let p=d/i(Math.round(o(d)));return p*r<r-.5&&(p*=r),p<=u?c(d):""}},t.nice=()=>n(Gx(n(),{floor:s=>i(Math.floor(o(s))),ceil:s=>i(Math.ceil(o(s)))})),t}function i2(){const e=o2(sm()).domain([1,10]);return e.copy=()=>ff(e,i2()).base(e.base()),Gr.apply(e,arguments),e}function Xx(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Zx(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function l2(e){var t=1,n=e(Xx(t),Zx(t));return n.constant=function(r){return arguments.length?e(Xx(t=+r),Zx(t)):t},li(n)}function s2(){var e=l2(sm());return e.copy=function(){return ff(e,s2()).constant(e.constant())},Gr.apply(e,arguments)}function Jx(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Vpe(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Rpe(e){return e<0?-e*e:e*e}function c2(e){var t=e(Qn,Qn),n=1;function r(){return n===1?e(Qn,Qn):n===.5?e(Vpe,Rpe):e(Jx(n),Jx(1/n))}return t.exponent=function(o){return arguments.length?(n=+o,r()):n},li(t)}function cm(){var e=c2(sm());return e.copy=function(){return ff(e,cm()).exponent(e.exponent())},Gr.apply(e,arguments),e}function Qx(){return cm.apply(null,arguments).exponent(.5)}function eE(e){return Math.sign(e)*e*e}function Lpe(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function u2(){var e=n2(),t=[0,1],n=!1,r;function o(i){var l=Lpe(e(i));return isNaN(l)?r:n?Math.round(l):l}return o.invert=function(i){return e.invert(eE(i))},o.domain=function(i){return arguments.length?(e.domain(i),o):e.domain()},o.range=function(i){return arguments.length?(e.range((t=Array.from(i,lm)).map(eE)),o):t.slice()},o.rangeRound=function(i){return o.range(i).round(!0)},o.round=function(i){return arguments.length?(n=!!i,o):n},o.clamp=function(i){return arguments.length?(e.clamp(i),o):e.clamp()},o.unknown=function(i){return arguments.length?(r=i,o):r},o.copy=function(){return u2(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},Gr.apply(o,arguments),li(o)}function f2(){var e=[],t=[],n=[],r;function o(){var l=0,s=Math.max(1,t.length);for(n=new Array(s-1);++l<s;)n[l-1]=HS(e,l/s);return i}function i(l){return l==null||isNaN(l=+l)?r:t[Qo(n,l)]}return i.invertExtent=function(l){var s=t.indexOf(l);return s<0?[NaN,NaN]:[s>0?n[s-1]:e[0],s<n.length?n[s]:e[e.length-1]]},i.domain=function(l){if(!arguments.length)return e.slice();e=[];for(let s of l)s!=null&&!isNaN(s=+s)&&e.push(s);return e.sort(zt),o()},i.range=function(l){return arguments.length?(t=Array.from(l),o()):t.slice()},i.unknown=function(l){return arguments.length?(r=l,i):r},i.quantiles=function(){return n.slice()},i.copy=function(){return f2().domain(e).range(t).unknown(r)},Gr.apply(i,arguments)}function d2(){var e=0,t=1,n=1,r=[.5],o=[0,1],i;function l(c){return c!=null&&c<=c?o[Qo(r,c,0,n)]:i}function s(){var c=-1;for(r=new Array(n);++c<n;)r[c]=((c+1)*t-(c-n)*e)/(n+1);return l}return l.domain=function(c){return arguments.length?([e,t]=c,e=+e,t=+t,s()):[e,t]},l.range=function(c){return arguments.length?(n=(o=Array.from(c)).length-1,s()):o.slice()},l.invertExtent=function(c){var u=o.indexOf(c);return u<0?[NaN,NaN]:u<1?[e,r[0]]:u>=n?[r[n-1],t]:[r[u-1],r[u]]},l.unknown=function(c){return arguments.length&&(i=c),l},l.thresholds=function(){return r.slice()},l.copy=function(){return d2().domain([e,t]).range(o).unknown(i)},Gr.apply(li(l),arguments)}function h2(){var e=[.5],t=[0,1],n,r=1;function o(i){return i!=null&&i<=i?t[Qo(e,i,0,r)]:n}return o.domain=function(i){return arguments.length?(e=Array.from(i),r=Math.min(e.length,t.length-1),o):e.slice()},o.range=function(i){return arguments.length?(t=Array.from(i),r=Math.min(e.length,t.length-1),o):t.slice()},o.invertExtent=function(i){var l=t.indexOf(i);return[e[l-1],e[l]]},o.unknown=function(i){return arguments.length?(n=i,o):n},o.copy=function(){return h2().domain(e).range(t).unknown(n)},Gr.apply(o,arguments)}const p2=new Date,m2=new Date;function rn(e,t,n,r){function o(i){return e(i=arguments.length===0?new Date:new Date(+i)),i}return o.floor=i=>(e(i=new Date(+i)),i),o.ceil=i=>(e(i=new Date(i-1)),t(i,1),e(i),i),o.round=i=>{const l=o(i),s=o.ceil(i);return i-l<s-i?l:s},o.offset=(i,l)=>(t(i=new Date(+i),l==null?1:Math.floor(l)),i),o.range=(i,l,s)=>{const c=[];if(i=o.ceil(i),s=s==null?1:Math.floor(s),!(i<l)||!(s>0))return c;let u;do c.push(u=new Date(+i)),t(i,s),e(i);while(u<i&&i<l);return c},o.filter=i=>rn(l=>{if(l>=l)for(;e(l),!i(l);)l.setTime(l-1)},(l,s)=>{if(l>=l)if(s<0)for(;++s<=0;)for(;t(l,-1),!i(l););else for(;--s>=0;)for(;t(l,1),!i(l););}),n&&(o.count=(i,l)=>(p2.setTime(+i),m2.setTime(+l),e(p2),e(m2),Math.floor(n(p2,m2))),o.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?o.filter(r?l=>r(l)%i===0:l=>o.count(0,l)%i===0):o)),o}const nc=rn(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);nc.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?rn(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):nc);const tE=nc.range,ko=1e3,Yr=ko*60,Co=Yr*60,xo=Co*24,g2=xo*7,nE=xo*30,y2=xo*365,Eo=rn(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*ko)},(e,t)=>(t-e)/ko,e=>e.getUTCSeconds()),rE=Eo.range,um=rn(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ko)},(e,t)=>{e.setTime(+e+t*Yr)},(e,t)=>(t-e)/Yr,e=>e.getMinutes()),Dpe=um.range,fm=rn(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Yr)},(e,t)=>(t-e)/Yr,e=>e.getUTCMinutes()),zpe=fm.range,dm=rn(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ko-e.getMinutes()*Yr)},(e,t)=>{e.setTime(+e+t*Co)},(e,t)=>(t-e)/Co,e=>e.getHours()),Fpe=dm.range,hm=rn(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Co)},(e,t)=>(t-e)/Co,e=>e.getUTCHours()),Hpe=hm.range,rc=rn(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Yr)/xo,e=>e.getDate()-1),Upe=rc.range,df=rn(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/xo,e=>e.getUTCDate()-1),Wpe=df.range,v2=rn(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/xo,e=>Math.floor(e/xo)),jpe=v2.range;function ml(e){return rn(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Yr)/g2)}const ac=ml(0),hf=ml(1),aE=ml(2),oE=ml(3),gl=ml(4),iE=ml(5),lE=ml(6),sE=ac.range,Gpe=hf.range,Ype=aE.range,qpe=oE.range,Kpe=gl.range,Xpe=iE.range,Zpe=lE.range;function yl(e){return rn(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/g2)}const oc=yl(0),pf=yl(1),cE=yl(2),uE=yl(3),vl=yl(4),fE=yl(5),dE=yl(6),hE=oc.range,Jpe=pf.range,Qpe=cE.range,eme=uE.range,tme=vl.range,nme=fE.range,rme=dE.range,pm=rn(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth()),ame=pm.range,mm=rn(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth()),ome=mm.range,Wa=rn(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Wa.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:rn(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});const ime=Wa.range,ja=rn(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());ja.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:rn(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});const lme=ja.range;function pE(e,t,n,r,o,i){const l=[[Eo,1,ko],[Eo,5,5*ko],[Eo,15,15*ko],[Eo,30,30*ko],[i,1,Yr],[i,5,5*Yr],[i,15,15*Yr],[i,30,30*Yr],[o,1,Co],[o,3,3*Co],[o,6,6*Co],[o,12,12*Co],[r,1,xo],[r,2,2*xo],[n,1,g2],[t,1,nE],[t,3,3*nE],[e,1,y2]];function s(u,d,p){const m=d<u;m&&([u,d]=[d,u]);const g=p&&typeof p.range=="function"?p:c(u,d,p),v=g?g.range(u,+d+1):[];return m?v.reverse():v}function c(u,d,p){const m=Math.abs(d-u)/p,g=Ch(([,,_])=>_).right(l,m);if(g===l.length)return e.every(Nh(u/y2,d/y2,p));if(g===0)return nc.every(Math.max(Nh(u,d,p),1));const[v,w]=l[m/l[g-1][2]<l[g][2]/m?g-1:g];return v.every(w)}return[s,c]}const[mE,gE]=pE(ja,mm,oc,v2,hm,fm),[yE,vE]=pE(Wa,pm,ac,rc,dm,um);function b2(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function _2(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function mf(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function bE(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,l=e.shortDays,s=e.months,c=e.shortMonths,u=gf(o),d=yf(o),p=gf(i),m=yf(i),g=gf(l),v=yf(l),w=gf(s),_=yf(s),y=gf(c),C=yf(c),S={a:H,A:G,b:W,B:ne,c:null,d:xE,e:xE,f:$me,g:zme,G:Hme,H:Bme,I:Nme,j:Tme,L:EE,m:Ame,M:Ome,p:se,q:U,Q:OE,s:ME,S:Mme,u:Pme,U:Ime,V:Vme,w:Rme,W:Lme,x:null,X:null,y:Dme,Y:Fme,Z:Ume,"%":AE},k={a:oe,A:le,b:ue,B:K,c:null,d:NE,e:NE,f:Yme,g:r1e,G:o1e,H:Wme,I:jme,j:Gme,L:TE,m:qme,M:Kme,p:J,q,Q:OE,s:ME,S:Xme,u:Zme,U:Jme,V:Qme,w:e1e,W:t1e,x:null,X:null,y:n1e,Y:a1e,Z:i1e,"%":AE},x={a:M,A,b:F,B:z,c:O,d:kE,e:kE,f:kme,g:SE,G:wE,H:CE,I:CE,j:bme,L:Sme,m:vme,M:_me,p:T,q:yme,Q:xme,s:Eme,S:wme,u:dme,U:hme,V:pme,w:fme,W:mme,x:L,X:V,y:SE,Y:wE,Z:gme,"%":Cme};S.x=B(n,S),S.X=B(r,S),S.c=B(t,S),k.x=B(n,k),k.X=B(r,k),k.c=B(t,k);function B(j,re){return function(X){var Q=[],ye=-1,_e=0,Ne=j.length,ke,ee,he;for(X instanceof Date||(X=new Date(+X));++ye<Ne;)j.charCodeAt(ye)===37&&(Q.push(j.slice(_e,ye)),(ee=_E[ke=j.charAt(++ye)])!=null?ke=j.charAt(++ye):ee=ke==="e"?" ":"0",(he=re[ke])&&(ke=he(X,ee)),Q.push(ke),_e=ye+1);return Q.push(j.slice(_e,ye)),Q.join("")}}function N(j,re){return function(X){var Q=mf(1900,void 0,1),ye=$(Q,j,X+="",0),_e,Ne;if(ye!=X.length)return null;if("Q"in Q)return new Date(Q.Q);if("s"in Q)return new Date(Q.s*1e3+("L"in Q?Q.L:0));if(re&&!("Z"in Q)&&(Q.Z=0),"p"in Q&&(Q.H=Q.H%12+Q.p*12),Q.m===void 0&&(Q.m="q"in Q?Q.q:0),"V"in Q){if(Q.V<1||Q.V>53)return null;"w"in Q||(Q.w=1),"Z"in Q?(_e=_2(mf(Q.y,0,1)),Ne=_e.getUTCDay(),_e=Ne>4||Ne===0?pf.ceil(_e):pf(_e),_e=df.offset(_e,(Q.V-1)*7),Q.y=_e.getUTCFullYear(),Q.m=_e.getUTCMonth(),Q.d=_e.getUTCDate()+(Q.w+6)%7):(_e=b2(mf(Q.y,0,1)),Ne=_e.getDay(),_e=Ne>4||Ne===0?hf.ceil(_e):hf(_e),_e=rc.offset(_e,(Q.V-1)*7),Q.y=_e.getFullYear(),Q.m=_e.getMonth(),Q.d=_e.getDate()+(Q.w+6)%7)}else("W"in Q||"U"in Q)&&("w"in Q||(Q.w="u"in Q?Q.u%7:"W"in Q?1:0),Ne="Z"in Q?_2(mf(Q.y,0,1)).getUTCDay():b2(mf(Q.y,0,1)).getDay(),Q.m=0,Q.d="W"in Q?(Q.w+6)%7+Q.W*7-(Ne+5)%7:Q.w+Q.U*7-(Ne+6)%7);return"Z"in Q?(Q.H+=Q.Z/100|0,Q.M+=Q.Z%100,_2(Q)):b2(Q)}}function $(j,re,X,Q){for(var ye=0,_e=re.length,Ne=X.length,ke,ee;ye<_e;){if(Q>=Ne)return-1;if(ke=re.charCodeAt(ye++),ke===37){if(ke=re.charAt(ye++),ee=x[ke in _E?re.charAt(ye++):ke],!ee||(Q=ee(j,X,Q))<0)return-1}else if(ke!=X.charCodeAt(Q++))return-1}return Q}function T(j,re,X){var Q=u.exec(re.slice(X));return Q?(j.p=d.get(Q[0].toLowerCase()),X+Q[0].length):-1}function M(j,re,X){var Q=g.exec(re.slice(X));return Q?(j.w=v.get(Q[0].toLowerCase()),X+Q[0].length):-1}function A(j,re,X){var Q=p.exec(re.slice(X));return Q?(j.w=m.get(Q[0].toLowerCase()),X+Q[0].length):-1}function F(j,re,X){var Q=y.exec(re.slice(X));return Q?(j.m=C.get(Q[0].toLowerCase()),X+Q[0].length):-1}function z(j,re,X){var Q=w.exec(re.slice(X));return Q?(j.m=_.get(Q[0].toLowerCase()),X+Q[0].length):-1}function O(j,re,X){return $(j,t,re,X)}function L(j,re,X){return $(j,n,re,X)}function V(j,re,X){return $(j,r,re,X)}function H(j){return l[j.getDay()]}function G(j){return i[j.getDay()]}function W(j){return c[j.getMonth()]}function ne(j){return s[j.getMonth()]}function se(j){return o[+(j.getHours()>=12)]}function U(j){return 1+~~(j.getMonth()/3)}function oe(j){return l[j.getUTCDay()]}function le(j){return i[j.getUTCDay()]}function ue(j){return c[j.getUTCMonth()]}function K(j){return s[j.getUTCMonth()]}function J(j){return o[+(j.getUTCHours()>=12)]}function q(j){return 1+~~(j.getUTCMonth()/3)}return{format:function(j){var re=B(j+="",S);return re.toString=function(){return j},re},parse:function(j){var re=N(j+="",!1);return re.toString=function(){return j},re},utcFormat:function(j){var re=B(j+="",k);return re.toString=function(){return j},re},utcParse:function(j){var re=N(j+="",!0);return re.toString=function(){return j},re}}}var _E={"-":"",_:" ",0:"0"},gn=/^\s*\d+/,sme=/^%/,cme=/[\\^$*+?|[\]().{}]/g;function ht(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function ume(e){return e.replace(cme,"\\$&")}function gf(e){return new RegExp("^(?:"+e.map(ume).join("|")+")","i")}function yf(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function fme(e,t,n){var r=gn.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function dme(e,t,n){var r=gn.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function hme(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function pme(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function mme(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function wE(e,t,n){var r=gn.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function SE(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function gme(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function yme(e,t,n){var r=gn.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function vme(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function kE(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function bme(e,t,n){var r=gn.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function CE(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function _me(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function wme(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Sme(e,t,n){var r=gn.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function kme(e,t,n){var r=gn.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Cme(e,t,n){var r=sme.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function xme(e,t,n){var r=gn.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Eme(e,t,n){var r=gn.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function xE(e,t){return ht(e.getDate(),t,2)}function Bme(e,t){return ht(e.getHours(),t,2)}function Nme(e,t){return ht(e.getHours()%12||12,t,2)}function Tme(e,t){return ht(1+rc.count(Wa(e),e),t,3)}function EE(e,t){return ht(e.getMilliseconds(),t,3)}function $me(e,t){return EE(e,t)+"000"}function Ame(e,t){return ht(e.getMonth()+1,t,2)}function Ome(e,t){return ht(e.getMinutes(),t,2)}function Mme(e,t){return ht(e.getSeconds(),t,2)}function Pme(e){var t=e.getDay();return t===0?7:t}function Ime(e,t){return ht(ac.count(Wa(e)-1,e),t,2)}function BE(e){var t=e.getDay();return t>=4||t===0?gl(e):gl.ceil(e)}function Vme(e,t){return e=BE(e),ht(gl.count(Wa(e),e)+(Wa(e).getDay()===4),t,2)}function Rme(e){return e.getDay()}function Lme(e,t){return ht(hf.count(Wa(e)-1,e),t,2)}function Dme(e,t){return ht(e.getFullYear()%100,t,2)}function zme(e,t){return e=BE(e),ht(e.getFullYear()%100,t,2)}function Fme(e,t){return ht(e.getFullYear()%1e4,t,4)}function Hme(e,t){var n=e.getDay();return e=n>=4||n===0?gl(e):gl.ceil(e),ht(e.getFullYear()%1e4,t,4)}function Ume(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ht(t/60|0,"0",2)+ht(t%60,"0",2)}function NE(e,t){return ht(e.getUTCDate(),t,2)}function Wme(e,t){return ht(e.getUTCHours(),t,2)}function jme(e,t){return ht(e.getUTCHours()%12||12,t,2)}function Gme(e,t){return ht(1+df.count(ja(e),e),t,3)}function TE(e,t){return ht(e.getUTCMilliseconds(),t,3)}function Yme(e,t){return TE(e,t)+"000"}function qme(e,t){return ht(e.getUTCMonth()+1,t,2)}function Kme(e,t){return ht(e.getUTCMinutes(),t,2)}function Xme(e,t){return ht(e.getUTCSeconds(),t,2)}function Zme(e){var t=e.getUTCDay();return t===0?7:t}function Jme(e,t){return ht(oc.count(ja(e)-1,e),t,2)}function $E(e){var t=e.getUTCDay();return t>=4||t===0?vl(e):vl.ceil(e)}function Qme(e,t){return e=$E(e),ht(vl.count(ja(e),e)+(ja(e).getUTCDay()===4),t,2)}function e1e(e){return e.getUTCDay()}function t1e(e,t){return ht(pf.count(ja(e)-1,e),t,2)}function n1e(e,t){return ht(e.getUTCFullYear()%100,t,2)}function r1e(e,t){return e=$E(e),ht(e.getUTCFullYear()%100,t,2)}function a1e(e,t){return ht(e.getUTCFullYear()%1e4,t,4)}function o1e(e,t){var n=e.getUTCDay();return e=n>=4||n===0?vl(e):vl.ceil(e),ht(e.getUTCFullYear()%1e4,t,4)}function i1e(){return"+0000"}function AE(){return"%"}function OE(e){return+e}function ME(e){return Math.floor(+e/1e3)}var ic,w2,S2,gm,k2;PE({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function PE(e){return ic=bE(e),w2=ic.format,S2=ic.parse,gm=ic.utcFormat,k2=ic.utcParse,ic}var IE="%Y-%m-%dT%H:%M:%S.%LZ";function l1e(e){return e.toISOString()}var s1e=Date.prototype.toISOString?l1e:gm(IE);const c1e=s1e;function u1e(e){var t=new Date(e);return isNaN(t)?null:t}var f1e=+new Date("2000-01-01T00:00:00.000Z")?u1e:k2(IE);const d1e=f1e;function h1e(e){return new Date(e)}function p1e(e){return e instanceof Date?+e:+new Date(+e)}function C2(e,t,n,r,o,i,l,s,c,u){var d=n2(),p=d.invert,m=d.domain,g=u(".%L"),v=u(":%S"),w=u("%I:%M"),_=u("%I %p"),y=u("%a %d"),C=u("%b %d"),S=u("%B"),k=u("%Y");function x(B){return(c(B)<B?g:s(B)<B?v:l(B)<B?w:i(B)<B?_:r(B)<B?o(B)<B?y:C:n(B)<B?S:k)(B)}return d.invert=function(B){return new Date(p(B))},d.domain=function(B){return arguments.length?m(Array.from(B,p1e)):m().map(h1e)},d.ticks=function(B){var N=m();return e(N[0],N[N.length-1],B==null?10:B)},d.tickFormat=function(B,N){return N==null?x:u(N)},d.nice=function(B){var N=m();return(!B||typeof B.range!="function")&&(B=t(N[0],N[N.length-1],B==null?10:B)),B?m(Gx(N,B)):d},d.copy=function(){return ff(d,C2(e,t,n,r,o,i,l,s,c,u))},d}function x2(){return Gr.apply(C2(yE,vE,Wa,pm,ac,rc,dm,um,Eo,w2).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function VE(){return Gr.apply(C2(mE,gE,ja,mm,oc,df,hm,fm,Eo,gm).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ym(){var e=0,t=1,n,r,o,i,l=Qn,s=!1,c;function u(p){return p==null||isNaN(p=+p)?c:l(o===0?.5:(p=(i(p)-n)*o,s?Math.max(0,Math.min(1,p)):p))}u.domain=function(p){return arguments.length?([e,t]=p,n=i(e=+e),r=i(t=+t),o=n===r?0:1/(r-n),u):[e,t]},u.clamp=function(p){return arguments.length?(s=!!p,u):s},u.interpolator=function(p){return arguments.length?(l=p,u):l};function d(p){return function(m){var g,v;return arguments.length?([g,v]=m,l=p(g,v),u):[l(0),l(1)]}}return u.range=d(ni),u.rangeRound=d(Bu),u.unknown=function(p){return arguments.length?(c=p,u):c},function(p){return i=p,n=p(e),r=p(t),o=n===r?0:1/(r-n),u}}function si(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function vm(){var e=li(ym()(Qn));return e.copy=function(){return si(e,vm())},wo.apply(e,arguments)}function E2(){var e=o2(ym()).domain([1,10]);return e.copy=function(){return si(e,E2()).base(e.base())},wo.apply(e,arguments)}function B2(){var e=l2(ym());return e.copy=function(){return si(e,B2()).constant(e.constant())},wo.apply(e,arguments)}function bm(){var e=c2(ym());return e.copy=function(){return si(e,bm()).exponent(e.exponent())},wo.apply(e,arguments)}function RE(){return bm.apply(null,arguments).exponent(.5)}function N2(){var e=[],t=Qn;function n(r){if(r!=null&&!isNaN(r=+r))return t((Qo(e,r,1)-1)/(e.length-1))}return n.domain=function(r){if(!arguments.length)return e.slice();e=[];for(let o of r)o!=null&&!isNaN(o=+o)&&e.push(o);return e.sort(zt),n},n.interpolator=function(r){return arguments.length?(t=r,n):t},n.range=function(){return e.map((r,o)=>t(o/(e.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(o,i)=>bu(e,i/r))},n.copy=function(){return N2(t).domain(e)},wo.apply(n,arguments)}function _m(){var e=0,t=.5,n=1,r=1,o,i,l,s,c,u=Qn,d,p=!1,m;function g(w){return isNaN(w=+w)?m:(w=.5+((w=+d(w))-i)*(r*w<r*i?s:c),u(p?Math.max(0,Math.min(1,w)):w))}g.domain=function(w){return arguments.length?([e,t,n]=w,o=d(e=+e),i=d(t=+t),l=d(n=+n),s=o===i?0:.5/(i-o),c=i===l?0:.5/(l-i),r=i<o?-1:1,g):[e,t,n]},g.clamp=function(w){return arguments.length?(p=!!w,g):p},g.interpolator=function(w){return arguments.length?(u=w,g):u};function v(w){return function(_){var y,C,S;return arguments.length?([y,C,S]=_,u=J9(w,[y,C,S]),g):[u(0),u(.5),u(1)]}}return g.range=v(ni),g.rangeRound=v(Bu),g.unknown=function(w){return arguments.length?(m=w,g):m},function(w){return d=w,o=w(e),i=w(t),l=w(n),s=o===i?0:.5/(i-o),c=i===l?0:.5/(l-i),r=i<o?-1:1,g}}function T2(){var e=li(_m()(Qn));return e.copy=function(){return si(e,T2())},wo.apply(e,arguments)}function $2(){var e=o2(_m()).domain([.1,1,10]);return e.copy=function(){return si(e,$2()).base(e.base())},wo.apply(e,arguments)}function A2(){var e=l2(_m());return e.copy=function(){return si(e,A2()).constant(e.constant())},wo.apply(e,arguments)}function wm(){var e=c2(_m());return e.copy=function(){return si(e,wm()).exponent(e.exponent())},wo.apply(e,arguments)}function LE(){return wm.apply(null,arguments).exponent(.5)}const DE=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:uf,scaleDiverging:T2,scaleDivergingLog:$2,scaleDivergingPow:wm,scaleDivergingSqrt:LE,scaleDivergingSymlog:A2,scaleIdentity:a2,scaleImplicit:im,scaleLinear:So,scaleLog:i2,scaleOrdinal:tc,scalePoint:Wx,scalePow:cm,scaleQuantile:f2,scaleQuantize:d2,scaleRadial:u2,scaleSequential:vm,scaleSequentialLog:E2,scaleSequentialPow:bm,scaleSequentialQuantile:N2,scaleSequentialSqrt:RE,scaleSequentialSymlog:B2,scaleSqrt:Qx,scaleSymlog:s2,scaleThreshold:h2,scaleTime:x2,scaleUtc:VE,tickFormat:r2},Symbol.toStringTag,{value:"Module"}));function Qe(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(r*6,++r*6);return n}const m1e=Qe("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),g1e=Qe("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),y1e=Qe("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),v1e=Qe("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),b1e=Qe("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),_1e=Qe("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),w1e=Qe("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),S1e=Qe("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),k1e=Qe("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),C1e=Qe("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),xt=e=>R9(e[e.length-1]);var zE=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Qe);const x1e=xt(zE);var FE=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Qe);const E1e=xt(FE);var HE=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Qe);const B1e=xt(HE);var UE=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Qe);const N1e=xt(UE);var WE=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Qe);const T1e=xt(WE);var jE=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Qe);const $1e=xt(jE);var GE=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Qe);const A1e=xt(GE);var YE=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Qe);const O1e=xt(YE);var qE=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Qe);const M1e=xt(qE);var KE=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Qe);const P1e=xt(KE);var XE=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Qe);const I1e=xt(XE);var ZE=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Qe);const V1e=xt(ZE);var JE=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Qe);const R1e=xt(JE);var QE=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Qe);const L1e=xt(QE);var eB=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Qe);const D1e=xt(eB);var tB=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Qe);const z1e=xt(tB);var nB=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Qe);const F1e=xt(nB);var rB=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Qe);const H1e=xt(rB);var aB=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Qe);const U1e=xt(aB);var oB=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Qe);const W1e=xt(oB);var iB=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Qe);const j1e=xt(iB);var lB=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Qe);const G1e=xt(lB);var sB=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Qe);const Y1e=xt(sB);var cB=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Qe);const q1e=xt(cB);var uB=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Qe);const K1e=xt(uB);var fB=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Qe);const X1e=xt(fB);var dB=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Qe);const Z1e=xt(dB);function J1e(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-e*2710.57)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-e*67.37)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-e*2475.67)))))))+")"}const Q1e=ep(_a(300,.5,0),_a(-240,.5,1));var e0e=ep(_a(-100,.75,.35),_a(80,1.5,.8)),t0e=ep(_a(260,.75,.35),_a(80,1.5,.8)),Sm=_a();function n0e(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Sm.h=360*e-100,Sm.s=1.5-1.5*t,Sm.l=.8-.9*t,Sm+""}var km=Ms(),r0e=Math.PI/3,a0e=Math.PI*2/3;function o0e(e){var t;return e=(.5-e)*Math.PI,km.r=255*(t=Math.sin(e))*t,km.g=255*(t=Math.sin(e+r0e))*t,km.b=255*(t=Math.sin(e+a0e))*t,km+""}function i0e(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-e*14825.05)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+e*707.56)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-e*6838.66)))))))+")"}function Cm(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const l0e=Cm(Qe("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var s0e=Cm(Qe("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),c0e=Cm(Qe("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),u0e=Cm(Qe("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function Ze(e){return function(){return e}}const hB=Math.abs,Mn=Math.atan2,Bo=Math.cos,f0e=Math.max,lc=Math.min,dr=Math.sin,At=Math.sqrt,Pn=1e-12,ci=Math.PI,xm=ci/2,ui=2*ci;function d0e(e){return e>1?0:e<-1?ci:Math.acos(e)}function pB(e){return e>=1?xm:e<=-1?-xm:Math.asin(e)}function vf(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new Vu(t)}function h0e(e){return e.innerRadius}function p0e(e){return e.outerRadius}function m0e(e){return e.startAngle}function g0e(e){return e.endAngle}function y0e(e){return e&&e.padAngle}function v0e(e,t,n,r,o,i,l,s){var c=n-e,u=r-t,d=l-o,p=s-i,m=p*c-d*u;if(!(m*m<Pn))return m=(d*(t-i)-p*(e-o))/m,[e+m*c,t+m*u]}function Em(e,t,n,r,o,i,l){var s=e-n,c=t-r,u=(l?i:-i)/At(s*s+c*c),d=u*c,p=-u*s,m=e+d,g=t+p,v=n+d,w=r+p,_=(m+v)/2,y=(g+w)/2,C=v-m,S=w-g,k=C*C+S*S,x=o-i,B=m*w-v*g,N=(S<0?-1:1)*At(f0e(0,x*x*k-B*B)),$=(B*S-C*N)/k,T=(-B*C-S*N)/k,M=(B*S+C*N)/k,A=(-B*C+S*N)/k,F=$-_,z=T-y,O=M-_,L=A-y;return F*F+z*z>O*O+L*L&&($=M,T=A),{cx:$,cy:T,x01:-d,y01:-p,x11:$*(o/x-1),y11:T*(o/x-1)}}function b0e(){var e=h0e,t=p0e,n=Ze(0),r=null,o=m0e,i=g0e,l=y0e,s=null,c=vf(u);function u(){var d,p,m=+e.apply(this,arguments),g=+t.apply(this,arguments),v=o.apply(this,arguments)-xm,w=i.apply(this,arguments)-xm,_=hB(w-v),y=w>v;if(s||(s=d=c()),g<m&&(p=g,g=m,m=p),!(g>Pn))s.moveTo(0,0);else if(_>ui-Pn)s.moveTo(g*Bo(v),g*dr(v)),s.arc(0,0,g,v,w,!y),m>Pn&&(s.moveTo(m*Bo(w),m*dr(w)),s.arc(0,0,m,w,v,y));else{var C=v,S=w,k=v,x=w,B=_,N=_,$=l.apply(this,arguments)/2,T=$>Pn&&(r?+r.apply(this,arguments):At(m*m+g*g)),M=lc(hB(g-m)/2,+n.apply(this,arguments)),A=M,F=M,z,O;if(T>Pn){var L=pB(T/m*dr($)),V=pB(T/g*dr($));(B-=L*2)>Pn?(L*=y?1:-1,k+=L,x-=L):(B=0,k=x=(v+w)/2),(N-=V*2)>Pn?(V*=y?1:-1,C+=V,S-=V):(N=0,C=S=(v+w)/2)}var H=g*Bo(C),G=g*dr(C),W=m*Bo(x),ne=m*dr(x);if(M>Pn){var se=g*Bo(S),U=g*dr(S),oe=m*Bo(k),le=m*dr(k),ue;if(_<ci)if(ue=v0e(H,G,oe,le,se,U,W,ne)){var K=H-ue[0],J=G-ue[1],q=se-ue[0],j=U-ue[1],re=1/dr(d0e((K*q+J*j)/(At(K*K+J*J)*At(q*q+j*j)))/2),X=At(ue[0]*ue[0]+ue[1]*ue[1]);A=lc(M,(m-X)/(re-1)),F=lc(M,(g-X)/(re+1))}else A=F=0}N>Pn?F>Pn?(z=Em(oe,le,H,G,g,F,y),O=Em(se,U,W,ne,g,F,y),s.moveTo(z.cx+z.x01,z.cy+z.y01),F<M?s.arc(z.cx,z.cy,F,Mn(z.y01,z.x01),Mn(O.y01,O.x01),!y):(s.arc(z.cx,z.cy,F,Mn(z.y01,z.x01),Mn(z.y11,z.x11),!y),s.arc(0,0,g,Mn(z.cy+z.y11,z.cx+z.x11),Mn(O.cy+O.y11,O.cx+O.x11),!y),s.arc(O.cx,O.cy,F,Mn(O.y11,O.x11),Mn(O.y01,O.x01),!y))):(s.moveTo(H,G),s.arc(0,0,g,C,S,!y)):s.moveTo(H,G),!(m>Pn)||!(B>Pn)?s.lineTo(W,ne):A>Pn?(z=Em(W,ne,se,U,m,-A,y),O=Em(H,G,oe,le,m,-A,y),s.lineTo(z.cx+z.x01,z.cy+z.y01),A<M?s.arc(z.cx,z.cy,A,Mn(z.y01,z.x01),Mn(O.y01,O.x01),!y):(s.arc(z.cx,z.cy,A,Mn(z.y01,z.x01),Mn(z.y11,z.x11),!y),s.arc(0,0,m,Mn(z.cy+z.y11,z.cx+z.x11),Mn(O.cy+O.y11,O.cx+O.x11),y),s.arc(O.cx,O.cy,A,Mn(O.y11,O.x11),Mn(O.y01,O.x01),!y))):s.arc(0,0,m,x,k,y)}if(s.closePath(),d)return s=null,d+""||null}return u.centroid=function(){var d=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,p=(+o.apply(this,arguments)+ +i.apply(this,arguments))/2-ci/2;return[Bo(p)*d,dr(p)*d]},u.innerRadius=function(d){return arguments.length?(e=typeof d=="function"?d:Ze(+d),u):e},u.outerRadius=function(d){return arguments.length?(t=typeof d=="function"?d:Ze(+d),u):t},u.cornerRadius=function(d){return arguments.length?(n=typeof d=="function"?d:Ze(+d),u):n},u.padRadius=function(d){return arguments.length?(r=d==null?null:typeof d=="function"?d:Ze(+d),u):r},u.startAngle=function(d){return arguments.length?(o=typeof d=="function"?d:Ze(+d),u):o},u.endAngle=function(d){return arguments.length?(i=typeof d=="function"?d:Ze(+d),u):i},u.padAngle=function(d){return arguments.length?(l=typeof d=="function"?d:Ze(+d),u):l},u.context=function(d){return arguments.length?(s=d==null?null:d,u):s},u}var _0e=Array.prototype.slice;function Bm(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function mB(e){this._context=e}mB.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function Nm(e){return new mB(e)}function O2(e){return e[0]}function M2(e){return e[1]}function Tm(e,t){var n=Ze(!0),r=null,o=Nm,i=null,l=vf(s);e=typeof e=="function"?e:e===void 0?O2:Ze(e),t=typeof t=="function"?t:t===void 0?M2:Ze(t);function s(c){var u,d=(c=Bm(c)).length,p,m=!1,g;for(r==null&&(i=o(g=l())),u=0;u<=d;++u)!(u<d&&n(p=c[u],u,c))===m&&((m=!m)?i.lineStart():i.lineEnd()),m&&i.point(+e(p,u,c),+t(p,u,c));if(g)return i=null,g+""||null}return s.x=function(c){return arguments.length?(e=typeof c=="function"?c:Ze(+c),s):e},s.y=function(c){return arguments.length?(t=typeof c=="function"?c:Ze(+c),s):t},s.defined=function(c){return arguments.length?(n=typeof c=="function"?c:Ze(!!c),s):n},s.curve=function(c){return arguments.length?(o=c,r!=null&&(i=o(r)),s):o},s.context=function(c){return arguments.length?(c==null?r=i=null:i=o(r=c),s):r},s}function gB(e,t,n){var r=null,o=Ze(!0),i=null,l=Nm,s=null,c=vf(u);e=typeof e=="function"?e:e===void 0?O2:Ze(+e),t=typeof t=="function"?t:Ze(t===void 0?0:+t),n=typeof n=="function"?n:n===void 0?M2:Ze(+n);function u(p){var m,g,v,w=(p=Bm(p)).length,_,y=!1,C,S=new Array(w),k=new Array(w);for(i==null&&(s=l(C=c())),m=0;m<=w;++m){if(!(m<w&&o(_=p[m],m,p))===y)if(y=!y)g=m,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),v=m-1;v>=g;--v)s.point(S[v],k[v]);s.lineEnd(),s.areaEnd()}y&&(S[m]=+e(_,m,p),k[m]=+t(_,m,p),s.point(r?+r(_,m,p):S[m],n?+n(_,m,p):k[m]))}if(C)return s=null,C+""||null}function d(){return Tm().defined(o).curve(l).context(i)}return u.x=function(p){return arguments.length?(e=typeof p=="function"?p:Ze(+p),r=null,u):e},u.x0=function(p){return arguments.length?(e=typeof p=="function"?p:Ze(+p),u):e},u.x1=function(p){return arguments.length?(r=p==null?null:typeof p=="function"?p:Ze(+p),u):r},u.y=function(p){return arguments.length?(t=typeof p=="function"?p:Ze(+p),n=null,u):t},u.y0=function(p){return arguments.length?(t=typeof p=="function"?p:Ze(+p),u):t},u.y1=function(p){return arguments.length?(n=p==null?null:typeof p=="function"?p:Ze(+p),u):n},u.lineX0=u.lineY0=function(){return d().x(e).y(t)},u.lineY1=function(){return d().x(e).y(n)},u.lineX1=function(){return d().x(r).y(t)},u.defined=function(p){return arguments.length?(o=typeof p=="function"?p:Ze(!!p),u):o},u.curve=function(p){return arguments.length?(l=p,i!=null&&(s=l(i)),u):l},u.context=function(p){return arguments.length?(p==null?i=s=null:s=l(i=p),u):i},u}function w0e(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function S0e(e){return e}function k0e(){var e=S0e,t=w0e,n=null,r=Ze(0),o=Ze(ui),i=Ze(0);function l(s){var c,u=(s=Bm(s)).length,d,p,m=0,g=new Array(u),v=new Array(u),w=+r.apply(this,arguments),_=Math.min(ui,Math.max(-ui,o.apply(this,arguments)-w)),y,C=Math.min(Math.abs(_)/u,i.apply(this,arguments)),S=C*(_<0?-1:1),k;for(c=0;c<u;++c)(k=v[g[c]=c]=+e(s[c],c,s))>0&&(m+=k);for(t!=null?g.sort(function(x,B){return t(v[x],v[B])}):n!=null&&g.sort(function(x,B){return n(s[x],s[B])}),c=0,p=m?(_-u*S)/m:0;c<u;++c,w=y)d=g[c],k=v[d],y=w+(k>0?k*p:0)+S,v[d]={data:s[d],index:c,value:k,startAngle:w,endAngle:y,padAngle:C};return v}return l.value=function(s){return arguments.length?(e=typeof s=="function"?s:Ze(+s),l):e},l.sortValues=function(s){return arguments.length?(t=s,n=null,l):t},l.sort=function(s){return arguments.length?(n=s,t=null,l):n},l.startAngle=function(s){return arguments.length?(r=typeof s=="function"?s:Ze(+s),l):r},l.endAngle=function(s){return arguments.length?(o=typeof s=="function"?s:Ze(+s),l):o},l.padAngle=function(s){return arguments.length?(i=typeof s=="function"?s:Ze(+s),l):i},l}var yB=P2(Nm);function vB(e){this._curve=e}vB.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};function P2(e){function t(n){return new vB(e(n))}return t._curve=e,t}function bf(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(n){return arguments.length?t(P2(n)):t()._curve},e}function bB(){return bf(Tm().curve(yB))}function _B(){var e=gB().curve(yB),t=e.curve,n=e.lineX0,r=e.lineX1,o=e.lineY0,i=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return bf(n())},delete e.lineX0,e.lineEndAngle=function(){return bf(r())},delete e.lineX1,e.lineInnerRadius=function(){return bf(o())},delete e.lineY0,e.lineOuterRadius=function(){return bf(i())},delete e.lineY1,e.curve=function(l){return arguments.length?t(P2(l)):t()._curve},e}function _f(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}class wB{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}class C0e{constructor(t){this._context=t}lineStart(){this._point=0}lineEnd(){}point(t,n){if(t=+t,n=+n,this._point===0)this._point=1;else{const r=_f(this._x0,this._y0),o=_f(this._x0,this._y0=(this._y0+n)/2),i=_f(t,this._y0),l=_f(t,n);this._context.moveTo(...r),this._context.bezierCurveTo(...o,...i,...l)}this._x0=t,this._y0=n}}function SB(e){return new wB(e,!0)}function kB(e){return new wB(e,!1)}function x0e(e){return new C0e(e)}function E0e(e){return e.source}function B0e(e){return e.target}function $m(e){let t=E0e,n=B0e,r=O2,o=M2,i=null,l=null,s=vf(c);function c(){let u;const d=_0e.call(arguments),p=t.apply(this,d),m=n.apply(this,d);if(i==null&&(l=e(u=s())),l.lineStart(),d[0]=p,l.point(+r.apply(this,d),+o.apply(this,d)),d[0]=m,l.point(+r.apply(this,d),+o.apply(this,d)),l.lineEnd(),u)return l=null,u+""||null}return c.source=function(u){return arguments.length?(t=u,c):t},c.target=function(u){return arguments.length?(n=u,c):n},c.x=function(u){return arguments.length?(r=typeof u=="function"?u:Ze(+u),c):r},c.y=function(u){return arguments.length?(o=typeof u=="function"?u:Ze(+u),c):o},c.context=function(u){return arguments.length?(u==null?i=l=null:l=e(i=u),c):i},c}function N0e(){return $m(SB)}function T0e(){return $m(kB)}function $0e(){const e=$m(x0e);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}const A0e=At(3),CB={draw(e,t){const n=At(t+lc(t/28,.75))*.59436,r=n/2,o=r*A0e;e.moveTo(0,n),e.lineTo(0,-n),e.moveTo(-o,-r),e.lineTo(o,r),e.moveTo(-o,r),e.lineTo(o,-r)}},Am={draw(e,t){const n=At(t/ci);e.moveTo(n,0),e.arc(0,0,n,0,ui)}},xB={draw(e,t){const n=At(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},EB=At(1/3),O0e=EB*2,BB={draw(e,t){const n=At(t/O0e),r=n*EB;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},NB={draw(e,t){const n=At(t)*.62625;e.moveTo(0,-n),e.lineTo(n,0),e.lineTo(0,n),e.lineTo(-n,0),e.closePath()}},TB={draw(e,t){const n=At(t-lc(t/7,2))*.87559;e.moveTo(-n,0),e.lineTo(n,0),e.moveTo(0,n),e.lineTo(0,-n)}},$B={draw(e,t){const n=At(t),r=-n/2;e.rect(r,r,n,n)}},AB={draw(e,t){const n=At(t)*.4431;e.moveTo(n,n),e.lineTo(n,-n),e.lineTo(-n,-n),e.lineTo(-n,n),e.closePath()}},M0e=.8908130915292852,OB=dr(ci/10)/dr(7*ci/10),P0e=dr(ui/10)*OB,I0e=-Bo(ui/10)*OB,MB={draw(e,t){const n=At(t*M0e),r=P0e*n,o=I0e*n;e.moveTo(0,-n),e.lineTo(r,o);for(let i=1;i<5;++i){const l=ui*i/5,s=Bo(l),c=dr(l);e.lineTo(c*n,-s*n),e.lineTo(s*r-c*o,c*r+s*o)}e.closePath()}},I2=At(3),PB={draw(e,t){const n=-At(t/(I2*3));e.moveTo(0,n*2),e.lineTo(-I2*n,-n),e.lineTo(I2*n,-n),e.closePath()}},V0e=At(3),IB={draw(e,t){const n=At(t)*.6824,r=n/2,o=n*V0e/2;e.moveTo(0,-n),e.lineTo(o,r),e.lineTo(-o,r),e.closePath()}},qr=-.5,Kr=At(3)/2,V2=1/At(12),R0e=(V2/2+1)*3,VB={draw(e,t){const n=At(t/R0e),r=n/2,o=n*V2,i=r,l=n*V2+n,s=-i,c=l;e.moveTo(r,o),e.lineTo(i,l),e.lineTo(s,c),e.lineTo(qr*r-Kr*o,Kr*r+qr*o),e.lineTo(qr*i-Kr*l,Kr*i+qr*l),e.lineTo(qr*s-Kr*c,Kr*s+qr*c),e.lineTo(qr*r+Kr*o,qr*o-Kr*r),e.lineTo(qr*i+Kr*l,qr*l-Kr*i),e.lineTo(qr*s+Kr*c,qr*c-Kr*s),e.closePath()}},R2={draw(e,t){const n=At(t-lc(t/6,1.7))*.6189;e.moveTo(-n,-n),e.lineTo(n,n),e.moveTo(-n,n),e.lineTo(n,-n)}},RB=[Am,xB,BB,$B,MB,PB,VB],L0e=[Am,TB,R2,IB,CB,AB,NB];function D0e(e,t){let n=null,r=vf(o);e=typeof e=="function"?e:Ze(e||Am),t=typeof t=="function"?t:Ze(t===void 0?64:+t);function o(){let i;if(n||(n=i=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+""||null}return o.type=function(i){return arguments.length?(e=typeof i=="function"?i:Ze(i),o):e},o.size=function(i){return arguments.length?(t=typeof i=="function"?i:Ze(+i),o):t},o.context=function(i){return arguments.length?(n=i==null?null:i,o):n},o}function fi(){}function Om(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Mm(e){this._context=e}Mm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Om(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Om(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function z0e(e){return new Mm(e)}function LB(e){this._context=e}LB.prototype={areaStart:fi,areaEnd:fi,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Om(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function F0e(e){return new LB(e)}function DB(e){this._context=e}DB.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Om(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function H0e(e){return new DB(e)}function zB(e,t){this._basis=new Mm(e),this._beta=t}zB.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r=e[0],o=t[0],i=e[n]-r,l=t[n]-o,s=-1,c;++s<=n;)c=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+c*i),this._beta*t[s]+(1-this._beta)*(o+c*l));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};const U0e=function e(t){function n(r){return t===1?new Mm(r):new zB(r,t)}return n.beta=function(r){return e(+r)},n}(.85);function Pm(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function L2(e,t){this._context=e,this._k=(1-t)/6}L2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Pm(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Pm(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const W0e=function e(t){function n(r){return new L2(r,t)}return n.tension=function(r){return e(+r)},n}(0);function D2(e,t){this._context=e,this._k=(1-t)/6}D2.prototype={areaStart:fi,areaEnd:fi,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Pm(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const j0e=function e(t){function n(r){return new D2(r,t)}return n.tension=function(r){return e(+r)},n}(0);function z2(e,t){this._context=e,this._k=(1-t)/6}z2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Pm(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const G0e=function e(t){function n(r){return new z2(r,t)}return n.tension=function(r){return e(+r)},n}(0);function F2(e,t,n){var r=e._x1,o=e._y1,i=e._x2,l=e._y2;if(e._l01_a>Pn){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,o=(o*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>Pn){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,d=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*u+e._x1*e._l23_2a-t*e._l12_2a)/d,l=(l*u+e._y1*e._l23_2a-n*e._l12_2a)/d}e._context.bezierCurveTo(r,o,i,l,e._x2,e._y2)}function FB(e,t){this._context=e,this._alpha=t}FB.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:F2(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const Y0e=function e(t){function n(r){return t?new FB(r,t):new L2(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function HB(e,t){this._context=e,this._alpha=t}HB.prototype={areaStart:fi,areaEnd:fi,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:F2(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const q0e=function e(t){function n(r){return t?new HB(r,t):new D2(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function UB(e,t){this._context=e,this._alpha=t}UB.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:F2(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const K0e=function e(t){function n(r){return t?new UB(r,t):new z2(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function WB(e){this._context=e}WB.prototype={areaStart:fi,areaEnd:fi,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function X0e(e){return new WB(e)}function jB(e){return e<0?-1:1}function GB(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),l=(n-e._y1)/(o||r<0&&-0),s=(i*o+l*r)/(r+o);return(jB(i)+jB(l))*Math.min(Math.abs(i),Math.abs(l),.5*Math.abs(s))||0}function YB(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function H2(e,t,n){var r=e._x0,o=e._y0,i=e._x1,l=e._y1,s=(i-r)/3;e._context.bezierCurveTo(r+s,o+s*t,i-s,l-s*n,i,l)}function Im(e){this._context=e}Im.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:H2(this,this._t0,YB(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,H2(this,YB(this,n=GB(this,e,t)),n);break;default:H2(this,this._t0,n=GB(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function qB(e){this._context=new KB(e)}(qB.prototype=Object.create(Im.prototype)).point=function(e,t){Im.prototype.point.call(this,t,e)};function KB(e){this._context=e}KB.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}};function Z0e(e){return new Im(e)}function J0e(e){return new qB(e)}function XB(e){this._context=e}XB.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=ZB(e),o=ZB(t),i=0,l=1;l<n;++i,++l)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[l],t[l]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function ZB(e){var t,n=e.length-1,r,o=new Array(n),i=new Array(n),l=new Array(n);for(o[0]=0,i[0]=2,l[0]=e[0]+2*e[1],t=1;t<n-1;++t)o[t]=1,i[t]=4,l[t]=4*e[t]+2*e[t+1];for(o[n-1]=2,i[n-1]=7,l[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=o[t]/i[t-1],i[t]-=r,l[t]-=r*l[t-1];for(o[n-1]=l[n-1]/i[n-1],t=n-2;t>=0;--t)o[t]=(l[t]-o[t+1])/i[t];for(i[n-1]=(e[n]+o[n-1])/2,t=0;t<n-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function Q0e(e){return new XB(e)}function Vm(e,t){this._context=e,this._t=t}Vm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function ege(e){return new Vm(e,.5)}function tge(e){return new Vm(e,0)}function nge(e){return new Vm(e,1)}function sc(e,t){if((l=e.length)>1)for(var n=1,r,o,i=e[t[0]],l,s=i.length;n<l;++n)for(o=i,i=e[t[n]],r=0;r<s;++r)i[r][1]+=i[r][0]=isNaN(o[r][1])?o[r][0]:o[r][1]}function cc(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function rge(e,t){return e[t]}function age(e){const t=[];return t.key=e,t}function oge(){var e=Ze([]),t=cc,n=sc,r=rge;function o(i){var l=Array.from(e.apply(this,arguments),age),s,c=l.length,u=-1,d;for(const p of i)for(s=0,++u;s<c;++s)(l[s][u]=[0,+r(p,l[s].key,u,i)]).data=p;for(s=0,d=Bm(t(l));s<c;++s)l[d[s]].index=s;return n(l,d),l}return o.keys=function(i){return arguments.length?(e=typeof i=="function"?i:Ze(Array.from(i)),o):e},o.value=function(i){return arguments.length?(r=typeof i=="function"?i:Ze(+i),o):r},o.order=function(i){return arguments.length?(t=i==null?cc:typeof i=="function"?i:Ze(Array.from(i)),o):t},o.offset=function(i){return arguments.length?(n=i==null?sc:i,o):n},o}function ige(e,t){if((r=e.length)>0){for(var n,r,o=0,i=e[0].length,l;o<i;++o){for(l=n=0;n<r;++n)l+=e[n][o][1]||0;if(l)for(n=0;n<r;++n)e[n][o][1]/=l}sc(e,t)}}function lge(e,t){if((c=e.length)>0)for(var n,r=0,o,i,l,s,c,u=e[t[0]].length;r<u;++r)for(l=s=0,n=0;n<c;++n)(i=(o=e[t[n]][r])[1]-o[0])>0?(o[0]=l,o[1]=l+=i):i<0?(o[1]=s,o[0]=s+=i):(o[0]=0,o[1]=i)}function sge(e,t){if((o=e.length)>0){for(var n=0,r=e[t[0]],o,i=r.length;n<i;++n){for(var l=0,s=0;l<o;++l)s+=e[l][n][1]||0;r[n][1]+=r[n][0]=-s/2}sc(e,t)}}function cge(e,t){if(!(!((l=e.length)>0)||!((i=(o=e[t[0]]).length)>0))){for(var n=0,r=1,o,i,l;r<i;++r){for(var s=0,c=0,u=0;s<l;++s){for(var d=e[t[s]],p=d[r][1]||0,m=d[r-1][1]||0,g=(p-m)/2,v=0;v<s;++v){var w=e[t[v]],_=w[r][1]||0,y=w[r-1][1]||0;g+=_-y}c+=p,u+=g*p}o[r-1][1]+=o[r-1][0]=n,c&&(n-=u/c)}o[r-1][1]+=o[r-1][0]=n,sc(e,t)}}function JB(e){var t=e.map(uge);return cc(e).sort(function(n,r){return t[n]-t[r]})}function uge(e){for(var t=-1,n=0,r=e.length,o,i=-1/0;++t<r;)(o=+e[t][1])>i&&(i=o,n=t);return n}function QB(e){var t=e.map(eN);return cc(e).sort(function(n,r){return t[n]-t[r]})}function eN(e){for(var t=0,n=-1,r=e.length,o;++n<r;)(o=+e[n][1])&&(t+=o);return t}function fge(e){return QB(e).reverse()}function dge(e){var t=e.length,n,r,o=e.map(eN),i=JB(e),l=0,s=0,c=[],u=[];for(n=0;n<t;++n)r=i[n],l<s?(l+=o[r],c.push(r)):(s+=o[r],u.push(r));return u.reverse().concat(c)}function hge(e){return cc(e).reverse()}const Rm=e=>()=>e;function pge(e,{sourceEvent:t,target:n,transform:r,dispatch:o}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:o}})}function Ga(e,t,n){this.k=e,this.x=t,this.y=n}Ga.prototype={constructor:Ga,scale:function(e){return e===1?this:new Ga(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new Ga(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 Ya=new Ga(1,0,0);tN.prototype=Ga.prototype;function tN(e){for(;!e.__zoom;)if(!(e=e.parentNode))return Ya;return e.__zoom}function U2(e){e.stopImmediatePropagation()}function wf(e){e.preventDefault(),e.stopImmediatePropagation()}function mge(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function gge(){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 nN(){return this.__zoom||Ya}function yge(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function vge(){return navigator.maxTouchPoints||"ontouchstart"in this}function bge(e,t,n){var r=e.invertX(t[0][0])-n[0][0],o=e.invertX(t[1][0])-n[1][0],i=e.invertY(t[0][1])-n[0][1],l=e.invertY(t[1][1])-n[1][1];return e.translate(o>r?(r+o)/2:Math.min(0,r)||Math.max(0,o),l>i?(i+l)/2:Math.min(0,i)||Math.max(0,l))}function Lm(){var e=mge,t=gge,n=bge,r=yge,o=vge,i=[0,1/0],l=[[-1/0,-1/0],[1/0,1/0]],s=250,c=q9,u=Ki("start","zoom","end"),d,p,m,g=500,v=150,w=0,_=10;function y(O){O.property("__zoom",nN).on("wheel.zoom",$,{passive:!1}).on("mousedown.zoom",T).on("dblclick.zoom",M).filter(o).on("touchstart.zoom",A).on("touchmove.zoom",F).on("touchend.zoom touchcancel.zoom",z).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}y.transform=function(O,L,V,H){var G=O.selection?O.selection():O;G.property("__zoom",nN),O!==G?x(O,L,V,H):G.interrupt().each(function(){B(this,arguments).event(H).start().zoom(null,typeof L=="function"?L.apply(this,arguments):L).end()})},y.scaleBy=function(O,L,V,H){y.scaleTo(O,function(){var G=this.__zoom.k,W=typeof L=="function"?L.apply(this,arguments):L;return G*W},V,H)},y.scaleTo=function(O,L,V,H){y.transform(O,function(){var G=t.apply(this,arguments),W=this.__zoom,ne=V==null?k(G):typeof V=="function"?V.apply(this,arguments):V,se=W.invert(ne),U=typeof L=="function"?L.apply(this,arguments):L;return n(S(C(W,U),ne,se),G,l)},V,H)},y.translateBy=function(O,L,V,H){y.transform(O,function(){return n(this.__zoom.translate(typeof L=="function"?L.apply(this,arguments):L,typeof V=="function"?V.apply(this,arguments):V),t.apply(this,arguments),l)},null,H)},y.translateTo=function(O,L,V,H,G){y.transform(O,function(){var W=t.apply(this,arguments),ne=this.__zoom,se=H==null?k(W):typeof H=="function"?H.apply(this,arguments):H;return n(Ya.translate(se[0],se[1]).scale(ne.k).translate(typeof L=="function"?-L.apply(this,arguments):-L,typeof V=="function"?-V.apply(this,arguments):-V),W,l)},H,G)};function C(O,L){return L=Math.max(i[0],Math.min(i[1],L)),L===O.k?O:new Ga(L,O.x,O.y)}function S(O,L,V){var H=L[0]-V[0]*O.k,G=L[1]-V[1]*O.k;return H===O.x&&G===O.y?O:new Ga(O.k,H,G)}function k(O){return[(+O[0][0]+ +O[1][0])/2,(+O[0][1]+ +O[1][1])/2]}function x(O,L,V,H){O.on("start.zoom",function(){B(this,arguments).event(H).start()}).on("interrupt.zoom end.zoom",function(){B(this,arguments).event(H).end()}).tween("zoom",function(){var G=this,W=arguments,ne=B(G,W).event(H),se=t.apply(G,W),U=V==null?k(se):typeof V=="function"?V.apply(G,W):V,oe=Math.max(se[1][0]-se[0][0],se[1][1]-se[0][1]),le=G.__zoom,ue=typeof L=="function"?L.apply(G,W):L,K=c(le.invert(U).concat(oe/le.k),ue.invert(U).concat(oe/ue.k));return function(J){if(J===1)J=ue;else{var q=K(J),j=oe/q[2];J=new Ga(j,U[0]-q[0]*j,U[1]-q[1]*j)}ne.zoom(null,J)}})}function B(O,L,V){return!V&&O.__zooming||new N(O,L)}function N(O,L){this.that=O,this.args=L,this.active=0,this.sourceEvent=null,this.extent=t.apply(O,L),this.taps=0}N.prototype={event:function(O){return O&&(this.sourceEvent=O),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(O,L){return this.mouse&&O!=="mouse"&&(this.mouse[1]=L.invert(this.mouse[0])),this.touch0&&O!=="touch"&&(this.touch0[1]=L.invert(this.touch0[0])),this.touch1&&O!=="touch"&&(this.touch1[1]=L.invert(this.touch1[0])),this.that.__zoom=L,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(O){var L=Vt(this.that).datum();u.call(O,this.that,new pge(O,{sourceEvent:this.sourceEvent,target:y,type:O,transform:this.that.__zoom,dispatch:u}),L)}};function $(O,...L){if(!e.apply(this,arguments))return;var V=B(this,L).event(O),H=this.__zoom,G=Math.max(i[0],Math.min(i[1],H.k*Math.pow(2,r.apply(this,arguments)))),W=Un(O);if(V.wheel)(V.mouse[0][0]!==W[0]||V.mouse[0][1]!==W[1])&&(V.mouse[1]=H.invert(V.mouse[0]=W)),clearTimeout(V.wheel);else{if(H.k===G)return;V.mouse=[W,H.invert(W)],rl(this),V.start()}wf(O),V.wheel=setTimeout(ne,v),V.zoom("mouse",n(S(C(H,G),V.mouse[0],V.mouse[1]),V.extent,l));function ne(){V.wheel=null,V.end()}}function T(O,...L){if(m||!e.apply(this,arguments))return;var V=O.currentTarget,H=B(this,L,!0).event(O),G=Vt(O.view).on("mousemove.zoom",U,!0).on("mouseup.zoom",oe,!0),W=Un(O,V),ne=O.clientX,se=O.clientY;zh(O.view),U2(O),H.mouse=[W,this.__zoom.invert(W)],rl(this),H.start();function U(le){if(wf(le),!H.moved){var ue=le.clientX-ne,K=le.clientY-se;H.moved=ue*ue+K*K>w}H.event(le).zoom("mouse",n(S(H.that.__zoom,H.mouse[0]=Un(le,V),H.mouse[1]),H.extent,l))}function oe(le){G.on("mousemove.zoom mouseup.zoom",null),Fh(le.view,H.moved),wf(le),H.event(le).end()}}function M(O,...L){if(e.apply(this,arguments)){var V=this.__zoom,H=Un(O.changedTouches?O.changedTouches[0]:O,this),G=V.invert(H),W=V.k*(O.shiftKey?.5:2),ne=n(S(C(V,W),H,G),t.apply(this,L),l);wf(O),s>0?Vt(this).transition().duration(s).call(x,ne,H,O):Vt(this).call(y.transform,ne,H,O)}}function A(O,...L){if(e.apply(this,arguments)){var V=O.touches,H=V.length,G=B(this,L,O.changedTouches.length===H).event(O),W,ne,se,U;for(U2(O),ne=0;ne<H;++ne)se=V[ne],U=Un(se,this),U=[U,this.__zoom.invert(U),se.identifier],G.touch0?!G.touch1&&G.touch0[2]!==U[2]&&(G.touch1=U,G.taps=0):(G.touch0=U,W=!0,G.taps=1+!!d);d&&(d=clearTimeout(d)),W&&(G.taps<2&&(p=U[0],d=setTimeout(function(){d=null},g)),rl(this),G.start())}}function F(O,...L){if(this.__zooming){var V=B(this,L).event(O),H=O.changedTouches,G=H.length,W,ne,se,U;for(wf(O),W=0;W<G;++W)ne=H[W],se=Un(ne,this),V.touch0&&V.touch0[2]===ne.identifier?V.touch0[0]=se:V.touch1&&V.touch1[2]===ne.identifier&&(V.touch1[0]=se);if(ne=V.that.__zoom,V.touch1){var oe=V.touch0[0],le=V.touch0[1],ue=V.touch1[0],K=V.touch1[1],J=(J=ue[0]-oe[0])*J+(J=ue[1]-oe[1])*J,q=(q=K[0]-le[0])*q+(q=K[1]-le[1])*q;ne=C(ne,Math.sqrt(J/q)),se=[(oe[0]+ue[0])/2,(oe[1]+ue[1])/2],U=[(le[0]+K[0])/2,(le[1]+K[1])/2]}else if(V.touch0)se=V.touch0[0],U=V.touch0[1];else return;V.zoom("touch",n(S(ne,se,U),V.extent,l))}}function z(O,...L){if(this.__zooming){var V=B(this,L).event(O),H=O.changedTouches,G=H.length,W,ne;for(U2(O),m&&clearTimeout(m),m=setTimeout(function(){m=null},g),W=0;W<G;++W)ne=H[W],V.touch0&&V.touch0[2]===ne.identifier?delete V.touch0:V.touch1&&V.touch1[2]===ne.identifier&&delete V.touch1;if(V.touch1&&!V.touch0&&(V.touch0=V.touch1,delete V.touch1),V.touch0)V.touch0[1]=this.__zoom.invert(V.touch0[0]);else if(V.end(),V.taps===2&&(ne=Un(ne,this),Math.hypot(p[0]-ne[0],p[1]-ne[1])<_)){var se=Vt(this).on("dblclick.zoom");se&&se.apply(this,arguments)}}}return y.wheelDelta=function(O){return arguments.length?(r=typeof O=="function"?O:Rm(+O),y):r},y.filter=function(O){return arguments.length?(e=typeof O=="function"?O:Rm(!!O),y):e},y.touchable=function(O){return arguments.length?(o=typeof O=="function"?O:Rm(!!O),y):o},y.extent=function(O){return arguments.length?(t=typeof O=="function"?O:Rm([[+O[0][0],+O[0][1]],[+O[1][0],+O[1][1]]]),y):t},y.scaleExtent=function(O){return arguments.length?(i[0]=+O[0],i[1]=+O[1],y):[i[0],i[1]]},y.translateExtent=function(O){return arguments.length?(l[0][0]=+O[0][0],l[1][0]=+O[1][0],l[0][1]=+O[0][1],l[1][1]=+O[1][1],y):[[l[0][0],l[0][1]],[l[1][0],l[1][1]]]},y.constrain=function(O){return arguments.length?(n=O,y):n},y.duration=function(O){return arguments.length?(s=+O,y):s},y.interpolate=function(O){return arguments.length?(c=O,y):c},y.on=function(){var O=u.on.apply(u,arguments);return O===u?y:O},y.clickDistance=function(O){return arguments.length?(w=(O=+O)*O,y):Math.sqrt(w)},y.tapDistance=function(O){return arguments.length?(_=+O,y):_},y}const _ge=Object.freeze(Object.defineProperty({__proto__:null,Adder:ln,Delaunay:Uv,FormatSpecifier:bp,InternMap:yu,InternSet:Gi,Node:hl,Path:Vu,Voronoi:Rk,ZoomTransform:Ga,active:kce,arc:b0e,area:gB,areaRadial:_B,ascending:zt,autoType:Yue,axisBottom:Ph,axisLeft:Ih,axisRight:goe,axisTop:moe,bin:zS,bisect:Qo,bisectCenter:dae,bisectLeft:fae,bisectRight:Qo,bisector:Ch,blob:Xue,blur:hae,blur2:ES,blurImage:pae,brush:Vce,brushSelection:Mce,brushX:Pce,brushY:Ice,buffer:Jue,chord:Lce,chordDirected:zce,chordTranspose:Dce,cluster:hhe,color:ti,contourDensity:due,contours:Lv,count:Eh,create:o9,creator:Rh,cross:wae,csv:tfe,csvFormat:Vue,csvFormatBody:Rue,csvFormatRow:Due,csvFormatRows:Lue,csvFormatValue:zue,csvParse:Fk,csvParseRows:Iue,cubehelix:_a,cumsum:Sae,curveBasis:z0e,curveBasisClosed:F0e,curveBasisOpen:H0e,curveBumpX:SB,curveBumpY:kB,curveBundle:U0e,curveCardinal:W0e,curveCardinalClosed:j0e,curveCardinalOpen:G0e,curveCatmullRom:Y0e,curveCatmullRomClosed:q0e,curveCatmullRomOpen:K0e,curveLinear:Nm,curveLinearClosed:X0e,curveMonotoneX:Z0e,curveMonotoneY:J0e,curveNatural:Q0e,curveStep:ege,curveStepAfter:nge,curveStepBefore:tge,descending:CS,deviation:TS,difference:roe,disjoint:aoe,dispatch:Ki,drag:s9,dragDisable:zh,dragEnable:Fh,dsv:efe,dsvFormat:mp,easeBack:gk,easeBackIn:mce,easeBackInOut:gk,easeBackOut:gce,easeBounce:Pu,easeBounceIn:hce,easeBounceInOut:pce,easeBounceOut:Pu,easeCircle:mk,easeCircleIn:rce,easeCircleInOut:mk,easeCircleOut:ace,easeCubic:_v,easeCubicIn:Kse,easeCubicInOut:_v,easeCubicOut:Xse,easeElastic:yk,easeElasticIn:yce,easeElasticInOut:vce,easeElasticOut:yk,easeExp:pk,easeExpIn:tce,easeExpInOut:pk,easeExpOut:nce,easeLinear:Gse,easePoly:uk,easePolyIn:Zse,easePolyInOut:uk,easePolyOut:Jse,easeQuad:ck,easeQuadIn:Yse,easeQuadInOut:ck,easeQuadOut:qse,easeSin:hk,easeSinIn:Qse,easeSinInOut:hk,easeSinOut:ece,every:Zae,extent:xs,fcumsum:Cae,filter:Qae,flatGroup:xae,flatRollup:Eae,forceCenter:sfe,forceCollide:Bfe,forceLink:Tfe,forceManyBody:Lfe,forceRadial:Dfe,forceSimulation:Rfe,forceX:zfe,forceY:Ffe,get format(){return Gs},formatDefaultLocale:tC,formatLocale:eC,get formatPrefix(){return Xv},formatSpecifier:js,fsum:kae,geoAlbers:px,geoAlbersUsa:jde,geoArea:Zfe,geoAzimuthalEqualArea:Gde,geoAzimuthalEqualAreaRaw:Rb,geoAzimuthalEquidistant:Yde,geoAzimuthalEquidistantRaw:Lb,geoBounds:tde,geoCentroid:lde,geoCircle:sde,geoClipAntimeridian:pb,geoClipCircle:RC,geoClipExtent:mde,geoClipRectangle:Fp,geoConicConformal:Kde,geoConicConformalRaw:yx,geoConicEqualArea:Jp,geoConicEqualAreaRaw:hx,geoConicEquidistant:Zde,geoConicEquidistantRaw:vx,geoContains:Sde,geoDistance:ju,geoEqualEarth:Qde,geoEqualEarthRaw:Db,geoEquirectangular:Xde,geoEquirectangularRaw:nf,geoGnomonic:ehe,geoGnomonicRaw:zb,geoGraticule:vb,geoGraticule10:kde,geoIdentity:the,geoInterpolate:Cde,geoLength:LC,geoMercator:qde,geoMercatorRaw:tf,geoNaturalEarth1:nhe,geoNaturalEarth1Raw:Fb,geoOrthographic:rhe,geoOrthographicRaw:Hb,geoPath:Tb,geoProjection:Ca,geoProjectionMutator:Ib,geoRotation:TC,geoStereographic:ahe,geoStereographicRaw:Ub,geoStream:Sa,geoTransform:Vde,geoTransverseMercator:ohe,geoTransverseMercatorRaw:Wb,gray:gle,greatest:FS,greatestIndex:Gae,group:MS,groupSort:Tae,groups:PS,hcl:Kh,hierarchy:jb,histogram:zS,hsl:jh,html:ife,image:rfe,index:Bae,indexes:Nae,interpolate:ni,interpolateArray:Sle,interpolateBasis:M9,interpolateBasisClosed:P9,interpolateBlues:G1e,interpolateBrBG:x1e,interpolateBuGn:P1e,interpolateBuPu:I1e,interpolateCividis:J1e,interpolateCool:t0e,interpolateCubehelix:Rle,interpolateCubehelixDefault:Q1e,interpolateCubehelixLong:ep,interpolateDate:z9,interpolateDiscrete:xle,interpolateGnBu:V1e,interpolateGreens:Y1e,interpolateGreys:q1e,interpolateHcl:Ile,interpolateHclLong:Vle,interpolateHsl:Ole,interpolateHslLong:Mle,interpolateHue:Ele,interpolateInferno:c0e,interpolateLab:Ple,interpolateMagma:s0e,interpolateNumber:Ur,interpolateNumberArray:sv,interpolateObject:F9,interpolateOrRd:R1e,interpolateOranges:Z1e,interpolatePRGn:E1e,interpolatePiYG:B1e,interpolatePlasma:u0e,interpolatePuBu:D1e,interpolatePuBuGn:L1e,interpolatePuOr:N1e,interpolatePuRd:z1e,interpolatePurples:K1e,interpolateRainbow:n0e,interpolateRdBu:T1e,interpolateRdGy:$1e,interpolateRdPu:F1e,interpolateRdYlBu:A1e,interpolateRdYlGn:O1e,interpolateReds:X1e,interpolateRgb:Eu,interpolateRgbBasis:R9,interpolateRgbBasisClosed:wle,interpolateRound:Bu,interpolateSinebow:o0e,interpolateSpectral:M1e,interpolateString:fv,interpolateTransformCss:j9,interpolateTransformSvg:G9,interpolateTurbo:i0e,interpolateViridis:l0e,interpolateWarm:e0e,interpolateYlGn:U1e,interpolateYlGnBu:H1e,interpolateYlOrBr:W1e,interpolateYlOrRd:j1e,interpolateZoom:q9,interrupt:rl,intersection:ooe,interval:Hle,isoFormat:c1e,isoParse:d1e,json:Yv,lab:qh,lch:yle,least:jae,leastIndex:WS,line:Tm,lineRadial:bB,link:$m,linkHorizontal:N0e,linkRadial:$0e,linkVertical:T0e,local:i9,map:eoe,matcher:Yy,max:Ia,maxIndex:Dy,mean:Rae,median:Lae,medianIndex:Dae,merge:Fy,min:Th,minIndex:zy,mode:Fae,namespace:wu,namespaces:jy,nice:Ry,now:Ou,pack:Uhe,packEnclose:Rhe,packSiblings:Fhe,pairs:Hae,partition:Whe,path:Rv,pathRound:Uce,permute:DS,pie:k0e,piecewise:J9,pointRadial:_f,pointer:Un,pointers:Jie,polygonArea:ipe,polygonCentroid:lpe,polygonContains:fpe,polygonHull:upe,polygonLength:dpe,precisionFixed:nC,precisionPrefix:rC,precisionRound:aC,quadtree:yp,quantile:bu,quantileIndex:US,quantileSorted:HS,quantize:Lle,quickselect:$h,radialArea:_B,radialLine:bB,randomBates:gpe,randomBernoulli:bpe,randomBeta:zx,randomBinomial:Fx,randomCauchy:wpe,randomExponential:ype,randomGamma:e2,randomGeometric:Dx,randomInt:ppe,randomIrwinHall:Lx,randomLcg:Epe,randomLogNormal:mpe,randomLogistic:Spe,randomNormal:Qb,randomPareto:vpe,randomPoisson:kpe,randomUniform:hpe,randomWeibull:_pe,range:Va,rank:Wae,reduce:toe,reverse:noe,rgb:Ms,ribbon:Zce,ribbonArrow:Jce,rollup:VS,rollups:RS,scaleBand:uf,scaleDiverging:T2,scaleDivergingLog:$2,scaleDivergingPow:wm,scaleDivergingSqrt:LE,scaleDivergingSymlog:A2,scaleIdentity:a2,scaleImplicit:im,scaleLinear:So,scaleLog:i2,scaleOrdinal:tc,scalePoint:Wx,scalePow:cm,scaleQuantile:f2,scaleQuantize:d2,scaleRadial:u2,scaleSequential:vm,scaleSequentialLog:E2,scaleSequentialPow:bm,scaleSequentialQuantile:N2,scaleSequentialSqrt:RE,scaleSequentialSymlog:B2,scaleSqrt:Qx,scaleSymlog:s2,scaleThreshold:h2,scaleTime:x2,scaleUtc:VE,scan:Yae,schemeAccent:g1e,schemeBlues:lB,schemeBrBG:zE,schemeBuGn:KE,schemeBuPu:XE,schemeCategory10:m1e,schemeDark2:y1e,schemeGnBu:ZE,schemeGreens:sB,schemeGreys:cB,schemeOrRd:JE,schemeOranges:dB,schemePRGn:FE,schemePaired:v1e,schemePastel1:b1e,schemePastel2:_1e,schemePiYG:HE,schemePuBu:eB,schemePuBuGn:QE,schemePuOr:UE,schemePuRd:tB,schemePurples:uB,schemeRdBu:WE,schemeRdGy:jE,schemeRdPu:nB,schemeRdYlBu:GE,schemeRdYlGn:YE,schemeReds:fB,schemeSet1:w1e,schemeSet2:S1e,schemeSet3:k1e,schemeSpectral:qE,schemeTableau10:C1e,schemeYlGn:aB,schemeYlGnBu:rB,schemeYlOrBr:oB,schemeYlOrRd:iB,select:Vt,selectAll:Qie,selection:Zi,selector:Lh,selectorAll:Gy,shuffle:qae,shuffler:jS,some:Jae,sort:Py,stack:oge,stackOffsetDiverging:lge,stackOffsetExpand:ige,stackOffsetNone:sc,stackOffsetSilhouette:sge,stackOffsetWiggle:cge,stackOrderAppearance:JB,stackOrderAscending:QB,stackOrderDescending:fge,stackOrderInsideOut:dge,stackOrderNone:cc,stackOrderReverse:hge,stratify:qhe,style:Xi,subset:loe,sum:Hy,superset:YS,svg:lfe,symbol:D0e,symbolAsterisk:CB,symbolCircle:Am,symbolCross:xB,symbolDiamond:BB,symbolDiamond2:NB,symbolPlus:TB,symbolSquare:$B,symbolSquare2:AB,symbolStar:MB,symbolTimes:R2,symbolTriangle:PB,symbolTriangle2:IB,symbolWye:VB,symbolX:R2,symbols:RB,symbolsFill:RB,symbolsStroke:L0e,text:gp,thresholdFreedmanDiaconis:Iae,thresholdScott:Vae,thresholdSturges:Ly,tickFormat:r2,tickIncrement:qi,tickStep:Nh,ticks:Yi,timeDay:rc,timeDays:Upe,get timeFormat(){return w2},timeFormatDefaultLocale:PE,timeFormatLocale:bE,timeFriday:iE,timeFridays:Xpe,timeHour:dm,timeHours:Fpe,timeInterval:rn,timeMillisecond:nc,timeMilliseconds:tE,timeMinute:um,timeMinutes:Dpe,timeMonday:hf,timeMondays:Gpe,timeMonth:pm,timeMonths:ame,get timeParse(){return S2},timeSaturday:lE,timeSaturdays:Zpe,timeSecond:Eo,timeSeconds:rE,timeSunday:ac,timeSundays:sE,timeThursday:gl,timeThursdays:Kpe,timeTickInterval:vE,timeTicks:yE,timeTuesday:aE,timeTuesdays:Ype,timeWednesday:oE,timeWednesdays:qpe,timeWeek:ac,timeWeeks:sE,timeYear:Wa,timeYears:ime,timeout:pv,timer:ap,timerFlush:tk,transition:lk,transpose:GS,tree:tpe,treemap:npe,treemapBinary:rpe,treemapDice:cf,treemapResquarify:ope,treemapSlice:om,treemapSliceDice:ape,treemapSquarify:Vx,tsv:nfe,tsvFormat:Hue,tsvFormatBody:Uue,tsvFormatRow:jue,tsvFormatRows:Wue,tsvFormatValue:Gue,tsvParse:Hk,tsvParseRows:Fue,union:soe,unixDay:v2,unixDays:jpe,utcDay:df,utcDays:Wpe,get utcFormat(){return gm},utcFriday:fE,utcFridays:nme,utcHour:hm,utcHours:Hpe,utcMillisecond:nc,utcMilliseconds:tE,utcMinute:fm,utcMinutes:zpe,utcMonday:pf,utcMondays:Jpe,utcMonth:mm,utcMonths:ome,get utcParse(){return k2},utcSaturday:dE,utcSaturdays:rme,utcSecond:Eo,utcSeconds:rE,utcSunday:oc,utcSundays:hE,utcThursday:vl,utcThursdays:tme,utcTickInterval:gE,utcTicks:mE,utcTuesday:cE,utcTuesdays:Qpe,utcWednesday:uE,utcWednesdays:eme,utcWeek:oc,utcWeeks:hE,utcYear:ja,utcYears:lme,variance:NS,window:qy,xml:ofe,zip:Xae,zoom:Lm,zoomIdentity:Ya,zoomTransform:tN},Symbol.toStringTag,{value:"Module"})),wge=a.defineComponent({name:"OrdinalLegend",props:{data:{type:Array,default:()=>[]},horizontal:{type:Boolean},markerPath:{type:[String,Function],default:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256z"},categoryObjectsPath:{type:String,default:"id"},highlight:{type:[String,Number],default:null},value:{type:[String,Number],default:null}},emits:["update","update:highlight"],setup(e,{emit:t}){const n=a.computed(()=>{var m;const u=Vt("body").append("svg").attr("width",2046).attr("height",2046),p=(m=u.append("path").attr("d",l()).node())==null?void 0:m.getBoundingClientRect();return u.remove(),p}),r=a.computed(()=>{var p;const{width:u,height:d}=(p=n.value)!=null?p:{width:0,height:0};return`0 0 ${u} ${d}`}),o=a.computed(()=>({"ordinal-legend--horizontal":e.horizontal,"ordinal-legend--has-highlight":e.highlight!==null,"ordinal-legend--has-value":e.value!==null}));a.computed(()=>e.data.map(u=>{const d=Be.uniqueId();return de({[e.categoryObjectsPath]:d},u)}));function i(u){const d=u[e.categoryObjectsPath];return{[`ordinal-legend__item--identifier-${Be.kebabCase(u.label)}`]:!0,"ordinal-legend__item--highlighted":d===e.highlight,"ordinal-legend__item--selected":d===e.value}}function l(u){return Be.isFunction(e.markerPath)&&u?e.markerPath(u):e.markerPath}function s(u){t("update",Be.get(u,e.categoryObjectsPath,null))}function c(u={}){t("update:highlight",Be.get(u,e.categoryObjectsPath,null))}return{classList:o,markerViewbox:r,updateHighlight:c,itemClassList:i,markerPathFunction:l,update:s}}}),Sge=["onClick","onMouseover"],kge={class:"ordinal-legend__item__marker me-1"},Cge=["viewBox"],xge=["d","fill"],Ege={class:"ordinal-legend__item__label"};function Bge(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("ul",{class:a.normalizeClass(["ordinal-legend list-unstyled",e.classList])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.data,l=>(a.openBlock(),a.createElementBlock("li",{key:l[e.categoryObjectsPath],class:a.normalizeClass(["ordinal-legend__item",e.itemClassList(l)])},[a.createElementVNode("a",{onClick:s=>e.update(l),onMouseover:s=>e.updateHighlight(l),onMouseleave:t[0]||(t[0]=s=>e.updateHighlight())},[a.createElementVNode("span",kge,[a.renderSlot(e.$slots,"marker",{marker:{path:l.path,color:l.color}},()=>[(a.openBlock(),a.createElementBlock("svg",{viewBox:e.markerViewbox},[a.createElementVNode("path",{d:e.markerPathFunction(l),fill:l.color,class:"ordinal-legend__item__marker__path"},null,8,xge)],8,Cge))],!0)]),a.createElementVNode("span",Ege,[a.renderSlot(e.$slots,"label",a.normalizeProps(a.guardReactiveProps(l)),()=>[a.createTextVNode(a.toDisplayString(l.label),1)],!0)])],40,Sge)],2))),128))],2)}const W2=rt(wge,[["render",Bge],["__scopeId","data-v-f55cc246"]]);var rN={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="grip-lines-vertical",r=192,o=512,i=[],l="f7a5",s="M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V448c0 17.7 14.3 32 32 32s32-14.3 32-32V64zm128 0c0-17.7-14.3-32-32-32s-32 14.3-32 32V448c0 17.7 14.3 32 32 32s32-14.3 32-32V64z";e.definition={prefix:t,iconName:n,icon:[r,o,i,l,s]},e.faGripLinesVertical=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=o,e.ligatures=i,e.unicode=l,e.svgPathData=s,e.aliases=i})(rN);const Nge=a.defineComponent({name:"RangePicker",components:{Fa:zn},directives:{draggable:{mounted(e,t,n){var d,p;let r,o;const i=(p=(d=t.modifiers)==null?void 0:d.relative)!=null?p:!1;function l({name:m,data:g=null}){n.el.dispatchEvent(new CustomEvent(m,{detail:g}))}function s(m){var y;const g=m instanceof MouseEvent?m.clientX:m.touches[0].clientX,v=i?e.offsetWidth:0,w=((y=t.instance)==null?void 0:y.rangeWidth())-v,_=Be.clamp(r+g-o,0,w);return l({name:"dragged",data:_}),!1}function c(m){l({name:"ended"}),m instanceof MouseEvent?(document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",c)):(document.removeEventListener("touchmove",s),document.removeEventListener("touchend",c))}function u(m){return l({name:"started"}),r=e.offsetLeft,m instanceof MouseEvent?(o=m.clientX,document.addEventListener("mousemove",s),document.addEventListener("mouseup",c)):(o=m.touches[0].clientX,document.addEventListener("touchmove",s),document.addEventListener("touchend",c)),!1}e.addEventListener("mousedown",u),e.addEventListener("touchstart",u)}}},props:{range:{type:Array,required:!0},hover:{type:Boolean,default:!1},startOffset:{type:[Number,String],default:0},endOffset:{type:[Number,String],default:0},precision:{type:Number,default:4},snap:{type:Number,default:1e-4},minDistance:{type:Number,default:.01},variant:{type:String,default:"primary"},rounded:{type:Boolean,default:!1}},emits:["update:range"],setup(e,{emit:t}){var N,$;a.onBeforeMount(()=>{da.add(rN.faGripLinesVertical)});const n=a.ref(null),r=a.toRef((N=e.range[0])!=null?N:0),o=a.toRef(($=e.range[1])!=null?$:0),i=a.ref(!1),l=a.ref(!1),s=a.computed(()=>e.range.length<2),c=a.computed(()=>({left:`${r.value*100}%`,right:`${(1-o.value)*100}%`})),u=a.computed(()=>({left:d.value,right:p.value})),d=a.computed(()=>B(e.startOffset)),p=a.computed(()=>B(e.endOffset)),m=a.computed(()=>({left:`${r.value*100}% `})),g=a.computed(()=>({left:`${o.value*100}%`})),v=a.computed(()=>({[`range-picker--${e.variant}`]:!!e.variant,"range-picker--hover":e.hover,"range-picker--disabled":s.value,"range-picker--rounded":e.rounded,"range-picker--resizing":l.value,"range-picker--moving":i.value}));function w(T){i.value=T!=null?T:!i.value}function _(T){l.value=T!=null?T:!l.value}function y(T){return Be.round(T/e.snap)*e.snap}function C(){var T,M;return(M=(T=n.value)==null?void 0:T.getBoundingClientRect().width)!=null?M:0}function S({detail:T}){const M=y(T/C());M<o.value-e.minDistance&&(r.value=Be.round(M,e.precision),t("update:range",[r.value,o.value]))}function k({detail:T}){const M=y(T/C());M>r.value+e.minDistance&&(o.value=Be.round(M,e.precision),t("update:range",[r.value,o.value]))}function x({detail:T}){const M=y(o.value-r.value),A=y(T/C());r.value=Be.round(A,e.precision),o.value=Be.round(A+M,e.precision),t("update:range",[r.value,o.value])}function B(T){return typeof T=="number"?`${T}px`:`${T}`}return{rangePickerBounds:n,start:r,end:o,classList:v,disabled:s,overlayStyle:c,boundsStyle:u,rangeWidth:C,startBoundStyle:m,endBoundStyle:g,dragStartBound:S,dragEndBound:k,dragBounds:x,toggleMoving:w,toggleResizing:_}}}),Tge={class:"range-picker__wrapper"};function $ge(e,t,n,r,o,i){const l=a.resolveComponent("fa"),s=a.resolveDirective("draggable");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["range-picker",e.classList])},[a.createElementVNode("div",Tge,[a.renderSlot(e.$slots,"default",{},void 0,!0)]),a.withDirectives(a.createElementVNode("div",{ref:"rangePickerBounds",class:"range-picker__bounds",style:a.normalizeStyle(e.boundsStyle)},[a.withDirectives(a.createElementVNode("div",{class:"range-picker__bounds__overlay",style:a.normalizeStyle(e.overlayStyle),onDragged:t[0]||(t[0]=(...c)=>e.dragBounds&&e.dragBounds(...c)),onStarted:t[1]||(t[1]=c=>e.toggleMoving(!0)),onEnded:t[2]||(t[2]=c=>e.toggleMoving(!1))},null,36),[[s,void 0,void 0,{relative:!0}]]),a.withDirectives((a.openBlock(),a.createElementBlock("button",{style:a.normalizeStyle(e.startBoundStyle),class:"range-picker__bounds__start btn",onDragged:t[3]||(t[3]=(...c)=>e.dragStartBound&&e.dragStartBound(...c)),onStarted:t[4]||(t[4]=c=>e.toggleResizing(!0)),onEnded:t[5]||(t[5]=c=>e.toggleResizing(!1))},[a.createVNode(l,{icon:"fa-grip-lines-vertical","fixed-width":""})],36)),[[s]]),a.withDirectives((a.openBlock(),a.createElementBlock("button",{class:"range-picker__bounds__end btn",style:a.normalizeStyle(e.endBoundStyle),onDragged:t[6]||(t[6]=(...c)=>e.dragEndBound&&e.dragEndBound(...c)),onStarted:t[7]||(t[7]=c=>e.toggleResizing(!0)),onEnded:t[8]||(t[8]=c=>e.toggleResizing(!1))},[a.createVNode(l,{icon:"fa-grip-lines-vertical","fixed-width":""})],36)),[[s]])],4),[[a.vShow,!e.disabled]])],2)}const aN=rt(Nge,[["render",$ge],["__scopeId","data-v-8824d089"]]);let Age=0;const Oge=a.defineComponent({name:"ResponsiveIframe",props:{url:{type:String,required:!0},options:{type:Object,default:()=>({})}},data(){return{iframeId:`icij-iframe-${++Age}`,pymParent:null}},mounted(){return Ge(this,null,function*(){yield nS("https://pym.nprapps.org/pym.v1.min.js"),this.pymParent=new window.pym.Parent(this.iframeId,this.url,this.options)})}}),Mge=["id"];function Pge(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("div",{id:e.iframeId},null,8,Mge)}const oN=rt(Oge,[["render",Pge]]),Ige=a.defineComponent({name:"ScaleLegend",props:{width:{type:Number,default:150},height:{type:Number,default:16},cursorValue:{type:Number,default:null},max:{type:Number,default:100},min:{type:Number,default:0},colorScale:{type:[Function,String],default:"scaleLinear",validator(e){return Be.isFunction(e)||e in DE}},colorScaleEnd:{type:String,default(){return window.getComputedStyle(document.body).getPropertyValue("--primary")||"#000"}},colorScaleStart:{type:String,default:"#fff"}},setup(e){const t=a.ref(0),n=a.ref(!1),r=a.ref(null),o=a.computed(()=>({"scale-legend--has-cursor":p.value})),i=a.toRef(e.cursorValue);a.onMounted(()=>Ge(this,null,function*(){yield a.nextTick(),y(),C(),n.value=!0}));const l=a.computed(()=>{const S=g.value(e.cursorValue);return isNaN(S)?"0%":`${S}%`}),s=a.computed(()=>o9("canvas").attr("width",e.width).attr("height",e.height).node()),c=a.computed(()=>{var S,k;return(k=(S=s.value)==null?void 0:S.getContext("2d"))!=null?k:null}),u=a.computed(()=>{var S,k;if(n.value)return(k=(S=s.value)==null?void 0:S.toDataURL())!=null?k:void 0}),d=a.computed(()=>Va(1,e.width+1)),p=a.computed(()=>e.cursorValue!=null),m=a.computed(()=>{if(Be.isString(e.colorScale)){const S=DE[e.colorScale];return S().domain([e.min,e.max]).range([e.colorScaleStart,e.colorScaleEnd])}return e.colorScale}),g=a.computed(()=>So().domain([e.min,e.max]).range([0,100]).interpolate(Bu)),v=a.computed(()=>S=>{const k=w.value(S);return m.value(k)}),w=a.computed(()=>So().domain([0,e.width]).range([e.min,e.max])),_=Gs(",");function y(){var k;const S=(k=r.value)==null?void 0:k.querySelector(".scale-legend__cursor");if(S&&r.value){const{x,width:B}=S.getBoundingClientRect(),{x:N,width:$}=r.value.getBoundingClientRect(),T=N-x-6,M=N+$-(x+B)+6;t.value=Math.max(0,T)||Math.min(0,M)}else t.value=0}function C(){if(c.value)for(const S of d.value)c.value.fillStyle=v.value(S),c.value.fillRect(S,0,1,e.height)}return a.watch(i,()=>Ge(this,null,function*(){yield a.nextTick(),y()})),{classList:o,colorScaleBase64:u,cursorLeft:l,cursorWrapperOffset:t,formatNumber:_,hasCursor:p,widthScale:w,colorScaleFunction:m,widthScaleColor:v}}}),Vge={class:"scale-legend__bound scale-legend__bound--min"},Rge=["height","src","width"],Lge={class:"scale-legend__bound scale-legend__bound--max"};function Dge(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("div",{ref:"el",class:a.normalizeClass([e.classList,"scale-legend"])},[a.createElementVNode("div",Vge,[a.renderSlot(e.$slots,"legend-cursor-min",a.normalizeProps(a.guardReactiveProps({min:e.min})),()=>[a.createTextVNode(a.toDisplayString(e.formatNumber(e.min)),1)],!0)]),a.createElementVNode("img",{height:e.height,src:e.colorScaleBase64,width:e.width,class:"scale-legend__scale",alt:"legend scale"},null,8,Rge),a.createElementVNode("div",Lge,[a.renderSlot(e.$slots,"legend-cursor-max",a.normalizeProps(a.guardReactiveProps({max:e.max})),()=>[a.createTextVNode(a.toDisplayString(e.formatNumber(e.max)),1)],!0)]),e.hasCursor?(a.openBlock(),a.createElementBlock("div",{key:0,style:a.normalizeStyle({left:e.cursorLeft}),class:"scale-legend__cursor"},[a.createElementVNode("div",{style:a.normalizeStyle({transform:`translateX(${e.cursorWrapperOffset}px)`}),class:"scale-legend__cursor__wrapper"},[a.renderSlot(e.$slots,"cursor",a.normalizeProps(a.guardReactiveProps({value:e.cursorValue})),()=>[a.createTextVNode(a.toDisplayString(e.formatNumber(e.cursorValue)),1)],!0)],4)],4)):a.createCommentVNode("",!0)],2)}const j2=rt(Ige,[["render",Dge],["__scopeId","data-v-12b06571"]]);var zge=bs;function Fge(e,t){var n=[];return zge(e,function(r,o,i){t(r,o,i)&&n.push(r)}),n}var Hge=Fge,Uge=C7,Wge=Hge,jge=Jo,Gge=dn;function Yge(e,t){var n=Gge(e)?Uge:Wge;return n(e,jge(t))}var qge=Yge;const iN=_t(qge);var Kge=gy;function Xge(e,t){return Kge(e,t)}var Zge=Xge;const Jge=_t(Zge);var Qge={prefix:"far",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 80c-8.8 0-16 7.2-16 16V416c0 8.8 7.2 16 16 16H384c8.8 0 16-7.2 16-16V96c0-8.8-7.2-16-16-16H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},eye=Qge,tye={prefix:"far",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zm151 118.3C226 97.7 269.5 80 320 80c65.2 0 118.8 29.6 159.9 67.7C518.4 183.5 545 226 558.6 256c-12.6 28-36.6 66.8-70.9 100.9l-53.8-42.2c9.1-17.6 14.2-37.5 14.2-58.7c0-70.7-57.3-128-128-128c-32.2 0-61.7 11.9-84.2 31.5l-46.1-36.1zM394.9 284.2l-81.5-63.9c4.2-8.5 6.6-18.2 6.6-28.3c0-5.5-.7-10.9-2-16c.7 0 1.3 0 2 0c44.2 0 80 35.8 80 80c0 9.9-1.8 19.4-5.1 28.2zm51.3 163.3l-41.9-33C378.8 425.4 350.7 432 320 432c-65.2 0-118.8-29.6-159.9-67.7C121.6 328.5 95 286 81.4 256c8.3-18.4 21.5-41.5 39.4-64.8L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5zm-88-69.3L302 334c-23.5-5.4-43.1-21.2-53.7-42.3l-56.1-44.2c-.2 2.8-.3 5.6-.3 8.5c0 70.7 57.3 128 128 128c13.3 0 26.1-2 38.2-5.8z"]},nye={prefix:"far",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M384 80c8.8 0 16 7.2 16 16V416c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V96c0-8.8 7.2-16 16-16H384zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]},rye={prefix:"far",iconName:"eye",icon:[576,512,[128065],"f06e","M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z"]};function aye(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let Dm;function G2(){G2.init||(G2.init=!0,Dm=aye()!==-1)}var zm={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){G2(),a.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Dm&&this.$el.appendChild(e),e.data="about:blank",Dm||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Dm&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const oye=a.withScopeId("data-v-b329ee4c");a.pushScopeId("data-v-b329ee4c");const iye={class:"resize-observer",tabindex:"-1"};a.popScopeId();const lye=oye((e,t,n,r,o,i)=>(a.openBlock(),a.createBlock("div",iye)));zm.render=lye,zm.__scopeId="data-v-b329ee4c",zm.__file="src/components/ResizeObserver.vue";function Fm(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Fm=function(t){return typeof t}:Fm=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fm(e)}function sye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cye(e,t,n){return t&&lN(e.prototype,t),n&&lN(e,n),e}function sN(e){return uye(e)||fye(e)||dye(e)||hye()}function uye(e){if(Array.isArray(e))return Y2(e)}function fye(e){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(e))return Array.from(e)}function dye(e,t){if(e){if(typeof e=="string")return Y2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Y2(e,t)}}function Y2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hye(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
836
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pye(e){var t;return typeof e=="function"?t={callback:e}:t=e,t}function mye(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,o,i,l=function(c){for(var u=arguments.length,d=new Array(u>1?u-1:0),p=1;p<u;p++)d[p-1]=arguments[p];if(i=d,!(r&&c===o)){var m=n.leading;typeof m=="function"&&(m=m(c,o)),(!r||c!==o)&&m&&e.apply(void 0,[c].concat(sN(i))),o=c,clearTimeout(r),r=setTimeout(function(){e.apply(void 0,[c].concat(sN(i))),r=0},t)}};return l._clear=function(){clearTimeout(r),r=null},l}function cN(e,t){if(e===t)return!0;if(Fm(e)==="object"){for(var n in e)if(!cN(e[n],t[n]))return!1;return!0}return!1}var gye=function(){function e(t,n,r){sye(this,e),this.el=t,this.observer=null,this.frozen=!1,this.createObserver(n,r)}return cye(e,[{key:"createObserver",value:function(n,r){var o=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=pye(n),this.callback=function(s,c){o.options.callback(s,c),s&&o.options.once&&(o.frozen=!0,o.destroyObserver())},this.callback&&this.options.throttle){var i=this.options.throttleOptions||{},l=i.leading;this.callback=mye(this.callback,this.options.throttle,{leading:function(c){return l==="both"||l==="visible"&&c||l==="hidden"&&!c}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(s){var c=s[0];if(s.length>1){var u=s.find(function(p){return p.isIntersecting});u&&(c=u)}if(o.callback){var d=c.isIntersecting&&c.intersectionRatio>=o.threshold;if(d===o.oldResult)return;o.oldResult=d,o.callback(d,c)}},this.options.intersection),a.nextTick(function(){o.observer&&o.observer.observe(o.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),e}();function uN(e,t,n){var r=t.value;if(r)if(typeof IntersectionObserver=="undefined")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var o=new gye(e,r,n);e._vue_visibilityState=o}}function yye(e,t,n){var r=t.value,o=t.oldValue;if(!cN(r,o)){var i=e._vue_visibilityState;if(!r){fN(e);return}i?i.createObserver(r,n):uN(e,{value:r},n)}}function fN(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var vye={beforeMount:uN,updated:yye,unmounted:fN},bye={itemsLimit:1e3},_ye=/(auto|scroll)/;function dN(e,t){return e.parentNode===null?t:dN(e.parentNode,t.concat([e]))}var q2=function(t,n){return getComputedStyle(t,null).getPropertyValue(n)},wye=function(t){return q2(t,"overflow")+q2(t,"overflow-y")+q2(t,"overflow-x")},Sye=function(t){return _ye.test(wye(t))};function hN(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=dN(e.parentNode,[]),n=0;n<t.length;n+=1)if(Sye(t[n]))return t[n];return document.scrollingElement||document.documentElement}}function K2(e){"@babel/helpers - typeof";return K2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},K2(e)}var kye={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function Cye(){return this.items.length&&K2(this.items[0])!=="object"}var X2=!1;if(typeof window!="undefined"){X2=!1;try{var xye=Object.defineProperty({},"passive",{get:function(){X2=!0}});window.addEventListener("test",null,xye)}catch(e){}}let Eye=0;var Z2={name:"RecycleScroller",components:{ResizeObserver:zm},directives:{ObserveVisibility:vye},props:Le(de({},kye),{itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}}),emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const e={"-1":{accumulator:0}},t=this.items,n=this.sizeField,r=this.minItemSize;let o=1e4,i=0,l;for(let s=0,c=t.length;s<c;s++)l=t[s][n]||r,l<o&&(o=l),i+=l,e[s]={accumulator:i,size:l};return this.$_computedMinItemSize=o,e}return[]},simpleArray:Cye,itemIndexByKey(){const{keyField:e,items:t}=this,n={};for(let r=0,o=t.length;r<o;r++)n[t[r][e]]=r;return n}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const e=this.$_lastUpdateScrollPosition;typeof e=="number"&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeUnmount(){this.removeListeners()},methods:{addView(e,t,n,r,o){const i=a.markRaw({id:Eye++,index:t,used:!0,key:r,type:o}),l=a.shallowReactive({item:n,position:0,nr:i});return e.push(l),l},unuseView(e,t=!1){const n=this.$_unusedViews,r=e.nr.type;let o=n.get(r);o||(o=[],n.set(r,o)),o.push(e),t||(e.nr.used=!1,e.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const t=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:n}=this.updateVisibleItems(!1,!0);n||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});t(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&t()},this.updateInterval))}},handleVisibilityChange(e,t){this.ready&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const n=this.itemSize,r=this.gridItems||1,o=this.itemSecondarySize||n,i=this.$_computedMinItemSize,l=this.typeField,s=this.simpleArray?null:this.keyField,c=this.items,u=c.length,d=this.sizes,p=this.$_views,m=this.$_unusedViews,g=this.pool,v=this.itemIndexByKey;let w,_,y,C,S;if(!u)w=_=C=S=y=0;else if(this.$_prerender)w=C=0,_=S=Math.min(this.prerender,c.length),y=null;else{const M=this.getScroll();if(t){let z=M.start-this.$_lastUpdateScrollPosition;if(z<0&&(z=-z),n===null&&z<i||z<n)return{continuous:!0}}this.$_lastUpdateScrollPosition=M.start;const A=this.buffer;M.start-=A,M.end+=A;let F=0;if(this.$refs.before&&(F=this.$refs.before.scrollHeight,M.start-=F),this.$refs.after){const z=this.$refs.after.scrollHeight;M.end+=z}if(n===null){let z,O=0,L=u-1,V=~~(u/2),H;do H=V,z=d[V].accumulator,z<M.start?O=V:V<u-1&&d[V+1].accumulator>M.start&&(L=V),V=~~((O+L)/2);while(V!==H);for(V<0&&(V=0),w=V,y=d[u-1].accumulator,_=V;_<u&&d[_].accumulator<M.end;_++);for(_===-1?_=c.length-1:(_++,_>u&&(_=u)),C=w;C<u&&F+d[C].accumulator<M.start;C++);for(S=C;S<u&&F+d[S].accumulator<M.end;S++);}else{w=~~(M.start/n*r);const z=w%r;w-=z,_=Math.ceil(M.end/n*r),C=Math.max(0,Math.floor((M.start-F)/n*r)),S=Math.floor((M.end-F)/n*r),w<0&&(w=0),_>u&&(_=u),C<0&&(C=0),S>u&&(S=u),y=Math.ceil(u/r)*n}}_-w>bye.itemsLimit&&this.itemsLimitError(),this.totalSize=y;let k;const x=w<=this.$_endIndex&&_>=this.$_startIndex;if(x)for(let M=0,A=g.length;M<A;M++)k=g[M],k.nr.used&&(e&&(k.nr.index=v[k.item[s]]),(k.nr.index==null||k.nr.index<w||k.nr.index>=_)&&this.unuseView(k));const B=x?null:new Map;let N,$,T;for(let M=w;M<_;M++){N=c[M];const A=s?N[s]:N;if(A==null)throw new Error(`Key is ${A} on item (keyField is '${s}')`);if(k=p.get(A),!n&&!d[M].size){k&&this.unuseView(k);continue}$=N[l];let F=m.get($),z=!1;if(!k)x?F&&F.length?k=F.pop():k=this.addView(g,M,N,A,$):(T=B.get($)||0,(!F||T>=F.length)&&(k=this.addView(g,M,N,A,$),this.unuseView(k,!0),F=m.get($)),k=F[T],B.set($,T+1)),p.delete(k.nr.key),k.nr.used=!0,k.nr.index=M,k.nr.key=A,k.nr.type=$,p.set(A,k),z=!0;else if(!k.nr.used&&(k.nr.used=!0,z=!0,F)){const O=F.indexOf(k);O!==-1&&F.splice(O,1)}k.item=N,z&&(M===c.length-1&&this.$emit("scroll-end"),M===0&&this.$emit("scroll-start")),n===null?(k.position=d[M-1].accumulator,k.offset=0):(k.position=Math.floor(M/r)*n,k.offset=M%r*o)}return this.$_startIndex=w,this.$_endIndex=_,this.emitUpdate&&this.$emit("update",w,_,C,S),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:x}},getListenerTarget(){let e=hN(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,n=t==="vertical";let r;if(this.pageMode){const o=e.getBoundingClientRect(),i=n?o.height:o.width;let l=-(n?o.top:o.left),s=n?window.innerHeight:window.innerWidth;l<0&&(s+=l,l=0),l+s>i&&(s=i-l),r={start:l,end:l+s}}else n?r={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:r={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return r},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,X2?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;const n=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/n)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,r,o;if(this.pageMode){const i=hN(this.$el),l=i.tagName==="HTML"?0:i[t.scroll],s=i.getBoundingClientRect(),u=this.$el.getBoundingClientRect()[t.start]-s[t.start];n=i,r=t.scroll,o=e+l+u}else n=this.$el,r=t.scroll,o=e;n[r]=o},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.nr.index-t.nr.index)}}};const Bye={key:0,ref:"before",class:"vue-recycle-scroller__slot"},Nye={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Tye(e,t,n,r,o,i){const l=a.resolveComponent("ResizeObserver"),s=a.resolveDirective("observe-visibility");return a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["vue-recycle-scroller",{ready:o.ready,"page-mode":n.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...c)=>i.handleScroll&&i.handleScroll(...c))},[e.$slots.before?(a.openBlock(),a.createElementBlock("div",Bye,[a.renderSlot(e.$slots,"before")],512)):a.createCommentVNode("v-if",!0),(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.listTag),{ref:"wrapper",style:a.normalizeStyle({[e.direction==="vertical"?"minHeight":"minWidth"]:o.totalSize+"px"}),class:a.normalizeClass(["vue-recycle-scroller__item-wrapper",n.listClass])},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(o.pool,c=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.itemTag),a.mergeProps({key:c.nr.id,style:o.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${c.position}px) translate${e.direction==="vertical"?"X":"Y"}(${c.offset}px)`,width:n.gridItems?`${e.direction==="vertical"&&n.itemSecondarySize||n.itemSize}px`:void 0,height:n.gridItems?`${e.direction==="horizontal"&&n.itemSecondarySize||n.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[n.itemClass,{hover:!n.skipHover&&o.hoverKey===c.nr.key}]]},a.toHandlers(n.skipHover?{}:{mouseenter:()=>{o.hoverKey=c.nr.key},mouseleave:()=>{o.hoverKey=null}})),{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default",{item:c.item,index:c.nr.index,active:c.nr.used})]),_:2},1040,["style","class"]))),128)),a.renderSlot(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?(a.openBlock(),a.createElementBlock("div",Nye,[a.renderSlot(e.$slots,"after")],512)):a.createCommentVNode("v-if",!0),a.createVNode(l,{onNotify:i.handleResize},null,8,["onNotify"])],34)),[[s,i.handleVisibilityChange]])}Z2.render=Tye,Z2.__file="src/components/RecycleScroller.vue";const $ye=27,Aye=38,Oye=40,Mye=a.defineComponent({name:"SelectableDropdown",components:{Fa:zn,RecycleScroller:Z2},props:{items:{type:Array,default(){return[]}},modelValue:{type:[String,Object,Array,Number],default:null},hide:{type:Boolean},propagate:{type:Boolean},multiple:{type:Boolean},serializer:{type:Function,default:Ui},listClass:{type:String,default:"dropdown-menu"},itemClass:{type:String,default:"dropdown-item"},deactivateKeys:{type:Boolean},eq:{type:Function,default:Ej},itemSize:{type:Number,default:32},scrollerHeight:{type:String,default:"inherit"}},emits:["click","update:modelValue","deactivate"],setup(e,{emit:t}){a.onMounted(()=>{C(),M()}),a.onUnmounted(()=>{$()});const n=a.ref(null),r=a.ref([]),o=a.computed(()=>({"--scroller-height":e.scrollerHeight})),i=a.computed(()=>typeof l.value[0]=="string"?null:"recycle_scroller_id"),l=a.computed(()=>typeof e.items[0]=="string"?e.items:e.items.map(F=>Le(de({},F),{recycle_scroller_id:`id-${e8()}`}))),s=a.computed(()=>r.value.length?l.value.indexOf(r.value[0]):-1),c=a.computed(()=>r.value.length?l.value.indexOf(r.value.slice(-1)):-1),u=a.computed(()=>({[Aye]:S,[Oye]:k,[$ye]:x}));a.watch(()=>e.hide,()=>{M()}),a.watch(()=>r.value,()=>{t("update:modelValue",e.multiple?r.value:r.value[0])}),a.watch(()=>e.modelValue,F=>{const z=Ny(F);Jge(r.value,z)||C(z)},{deep:!0});function d(F){return p(F)?eye:nye}function p(F){return Ure(r.value,z=>e.eq(F,z))>-1}function m(F){t("click",F),e.multiple?_(F):w(F)}function g(F){t("click",F),_(F)}function v(F){t("click",F),y(F)}function w(F){p(F)&&r.value.length===1?r.value=iN(r.value,z=>!e.eq(F,z)):r.value=[F]}function _(F){p(F)?r.value=iN(r.value,z=>!e.eq(F,z)):r.value.push(F)}function y(F){if(!r.value.length||!e.multiple)w(F);else{const z=l.value.indexOf(F);z>s.value?r.value=l.value.slice(s.value,z+1):r.value=l.value.slice(z,s.value+1)}}function C(F=e.modelValue){const z=Ny(F);r.value=[...z]}function S(){r.value=[l.value[Math.max(s.value-1,-1)]]}function k(){r.value=[l.value[Math.min(s.value+1,l.value.length-1)]]}function x(){r.value=[],t("deactivate")}function B(F){const z=F.keyCode||F.which;e.deactivateKeys||e.hide||!N(z)||(!e.propagate&&F.stopPropagation&&(F.stopPropagation(),F.preventDefault()),u.value[z]())}function N(F){return Object.keys(u.value).map(Number).indexOf(F)>-1}function $(){window.removeEventListener("keydown",B)}function T(){window.addEventListener("keydown",B)}function M(){e.hide?$():T()}function A(F){var z;return`dropdown-item-${(z=F.recycle_scroller_id)!=null?z:F.toLowerCase()}`}return{cssProps:o,items_:l,keyField:i,lastActiveItemIndex:c,itemActivated:p,clickToSelectItem:m,clickToAddItem:g,clickToSelectRangeToItem:v,indexIcon:d,scroller:n,activeItems:r,itemId:A}}}),Pye=["id","onClick"],Iye={key:0,class:"selectable-dropdown__item__check"},Vye={class:"flex-grow-1 text-truncate selectable-dropdown__item__label"};function Rye(e,t,n,r,o,i){const l=a.resolveComponent("fa"),s=a.resolveComponent("recycle-scroller");return e.hide?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["selectable-dropdown show",{"selectable-dropdown--multiple":e.multiple,[e.listClass]:!0}])},[a.createVNode(s,{style:a.normalizeStyle(e.cssProps),class:"scroller",items:e.items_,"key-field":e.keyField,"item-size":e.itemSize},{default:a.withCtx(({item:c,active:u})=>[a.createElementVNode("span",{id:e.itemId(c),class:a.normalizeClass([{"recycle_scroller-item--active":u,active:e.itemActivated(c),[e.itemClass]:!0},"selectable-dropdown__item px-3 d-flex"]),onClick:[a.withModifiers(d=>e.clickToSelectItem(c),["exact"]),a.withModifiers(d=>e.clickToAddItem(c),["ctrl"]),a.withModifiers(d=>e.clickToSelectRangeToItem(c),["shift"])]},[a.renderSlot(e.$slots,"item",{item:c},()=>[e.multiple?(a.openBlock(),a.createElementBlock("div",Iye,[a.createVNode(l,{icon:e.indexIcon(c),class:"me-2"},null,8,["icon"])])):a.createCommentVNode("",!0),a.createElementVNode("div",Vye,[a.renderSlot(e.$slots,"item-label",{item:c},()=>[a.createTextVNode(a.toDisplayString(e.serializer(c)),1)])])])],10,Pye)]),_:3},8,["style","items","key-field","item-size"])],2))}const pN=rt(Mye,[["render",Rye]]),Lye=a.defineComponent({name:"SecretInput",components:{Fa:zn,HapticCopy:Zc},props:{visible:{type:Boolean},value:{type:[String,Number],default:""},size:{type:String,default:"md"},hapticCopyVariant:{type:String,default:"primary"},noToggler:{type:Boolean},noHapticCopy:{type:Boolean}},emits:["update:visible"],setup(e,{emit:t}){a.onBeforeMount(()=>{da.add(rye,tye)});const n=a.ref(null),r=a.computed(()=>e.visible?"text":"password"),o=a.computed(()=>e.visible?["far","eye-slash"]:["far","eye"]),i=a.computed(()=>`btn-${e.hapticCopyVariant}`);function l(){t("update:visible",!e.visible)}function s(){var c;e.visible&&((c=n.value)==null||c.select())}return{selectInput:s,toggle:l,togglerIcon:o,inputType:r,hapticCopyClassList:i}}});function Dye(e,t,n,r,o,i){const l=a.resolveComponent("fa"),s=Lr,c=iw,u=jl,d=a.resolveComponent("haptic-copy"),p=id,m=Pc;return a.openBlock(),a.createBlock(m,{size:e.size,class:"secret-input"},{default:a.withCtx(()=>[e.noToggler?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(c,{key:0},{default:a.withCtx(()=>[a.createVNode(s,{variant:"link",class:"secret-input__toggler",onClick:e.toggle},{default:a.withCtx(()=>[a.createVNode(l,{"fixed-width":"",icon:e.togglerIcon},null,8,["icon"])]),_:1},8,["onClick"])]),_:1})),a.createVNode(u,{ref:"secretInput",class:"text-monospace secret-input__input",readonly:"",type:e.inputType,modelValue:e.value,onClick:e.selectInput},null,8,["type","modelValue","onClick"]),e.noHapticCopy?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(p,{key:1},{default:a.withCtx(()=>[a.createVNode(d,{class:a.normalizeClass(["secret-input__copy",e.hapticCopyClassList]),"hide-label":"",text:e.value,onSuccess:e.selectInput,onError:e.selectInput},null,8,["class","text","onSuccess","onError"])]),_:1}))]),_:1},8,["size"])}const mN=rt(Lye,[["render",Dye],["__scopeId","data-v-4b756961"]]),uc={PRE:"pre",ACTIVE:"active",POST:"post"},zye=a.defineComponent({name:"SlideUpDown",props:{active:{type:Boolean,default:!1},duration:{type:Number,default:200},tag:{type:String,default:"div"}},data(){return{state:uc.POST,mounted:!1,scrollHeight:0}},computed:{stylePreTransition(){return{overflow:"hidden","transition-property":"height","transition-duration":`${this.duration}ms`,height:this.mounted?`${this.containerScrollHeight}px`:0}},styleActiveTransition(){return{overflow:"hidden","transition-property":"height","transition-duration":`${this.duration}ms`,height:this.mounted?`${this.activeHeight}px`:"auto"}},stylePostTransition(){return this.active?{}:this.styleActiveTransition},style(){switch(this.state){case uc.PRE:return this.stylePreTransition;case uc.ACTIVE:return this.styleActiveTransition;default:return this.stylePostTransition}},activeHeight(){return this.active?this.containerScrollHeight:0},containerScrollHeight(){var e,t;return(t=(e=this.$container)==null?void 0:e.scrollHeight)!=null?t:0},$container(){return this.$refs.container}},watch:{active(){return this.triggerSlide()}},mounted(){return Ge(this,null,function*(){var e;yield this.deferredNextTick(),this.mounted=!0,yield this.cleanLayout(null),(e=this.$container)==null||e.addEventListener("transitionend",t=>this.cleanLayout(t))})},methods:{triggerSlide(){return Ge(this,null,function*(){this.state=uc.PRE,this.scrollHeight=this.containerScrollHeight,yield this.deferredNextTick(),this.state=uc.ACTIVE})},cleanLayout(e){if(!e||e.target===this.$container)return this.state=uc.POST,this.deferredNextTick()},deferredNextTick(){return Ge(this,null,function*(){yield new Promise(e=>setTimeout(e,0)),yield this.$nextTick()})}}});function Fye(e,t,n,r,o,i){return a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.tag),{ref:"container",style:a.normalizeStyle(e.style)},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default")]),_:3},8,["style"])}const gN=rt(zye,[["render",Fye]]),Hye=a.defineComponent({name:"TexturedDeck",props:{modelValue:{type:String,default:_g.Brick},size:{type:String,default:"cover"},tag:{type:[String,Object],default:"div"},black:{type:Boolean,default:!1},backgroundBaseUrl:{type:String,default:()=>It.get("textured-deck.background-base-url",window.location.origin)}},setup(e,{attrs:t}){const n=a.computed(()=>Object.values(_g)),r=a.computed(()=>typeof e.modelValue!="number"?Be.clamp(n.value.indexOf(e.modelValue),0,n.value.length-1):e.modelValue),o=a.computed(()=>n.value[r.value]),i=a.computed(()=>e.black?`texture-${o.value}-black.jpg`:`texture-${o.value}.jpg`),l=a.computed(()=>`${e.backgroundBaseUrl}/assets/img/${i.value}`),s=a.computed(()=>e.size),c=a.computed(()=>`url("${l.value}")`),u=a.computed(()=>Le(de(de({},t),e),{tag:void 0}));return{backgroundSize:s,backgroundImage:c,inheritedProps:u}}});function Uye(e,t,n,r,o,i){return a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.tag),a.mergeProps({style:{backgroundSize:e.backgroundSize,backgroundImage:e.backgroundImage}},e.inheritedProps,{class:"textured-deck"}),{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16,["style"])}const yN=rt(Hye,[["render",Uye],["__scopeId","data-v-ff8311e1"]]);var Wye={prefix:"fas",iconName:"angle-right",icon:[320,512,[8250],"f105","M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]},jye={prefix:"fas",iconName:"angle-left",icon:[320,512,[8249],"f104","M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]};const Gye=a.defineComponent({name:"TinyPagination",components:{Fa:zn,BFormInput:jl,BButton:Lr},props:{totalRows:{type:Number,default:0},perPage:{type:Number,default:20},modelValue:{type:[Number,String],default:1},size:{type:String,default:ns.md,validator:e=>Object.values(ns).includes(e)},pages:{type:[Number,String],default:null},noNav:{type:Boolean},previousPageIcon:{type:[String,Array,Object],default:"angle-left"},nextPageIcon:{type:[String,Array,Object],default:"angle-right"},navVariant:{type:String,default:"link"},block:{type:Boolean},compact:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){a.onBeforeMount(()=>{da.add(jye,Wye)});const{t:n}=Sr(),r=a.computed(()=>+e.modelValue),o=a.ref(r.value),i=a.computed(()=>e.pages===null?Math.ceil(e.totalRows/e.perPage):Number(e.pages)),l=a.computed(()=>({[`tiny-pagination--${e.size}`]:!0,"tiny-pagination--no-nav":e.noNav,"tiny-pagination--block":e.block,"tiny-pagination--compact":e.compact})),s=a.computed(()=>r.value>1),c=a.computed(()=>r.value<i.value);function u(){isNaN(o.value)||t("update:modelValue",+o.value)}function d(){t("update:modelValue",r.value-1)}function p(){t("update:modelValue",r.value+1)}return{t:n,currentPageInput:o,paginationClassList:l,numberOfPages:i,hasPrevious:s,hasNext:c,applyPreviousPage:p,applyNextPage:d,applyPageForm:u}}}),Yye={class:"sr-only"},qye={class:"tiny-pagination__form__label me-1 mb-0"},Kye={class:"sr-only"};function Xye(e,t,n,r,o,i){const l=a.resolveComponent("fa"),s=Lr,c=jl;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["tiny-pagination",e.paginationClassList])},[a.createVNode(s,{class:"tiny-pagination__nav",size:e.size,disabled:!e.hasPrevious,variant:e.navVariant,onClick:e.applyPreviousPage},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"previous",a.normalizeProps(a.guardReactiveProps({modelValue:e.modelValue,numberOfPages:e.numberOfPages,hasPrevious:e.hasPrevious,hasNext:e.hasNext})),()=>[a.createVNode(l,{icon:e.previousPageIcon},null,8,["icon"]),a.createElementVNode("span",Yye,a.toDisplayString(e.t("tiny-pagination.previous")),1)],!0)]),_:3},8,["size","disabled","variant","onClick"]),a.createElementVNode("form",{class:"tiny-pagination__form form-inline",onSubmit:t[1]||(t[1]=a.withModifiers((...u)=>e.applyPageForm&&e.applyPageForm(...u),["prevent"]))},[a.withDirectives(a.createElementVNode("label",qye,[a.renderSlot(e.$slots,"page",a.normalizeProps(a.guardReactiveProps({modelValue:e.modelValue,numberOfPages:e.numberOfPages})),()=>[a.createTextVNode(a.toDisplayString(e.t("tiny-pagination.page")),1)],!0)],512),[[a.vShow,!e.compact]]),a.createVNode(c,{modelValue:e.currentPageInput,"onUpdate:modelValue":t[0]||(t[0]=u=>e.currentPageInput=u),size:e.size,class:"tiny-pagination__form__input me-1",type:"number",step:"1",min:1,max:e.numberOfPages,"aria-label":e.t("tiny-pagination.aria")},null,8,["modelValue","size","max","aria-label"]),a.renderSlot(e.$slots,"number-of-pages",a.normalizeProps(a.guardReactiveProps({modelValue:e.modelValue,numberOfPages:e.numberOfPages})),()=>[a.createTextVNode(a.toDisplayString(e.t("tiny-pagination.total",{numberOfPages:e.numberOfPages})),1)],!0)],32),a.createVNode(s,{class:"tiny-pagination__nav",size:e.size,disabled:!e.hasNext,variant:e.navVariant,onClick:e.applyNextPage},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"next",a.normalizeProps(a.guardReactiveProps({modelValue:e.modelValue,numberOfPages:e.numberOfPages,hasPrevious:e.hasPrevious,hasNext:e.hasNext})),()=>[a.createVNode(l,{icon:e.nextPageIcon},null,8,["icon"]),a.createElementVNode("span",Kye,a.toDisplayString(e.t("tiny-pagination.next")),1)],!0)]),_:3},8,["size","disabled","variant","onClick"])],2)}const vN=rt(Gye,[["render",Xye],["__scopeId","data-v-a3308026"]]),J2=Object.freeze(Object.defineProperty({__proto__:null,AccordionStep:T6,AccordionWrapper:N6,ActiveTextTruncate:R6,AdvancedLinkForm:W5,Brand:Sg,BrandExpansion:Hd,ConfirmButton:q8,ContentPlaceholder:d7,CustomPagination:h7,DigitsInput:p7,DonateForm:Q7,EmbedForm:_y,EmbeddableFooter:uS,Fa:zn,FollowUsPopover:kh,GenericFooter:dS,GenericHeader:gS,HapticCopy:Zc,ImddbHeader:kS,OrdinalLegend:W2,RangePicker:aN,ResponsiveIframe:oN,ScaleLegend:j2,SecretInput:mN,SelectableDropdown:pN,SharingOptions:xy,SharingOptionsLink:Cy,SignUpForm:Ty,SlideUpDown:gN,TexturedDeck:yN,TinyPagination:vN},Symbol.toStringTag,{value:"Module"}));var Zye=as;function Jye(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],l=t(i);if(l!=null&&(s===void 0?l===l&&!Zye(l):n(l,s)))var s=l,c=i}return c}var Qye=Jye;function eve(e,t){return e>t}var tve=eve,nve=Qye,rve=tve,ave=Hi;function ove(e){return e&&e.length?nve(e,ave,rve):void 0}var ive=ove;const bN=_t(ive);var lve=bs;function sve(e,t){var n;return lve(e,function(r,o,i){return n=t(r,o,i),!n}),!!n}var cve=sve,uve=y7,fve=Jo,dve=cve,hve=dn,pve=vy;function mve(e,t,n){var r=hve(e)?uve:dve;return n&&pve(e,t,n)&&(t=void 0),r(e,fve(t))}var gve=mve;const yve=_t(gve);function vve(e){try{new URL(e)}catch(t){return!1}return!0}function bl(e){return{chartHeightRatio:e.chartHeightRatio,data:e.data,dataUrlType:e.dataUrlType,socialMode:e.socialMode,socialModeRatio:e.socialModeRatio}}const _l=()=>({data:{type:[Array,String,Object],default:()=>[],validator(e){return gW(e)||Ud(e)&&vve(e)}},dataUrlType:{type:String,default:"json",validator(e){return["json","csv","tsv"].indexOf(e)>-1}},chartHeightRatio:{type:Number},socialMode:{type:Boolean},socialModeRatio:{type:Number,default:5/4}}),_N=["resized","loaded"];function wl(e,t,{emit:n},r,o,i){const{resizeRef:l,resizeState:s}=V6(e),c=a.ref([]);a.onMounted(()=>Ge(this,null,function*(){var w;yield(w=document.fonts)==null?void 0:w.ready,a.watchEffect(()=>Ge(this,null,function*(){r.value||(Ud(t.data)?c.value=yield _ge[t.dataUrlType](t.data):c.value=t.data,i&&(yield i()),r.value=!0,n("loaded")),r.value&&o&&(o(),n("resized"))}))}));function u({selector:w="text",defaultWidth:_=null,defaultHeight:y=null}={}){var x;const C=r.value?(x=l.value)==null?void 0:x.querySelectorAll(w):[];if(C.length==0)return{width:_,height:y};const S=bN([...C].map(B=>B.getBBox?B.getBBox().width:_)),k=bN([...C].map(B=>B.getBBox?B.getBBox().height:y));return{width:S,height:k}}function d(w){return s.narrowWidth?"’"+String(w).slice(2,4):w}function p(w){return w.highlight}function m(w,_){return K8(_)?_(w):Ud(_)?Gs(_)(w):w}const g=a.computed(()=>t.chartHeightRatio||(t.socialMode?t.socialModeRatio:9/16)),v=a.computed(()=>Array.isArray(t.data)?yve(t.data,p):!1);return a.watch(s.dimensions,()=>{r.value&&o&&(o(),n("resized"))}),{loadedData:c,elementsMaxBBox:u,xAxisYearFormat:d,d3Formatter:m,baseHeightRatio:g,dataHasHighlights:v}}const bve=a.defineComponent({name:"BarChart",props:de({barHeight:{type:Number,default:30},barGap:{type:Number,default:15},barColor:{type:String,default:null},barHighlightColor:{type:String,default:null},fixedLabelWidth:{type:Number,default:null},fixedValueWidth:{type:Number,default:null},labelGap:{type:Number,default:10},valueGap:{type:Number,default:5},sortBy:{type:[Array,String],default:null},xAxisTickFormat:{type:[Function,String],default:()=>Ui}},_l()),emits:["loaded","resized"],setup(e,{emit:t}){const n=a.ref(null),r=a.ref(0),o=a.ref(!1),{loadedData:i,elementsMaxBBox:l,dataHasHighlights:s,d3Formatter:c}=wl(n,bl(e),{emit:t},o,S,null),u=a.computed(()=>i.value?e.sortBy?wh(u.value,e.sortBy):i.value:[]),d=a.computed(()=>e.fixedLabelWidth?e.fixedLabelWidth:l({selector:".bar-chart__labels__item",defaultWidth:100}).width),p=a.computed(()=>e.fixedValueWidth?e.fixedValueWidth:l({selector:".bar-chart__bars__item__value",defaultWidth:0}).width+e.valueGap),m=a.computed(()=>({left:d.value+e.labelGap,right:0,top:0,bottom:0})),g=a.computed(()=>{const x=r.value-m.value.left-m.value.right,B=y.value-m.value.top-m.value.bottom;return{width:x,height:B}}),v=a.computed(()=>({x:So().domain([0,Ia(u.value,B=>B.value)]).range([0,g.value.width-p.value])})),w=a.computed(()=>u.value.map((x,B)=>({width:Math.abs(v.value.x(x.value)),height:Math.abs(e.barHeight),value:x.value,highlight:x.highlight,x:0,y:(e.barHeight+e.barGap)*B}))),_=a.computed(()=>u.value.map((x,B)=>({label:x.label,x:d.value,y:4+e.barHeight/2+(e.barHeight+e.barGap)*B}))),y=a.computed(()=>(e.barHeight+e.barGap)*u.value.length);function C(x){return c(x,e.xAxisTickFormat)}function S(){n.value&&(r.value=n.value.offsetWidth)}function k(){Ph().scale(v.value.x)}return a.watch(r,()=>{k()}),{el:n,dataHasHighlights:s,width:r,height:y,margin:m,labels:_,bars:w,formatXDatum:C}}}),_ve=["width","height"],wve=["x","y"],Sve=["width","height","x","y"],kve=["x","y"];function Cve(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("div",{ref:"el",class:a.normalizeClass(["bar-chart",{"bar-chart--has-highlights":e.dataHasHighlights,"bar-chart--social-mode":e.socialMode}]),style:a.normalizeStyle({"--bar-color":e.barColor,"--bar-highlight-color":e.barHighlightColor})},[(a.openBlock(),a.createElementBlock("svg",{width:e.width,height:e.height},[a.createElementVNode("g",{style:a.normalizeStyle({transform:`translate(0, ${e.margin.top}px)`}),class:"bar-chart__labels"},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.labels,(l,s)=>(a.openBlock(),a.createElementBlock("text",{key:s,x:l.x,y:l.y,"text-anchor":"end",class:"bar-chart__labels__item"},a.toDisplayString(l.label),9,wve))),128))],4),a.createElementVNode("g",{style:a.normalizeStyle({transform:`translate(${e.margin.left}px, ${e.margin.top}px)`}),class:"bar-chart__bars"},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.bars,(l,s)=>(a.openBlock(),a.createElementBlock("g",{key:s,class:a.normalizeClass(["bar-chart__bars__item",{"bar-chart__bars__item--highlight":l.highlight}])},[a.createElementVNode("rect",{width:l.width,height:l.height,x:l.x,y:l.y},null,8,Sve),a.createElementVNode("text",{class:"bar-chart__bars__item__value",x:l.width+e.valueGap,y:l.y+l.height/2,"text-anchor":"start","dominant-baseline":"middle"},a.toDisplayString(e.formatXDatum(l.value)),9,kve)],2))),128))],4)],8,_ve))],6)}const wN=rt(bve,[["render",Cve]]),xve=a.defineComponent({name:"ColumnChart",props:de({columnColor:{type:String,default:null},columnHighlightColor:{type:String,default:null},fixedHeight:{type:Number,default:null},fixedLabelWidth:{type:Number,default:null},seriesName:{type:String,default:"value"},xAxisTickCollapse:{type:Boolean,default:!1},xAxisTickFormat:{type:[Function,String],default:()=>Be.identity},xAxisTicks:{type:Array,default:null},yAxisTickFormat:{type:[Function,String],default:()=>Be.identity},yAxisTicks:{type:[Number,Object],default:5},sortBy:{type:[Array,String],default:null},timeseriesKey:{type:String,default:"date"},maxValue:{type:Number,default:null},noTooltips:{type:Boolean},noXAxis:{type:Boolean},noYAxis:{type:Boolean},barPadding:{type:Number,default:.35},barMargin:{type:Number,default:0},highlights:{type:Array,default:()=>[]},stripped:{type:Boolean},hover:{type:Boolean}},_l()),setup(e,{emit:t}){const n=a.ref(0),r=a.ref(0),o=a.ref(-1),i=a.ref(null),l=a.ref(!1),{loadedData:s,elementsMaxBBox:c,d3Formatter:u,baseHeightRatio:d,dataHasHighlights:p}=wl(i,bl(e),{emit:t},l,F),m=a.computed(()=>s.value?e.sortBy?Be.sortBy(m.value,e.sortBy):s.value:[]),g=a.computed(()=>e.fixedLabelWidth?e.fixedLabelWidth:c({selector:".column-chart__axis--y .tick text",defaultWidth:100}).width),v=a.computed(()=>e.noYAxis?0:c({selector:".column-chart__axis--y .tick text",defaultHeight:10}).height),w=a.computed(()=>e.noXAxis?0:c({selector:".column-chart__axis--x .tick text",defaultHeight:10}).height),_=a.computed(()=>c({selector:".column-chart__axis--x .tick text",defaultWidth:100}).width),y=a.computed(()=>({left:e.noYAxis?0:g.value+10,right:0,top:v.value/2,bottom:e.noXAxis?0:w.value+10})),C=a.computed(()=>{const H=n.value-y.value.left-y.value.right,G=r.value-y.value.top-y.value.bottom;return{width:H,height:G}}),S=a.computed(()=>uf().domain(m.value.map(Be.iteratee(e.timeseriesKey))).range([0,C.value.width]).padding(e.barPadding)),k=a.computed(()=>{var G;const H=(G=e.maxValue)!=null?G:Ia(m.value,Be.iteratee(e.seriesName));return So().domain([0,H]).range([C.value.height,0])}),x=a.computed(()=>m.value.map(H=>{var G,W;return{datum:H,width:Math.max(1,Math.abs(S.value.bandwidth())-e.barMargin),height:Math.abs(C.value.height-k.value(H[e.seriesName])),x:((G=S.value(H[e.timeseriesKey]))!=null?G:0)+e.barMargin/2,y:(W=k.value(H[e.seriesName]))!=null?W:0}})),B=a.computed(()=>{if(!e.xAxisTickCollapse)return 0;const H=Va(1,m.value.length).find(G=>{const W=_.value*1.5;return n.value/(W/G)>=m.value.length});return H!=null?H:m.value.length}),N=a.computed(()=>{var G;return((G=e.xAxisTicks)!=null?G:m.value.map(Be.iteratee(e.timeseriesKey))).map((W,ne)=>(ne+1)%B.value?null:W)}),$=a.computed(()=>Ph(S.value).tickFormat(H=>u(H,e.xAxisTickFormat)).tickValues(N.value)),T=a.computed(()=>Ih(k.value).tickFormat(H=>u(H,e.yAxisTickFormat)).ticks(e.yAxisTicks));function M(H){return u(H,e.xAxisTickFormat)}function A(H){return u(H,e.yAxisTickFormat)}function F(){var H,G;n.value=(G=(H=i.value)==null?void 0:H.offsetWidth)!=null?G:0,r.value=e.fixedHeight!==null?e.fixedHeight:n.value*d.value}function z({datum:H}){t("select",H)}function O(){i.value&&(Vt(i.value).select(".column-chart__axis--x").call($.value).select(".domain").remove(),Vt(i.value).select(".column-chart__axis--y").call(T.value).selectAll(".tick line").attr("x2",C.value.width))}function L(H){const G=`${H.y+y.value.top}px`,W=`${H.x+H.width/2+y.value.left}px`;return{top:G,left:W}}function V(H){return H.highlight||e.highlights.includes(H[e.timeseriesKey])}return a.watchEffect(()=>Ge(this,null,function*(){O()})),{el:i,dataHasHighlights:p,width:n,height:r,margin:y,padded:C,shownTooltip:o,bars:x,select:z,highlighted:V,barTooltipStyle:L,formatYDatum:A,formatXDatum:M}}}),Eve=["height","width"],Bve={key:1,class:"column-chart__axis column-chart__axis--y"},Nve=["onClick","onMouseover"],Tve=["height","width"],$ve=["height","width","y"],Ave={key:0,class:"column-chart__tooltips"},Ove={key:0,class:"column-chart__tooltips__item__wrapper"},Mve={class:"column-chart__tooltips__item__wrapper__heading mb-0"},Pve={class:"column-chart__tooltips__item__wrapper__value"};function Ive(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("div",{ref:"el",class:a.normalizeClass([{"column-chart--has-highlights":e.dataHasHighlights,"column-chart--hover":e.hover,"column-chart--stripped":e.stripped,"column-chart--social-mode":e.socialMode},"column-chart"]),style:a.normalizeStyle({"--column-color":e.columnColor,"--column-highlight-color":e.columnHighlightColor})},[(a.openBlock(),a.createElementBlock("svg",{height:e.height,width:e.width},[a.createElementVNode("g",{style:a.normalizeStyle({transform:`translate(${e.margin.left}px, ${e.margin.top}px)`})},[e.noXAxis?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("g",{key:0,style:a.normalizeStyle({transform:`translate(0, ${e.padded.height}px)`}),class:"column-chart__axis column-chart__axis--x"},null,4)),e.noYAxis?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("g",Bve))],4),a.createElementVNode("g",{style:a.normalizeStyle({transform:`translate(${e.margin.left}px, ${e.margin.top}px)`}),class:"column-chart__columns"},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.bars,(l,s)=>(a.openBlock(),a.createElementBlock("g",{key:s,class:a.normalizeClass([{"column-chart__columns__item--highlight":e.highlighted(l.datum)},"column-chart__columns__item"]),style:a.normalizeStyle({transform:`translate(${l.x}px, 0px)`}),onClick:c=>e.select(l),onMouseleave:t[0]||(t[0]=c=>e.shownTooltip=-1),onMouseover:c=>e.shownTooltip=s},[a.createElementVNode("rect",{height:e.padded.height,width:l.width,class:"column-chart__columns__item__placeholder"},null,8,Tve),a.createElementVNode("rect",{height:l.height,width:l.width,y:l.y,class:"column-chart__columns__item__bar"},null,8,$ve)],46,Nve))),128))],4)],8,Eve)),e.noTooltips?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",Ave,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.bars,(l,s)=>(a.openBlock(),a.createElementBlock("div",{key:s},[a.createElementVNode("div",{style:a.normalizeStyle(e.barTooltipStyle(l)),class:"column-chart__tooltips__item"},[a.createVNode(a.Transition,{name:"fade"},{default:a.withCtx(()=>[e.shownTooltip===s?(a.openBlock(),a.createElementBlock("div",Ove,[a.renderSlot(e.$slots,"tooltip",a.normalizeProps(a.guardReactiveProps(l)),()=>[a.createElementVNode("h6",Mve,a.toDisplayString(e.formatXDatum(l.datum[e.timeseriesKey])),1),a.createElementVNode("div",Pve,a.toDisplayString(e.formatYDatum(l.datum[e.seriesName])),1)])])):a.createCommentVNode("",!0)]),_:2},1024)],4)]))),128))]))],6)}const SN=rt(xve,[["render",Ive]]),Vve=(e=Ui,...t)=>K8(e)?e(...t):e,Rve=a.defineComponent({name:"LineChart",props:de({lineColor:{type:String,default:null},fixedLabelWidth:{type:Number,default:null},fixedHeight:{type:Number,default:null},seriesName:{type:String,default:"value"},xAxisTicks:{type:[Object,Number,Function],default:null},yAxisTickFormat:{type:[Function,String],default:()=>Ui},yAxisTicks:{type:[Object,Number,Function],default:5},timeseriesKey:{type:String,default:"date"}},_l()),setup(e,{emit:t}){const n=a.ref(0),r=a.ref(0),o=a.ref(null),i=a.ref(null),l=a.ref(!1),{loadedData:s,elementsMaxBBox:c,d3Formatter:u,xAxisYearFormat:d,baseHeightRatio:p}=wl(o,bl(e),{emit:t},l,B),m=a.computed(()=>e.fixedLabelWidth?e.fixedLabelWidth:c({selector:".line-chart__axis--y .tick text",defaultWidth:100}).width),g=a.computed(()=>c({selector:".line-chart__axis--y .tick",defaultHeight:10}).height),v=a.computed(()=>c({selector:".line-chart__axis--x .tick",defaultHeight:10}).height),w=a.computed(()=>c({selector:".line-chart__axis--x .tick text",defaultWidth:0}).width),_=a.computed(()=>({x:x2().range([0,C.value.width]),y:So().range([C.value.height,0])})),y=a.computed(()=>{const $=m.value+10,T=w.value/2,M=g.value,A=v.value+10;return{left:$,right:T,top:M,bottom:A}}),C=a.computed(()=>{const $=n.value-y.value.left-y.value.right,T=r.value-y.value.top-y.value.bottom;return{width:$,height:T}}),S=a.computed(()=>s.value?s.value.map($=>{let T=a.toRaw($);return T[e.timeseriesKey]=x($[e.timeseriesKey]),T[e.seriesName]=+$[e.seriesName],T}):[]),k=Tm().x($=>$.x).y($=>$.y),x=S2("%Y");function B(){o.value&&(n.value=o.value.offsetWidth,r.value=e.fixedHeight!==null?e.fixedHeight:o.value.offsetWidth*p.value)}function N(){_.value.x.domain(xs(S.value,T=>T[e.timeseriesKey])),_.value.y.domain([0,Ia(S.value,T=>T[e.seriesName])]);const $=S.value.map(T=>({x:_.value.x(T[e.timeseriesKey]),y:_.value.y(T[e.seriesName])}));i.value=k($),Vt(o.value).select(".line-chart__axis--x").call(Ph(_.value.x).ticks(e.xAxisTicks).tickFormat(T=>Vve(d,T.getFullYear()))),Vt(o.value).select(".line-chart__axis--y").call(Ih(_.value.y).tickFormat(T=>u(T,e.yAxisTickFormat)).ticks(e.yAxisTicks)).selectAll(".tick line").attr("x2",C.value.width)}return a.watchEffect(()=>{N()}),{el:o,width:n,height:r,margin:y,padded:C,line:i}}}),Lve=["width","height"],Dve=["d"];function zve(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("div",{ref:"el",class:a.normalizeClass(["line-chart",{"line-chart--social-mode":e.socialMode}]),style:a.normalizeStyle({"--line-color":e.lineColor})},[(a.openBlock(),a.createElementBlock("svg",{width:e.width,height:e.height},[a.createElementVNode("g",{class:"line-chart__axis line-chart__axis--x",style:a.normalizeStyle({transform:`translate(${e.margin.left}px, ${e.margin.top+e.padded.height}px)`})}," > ",4),a.createElementVNode("g",{class:"line-chart__axis line-chart__axis--y",style:a.normalizeStyle({transform:`translate(${e.margin.left}px, ${e.margin.top}px)`})}," > ",4),a.createElementVNode("g",{style:a.normalizeStyle({transform:`translate(${e.margin.left}px, ${e.margin.top}px)`})},[a.createElementVNode("path",{class:"line-chart__line",d:e.line},null,8,Dve)],4)],8,Lve))],6)}const kN=rt(Rve,[["render",zve]]);function Fve(e){return function(t){return e==null?void 0:e[t]}}var Hve=Fve,Uve=Hve,Wve={À:"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"},jve=Uve(Wve),Gve=jve,Yve=Gve,qve=jd,Kve=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xve="\\u0300-\\u036f",Zve="\\ufe20-\\ufe2f",Jve="\\u20d0-\\u20ff",Qve=Xve+Zve+Jve,ebe="["+Qve+"]",tbe=RegExp(ebe,"g");function nbe(e){return e=qve(e),e&&e.replace(Kve,Yve).replace(tbe,"")}var rbe=nbe,abe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function obe(e){return e.match(abe)||[]}var ibe=obe,lbe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function sbe(e){return lbe.test(e)}var cbe=sbe,CN="\\ud800-\\udfff",ube="\\u0300-\\u036f",fbe="\\ufe20-\\ufe2f",dbe="\\u20d0-\\u20ff",hbe=ube+fbe+dbe,xN="\\u2700-\\u27bf",EN="a-z\\xdf-\\xf6\\xf8-\\xff",pbe="\\xac\\xb1\\xd7\\xf7",mbe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",gbe="\\u2000-\\u206f",ybe=" \\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",BN="A-Z\\xc0-\\xd6\\xd8-\\xde",vbe="\\ufe0e\\ufe0f",NN=pbe+mbe+gbe+ybe,TN="['’]",$N="["+NN+"]",bbe="["+hbe+"]",AN="\\d+",_be="["+xN+"]",ON="["+EN+"]",MN="[^"+CN+NN+AN+xN+EN+BN+"]",wbe="\\ud83c[\\udffb-\\udfff]",Sbe="(?:"+bbe+"|"+wbe+")",kbe="[^"+CN+"]",PN="(?:\\ud83c[\\udde6-\\uddff]){2}",IN="[\\ud800-\\udbff][\\udc00-\\udfff]",fc="["+BN+"]",Cbe="\\u200d",VN="(?:"+ON+"|"+MN+")",xbe="(?:"+fc+"|"+MN+")",RN="(?:"+TN+"(?:d|ll|m|re|s|t|ve))?",LN="(?:"+TN+"(?:D|LL|M|RE|S|T|VE))?",DN=Sbe+"?",zN="["+vbe+"]?",Ebe="(?:"+Cbe+"(?:"+[kbe,PN,IN].join("|")+")"+zN+DN+")*",Bbe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Nbe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Tbe=zN+DN+Ebe,$be="(?:"+[_be,PN,IN].join("|")+")"+Tbe,Abe=RegExp([fc+"?"+ON+"+"+RN+"(?="+[$N,fc,"$"].join("|")+")",xbe+"+"+LN+"(?="+[$N,fc+VN,"$"].join("|")+")",fc+"?"+VN+"+"+RN,fc+"+"+LN,Nbe,Bbe,AN,$be].join("|"),"g");function Obe(e){return e.match(Abe)||[]}var Mbe=Obe,Pbe=ibe,Ibe=cbe,Vbe=jd,Rbe=Mbe;function Lbe(e,t,n){return e=Vbe(e),t=n?void 0:t,t===void 0?Ibe(e)?Rbe(e):Pbe(e):e.match(t)||[]}var Dbe=Lbe,zbe=oS,Fbe=rbe,Hbe=Dbe,Ube="['’]",Wbe=RegExp(Ube,"g");function jbe(e){return function(t){return zbe(Hbe(Fbe(t).replace(Wbe,"")),e,"")}}var Gbe=jbe,Ybe=Gbe,qbe=Ybe(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Kbe=qbe;const Xbe=_t(Kbe);function Zbe(e){return e!==e}var Jbe=Zbe;function Qbe(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var e2e=Qbe,t2e=vS,n2e=Jbe,r2e=e2e;function a2e(e,t,n){return t===t?r2e(e,t,n):t2e(e,n2e,n)}var o2e=a2e,i2e=o2e;function l2e(e,t){var n=e==null?0:e.length;return!!n&&i2e(e,t,0)>-1}var s2e=l2e;function c2e(e,t,n){for(var r=-1,o=e==null?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}var u2e=c2e,f2e=g7,d2e=s2e,h2e=u2e,p2e=Wd,m2e=ly,g2e=v7,y2e=200;function v2e(e,t,n,r){var o=-1,i=d2e,l=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=p2e(t,m2e(n))),r?(i=h2e,l=!1):t.length>=y2e&&(i=g2e,l=!1,t=new f2e(t));e:for(;++o<s;){var d=e[o],p=n==null?d:n(d);if(d=r||d!==0?d:0,l&&p===p){for(var m=u;m--;)if(t[m]===p)continue e;c.push(d)}else i(t,p,r)||c.push(d)}return c}var b2e=v2e,_2e=vs,w2e=Vi;function S2e(e){return w2e(e)&&_2e(e)}var k2e=S2e,C2e=b2e,x2e=Z7,E2e=k2e,B2e=x2e(function(e,t){return E2e(e)?C2e(e,t):[]}),N2e=B2e;const FN=_t(N2e),T2e=a.defineComponent({name:"StackedBarChart",props:de({barColors:{type:Array,default:()=>[]},fixedHeight:{type:Number,default:null},groups:{type:Array,default:()=>[]},hideEmptyValues:{type:Boolean},hideLegend:{type:Boolean},highlights:{type:Array,default:()=>[]},highlightDelay:{type:Number,default:400},keys:{type:Array,default:()=>[]},labelAbove:{type:Boolean,default:!1},labelField:{type:String,default:"label"},minBarHeight:{type:Number,default:16},maxBarHeight:{type:Number,default:60},relative:{type:Boolean,default:!1},restoreHighlightDelay:{type:Number,default:50},rowHighlights:{type:Array,default:()=>[]},sortBy:{type:[Array,String],default:null},xAxisTickFormat:{type:[Function,String],default:()=>Ui}},_l()),setup(e,{emit:t}){const n=a.ref(e.highlights),r=a.ref(void 0),o=a.ref(!1),i=a.ref(null),{loadedData:l,baseHeightRatio:s,d3Formatter:c,dataHasHighlights:u}=wl(i,bl(e),{emit:t},o),d=a.computed(()=>e.fixedHeight!==null||e.socialMode),p=a.computed(()=>o.value?e.sortBy?wh(l.value,e.sortBy):l.value:[]),m=a.computed(()=>e.keys.length?e.keys:l.value?FN(vh(l.value[0]),e.labelField):[]),g=a.computed(()=>tc().domain(m.value).range(e.barColors)),v=a.computed(()=>Ia(l.value||[],(G,W)=>S(W))),w=a.computed(()=>!!n.value.length),_=a.computed(()=>!!e.rowHighlights.length),y=a.computed(()=>e.fixedHeight!==null?`${e.fixedHeight}px`:e.socialMode&&i.value?`${i.value.offsetWidth*s.value}px`:"auto");function C(G){return Xbe(G)}function S(G){return Hy(m.value,W=>p.value[G][W])}function k(G){const W=m.value.indexOf(G);return e.groups[W]||G}function x(G){n.value=[G]}function B(){clearTimeout(r.value);const G=e.restoreHighlightDelay;r.value=setTimeout(()=>n.value=e.highlights,G)}function N(G){clearTimeout(r.value);const ne=!w.value?e.highlightDelay:0;r.value=setTimeout(()=>x(G),ne)}function $(G){return n.value.indexOf(G)>-1}function T(G){var ne;const W=Hr(p.value,[G,e.labelField],null);return Be.isArray(e.rowHighlights)&&((ne=e.rowHighlights)==null?void 0:ne.includes(W))&&!n.value.length}function M(G,W){const ne=p.value[G][W],se=e.relative?S(G):v.value;if(!se)throw new Error("Total width is not correct"+se);const U=`${100*(ne/se)}%`,oe=g.value(W);return{width:U,backgroundColor:oe}}function A(G){return Ge(this,null,function*(){if(!p.value)return[];yield a.nextTick();const W=m.value.map(ne=>{const{bar:se,row:U,value:oe}=F(G,ne);if(!se||!U||!oe)throw new Error("Values not retrieved");const le=se.getBoundingClientRect().left+se.offsetWidth,ue=se.offsetWidth,K=U.getBoundingClientRect().left+U.offsetWidth,J=oe.offsetWidth;return{key:ne,barEdge:le,barWidth:ue,rowEdge:K,valueWidth:J}});return W.map((ne,se)=>{if(ne.overflow=ne.valueWidth>=ne.barWidth,se>0){const U=W[se-1],oe=ne.valueWidth+U.valueWidth;ne.overflow=ne.overflow||U.overflow&&ne.barWidth<oe}return ne.pushed=ne.barEdge+ne.valueWidth>ne.rowEdge&&ne.overflow,ne})})}function F(G,W){var q;if(!p.value)return{};const ne="stacked-bar-chart__groups__item__bars__item",U=(q=i.value)==null?void 0:q.querySelectorAll(".stacked-bar-chart__groups__item")[G],oe=C(W),le=`.${ne}--${oe}`,ue=U==null?void 0:U.querySelector(le),K=`.${ne}__value`,J=ue==null?void 0:ue.querySelector(K);return{bar:ue,row:U,value:J}}function z(G,W){return Ge(this,null,function*(){const ne=yield A(G);return Hr(gu(ne,{key:W}),"overflow")})}function O(G,W){return Ge(this,null,function*(){const ne=yield A(G);return Hr(gu(ne,{key:W}),"pushed")})}function L(G,W){return Ge(this,null,function*(){const ne=m.value.indexOf(W),se=m.value[ne+1];if(!se)return!1;const U=yield z(G,W),oe=yield z(G,se);return U&&oe})}function V(G,W){return e.hideEmptyValues&&!p.value[G][W]}function H(G){return c(G,e.xAxisTickFormat)}return a.watch(()=>e.highlights,G=>{n.value=G}),{colorScale:g,dataHasHighlights:u,discoveredKeys:m,el:i,hasConstraintHeight:d,hasHighlights:w,hasRowHighlights:_,height:y,sortedData:p,barStyle:M,delayHighlight:N,formatXDatum:H,groupName:k,hasValueHidden:L,hasValueOverflow:z,hasValuePushed:O,isHidden:V,isHighlighted:$,isRowHighlighted:T,loadedData:l,normalizeKey:C,restoreHighlights:B}}}),$2e={class:"d-flex align-items-center"},A2e={key:0,class:"stacked-bar-chart__legend list-inline mx-0 mt-0 mb-2"},O2e=["onMouseover"],M2e={class:"stacked-bar-chart__groups"},P2e={class:"stacked-bar-chart__groups__item__bars my-1 d-flex flex-grow-1 align-items-center"},I2e=["onMouseover"],V2e={class:"stacked-bar-chart__groups__item__bars__item__value p-1"};function R2e(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("div",{ref:"el",class:a.normalizeClass([{"stacked-bar-chart--social-mode":e.socialMode,"stacked-bar-chart--label-above":e.labelAbove,"stacked-bar-chart--has-highlights":e.hasHighlights||e.hasRowHighlights||e.dataHasHighlights,"stacked-bar-chart--has-constraint-height":e.hasConstraintHeight,"stacked-bar-chart--has-label-above":e.labelAbove},"stacked-bar-chart d-flex flex-column"]),style:a.normalizeStyle({height:e.height})},[a.createElementVNode("div",$2e,[a.renderSlot(e.$slots,"header-left",{},()=>[e.hideLegend?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("ul",A2e,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.discoveredKeys,l=>(a.openBlock(),a.createElementBlock("li",{key:l,class:a.normalizeClass([{"stacked-bar-chart__legend__item--highlighted":e.isHighlighted(l)},"stacked-bar-chart__legend__item list-inline-item d-inline-flex"]),onMouseleave:t[0]||(t[0]=s=>e.restoreHighlights()),onMouseover:s=>e.delayHighlight(l)},[a.createElementVNode("span",{style:a.normalizeStyle({"background-color":e.colorScale(l)}),class:"stacked-bar-chart__legend__item__box"},null,4),a.createTextVNode(" "+a.toDisplayString(e.groupName(l)),1)],42,O2e))),128))]))]),a.renderSlot(e.$slots,"header-right")]),a.createElementVNode("div",M2e,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.sortedData,(l,s)=>(a.openBlock(),a.createElementBlock("div",{key:s,class:a.normalizeClass([{"flex-column":e.labelAbove},"stacked-bar-chart__groups__item border-bottom flex-fill d-flex align-items-center"])},[a.createElementVNode("div",{class:a.normalizeClass([{"w-100":e.labelAbove},"stacked-bar-chart__groups__item__label me-1 small"])},a.toDisplayString(l[e.labelField]),3),a.createElementVNode("div",P2e,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.discoveredKeys,(c,u)=>(a.openBlock(),a.createElementBlock("div",{key:u,class:a.normalizeClass([{[`stacked-bar-chart__groups__item__bars__item--${e.normalizeKey(c)}`]:!0,[`stacked-bar-chart__groups__item__bars__item--${u}n`]:!0,"stacked-bar-chart__groups__item__bars__item--highlighted":e.isHighlighted(c)||e.isRowHighlighted(s),"stacked-bar-chart__groups__item__bars__item--hidden":e.isHidden(s,c),"stacked-bar-chart__groups__item__bars__item--value-overflow":e.hasValueOverflow(s,c),"stacked-bar-chart__groups__item__bars__item--value-pushed":e.hasValuePushed(s,c),"stacked-bar-chart__groups__item__bars__item--value-hidden":e.hasValueHidden(s,c)},"stacked-bar-chart__groups__item__bars__item"]),style:a.normalizeStyle(e.barStyle(s,c)),onMouseleave:t[1]||(t[1]=d=>e.restoreHighlights()),onMouseover:d=>e.delayHighlight(c)},[a.createElementVNode("div",V2e,a.toDisplayString(e.formatXDatum(l[c])),1)],46,I2e))),128))])],2))),128))])],6)}const HN=rt(T2e,[["render",R2e]]),L2e=a.defineComponent({name:"StackedColumnChart",props:de({keys:{type:Array,default:()=>[]},groups:{type:Array,default:()=>[]},barColors:{type:Array,default:()=>[]},barMaxWidth:{type:String,default:"100%"},hideEmptyValues:{type:Boolean},hideLegend:{type:Boolean},fixedHeight:{type:Number,default:null},xAxisTickFormat:{type:[Function,String],default:()=>Ui},yAxisTickFormat:{type:[Function,String],default:()=>Ui},yAxisTickPadding:{type:Number,default:10},labelField:{type:String,default:"date"},sortBy:{type:[Array,String],default:null},relative:{type:Boolean,default:!1},highlights:{type:Array,default:()=>[]},highlightDelay:{type:Number,default:400},columnHighlights:{type:Array,default:()=>[]},restoreHighlightDelay:{type:Number,default:50},noDirectLabeling:{type:Boolean},maxValue:{type:Number,default:null},tooltipDisplay:{type:Function,default:({formattedKey:e,formattedValue:t})=>`<h6 class="mb-0">${e}</h6><div>${t}</div>`},noTooltips:{type:Boolean}},_l()),setup(e,{emit:t}){const n=a.ref(0),r=a.ref(0),o=a.ref(0),i=a.ref(e.highlights),l=a.ref(void 0),s=a.ref(!1),c=a.ref(null),{elementsMaxBBox:u,baseHeightRatio:d,loadedData:p,d3Formatter:m,dataHasHighlights:g}=wl(c,bl(e),{emit:t},s,M),v=a.computed(()=>s.value?e.sortBy?wh(p.value,e.sortBy):p.value:[]),w=a.computed(()=>e.keys.length?e.keys:p.value?FN(vh(p.value[0]),e.labelField):[]),_=a.computed(()=>tc().domain(w.value).range(e.barColors)),y=a.computed(()=>!!i.value.length),C=a.computed(()=>!!e.columnHighlights.length),S=a.computed(()=>So().domain([0,T.value]).range([o.value,0])),k=a.computed(()=>Ih(S.value).tickFormat(q=>m(q,e.yAxisTickFormat)).tickSize(n.value-x.value).tickPadding(e.yAxisTickPadding)),x=a.computed(()=>u({selector:".stacked-column-chart__left-axis__canvas .tick text",defaultWidth:0}).width+e.yAxisTickPadding),B=a.computed(()=>Vt(c.value).select(".stacked-column-chart__left-axis__canvas")),N=a.computed(()=>({marginLeft:e.noDirectLabeling?`${x.value+e.yAxisTickPadding}px`:0})),$=a.computed(()=>y.value?0:e.highlightDelay),T=a.computed(()=>e.maxValue||Ia(p.value||[],(q,j)=>H(j)));function M(){c.value&&(n.value=c.value.offsetWidth,r.value=e.fixedHeight!==null?e.fixedHeight:n.value*d.value)}function A(q){const j=w.value.indexOf(q);return e.groups[j]||q}function F(q){i.value=[q]}function z(){clearTimeout(l.value);const q=e.restoreHighlightDelay;l.value=setTimeout(()=>i.value=e.highlights,q)}function O(q){clearTimeout(l.value);const re=!y.value?e.highlightDelay:0;l.value=setTimeout(()=>F(q),re)}function L(q){return i.value.indexOf(q)>-1}function V(q){const j=Hr(v.value,[q,e.labelField],null);return e.columnHighlights.includes(j)&&!i.value.length}function H(q){return Hy(w.value,j=>v.value[q][j])}function G(q,j){const re=v.value[q][j];let X=e.relative?H(q):T.value;X||(console.error("totalWidth as divider cannot be "+X),X=100);const Q=`${100*(re/X)}%`,ye=_.value(j);return{maxWidth:e.barMaxWidth,height:Q,backgroundColor:ye}}function W(q,j){const re=v.value[q][j],X=m(re,e.yAxisTickFormat),Q=A(j);return e.tooltipDisplay({value:re,formattedValue:X,key:j,formattedKey:Q})}function ne(q){return Ge(this,null,function*(){if(!v.value)return[];yield a.nextTick();const j=w.value.map(re=>{const{bar:X,row:Q,value:ye}=se(q,re);if(!X||!Q||!ye)throw new Error("Empty values for bar, row or value");const _e=X.getBoundingClientRect().top+X.offsetHeight,Ne=X.offsetHeight,ke=Q.getBoundingClientRect().top+Q.offsetHeight,ee=ye.offsetHeight;return{key:re,barEdge:_e,barHeight:Ne,rowEdge:ke,valueHeight:ee,overflow:!1,pushed:!1}});return j.map((re,X)=>{if(re.overflow=re.valueHeight>=re.barHeight,X>0){const Q=j[X-1],ye=re.valueHeight+Q.valueHeight;re.overflow=re.overflow||Q.overflow&&re.barHeight<ye}return re.pushed=re.barEdge+re.valueHeight>re.rowEdge&&re.overflow,re})})}function se(q,j){var ke;if(!v.value)return{};const X=(ke=c.value)==null?void 0:ke.querySelectorAll(".stacked-column-chart__groups__item")[q],Q=`.stacked-column-chart__groups__item__bars__item--${j}`,ye=X.querySelector(Q),Ne=ye.querySelector(".stacked-column-chart__groups__item__bars__item__value");return{bar:ye,row:X,value:Ne}}function U(q,j){return e.hideEmptyValues&&!v.value[q][j]}function oe(q,j){var X;const re=ne(q);return(X=gu(re,{key:j}))==null?void 0:X.overflow}function le(q,j){var X;const re=ne(q);return(X=gu(re,{key:j}))==null?void 0:X.pushed}function ue(q,j){const re=w.value.indexOf(j),X=w.value[re+1];return X?oe(q,j)&&oe(q,X):!1}function K(q){return m(q,e.yAxisTickFormat)}function J(q){return m(q,e.yAxisTickFormat)}return a.watch(()=>e.highlights,q=>{i.value=q}),a.watch(v,q=>Ge(this,null,function*(){var re;yield a.nextTick();const j=(re=c.value)==null?void 0:re.querySelector(".stacked-column-chart__groups__item__bars");o.value=j.offsetHeight,B.value.call(k.value)})),{barTooltipDelay:$,colorScale:_,dataHasHighlights:g,discoveredKeys:w,el:c,hasColumnHighlights:C,hasHighlights:y,height:r,loadedData:p,paddedStyle:N,sortedData:v,width:n,barTitle:W,barStyle:G,delayHighlight:O,formatXDatum:K,formatYDatum:J,groupName:A,hasValueHidden:ue,hasValueOverflow:oe,hasValuePushed:le,isColumnHighlighted:V,isHidden:U,isHighlighted:L,restoreHighlights:z}}}),D2e={key:0,class:"stacked-column-chart__legend list-inline"},z2e=["onMouseover"],F2e={class:"d-flex flex-grow-1 position-relative overflow-hidden"},H2e=["width","height"],U2e=["transform"],W2e={class:"stacked-column-chart__groups__item__bars flex-grow-1 d-flex flex-column-reverse px-1 justify-content-start align-items-center"},j2e=["onMouseover"],G2e={class:"stacked-column-chart__groups__item__label small py-2"};function Y2e(e,t,n,r,o,i){const l=fw;return a.openBlock(),a.createElementBlock("div",{ref:"el",style:a.normalizeStyle({height:`${e.height}px`}),class:a.normalizeClass(["stacked-column-chart d-flex flex-column",{"stacked-column-chart--social-mode":e.socialMode,"stacked-column-chart--has-highlights":e.hasHighlights||e.hasColumnHighlights,"stacked-column-chart--no-direct-labeling":e.noDirectLabeling}])},[e.hideLegend?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("ul",D2e,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.discoveredKeys,s=>(a.openBlock(),a.createElementBlock("li",{key:s,class:a.normalizeClass(["stacked-column-chart__legend__item list-inline-item d-inline-flex",{"stacked-column-chart__legend__item--highlighted":e.isHighlighted(s)}]),onMouseover:c=>e.delayHighlight(s),onMouseleave:t[0]||(t[0]=c=>e.restoreHighlights())},[a.createElementVNode("span",{class:"stacked-column-chart__legend__item__box",style:a.normalizeStyle({"background-color":e.colorScale(s)})},null,4),a.createTextVNode(" "+a.toDisplayString(e.groupName(s)),1)],42,z2e))),128))])),a.createElementVNode("div",F2e,[a.withDirectives((a.openBlock(),a.createElementBlock("svg",{width:e.width+"px",height:e.height+"px",class:"stacked-column-chart__left-axis"},[a.createElementVNode("g",{class:"stacked-column-chart__left-axis__canvas",transform:`translate(${e.width}, 0)`},null,8,U2e)],8,H2e)),[[a.vShow,e.noDirectLabeling]]),a.createElementVNode("div",{class:"stacked-column-chart__groups d-flex flex-grow-1",style:a.normalizeStyle(e.paddedStyle)},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.sortedData,(s,c)=>(a.openBlock(),a.createElementBlock("div",{key:c,class:"stacked-column-chart__groups__item flex-grow-1 d-flex flex-column text-center"},[a.createElementVNode("div",W2e,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.discoveredKeys,(u,d)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{key:d,style:a.normalizeStyle(e.barStyle(c,u)),class:a.normalizeClass(["stacked-column-chart__groups__item__bars__item",{[`stacked-column-chart__groups__item__bars__item--${u}`]:!0,[`stacked-column-chart__groups__item__bars__item--${d}n`]:!0,"stacked-column-chart__groups__item__bars__item--hidden":e.isHidden(c,u),"stacked-column-chart__groups__item__bars__item--highlighted":e.isHighlighted(u)||e.isColumnHighlighted(c),"stacked-column-chart__groups__item__bars__item--value-overflow":e.hasValueOverflow(c,u),"stacked-column-chart__groups__item__bars__item--value-pushed":e.hasValuePushed(c,u),"stacked-column-chart__groups__item__bars__item--value-hidden":e.hasValueHidden(c,u)}]),onMouseover:p=>e.delayHighlight(u),onMouseleave:t[1]||(t[1]=p=>e.restoreHighlights())},[a.withDirectives(a.createElementVNode("div",{class:"stacked-column-chart__groups__item__bars__item__value"},a.toDisplayString(e.formatYDatum(s[u])),513),[[a.vShow,!e.noDirectLabeling]])],46,j2e)),[[l,{delay:e.barTooltipDelay,disabled:e.noTooltips,title:e.barTitle(c,u)},void 0,{html:!0}]])),128))]),a.createElementVNode("div",G2e,a.toDisplayString(e.formatXDatum(s[e.labelField])),1)]))),128))],4)])],6)}const UN=Object.freeze(Object.defineProperty({__proto__:null,BarChart:wN,ColumnChart:SN,LineChart:kN,StackedBarChart:HN,StackedColumnChart:rt(L2e,[["render",Y2e]])},Symbol.toStringTag,{value:"Module"}));var Sf=Math.abs,Q2=Math.floor,q2e=Math.max,Sl=Math.min,WN=Math.sign||function(e){return e>0?1:e<0?-1:0},K2e=1e-12,e_=Math.PI,X2e=180/e_,Z2e=e_/180,Er=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];Er.forEach(function(e){e[1]*=1.593415793900743});function jN(e,t){var n=Sl(18,Sf(t)*36/e_),r=Q2(n),o=n-r,i=(p=Er[r])[0],l=p[1],s=(p=Er[++r])[0],c=p[1],u=(p=Er[Sl(19,++r)])[0],d=p[1],p;return[e*(s+o*(u-i)/2+o*o*(u-2*s+i)/2),WN(t)*(c+o*(d-l)/2+o*o*(d-2*c+l)/2)]}jN.invert=function(e,t){var n=t*90,r=Sl(18,Sf(n/5)),o=q2e(0,Q2(r));do{var i=Er[o][1],l=Er[o+1][1],s=Er[Sl(19,o+2)][1],c=s-i,u=s-2*l+i,d=2*(Sf(t)-l)/c,p=u/c,m=d*(1-p*d*(1-2*p*d));if(m>=0||o===1){n=(t>=0?5:-5)*(m+r);var g=50,v;do r=Sl(18,Sf(n)/5),o=Q2(r),m=r-o,i=Er[o][1],l=Er[o+1][1],s=Er[Sl(19,o+2)][1],n-=(v=WN(t)*(l+m*(s-i)/2+m*m*(s-2*l+i)/2)-t)*X2e;while(Sf(v)>K2e&&--g>0);break}}while(--o>=0);var w=Er[o][0],_=Er[o+1][0],y=Er[Sl(19,o+2)][0];return[e/(_+m*(y-w)/2+m*m*(y-2*_+w)/2),n*Z2e]};function GN(){return Ca(jN).scale(152.63)}function J2e(e){return e}function Q2e(e){if(e==null)return J2e;var t,n,r=e.scale[0],o=e.scale[1],i=e.translate[0],l=e.translate[1];return function(s,c){c||(t=n=0);var u=2,d=s.length,p=new Array(d);for(p[0]=(t+=s[0])*r+i,p[1]=(n+=s[1])*o+l;u<d;)p[u]=s[u],++u;return p}}function e_e(e,t){for(var n,r=e.length,o=r-t;o<--r;)n=e[o],e[o++]=e[r],e[r]=n}function YN(e,t){return t.type==="GeometryCollection"?{type:"FeatureCollection",features:t.geometries.map(function(n){return qN(e,n)})}:qN(e,t)}function qN(e,t){var n=t.id,r=t.bbox,o=t.properties==null?{}:t.properties,i=t_e(e,t);return n==null&&r==null?{type:"Feature",properties:o,geometry:i}:r==null?{type:"Feature",id:n,properties:o,geometry:i}:{type:"Feature",id:n,bbox:r,properties:o,geometry:i}}function t_e(e,t){var n=Q2e(e.transform),r=e.arcs;function o(d,p){p.length&&p.pop();for(var m=r[d<0?~d:d],g=0,v=m.length;g<v;++g)p.push(n(m[g],g));d<0&&e_e(p,v)}function i(d){return n(d)}function l(d){for(var p=[],m=0,g=d.length;m<g;++m)o(d[m],p);return p.length<2&&p.push(p[0]),p}function s(d){for(var p=l(d);p.length<4;)p.push(p[0]);return p}function c(d){return d.map(s)}function u(d){var p=d.type,m;switch(p){case"GeometryCollection":return{type:p,geometries:d.geometries.map(u)};case"Point":m=i(d.coordinates);break;case"MultiPoint":m=d.coordinates.map(i);break;case"LineString":m=l(d.arcs);break;case"MultiLineString":m=d.arcs.map(l);break;case"Polygon":m=c(d.arcs);break;case"MultiPolygon":m=d.arcs.map(c);break;default:return null}return{type:p,coordinates:m}}return u(t)}const n_e=a.defineComponent({name:"ChoroplethMap",components:{ScaleLegend:j2},props:de({hatchEmpty:{type:Boolean},hideLegend:{type:Boolean},featureColorScale:{type:Function,default:null},outlineColor:{type:String,default:"currentColor"},graticuleColor:{type:String,default:"currentColor"},max:{type:Number,default:null},min:{type:Number,default:null},clickable:{type:Boolean},topojsonObjects:{type:String,default:"countries1"},topojsonObjectsPath:{type:[String,Array],default:"id"},topojsonUrl:{type:String,default:()=>It.get("map.topojson.world-countries-sans-antarctica")},transitionDuration:{type:Number,default:750},zoomable:{type:Boolean},spherical:{type:Boolean},zoomMin:{type:Number,default:1},zoomMax:{type:Number,default:8},zoom:{type:Number,default:null},center:{type:Array,default:null},projection:{type:Function,default:GN},outline:{type:Boolean},graticule:{type:Boolean},height:{type:String,default:"300px"},color:{type:String,default:"#fff"},socialColor:{type:String,default:"#000"}},_l()),emits:["click","reset","zoomed",..._N],setup(e,{emit:t}){const n=a.ref(null),r=a.ref(null),o=a.ref(null),i=a.ref(new DOMRect(0,0,0,0)),l=a.ref(null),s=a.ref(null),c=a.ref(!1),u=a.ref({k:1,x:0,y:0,rotateX:0,rotateY:0}),d=Be.debounce(function(){X()},10),{loadedData:p}=wl(n,bl(e),{emit:t},c,d,m);function m(){return Ge(this,null,function*(){return new Promise(we=>Ge(this,null,function*(){yield ut(),X(),we()}))})}const g=a.computed(()=>{var Pe;const[we=0,Ae=0]=(Pe=e.center)!=null?Pe:[0,0];return[-we,-Ae]}),v=a.computed(()=>{var Pe;const[we=0,Ae=0]=(Pe=e.center)!=null?Pe:[0,0];return[we,Ae]}),w=a.computed(()=>{var Pe;const we="#852308",Ae=(Pe=U.value)==null?void 0:Pe.node();return c.value&&Ae&&window.getComputedStyle(Ae).getPropertyValue("--primary")||we}),_=a.computed(()=>{var Pe;const we="#fff",Ae=(Pe=U.value)==null?void 0:Pe.node();return c.value&&e.socialMode!==null&&Ae&&window.getComputedStyle(Ae).getPropertyValue("color")||we}),y=a.computed(()=>we=>{const Ae=Be.get(we,e.topojsonObjectsPath);return p.value&&Ae in p.value?C.value(p.value[Ae]):void 0}),C=a.computed(()=>e.featureColorScale!==null?e.featureColorScale:k.value),S=a.computed(()=>vb().step([20,20])()),k=a.computed(()=>vm().domain([Math.max(1,le.value),oe.value]).range([_.value,w.value])),x=a.computed(()=>$.value.projection(N.value)),B=a.computed(()=>x.value(S.value)),N=a.computed(()=>e.spherical?z.value.rotate(g.value).fitHeight(W.value,A.value).translate([ne.value/2,W.value/2]):z.value.center(v.value)),$=a.computed(()=>Tb().projection(z.value)),T=a.computed(()=>!!l.value),M=a.computed(()=>!!s.value),A=a.computed(()=>{const we=Be.get(r.value,["objects",e.topojsonObjects],null);return YN(r.value,we)}),F=a.computed(()=>({"choropleth-map--has-cursor":T.value,"choropleth-map--has-zoom":M.value,"choropleth-map--hatch-empty":e.hatchEmpty})),z=a.computed(()=>{if(!e.projection)throw new Error("props.projection is "+e.projection);return e.projection().fitSize([ne.value,W.value],A.value)}),O=a.computed(()=>{var mt;const{rotateX:we=null,rotateY:Ae=null}=u.value;let Pe;return we!==null&&Ae!==null?Pe=(mt=z.value.rotate([we,Ae]))!=null?mt:null:Pe=z.value,Pe}),L=a.computed(()=>z.value.center()),V=a.computed(()=>Lm().scaleExtent([e.zoomMin,e.zoomMax]).translateExtent([[0,0],[ne.value,W.value]]).on("zoom",Ye)),H=a.computed(()=>Lm(U.value).scaleExtent([e.zoomMin,e.zoomMax]).on("zoom",Ee)),G=a.computed(()=>s9(U.value).on("drag",pt)),W=a.computed(()=>i.value.height),ne=a.computed(()=>i.value.width),se=a.computed(()=>{const{k:we=0,x:Ae=0,y:Pe=0,rotateX:mt=0,rotateY:er=0}=u.value;return{"--map-height":e.height,"--map-color":e.color,"--map-social-color":e.socialColor,"--map-scale":we,"--map-translate-x":Ae,"--map-translate-y":Pe,"--map-rotate-x":mt,"--map-rotate-y":er}}),U=a.computed(()=>{const we=Vt(n.value).select("svg");if(!we)throw new Error("Empty SVG selection");return we}),oe=a.computed(()=>e.max!==null?e.max:Be.max(Be.values(p.value))||0),le=a.computed(()=>e.min!==null?e.min:Be.min(Be.values(p.value))||0),ue=a.computed(()=>e.spherical?"50% 50%":"0 0");function K({width:we,height:Ae}){var mt;const Pe=(mt=U.value)==null?void 0:mt.node();Pe&&(Pe.width=we,Pe.height=Ae)}const J=a.computed(()=>{var we,Ae;return(Ae=(we=l.value)==null?void 0:we.data)!=null?Ae:null}),q=a.computed(()=>p.value&&c.value&&r.value);function j(){var we;if(!U.value)throw new Error("Map is null");return i.value=(we=U.value.node())==null?void 0:we.getBoundingClientRect(),U.value.selectAll(".choropleth-map__main__outline > *").remove(),U.value.selectAll(".choropleth-map__main__graticule > *").remove(),U.value.selectAll(".choropleth-map__main__features > *").remove(),U.value}function re(){var we,Ae,Pe,mt;e.zoomable&&((we=U.value)==null||we.call(V.value)),e.zoomable&&e.spherical?(Ae=U.value)==null||Ae.call(G.value).call(H.value):e.zoomable&&((Pe=U.value)==null||Pe.call(V.value)),(e.zoom||e.spherical)&&In((mt=e.zoom)!=null?mt:e.zoomMin,0)}function X(){j(),Q(),ye(),_e(),re()}function Q(){var we;(we=U.value)==null||we.select(".choropleth-map__main__outline").append("path").attr("d",x.value({type:"Sphere"})).attr("stroke",e.outlineColor)}function ye(){var we;(we=U.value)==null||we.select(".choropleth-map__main__graticule").append("path").attr("d",B.value).attr("stroke",e.graticuleColor)}function _e(){var Ae;const we=(Ae=U.value)==null?void 0:Ae.select(".choropleth-map__main__features").selectAll(".choropleth-map__main__features__item").data(A.value.features).enter().append("path");if(!we)throw new Error("features is undefined");we.attr("class",ke).attr("d",x.value).on("mouseover",Ke).on("mouseleave",he).on("click",be).style("color",y.value)}function Ne(){U.value&&U.value.selectAll(".choropleth-map__main__features__item").data(A.value.features).attr("class",ke).style("color",y.value)}function ke(we){return Be.keys(Be.pickBy(ee(we),Ae=>Ae)).join(" ")}function ee(we){const Ae="choropleth-map__main__features__item",Pe=Be.get(we,e.topojsonObjectsPath);return{[Ae]:!0,[`${Ae}--identifier-${Be.kebabCase(Pe)}`]:!0,[`${Ae}--empty`]:p.value&&!(Pe in p.value),[`${Ae}--zoomed`]:s.value===Pe,[`${Ae}--cursored`]:l.value===Pe}}function he(){l.value=null}function Ke(we,Ae){const Pe=Be.get(Ae,e.topojsonObjectsPath),mt=p.value&&Pe in p.value?Pe:null;Fe(mt)}function Fe(we){l.value=we}function ut(){return Ge(this,null,function*(){var we;if(!o.value){if(!((we=e.topojsonUrl)!=null&&we.length))throw new Error("Empty topojsonUrl");o.value=Yv(e.topojsonUrl),r.value=yield o.value}return o.value})}function be(we,Ae){return Ge(this,null,function*(){var Pe;if(t("click",Ae),!!e.clickable){if(s.value===Be.get(Ae,e.topojsonObjectsPath))return De();hr(Ae,Un(we,(Pe=U.value)==null?void 0:Pe.node())),t("zoomed",Ae)}})}function Ee({transform:{k:we}}){const Ae=`scale(${we})`;u.value=Le(de({},u.value),{k:we}),ce(Ae)}function Ye({transform:we}){u.value=we,ce(we)}function pt(we){const{yaw:Ae,pitch:Pe}=qe(we);ge(Ae,Pe)}function qe(we){const Pe=75/z.value.scale(),[mt,er]=z.value.rotate(),Br=mt+we.dx*Pe,hi=er-we.dy*Pe;return{yaw:Br,pitch:hi}}function ce(we){var Ae;(Ae=U.value)==null||Ae.selectAll(".choropleth-map__main__tracked").attr("transform",we)}function ge(we,Ae){var er,Br;u.value=Le(de({},u.value),{rotateX:we,rotateY:Ae});const Pe=x.value.projection(O.value),mt=Pe(S.value);(er=U.value)==null||er.selectAll("g.choropleth-map__main__features path").attr("d",Pe),(Br=U.value)==null||Br.selectAll("g.choropleth-map__main__graticule path").attr("d",mt)}function Se(we,Ae=null,Pe=e.transitionDuration){var mt;return(mt=U.value)==null?void 0:mt.transition().duration(Pe).call(V.value.transform,we,Ae).end()}function De(we,Ae){var Pe,mt;(mt=U.value)==null||mt.style("--map-scale",1).transition().duration(e.transitionDuration).call((Pe=V.value)==null?void 0:Pe.transform,Ya),s.value=null,Zt()}function Zt(){t("reset")}function yn(){var we;(we=U.value)==null||we.selectAll(".choropleth-map__main__features__item").attr("class",ke)}function hr(we,Ae=[0,0]){var Hm,Um;s.value=Be.get(we,e.topojsonObjectsPath);const[[Pe,mt],[er,Br]]=$.value.bounds(we),hi=Math.min(8,.9/Math.max((er-Pe)/ne.value,(Br-mt)/W.value)),t_=Ya.translate(ne.value/2,W.value/2).scale(hi).translate(-(Pe+er)/2,-(mt+Br)/2);return(Um=U.value)==null?void 0:Um.style("--map-scale",hi).transition().duration(e.transitionDuration).call((Hm=V.value)==null?void 0:Hm.transform,t_,Ae).end()}function In(we,Ae=e.transitionDuration){const Pe=Be.clamp(we,e.zoomMin,e.zoomMax);return e.spherical?qa(Pe,Ae):di(Pe,Ae)}function qa(we,Ae){const Pe=Ya.scale(we);return u.value=Le(de({},u.value),{k:we}),Se(Pe,null,Ae)}function di(we,Ae){const[Pe,mt]=z.value(L.value),[er,Br]=[ne.value/2-we*Pe,W.value/2-we*mt],hi=Ya.translate(er,Br).scale(we);return u.value={k:we,x:er,y:Br,rotateX:0,rotateY:0},Se(hi,null,Ae)}return a.watch(()=>e.socialMode,()=>{X()}),a.watch(()=>e.data,()=>{Ne()}),a.watch(()=>s.value,()=>{yn()}),a.watch(()=>l.value,()=>{yn()}),a.provide(B6,{mapRect:i,mapTransform:u,rotatingMapProjection:O}),{cursorValue:J,debouncedDraw:d,draw:X,featureColorScaleEnd:w,featureColorScaleFunction:C,featureColorScaleStart:_,featureCursor:l,isLoaded:c,isReady:q,loadTopojson:ut,mapClass:F,mapRect:i,mapStyle:se,mapTransform:u,maxValue:oe,minValue:le,resizable:n,rotatingMapProjection:O,setMapNodeSize:K,topojsonPromise:o,transformOrigin:ue,updateFeatureCursor:Fe}}}),r_e=e=>(a.pushScopeId("data-v-c388fa79"),e=e(),a.popScopeId(),e),a_e=["viewbox"],o_e={id:"diagonalHatch",height:"1",patternTransform:"rotate(45 0 0)",patternUnits:"userSpaceOnUse",width:"1"},i_e=["fill"],l_e=["transform-origin"],s_e={key:0,class:"choropleth-map__main__graticule"},c_e=r_e(()=>a.createElementVNode("g",{class:"choropleth-map__main__features"},null,-1)),u_e={key:1,class:"choropleth-map__main__outline"};function f_e(e,t,n,r,o,i){const l=a.resolveComponent("scale-legend");return a.openBlock(),a.createElementBlock("div",{ref:"resizable",class:a.normalizeClass([e.mapClass,"choropleth-map"]),style:a.normalizeStyle(e.mapStyle),onClick:t[0]||(t[0]=(...s)=>e.draw&&e.draw(...s))},[(a.openBlock(),a.createElementBlock("svg",{viewbox:`0 0 ${e.mapRect.width} ${e.mapRect.height}`,class:"choropleth-map__main"},[a.createElementVNode("pattern",o_e,[a.createElementVNode("rect",{fill:e.featureColorScaleEnd,height:"1",width:"1"},null,8,i_e),a.createElementVNode("line",{style:a.normalizeStyle({stroke:e.featureColorScaleStart,strokeWidth:1}),x1:"0",x2:"0",y1:"0",y2:"1"},null,4)]),a.createElementVNode("g",{"transform-origin":e.transformOrigin,class:"choropleth-map__main__tracked"},[e.graticule?(a.openBlock(),a.createElementBlock("g",s_e)):a.createCommentVNode("",!0),c_e,e.outline?(a.openBlock(),a.createElementBlock("g",u_e)):a.createCommentVNode("",!0),e.isReady?a.renderSlot(e.$slots,"default",{key:2},void 0,!0):a.createCommentVNode("",!0)],8,l_e)],8,a_e)),!e.hideLegend&&e.isReady?(a.openBlock(),a.createBlock(l,{key:0,"color-scale":e.featureColorScaleFunction,"color-scale-end":e.featureColorScaleEnd,"color-scale-start":e.featureColorScaleStart,"cursor-value":e.cursorValue,max:e.maxValue,min:e.minValue,class:"choropleth-map__legend"},{cursor:a.withCtx(({value:s})=>[a.renderSlot(e.$slots,"legend-cursor",a.normalizeProps(a.guardReactiveProps({value:s,identifier:e.featureCursor})),void 0,!0)]),_:3},8,["color-scale","color-scale-end","color-scale-start","cursor-value","max","min"])):a.createCommentVNode("",!0)],6)}const KN=rt(n_e,[["render",f_e],["__scopeId","data-v-c388fa79"]]),Xt={TOP:"top",TOPLEFT:"topleft",TOPRIGHT:"topright",RIGHT:"right",RIGHTTOP:"righttop",RIGHTBOTTOM:"rightbottom",BOTTOM:"bottom",BOTTOMLEFT:"bottomleft",BOTTOMRIGHT:"bottomright",LEFT:"left",LEFTTOP:"lefttop",LEFTBOTTOM:"leftbottom"},d_e=a.defineComponent({name:"ChoroplethMapAnnotation",props:{latitude:{type:Number,required:!0},longitude:{type:Number,required:!0},height:{type:Number,default:150},width:{type:Number,default:150},scale:{type:Boolean},color:{type:String},dropShadow:{type:String},geoDistanceThreshold:{type:Number,default:1.57},placement:{type:String,default:null,validator:e=>e===null||Be.values(Xt).includes(e)}},setup(e){const t=a.inject(B6);if(!t)throw new Error("parent is undefined");const n=t.mapRect;t.mapTransform;const r=t.rotatingMapProjection,o=a.computed(()=>a.toRaw(t.mapTransform)),i=a.computed(()=>l.value?0-e.height:C.value?0:0-e.height/2),l=a.computed(()=>[Xt.TOP,Xt.TOPLEFT,Xt.TOPRIGHT,Xt.LEFTTOP,Xt.RIGHTTOP].includes(e.placement)),s=a.computed(()=>({"choropleth-map-annotation--center":S.value,"choropleth-map-annotation--right":_.value,"choropleth-map-annotation--left":y.value,"choropleth-map-annotation--top":l.value,"choropleth-map-annotation--bottom":C.value})),c=a.computed(()=>[e.longitude,e.latitude]),u=a.computed(()=>r.value),d=a.computed(()=>{const[M,A]=u.value(c.value);return{x:M,y:A}}),p=a.computed(()=>o.value.k),m=a.computed(()=>_.value?0:y.value?0-e.width:0-e.width/2),g=a.computed(()=>`translate(${m.value}, ${i.value})`),v=a.computed(()=>d.value.x),w=a.computed(()=>d.value.y),_=a.computed(()=>[Xt.RIGHT,Xt.RIGHTBOTTOM,Xt.RIGHTTOP,Xt.BOTTOMRIGHT,Xt.TOPRIGHT].includes(e.placement)),y=a.computed(()=>[Xt.LEFT,Xt.LEFTBOTTOM,Xt.LEFTTOP,Xt.BOTTOMLEFT,Xt.TOPLEFT].includes(e.placement)),C=a.computed(()=>[Xt.BOTTOM,Xt.BOTTOMLEFT,Xt.BOTTOMRIGHT,Xt.LEFTBOTTOM,Xt.RIGHTBOTTOM].includes(e.placement)),S=a.computed(()=>!y.value&&!_.value&&!l.value&&!C.value),k=a.computed(()=>({"--color":e.color,"--drop-shadow":e.dropShadow,"--scale":e.scale?null:1/p.value,"--transform-origin":x.value})),x=a.computed(()=>`${B.value} ${N.value}`),B=a.computed(()=>_.value?"left":y.value?"right":"center"),N=a.computed(()=>l.value?"bottom":C.value?"top":"center"),$=a.computed(()=>{var M;try{if(!((M=u.value)!=null&&M.invert))return 0;const A=u.value.invert([n.value.width/2,n.value.height/2]);return ju(c.value,A)}catch(A){return 0}}),T=a.computed(()=>$.value<=e.geoDistanceThreshold);return{classList:s,x:v,y:w,wrapperStyle:k,isVisible:T,isRight:_,isLeft:y,isTop:l,isBottom:C,isCenter:S,translateX:m,translateY:i,transform:g,wrapperTransformOriginX:B,wrapperTransformOriginY:N,wrapperTransformOrigin:x,geoDistanceFromCenter:$,mapTransform:o}}}),h_e=["height","transform","width","x","y"],p_e={class:"choropleth-map-annotation__wrapper__content"};function m_e(e,t,n,r,o,i){return a.openBlock(),a.createElementBlock("g",{class:a.normalizeClass([e.classList,"choropleth-map-annotation"])},[(a.openBlock(),a.createElementBlock("foreignObject",{height:e.height,transform:e.transform,width:e.width,x:e.x,y:e.y},[a.withDirectives(a.createElementVNode("div",{style:a.normalizeStyle(e.wrapperStyle),class:"choropleth-map-annotation__wrapper"},[a.createElementVNode("div",p_e,[a.renderSlot(e.$slots,"default",{},void 0,!0)])],4),[[a.vShow,e.isVisible]])],8,h_e))],2)}const g_e=rt(d_e,[["render",m_e],["__scopeId","data-v-f599bf0d"]]),y_e=a.defineComponent({components:{OrdinalLegend:W2},name:"SymbolMap",props:de({categoryObjectsPath:{type:[String,Array],default:"category"},clickable:{type:Boolean},hideLegend:{type:Boolean},hideTooltip:{type:Boolean},horizontalLegend:{type:Boolean},featureColor:{type:[String,Function],default:"currentColor"},fitToMarkers:{type:Boolean},labelObjectsPath:{type:[String,Array],default:"label"},mapPadding:{type:Number,default:15},markerObjectsPath:{type:[String,Array],default:"id"},markerPath:{type:[String,Function],default:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256z"},markerColor:{type:String,default:null},markerWidth:{type:[Number,Function],default:10},noMarkersScale:{type:Boolean},tooltipCustomClass:{type:String,default:null},tooltipPlacement:{type:String,default:"top"},tooltipFallbackPlacement:{type:[Array,String],default:"flip"},topojsonObjects:{type:String,default:"countries1"},topojsonObjectsPath:{type:[String,Array],default:"id"},topojsonUrl:{type:String,default:()=>It.get("map.topojson.world-countries-sans-antarctica")},transitionDuration:{type:Number,default:750},zoomable:{type:Boolean},zoomMin:{type:Number,default:1},zoomMax:{type:Number,default:8}},_l()),emits:["click","reset","zoomed",..._N],setup(e,{emit:t}){const n=a.ref(null),r=a.ref(null),o=a.ref(null),i=a.ref(new DOMRect(0,0,0,0)),l=a.ref(null),s=a.ref(null),c=a.ref(null),u=a.ref(!1),d=Be.debounce(function(){se()},10),{loadedData:p}=wl(n,bl(e),{emit:t},u,d,m);function m(){return new Promise(be=>Ge(this,null,function*(){yield le(),se(),be()}))}const g=a.computed(()=>Tb().projection(N.value)),v=a.computed(()=>!!l.value),w=a.computed(()=>!!s.value),_=a.computed(()=>!!c.value),y=a.computed(()=>e.fitToMarkers?S.value:C.value),C=a.computed(()=>{const be=Be.get(r.value,["objects",e.topojsonObjects],null);return YN(r.value,be)}),S=a.computed(()=>({type:"Feature",geometry:{type:"Polygon",coordinates:[k.value]}})),k=a.computed(()=>(p.value||[]).map(({longitude:be,latitude:Ee})=>[be,Ee])),x=a.computed(()=>Be.uniqueId("symbol-map-")),B=a.computed(()=>({"symbol-map--has-cursor":v.value,"symbol-map--has-highlight":w.value,"symbol-map--has-zoom":_.value,"symbol-map--has-markers-scale":!e.noMarkersScale})),N=a.computed(()=>{const{height:be,width:Ee}=i.value,Ye=e.mapPadding;return GN().fitExtent([[Ye,Ye],[Ee-Ye,be-Ye]],y.value)}),$=a.computed(()=>Lm().scaleExtent([e.zoomMin,e.zoomMax]).translateExtent([[0,0],[M.value,T.value]]).on("zoom",ue)),T=a.computed(()=>i.value.height),M=a.computed(()=>i.value.width),A=a.computed(()=>{const be=Vt(n.value).select(".symbol-map__main");if(!be)throw new Error("Empty SVG selection");return be}),F=a.computed(()=>Be.find(z.value,be=>Be.get(be,e.markerObjectsPath)===l.value)),z=a.computed(()=>{var be;return(be=p.value)==null?void 0:be.map(Ee=>de(de({},Be.set({},e.markerObjectsPath,Be.uniqueId())),Ee))}),O=a.computed(()=>{const be=(p.value||[]).map(Ee=>Be.get(Ee,e.categoryObjectsPath));return Be.uniq(be).map(String)}),L=a.computed(()=>{const be=Be.groupBy(p.value||[],Ee=>Be.get(Ee,e.categoryObjectsPath));return Object.entries(be).map(Ee=>{const[Ye,[{color:pt}]]=Ee,qe=pt||ne(Ye);return{label:Ye,color:qe}})}),V=a.computed(()=>!e.hideTooltip&&p.value&&l.value),H=a.computed(()=>V.value?re(l.value):null);function G(){var be;if(!A.value)throw new Error("Map is null");return i.value=(be=A.value.node())==null?void 0:be.getBoundingClientRect(),A.value.selectAll("g").remove(),A.value}function W(){var be;e.zoomable&&((be=A.value)==null||be.call($.value))}function ne(be){if(n.value&&p.value){const Ee=O.value.indexOf(be);return window.getComputedStyle(n.value).getPropertyValue(`--category-color-${Ee}n`)||"#000"}return null}function se(){var be;if(G(),!A.value)throw new Error("map is not defined");ut(),(be=A.value)==null||be.append("g").attr("class","symbol-map__main__markers").selectAll(".symbol-map__main__markers__item").data(z.value).enter().append("g").attr("id",re).attr("class",j).attr("transform",ke).append("path").on("mouseover",q).on("mouseleave",J).attr("d",Q).attr("fill",ye),W()}function U(be){return Be.keys(Be.pickBy(oe(be),Ee=>Ee)).join(" ")}function oe(be){const Ee="symbol-map__main__features__item",Ye=Be.get(be,e.topojsonObjectsPath,null);return{[Ee]:!0,[`${Ee}--identifier-${Be.kebabCase(Ye)}`]:Ye!==null,[`${Ee}--zoomed`]:c.value===Ye}}function le(){return Ge(this,null,function*(){var be;if(!o.value){if(!((be=e.topojsonUrl)!=null&&be.length))throw new Error("Empty topojsonUrl");o.value=Yv(e.topojsonUrl),r.value=yield o.value}return o.value})}function ue({transform:be}){var Ee;l.value=null,(Ee=A.value)==null||Ee.style("--map-scale",be.k).selectAll(".symbol-map__main__features, .symbol-map__main__markers").attr("transform",be)}function K(be){var pt,qe;const Ee=(pt=A.value)==null?void 0:pt.append("path").attr("d",Q(be)),Ye=(qe=Ee==null?void 0:Ee.node())==null?void 0:qe.getBoundingClientRect();return Ee==null||Ee.remove(),Ye}function J(){l.value=null}function q(be,Ee){l.value=Be.get(Ee,e.markerObjectsPath)}function j(be){return Be.keys(Be.pickBy(X(be),Ee=>Ee)).join(" ")}function re(be){const Ee=Be.get(be,e.markerObjectsPath);return`${x.value}-marker-${Ee}`}function X(be){const Ee=String(Be.get(be,e.categoryObjectsPath)),Ye=O.value.indexOf(Ee),pt=Be.get(be,e.markerObjectsPath),qe="symbol-map__main__markers__item";return{[qe]:!0,[`${qe}--category-${Be.kebabCase(Ee)}`]:Ee!==null,[`${qe}--category-${Ye}n`]:Ee!==null,[`${qe}--cursored`]:l.value===pt,[`${qe}--identifier-${Be.kebabCase(pt)}`]:pt!==null,[`${qe}--highlighted`]:s.value===Ee}}function Q(be){return Be.isFunction(e.markerPath)?e.markerPath(be):e.markerPath}function ye(Ye){var pt=Ye,{color:be}=pt,Ee=ar(pt,["color"]);return be||(Be.isFunction(e.markerColor)?e.markerColor(Ee):e.markerColor)}function _e(be){return Be.isFunction(e.markerWidth)?e.markerWidth(be):e.markerWidth}function Ne(be){return Be.get(be,e.labelObjectsPath)}function ke(be){const{latitude:Ee,longitude:Ye}=be,{height:pt,width:qe}=K(be),[ce,ge]=N.value([Ye,Ee]),Se=_e(be)/Math.max(1,qe),De=ce-qe/2*Se,Zt=ge-pt/2*Se;return`translate(${De}, ${Zt}) scale(${Se})`}function ee(be,Ee){return Ge(this,null,function*(){var Ye;if(t("click",Ee),!!e.clickable){if(c.value===Be.get(Ee,e.topojsonObjectsPath))return he();Fe(Ee,Un(be,(Ye=A.value)==null?void 0:Ye.node())),t("zoomed",Ee)}})}function he(be,Ee){var Ye;(Ye=A.value)==null||Ye.style("--map-scale",1).transition().duration(e.transitionDuration).call($.value.transform,Ya),c.value=null,t("reset")}function Ke(){var be;(be=A.value)==null||be.selectAll(".symbol-map__main__markers__item").attr("class",j)}function Fe(be,Ee=[0,0]){var In,qa;if(!p.value)return;c.value=Be.get(be,e.topojsonObjectsPath);const{height:Ye,width:pt}=i.value,[[qe,ce],[ge,Se]]=g.value.bounds(be),De=Math.min(8,.9/Math.max((ge-qe)/pt,(Se-ce)/Ye)),Zt=-(qe+ge)/2,yn=-(ce+Se)/2,hr=Ya.translate(pt/2,Ye/2).scale(De).translate(Zt,yn);return(qa=A.value)==null?void 0:qa.style("--map-scale",De).transition().duration(e.transitionDuration).call((In=$.value)==null?void 0:In.transform,hr,Ee).end()}function ut(){var be;A.value&&((be=A.value)==null||be.append("g").attr("class","symbol-map__main__features").selectAll(".symbol-map__main__features__item").data(C.value.features).enter().append("path").attr("class",U).attr("d",g.value).on("click",ee).style("color",e.featureColor))}return a.watch(()=>e.data,()=>{ut()}),a.watch(()=>e.socialMode,()=>{se()}),a.watch(()=>l.value,()=>{Ke()}),a.watch(()=>s.value,()=>{Ke()}),{el:n,categoryHighlight:s,legendData:L,mapClass:B,markerCursor:l,markerCursorValue:F,markerLabel:Ne,tooltipTarget:H,loadTopojson:le}}}),v_e=(e=>(a.pushScopeId("data-v-3965b4f7"),e=e(),a.popScopeId(),e))(()=>a.createElementVNode("svg",{class:"symbol-map__main"},null,-1));function b_e(e,t,n,r,o,i){const l=a.resolveComponent("ordinal-legend"),s=Yl;return a.openBlock(),a.createElementBlock("div",{ref:"el",class:a.normalizeClass([e.mapClass,"symbol-map"])},[a.renderSlot(e.$slots,"legend",a.normalizeProps(a.guardReactiveProps({legendData:e.legendData})),()=>[!e.hideLegend&&e.legendData?(a.openBlock(),a.createBlock(l,{key:0,highlight:e.categoryHighlight,"onUpdate:highlight":t[0]||(t[0]=c=>e.categoryHighlight=c),data:e.legendData,horizontal:e.horizontalLegend,"marker-path":e.markerPath,"category-objects-path":"label"},{marker:a.withCtx(c=>[a.renderSlot(e.$slots,"legend-marker",a.normalizeProps(a.guardReactiveProps(c)),void 0,!0)]),label:a.withCtx(c=>[a.renderSlot(e.$slots,"legend-label",a.normalizeProps(a.guardReactiveProps(c)),void 0,!0)]),_:3},8,["highlight","data","horizontal","marker-path"])):a.createCommentVNode("",!0)],!0),v_e,e.tooltipTarget?(a.openBlock(),a.createBlock(s,{key:0,ref:"marker-tooltip","custom-class":e.tooltipCustomClass,"fallback-placement":e.tooltipFallbackPlacement,placement:e.tooltipPlacement,target:e.tooltipTarget},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"tooltip",a.normalizeProps(a.guardReactiveProps(de({markerCursor:e.markerCursor},e.markerCursorValue))),()=>[a.createTextVNode(a.toDisplayString(e.markerLabel(e.markerCursorValue)),1)],!0)]),_:3},8,["custom-class","fallback-placement","placement","target"])):a.createCommentVNode("",!0)],2)}const XN=rt(y_e,[["render",b_e],["__scopeId","data-v-3965b4f7"]]),ZN=Object.freeze(Object.defineProperty({__proto__:null,ChoroplethMap:KN,ChoroplethMapAnnotation:g_e,SymbolMap:XN},Symbol.toStringTag,{value:"Module"})),dc={get i18n(){return x6},get config(){return It},get components(){return J2},setLocaleMessage(e,t){return dc.i18n.global.setLocaleMessage(e,t)},mergeLocaleMessage(e,t){return dc.i18n.global.mergeLocaleMessage(e,t)},setLocale(e){return dc.i18n.global.locale.value=e},getLocale(){return dc.i18n.global.locale.value},install(e){e.use(jV()),e.use(x6),e.config.globalProperties.$config=dc.config,Object.keys(J2).forEach(t=>e.component(t,J2[t])),Object.keys(UN).forEach(t=>e.component(t,UN[t])),Object.keys(ZN).forEach(t=>e.component(t,ZN[t]))}};Ce.AccordionStep=T6,Ce.AccordionWrapper=N6,Ce.ActiveTextTruncate=R6,Ce.AdvancedLinkForm=W5,Ce.BarChart=wN,Ce.Brand=Sg,Ce.BrandExpansion=Hd,Ce.ChoroplethMap=KN,Ce.ColumnChart=SN,Ce.ConfirmButton=q8,Ce.ContentPlaceholder=d7,Ce.CustomPagination=h7,Ce.DigitsInput=p7,Ce.DonateForm=Q7,Ce.EmbedForm=_y,Ce.EmbeddableFooter=uS,Ce.Fa=zn,Ce.FollowUsPopover=kh,Ce.GenericFooter=dS,Ce.GenericHeader=gS,Ce.HapticCopy=Zc,Ce.ImddbHeader=kS,Ce.LineChart=kN,Ce.OrdinalLegend=W2,Ce.RangePicker=aN,Ce.ResponsiveIframe=oN,Ce.ScaleLegend=j2,Ce.SecretInput=mN,Ce.SelectableDropdown=pN,Ce.SharingOptions=xy,Ce.SharingOptionsLink=Cy,Ce.SignUpForm=Ty,Ce.SlideUpDown=gN,Ce.StackedBarChart=HN,Ce.SymbolMap=XN,Ce.TexturedDeck=yN,Ce.TinyPagination=vN,Ce.default=dc,Object.defineProperties(Ce,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
837
|
-
//# sourceMappingURL=murmur.umd.cjs.map
|