Changeset 3328560
- Timestamp:
- 07/15/2025 08:37:11 PM (7 months ago)
- Location:
- data-collector-insights
- Files:
-
- 73 added
- 8 deleted
- 29 edited
-
tags/1.6.0 (added)
-
tags/1.6.0/assets (added)
-
tags/1.6.0/assets/imgs (added)
-
tags/1.6.0/assets/imgs/logo.png (added)
-
tags/1.6.0/assets/imgs/sdk-alg.svg (added)
-
tags/1.6.0/build (added)
-
tags/1.6.0/build/149.js (added)
-
tags/1.6.0/build/226.js (added)
-
tags/1.6.0/build/432.js (added)
-
tags/1.6.0/build/451.js (added)
-
tags/1.6.0/build/465.js (added)
-
tags/1.6.0/build/533.js (added)
-
tags/1.6.0/build/535.js (added)
-
tags/1.6.0/build/540.js (added)
-
tags/1.6.0/build/747.js (added)
-
tags/1.6.0/build/757.js (added)
-
tags/1.6.0/build/790.js (added)
-
tags/1.6.0/build/862.js (added)
-
tags/1.6.0/build/index-rtl.css (added)
-
tags/1.6.0/build/index.asset.php (added)
-
tags/1.6.0/build/index.css (added)
-
tags/1.6.0/build/index.js (added)
-
tags/1.6.0/class-core.php (added)
-
tags/1.6.0/data-collector-insights.php (added)
-
tags/1.6.0/dci (added)
-
tags/1.6.0/dci.zip (added)
-
tags/1.6.0/dci/assets (added)
-
tags/1.6.0/dci/assets/css (added)
-
tags/1.6.0/dci/assets/css/dci.css (added)
-
tags/1.6.0/dci/assets/js (added)
-
tags/1.6.0/dci/assets/js/dci.js (added)
-
tags/1.6.0/dci/deactivate-feedback.php (added)
-
tags/1.6.0/dci/insights.php (added)
-
tags/1.6.0/dci/notice.php (added)
-
tags/1.6.0/dci/start.php (added)
-
tags/1.6.0/includes (added)
-
tags/1.6.0/includes/Admin (added)
-
tags/1.6.0/includes/Admin/Classes (added)
-
tags/1.6.0/includes/Admin/Classes/class-api.php (added)
-
tags/1.6.0/includes/Admin/Classes/class-clients.php (added)
-
tags/1.6.0/includes/Admin/Classes/class-dashboard.php (added)
-
tags/1.6.0/includes/Admin/Classes/class-plugin-usage.php (added)
-
tags/1.6.0/includes/Admin/Classes/class-products.php (added)
-
tags/1.6.0/includes/Admin/Classes/class-query-builder.php (added)
-
tags/1.6.0/includes/Admin/Classes/class-settings.php (added)
-
tags/1.6.0/includes/Admin/Classes/class-theme-usage.php (added)
-
tags/1.6.0/includes/Admin/class-menu.php (added)
-
tags/1.6.0/includes/Classes (added)
-
tags/1.6.0/includes/Classes/class-crm.php (added)
-
tags/1.6.0/includes/Classes/class-input.php (added)
-
tags/1.6.0/includes/Email-verify (added)
-
tags/1.6.0/includes/Email-verify/class-reoon.php (added)
-
tags/1.6.0/includes/class-admin.php (added)
-
tags/1.6.0/includes/class-installer.php (added)
-
tags/1.6.0/includes/public (added)
-
tags/1.6.0/includes/public/class-api.php (added)
-
tags/1.6.0/includes/public/class-insert.php (added)
-
tags/1.6.0/languages (added)
-
tags/1.6.0/languages/data-collector-insights.pot (added)
-
tags/1.6.0/plugin.php (added)
-
tags/1.6.0/readme.txt (added)
-
trunk/assets/imgs/logo.png (added)
-
trunk/assets/imgs/logo.svg (deleted)
-
trunk/assets/imgs/sdk-alg.svg (added)
-
trunk/build/149.js (added)
-
trunk/build/226.js (added)
-
trunk/build/257.js (deleted)
-
trunk/build/300.js (deleted)
-
trunk/build/312.js (deleted)
-
trunk/build/451.js (added)
-
trunk/build/533.js (added)
-
trunk/build/535.js (added)
-
trunk/build/540.js (added)
-
trunk/build/629.js (deleted)
-
trunk/build/747.js (added)
-
trunk/build/750.js (deleted)
-
trunk/build/757.js (modified) (4 diffs)
-
trunk/build/790.js (added)
-
trunk/build/862.js (added)
-
trunk/build/873.js (deleted)
-
trunk/build/index-rtl.css (modified) (141 diffs)
-
trunk/build/index.asset.php (modified) (1 diff)
-
trunk/build/index.css (modified) (141 diffs)
-
trunk/build/index.js (modified) (1 diff)
-
trunk/class-core.php (modified) (1 diff)
-
trunk/data-collector-insights.php (modified) (2 diffs)
-
trunk/dci.zip (modified) (previous)
-
trunk/dci/alg.svg (deleted)
-
trunk/dci/assets/css/dci.css (modified) (5 diffs)
-
trunk/dci/deactivate-feedback.php (modified) (8 diffs)
-
trunk/dci/insights.php (modified) (33 diffs)
-
trunk/dci/notice.php (modified) (1 diff)
-
trunk/dci/start.php (modified) (3 diffs)
-
trunk/includes/Admin/Classes/class-clients.php (modified) (12 diffs)
-
trunk/includes/Admin/Classes/class-dashboard.php (modified) (23 diffs)
-
trunk/includes/Admin/Classes/class-plugin-usage.php (modified) (9 diffs)
-
trunk/includes/Admin/Classes/class-products.php (modified) (8 diffs)
-
trunk/includes/Admin/Classes/class-query-builder.php (added)
-
trunk/includes/Admin/Classes/class-settings.php (modified) (1 diff)
-
trunk/includes/Admin/Classes/class-theme-usage.php (modified) (7 diffs)
-
trunk/includes/Admin/class-menu.php (modified) (2 diffs)
-
trunk/includes/Classes/class-crm.php (modified) (7 diffs)
-
trunk/includes/Email-verify/class-reoon.php (modified) (3 diffs)
-
trunk/includes/class-admin.php (modified) (1 diff)
-
trunk/includes/class-installer.php (modified) (4 diffs)
-
trunk/includes/public/class-api.php (modified) (10 diffs)
-
trunk/includes/public/class-insert.php (modified) (9 diffs)
-
trunk/languages/data-collector-insights.pot (modified) (9 diffs)
-
trunk/plugin.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
data-collector-insights/trunk/build/757.js
r3237430 r3328560 96 96 user-select: none; 97 97 white-space: nowrap; 98 `;function M({name:e,keyField:t,row:n,rowCount:o,selected:r,selectableRowsComponent:a,selectableRowsComponentProps:s,selectableRowsSingle:l,selectableRowDisabled:c,onSelectedRow:d}){const u=!(!c||!c(n));return i.createElement(F,{onClick:e=>e.stopPropagation(),className:"rdt_TableCell",$noPadding:!0},i.createElement(H,{name:e,component:a,componentOptions:s,checked:r,"aria-checked":r,onClick:()=>{d({type:"SELECT_SINGLE_ROW",row:n,isSelected:r,keyField:t,rowCount:o,singleSelect:l})},disabled:u}))}const N=c.default.button`98 `;function N({name:e,keyField:t,row:n,rowCount:o,selected:r,selectableRowsComponent:a,selectableRowsComponentProps:s,selectableRowsSingle:l,selectableRowDisabled:c,onSelectedRow:d}){const u=!(!c||!c(n));return i.createElement(F,{onClick:e=>e.stopPropagation(),className:"rdt_TableCell",$noPadding:!0},i.createElement(H,{name:e,component:a,componentOptions:s,checked:r,"aria-checked":r,onClick:()=>{d({type:"SELECT_SINGLE_ROW",row:n,isSelected:r,keyField:t,rowCount:o,singleSelect:l})},disabled:u}))}const M=c.default.button` 99 99 display: inline-flex; 100 100 align-items: center; … … 104 104 background-color: transparent; 105 105 ${({theme:e})=>e.expanderButton.style}; 106 `;function L({disabled:e=!1,expanded:t=!1,expandableIcon:n,id:o,row:r,onToggled:a}){const s=t?n.expanded:n.collapsed;return i.createElement( N,{"aria-disabled":e,onClick:()=>a&&a(r),"data-testid":`expander-button-${o}`,disabled:e,"aria-label":t?"Collapse Row":"Expand Row",role:"button",type:"button"},s)}const z=c.default(I)`106 `;function L({disabled:e=!1,expanded:t=!1,expandableIcon:n,id:o,row:r,onToggled:a}){const s=t?n.expanded:n.collapsed;return i.createElement(M,{"aria-disabled":e,onClick:()=>a&&a(r),"data-testid":`expander-button-${o}`,disabled:e,"aria-label":t?"Collapse Row":"Expand Row",role:"button",type:"button"},s)}const z=c.default(I)` 107 107 white-space: nowrap; 108 108 font-weight: 400; … … 135 135 ${({$selected:e,theme:t})=>e&&t.rows.selectedHighlightStyle}; 136 136 ${({$conditionalStyle:e})=>e}; 137 `;function Q({columns:e=[],conditionalRowStyles:t=[],defaultExpanded:n=!1,defaultExpanderDisabled:o=!1,dense:r=!1,expandableIcon:a,expandableRows:s=!1,expandableRowsComponent:l,expandableRowsComponentProps:c,expandableRowsHideExpander:u,expandOnRowClicked:p=!1,expandOnRowDoubleClicked:g=!1,highlightOnHover:f=!1,id:h,expandableInheritConditionalStyles:w,keyField:v,onRowClicked:x=m,onRowDoubleClicked:S=m,onRowMouseEnter:C=m,onRowMouseLeave:R=m,onRowExpandToggled:E=m,onSelectedRow:O=m,pointerOnHover:P=!1,row:$,rowCount:k,rowIndex:I,selectableRowDisabled:D=null,selectableRows:j=!1,selectableRowsComponent:A,selectableRowsComponentProps:T,selectableRowsHighlight:H=!1,selectableRowsSingle:F=!1,selected: N,striped:L=!1,draggingColumnId:z,onDragStart:B,onDragOver:Y,onDragEnd:U,onDragEnter:q,onDragLeave:J}){const[K,Q]=i.useState(n);i.useEffect((()=>{Q(n)}),[n]);const X=i.useCallback((()=>{Q(!K),E(!K,$)}),[K,E,$]),ee=P||s&&(p||g),te=i.useCallback((e=>{e.target.getAttribute("data-tag")===V&&(x($,e),!o&&s&&p&&X())}),[o,p,s,X,x,$]),ne=i.useCallback((e=>{e.target.getAttribute("data-tag")===V&&(S($,e),!o&&s&&g&&X())}),[o,g,s,X,S,$]),oe=i.useCallback((e=>{C($,e)}),[C,$]),re=i.useCallback((e=>{R($,e)}),[R,$]),ae=d($,v),{conditionalStyle:se,classNames:ie}=b($,t,["rdt_TableRow"]),le=H&&N,ce=w?se:{},de=L&&I%2==0;return i.createElement(i.Fragment,null,i.createElement(Z,{id:`row-${h}`,role:"row",$striped:de,$highlightOnHover:f,$pointerOnHover:!o&&ee,$dense:r,onClick:te,onDoubleClick:ne,onMouseEnter:oe,onMouseLeave:re,className:ie,$selected:le,$conditionalStyle:se},j&&i.createElement(M,{name:`select-row-${ae}`,keyField:v,row:$,rowCount:k,selected:N,selectableRowsComponent:A,selectableRowsComponentProps:T,selectableRowDisabled:D,selectableRowsSingle:F,onSelectedRow:O}),s&&!u&&i.createElement(W,{id:ae,expandableIcon:a,expanded:K,row:$,onToggled:X,disabled:o}),e.map((e=>e.omit?null:i.createElement(_,{id:`cell-${e.id}-${ae}`,key:`cell-${e.id}-${ae}`,dataTag:e.ignoreRowClick||e.button?null:V,column:e,row:$,rowIndex:I,isDragging:y(z,e.id),onDragStart:B,onDragOver:Y,onDragEnd:U,onDragEnter:q,onDragLeave:J})))),s&&K&&i.createElement(G,{key:`expander-${ae}`,data:$,extendedRowStyle:ce,extendedClassNames:ie,ExpanderComponent:l,expanderComponentProps:c}))}const X=c.default.span`137 `;function Q({columns:e=[],conditionalRowStyles:t=[],defaultExpanded:n=!1,defaultExpanderDisabled:o=!1,dense:r=!1,expandableIcon:a,expandableRows:s=!1,expandableRowsComponent:l,expandableRowsComponentProps:c,expandableRowsHideExpander:u,expandOnRowClicked:p=!1,expandOnRowDoubleClicked:g=!1,highlightOnHover:f=!1,id:h,expandableInheritConditionalStyles:w,keyField:v,onRowClicked:x=m,onRowDoubleClicked:S=m,onRowMouseEnter:C=m,onRowMouseLeave:R=m,onRowExpandToggled:E=m,onSelectedRow:O=m,pointerOnHover:P=!1,row:$,rowCount:k,rowIndex:I,selectableRowDisabled:D=null,selectableRows:j=!1,selectableRowsComponent:A,selectableRowsComponentProps:T,selectableRowsHighlight:H=!1,selectableRowsSingle:F=!1,selected:M,striped:L=!1,draggingColumnId:z,onDragStart:B,onDragOver:Y,onDragEnd:U,onDragEnter:q,onDragLeave:J}){const[K,Q]=i.useState(n);i.useEffect((()=>{Q(n)}),[n]);const X=i.useCallback((()=>{Q(!K),E(!K,$)}),[K,E,$]),ee=P||s&&(p||g),te=i.useCallback((e=>{e.target.getAttribute("data-tag")===V&&(x($,e),!o&&s&&p&&X())}),[o,p,s,X,x,$]),ne=i.useCallback((e=>{e.target.getAttribute("data-tag")===V&&(S($,e),!o&&s&&g&&X())}),[o,g,s,X,S,$]),oe=i.useCallback((e=>{C($,e)}),[C,$]),re=i.useCallback((e=>{R($,e)}),[R,$]),ae=d($,v),{conditionalStyle:se,classNames:ie}=b($,t,["rdt_TableRow"]),le=H&&M,ce=w?se:{},de=L&&I%2==0;return i.createElement(i.Fragment,null,i.createElement(Z,{id:`row-${h}`,role:"row",$striped:de,$highlightOnHover:f,$pointerOnHover:!o&&ee,$dense:r,onClick:te,onDoubleClick:ne,onMouseEnter:oe,onMouseLeave:re,className:ie,$selected:le,$conditionalStyle:se},j&&i.createElement(N,{name:`select-row-${ae}`,keyField:v,row:$,rowCount:k,selected:M,selectableRowsComponent:A,selectableRowsComponentProps:T,selectableRowDisabled:D,selectableRowsSingle:F,onSelectedRow:O}),s&&!u&&i.createElement(W,{id:ae,expandableIcon:a,expanded:K,row:$,onToggled:X,disabled:o}),e.map((e=>e.omit?null:i.createElement(_,{id:`cell-${e.id}-${ae}`,key:`cell-${e.id}-${ae}`,dataTag:e.ignoreRowClick||e.button?null:V,column:e,row:$,rowIndex:I,isDragging:y(z,e.id),onDragStart:B,onDragOver:Y,onDragEnd:U,onDragEnter:q,onDragLeave:J})))),s&&K&&i.createElement(G,{key:`expander-${ae}`,data:$,extendedRowStyle:ce,extendedClassNames:ie,ExpanderComponent:l,expanderComponentProps:c}))}const X=c.default.span` 138 138 padding: 2px; 139 139 color: inherit; … … 379 379 `,Fe=c.default(He)` 380 380 margin: 0 24px; 381 `, Me=c.default(He)`381 `,Ne=c.default(He)` 382 382 margin: 0 4px; 383 `;var Ne=i.memo((function({rowsPerPage:e,rowCount:t,currentPage:n,direction:o=De.direction,paginationRowsPerPageOptions:r=De.paginationRowsPerPageOptions,paginationIconLastPage:a=De.paginationIconLastPage,paginationIconFirstPage:s=De.paginationIconFirstPage,paginationIconNext:l=De.paginationIconNext,paginationIconPrevious:c=De.paginationIconPrevious,paginationComponentOptions:d=De.paginationComponentOptions,onChangeRowsPerPage:u=De.onChangeRowsPerPage,onChangePage:p=De.onChangePage}){const g=(()=>{const e="object"==typeof window;function t(){return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}}const[n,o]=i.useState(t);return i.useEffect((()=>{if(!e)return()=>null;function n(){o(t())}return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),n})(),h=le(o),m=g.width&&g.width>599,b=f(t,e),w=n*e,v=w-e+1,y=1===n,x=n===b,S=Object.assign(Object.assign({},je),d),C=n===b?`${v}-${t} ${S.rangeSeparatorText} ${t}`:`${v}-${w} ${S.rangeSeparatorText} ${t}`,R=i.useCallback((()=>p(n-1)),[n,p]),E=i.useCallback((()=>p(n+1)),[n,p]),O=i.useCallback((()=>p(1)),[p]),P=i.useCallback((()=>p(f(t,e))),[p,t,e]),$=i.useCallback((e=>u(Number(e.target.value),n)),[n,u]),k=r.map((e=>i.createElement("option",{key:e,value:e},e)));S.selectAllRowsItem&&k.push(i.createElement("option",{key:-1,value:t},S.selectAllRowsItemText));const I=i.createElement(Ie,{onChange:$,defaultValue:e,"aria-label":S.rowsPerPageText},k);return i.createElement(Ae,{className:"rdt_Pagination"},!S.noRowsPerPage&&m&&i.createElement(i.Fragment,null,i.createElement(Me,null,S.rowsPerPageText),I),m&&i.createElement(Fe,null,C),i.createElement(Te,null,i.createElement(_e,{id:"pagination-first-page",type:"button","aria-label":"First Page","aria-disabled":y,onClick:O,disabled:y,$isRTL:h},s),i.createElement(_e,{id:"pagination-previous-page",type:"button","aria-label":"Previous Page","aria-disabled":y,onClick:R,disabled:y,$isRTL:h},c),!S.noRowsPerPage&&!m&&I,i.createElement(_e,{id:"pagination-next-page",type:"button","aria-label":"Next Page","aria-disabled":x,onClick:E,disabled:x,$isRTL:h},l),i.createElement(_e,{id:"pagination-last-page",type:"button","aria-label":"Last Page","aria-disabled":x,onClick:P,disabled:x,$isRTL:h},a)))}));const Le=(e,t)=>{const n=i.useRef(!0);i.useEffect((()=>{n.current?n.current=!1:e()}),t)};var ze=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===We}(e)}(e)},We="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Be(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ue((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function Ge(e,t,n){return e.concat(t).map((function(e){return Be(e,n)}))}function Ve(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function Ye(e,t){try{return t in e}catch(e){return!1}}function Ue(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Ge,n.isMergeableObject=n.isMergeableObject||ze,n.cloneUnlessOtherwiseSpecified=Be;var o=Array.isArray(t);return o===Array.isArray(e)?o?n.arrayMerge(e,t,n):function(e,t,n){var o={};return n.isMergeableObject(e)&&Ve(e).forEach((function(t){o[t]=Be(e[t],n)})),Ve(t).forEach((function(r){(function(e,t){return Ye(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(Ye(e,r)&&n.isMergeableObject(t[r])?o[r]=function(e,t){if(!t.customMerge)return Ue;var n=t.customMerge(e);return"function"==typeof n?n:Ue}(r,n)(e[r],t[r],n):o[r]=Be(t[r],n))})),o}(e,t,n):Be(t,n)}Ue.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Ue(e,n,t)}),{})};var qe=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(Ue);const Je={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)"},background:{default:"#FFFFFF"},context:{background:"#e3f2fd",text:"rgba(0, 0, 0, 0.87)"},divider:{default:"rgba(0,0,0,.12)"},button:{default:"rgba(0,0,0,.54)",focus:"rgba(0,0,0,.12)",hover:"rgba(0,0,0,.12)",disabled:"rgba(0, 0, 0, .18)"},selected:{default:"#e3f2fd",text:"rgba(0, 0, 0, 0.87)"},highlightOnHover:{default:"#EEEEEE",text:"rgba(0, 0, 0, 0.87)"},striped:{default:"#FAFAFA",text:"rgba(0, 0, 0, 0.87)"}},Ke={default:Je,light:Je,dark:{text:{primary:"#FFFFFF",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(0,0,0,.12)"},background:{default:"#424242"},context:{background:"#E91E63",text:"#FFFFFF"},divider:{default:"rgba(81, 81, 81, 1)"},button:{default:"#FFFFFF",focus:"rgba(255, 255, 255, .54)",hover:"rgba(255, 255, 255, .12)",disabled:"rgba(255, 255, 255, .18)"},selected:{default:"rgba(0, 0, 0, .7)",text:"#FFFFFF"},highlightOnHover:{default:"rgba(0, 0, 0, .7)",text:"#FFFFFF"},striped:{default:"rgba(0, 0, 0, .87)",text:"#FFFFFF"}}};function Ze(e,t,n,o){const[r,a]=i.useState((()=>g(e))),[l,c]=i.useState(""),d=i.useRef("");Le((()=>{a(g(e))}),[e]);const u=i.useCallback((e=>{var t,n,o;const{attributes:a}=e.target,s=null===(t=a.getNamedItem("data-column-id"))||void 0===t?void 0:t.value;s&&(d.current=(null===(o=null===(n=r[v(r,s)])||void 0===n?void 0:n.id)||void 0===o?void 0:o.toString())||"",c(d.current))}),[r]),p=i.useCallback((e=>{var n;const{attributes:o}=e.target,s=null===(n=o.getNamedItem("data-column-id"))||void 0===n?void 0:n.value;if(s&&d.current&&s!==d.current){const e=v(r,d.current),n=v(r,s),o=[...r];o[e]=r[n],o[n]=r[e],a(o),t(o)}}),[t,r]),f=i.useCallback((e=>{e.preventDefault()}),[]),h=i.useCallback((e=>{e.preventDefault()}),[]),m=i.useCallback((e=>{e.preventDefault(),d.current="",c("")}),[]),b=function(e=!1){return e?s.ASC:s.DESC}(o),w=i.useMemo((()=>r[v(r,null==n?void 0:n.toString())]||{}),[n,r]);return{tableColumns:r,draggingColumnId:l,handleDragStart:u,handleDragEnter:p,handleDragOver:f,handleDragLeave:h,handleDragEnd:m,defaultSortDirection:b,defaultSortColumn:w}}var Qe=i.memo((function(e){const{data:t=De.data,columns:n=De.columns,title:o=De.title,actions:a=De.actions,keyField:l=De.keyField,striped:c=De.striped,highlightOnHover:u=De.highlightOnHover,pointerOnHover:p=De.pointerOnHover,dense:g=De.dense,selectableRows:m=De.selectableRows,selectableRowsSingle:b=De.selectableRowsSingle,selectableRowsHighlight:v=De.selectableRowsHighlight,selectableRowsNoSelectAll:y=De.selectableRowsNoSelectAll,selectableRowsVisibleOnly:S=De.selectableRowsVisibleOnly,selectableRowSelected:R=De.selectableRowSelected,selectableRowDisabled:P=De.selectableRowDisabled,selectableRowsComponent:$=De.selectableRowsComponent,selectableRowsComponentProps:k=De.selectableRowsComponentProps,onRowExpandToggled:D=De.onRowExpandToggled,onSelectedRowsChange:j=De.onSelectedRowsChange,expandableIcon:A=De.expandableIcon,onChangeRowsPerPage:_=De.onChangeRowsPerPage,onChangePage:T=De.onChangePage,paginationServer:H=De.paginationServer,paginationServerOptions:F=De.paginationServerOptions,paginationTotalRows:M=De.paginationTotalRows,paginationDefaultPage:N=De.paginationDefaultPage,paginationResetDefaultPage:L=De.paginationResetDefaultPage,paginationPerPage:z=De.paginationPerPage,paginationRowsPerPageOptions:W=De.paginationRowsPerPageOptions,paginationIconLastPage:B=De.paginationIconLastPage,paginationIconFirstPage:G=De.paginationIconFirstPage,paginationIconNext:V=De.paginationIconNext,paginationIconPrevious:Y=De.paginationIconPrevious,paginationComponent:U=De.paginationComponent,paginationComponentOptions:q=De.paginationComponentOptions,responsive:J=De.responsive,progressPending:K=De.progressPending,progressComponent:Z=De.progressComponent,persistTableHead:X=De.persistTableHead,noDataComponent:ee=De.noDataComponent,disabled:te=De.disabled,noTableHead:ne=De.noTableHead,noHeader:oe=De.noHeader,fixedHeader:re=De.fixedHeader,fixedHeaderScrollHeight:se=De.fixedHeaderScrollHeight,pagination:le=De.pagination,subHeader:ce=De.subHeader,subHeaderAlign:de=De.subHeaderAlign,subHeaderWrap:ue=De.subHeaderWrap,subHeaderComponent:pe=De.subHeaderComponent,noContextMenu:ge=De.noContextMenu,contextMessage:fe=De.contextMessage,contextActions:he=De.contextActions,contextComponent:be=De.contextComponent,expandableRows:we=De.expandableRows,onRowClicked:ve=De.onRowClicked,onRowDoubleClicked:Pe=De.onRowDoubleClicked,onRowMouseEnter:$e=De.onRowMouseEnter,onRowMouseLeave:ke=De.onRowMouseLeave,sortIcon:Ie=De.sortIcon,onSort:je=De.onSort,sortFunction:Ae=De.sortFunction,sortServer:_e=De.sortServer,expandableRowsComponent:Te=De.expandableRowsComponent,expandableRowsComponentProps:He=De.expandableRowsComponentProps,expandableRowDisabled:Fe=De.expandableRowDisabled,expandableRowsHideExpander:Me=De.expandableRowsHideExpander,expandOnRowClicked:ze=De.expandOnRowClicked,expandOnRowDoubleClicked:We=De.expandOnRowDoubleClicked,expandableRowExpanded:Be=De.expandableRowExpanded,expandableInheritConditionalStyles:Ge=De.expandableInheritConditionalStyles,defaultSortFieldId:Ve=De.defaultSortFieldId,defaultSortAsc:Ye=De.defaultSortAsc,clearSelectedRows:Ue=De.clearSelectedRows,conditionalRowStyles:Je=De.conditionalRowStyles,theme:Qe=De.theme,customStyles:Xe=De.customStyles,direction:et=De.direction,onColumnOrderChange:tt=De.onColumnOrderChange,className:nt}=e,{tableColumns:ot,draggingColumnId:rt,handleDragStart:at,handleDragEnter:st,handleDragOver:it,handleDragLeave:lt,handleDragEnd:ct,defaultSortDirection:dt,defaultSortColumn:ut}=Ze(n,tt,Ve,Ye),[{rowsPerPage:pt,currentPage:gt,selectedRows:ft,allSelected:ht,selectedCount:mt,selectedColumn:bt,sortDirection:wt,toggleOnSelectedRowsChange:vt},yt]=i.useReducer(x,{allSelected:!1,selectedCount:0,selectedRows:[],selectedColumn:ut,toggleOnSelectedRowsChange:!1,sortDirection:dt,currentPage:N,rowsPerPage:z,selectedRowsFlag:!1,contextMessage:De.contextMessage}),{persistSelectedOnSort:xt=!1,persistSelectedOnPageChange:St=!1}=F,Ct=!(!H||!St&&!xt),Rt=le&&!K&&t.length>0,Et=U||Ne,Ot=i.useMemo((()=>((e={},t="default",n="default")=>{return qe({table:{style:{color:(o=Ke[Ke[t]?t:n]).text.primary,backgroundColor:o.background.default}},tableWrapper:{style:{display:"table"}},responsiveWrapper:{style:{}},header:{style:{fontSize:"22px",color:o.text.primary,backgroundColor:o.background.default,minHeight:"56px",paddingLeft:"16px",paddingRight:"8px"}},subHeader:{style:{backgroundColor:o.background.default,minHeight:"52px"}},head:{style:{color:o.text.primary,fontSize:"12px",fontWeight:500}},headRow:{style:{backgroundColor:o.background.default,minHeight:"52px",borderBottomWidth:"1px",borderBottomColor:o.divider.default,borderBottomStyle:"solid"},denseStyle:{minHeight:"32px"}},headCells:{style:{paddingLeft:"16px",paddingRight:"16px"},draggingStyle:{cursor:"move"}},contextMenu:{style:{backgroundColor:o.context.background,fontSize:"18px",fontWeight:400,color:o.context.text,paddingLeft:"16px",paddingRight:"8px",transform:"translate3d(0, -100%, 0)",transitionDuration:"125ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",willChange:"transform"},activeStyle:{transform:"translate3d(0, 0, 0)"}},cells:{style:{paddingLeft:"16px",paddingRight:"16px",wordBreak:"break-word"},draggingStyle:{}},rows:{style:{fontSize:"13px",fontWeight:400,color:o.text.primary,backgroundColor:o.background.default,minHeight:"48px","&:not(:last-of-type)":{borderBottomStyle:"solid",borderBottomWidth:"1px",borderBottomColor:o.divider.default}},denseStyle:{minHeight:"32px"},selectedHighlightStyle:{"&:nth-of-type(n)":{color:o.selected.text,backgroundColor:o.selected.default,borderBottomColor:o.background.default}},highlightOnHoverStyle:{color:o.highlightOnHover.text,backgroundColor:o.highlightOnHover.default,transitionDuration:"0.15s",transitionProperty:"background-color",borderBottomColor:o.background.default,outlineStyle:"solid",outlineWidth:"1px",outlineColor:o.background.default},stripedStyle:{color:o.striped.text,backgroundColor:o.striped.default}},expanderRow:{style:{color:o.text.primary,backgroundColor:o.background.default}},expanderCell:{style:{flex:"0 0 48px"}},expanderButton:{style:{color:o.button.default,fill:o.button.default,backgroundColor:"transparent",borderRadius:"2px",transition:"0.25s",height:"100%",width:"100%","&:hover:enabled":{cursor:"pointer"},"&:disabled":{color:o.button.disabled},"&:hover:not(:disabled)":{cursor:"pointer",backgroundColor:o.button.hover},"&:focus":{outline:"none",backgroundColor:o.button.focus},svg:{margin:"auto"}}},pagination:{style:{color:o.text.secondary,fontSize:"13px",minHeight:"56px",backgroundColor:o.background.default,borderTopStyle:"solid",borderTopWidth:"1px",borderTopColor:o.divider.default},pageButtonsStyle:{borderRadius:"50%",height:"40px",width:"40px",padding:"8px",margin:"px",cursor:"pointer",transition:"0.4s",color:o.button.default,fill:o.button.default,backgroundColor:"transparent","&:disabled":{cursor:"unset",color:o.button.disabled,fill:o.button.disabled},"&:hover:not(:disabled)":{backgroundColor:o.button.hover},"&:focus":{outline:"none",backgroundColor:o.button.focus}}},noData:{style:{display:"flex",alignItems:"center",justifyContent:"center",color:o.text.primary,backgroundColor:o.background.default}},progress:{style:{display:"flex",alignItems:"center",justifyContent:"center",color:o.text.primary,backgroundColor:o.background.default}}},e);var o})(Xe,Qe)),[Xe,Qe]),Pt=i.useMemo((()=>Object.assign({},"auto"!==et&&{dir:et})),[et]),$t=i.useMemo((()=>{if(_e)return t;if((null==bt?void 0:bt.sortFunction)&&"function"==typeof bt.sortFunction){const e=bt.sortFunction,n=wt===s.ASC?e:(t,n)=>-1*e(t,n);return[...t].sort(n)}return function(e,t,n,o){return t?o&&"function"==typeof o?o(e.slice(0),t,n):e.slice(0).sort(((e,o)=>{const r=t(e),a=t(o);if("asc"===n){if(r<a)return-1;if(r>a)return 1}if("desc"===n){if(r>a)return-1;if(r<a)return 1}return 0})):e}(t,null==bt?void 0:bt.selector,wt,Ae)}),[_e,bt,wt,t,Ae]),kt=i.useMemo((()=>{if(le&&!H){const e=gt*pt,t=e-pt;return $t.slice(t,e)}return $t}),[gt,le,H,pt,$t]),It=i.useCallback((e=>{yt(e)}),[]),Dt=i.useCallback((e=>{yt(e)}),[]),jt=i.useCallback((e=>{yt(e)}),[]),At=i.useCallback(((e,t)=>ve(e,t)),[ve]),_t=i.useCallback(((e,t)=>Pe(e,t)),[Pe]),Tt=i.useCallback(((e,t)=>$e(e,t)),[$e]),Ht=i.useCallback(((e,t)=>ke(e,t)),[ke]),Ft=i.useCallback((e=>yt({type:"CHANGE_PAGE",page:e,paginationServer:H,visibleOnly:S,persistSelectedOnPageChange:St})),[H,St,S]),Mt=i.useCallback((e=>{const t=f(M||kt.length,e),n=h(gt,t);H||Ft(n),yt({type:"CHANGE_ROWS_PER_PAGE",page:n,rowsPerPage:e})}),[gt,Ft,H,M,kt.length]);if(le&&!H&&$t.length>0&&0===kt.length){const e=f($t.length,pt),t=h(gt,e);Ft(t)}Le((()=>{j({allSelected:ht,selectedCount:mt,selectedRows:ft.slice(0)})}),[vt]),Le((()=>{je(bt,wt,$t.slice(0))}),[bt,wt]),Le((()=>{T(gt,M||$t.length)}),[gt]),Le((()=>{_(pt,gt)}),[pt]),Le((()=>{Ft(N)}),[N,L]),Le((()=>{if(le&&H&&M>0){const e=f(M,pt),t=h(gt,e);gt!==t&&Ft(t)}}),[M]),i.useEffect((()=>{yt({type:"CLEAR_SELECTED_ROWS",selectedRowsFlag:Ue})}),[b,Ue]),i.useEffect((()=>{if(!R)return;const e=$t.filter((e=>R(e))),t=b?e.slice(0,1):e;yt({type:"SELECT_MULTIPLE_ROWS",keyField:l,selectedRows:t,totalRows:$t.length,mergeSelections:Ct})}),[t,R]);const Nt=S?kt:$t,Lt=St||b||y;return i.createElement(r.ThemeProvider,{theme:Ot},!oe&&(!!o||!!a)&&i.createElement(me,{title:o,actions:a,showMenu:!ge,selectedCount:mt,direction:et,contextActions:he,contextComponent:be,contextMessage:fe}),ce&&i.createElement(ye,{align:de,wrapContent:ue},pe),i.createElement(Se,Object.assign({$responsive:J,$fixedHeader:re,$fixedHeaderScrollHeight:se,className:nt},Pt),i.createElement(Re,null,K&&!X&&i.createElement(Ce,null,Z),i.createElement(C,{disabled:te,className:"rdt_Table",role:"table"},!ne&&(!!X||$t.length>0&&!K)&&i.createElement(E,{className:"rdt_TableHead",role:"rowgroup",$fixedHeader:re},i.createElement(O,{className:"rdt_TableHeadRow",role:"row",$dense:g},m&&(Lt?i.createElement(I,{style:{flex:"0 0 48px"}}):i.createElement(ie,{allSelected:ht,selectedRows:ft,selectableRowsComponent:$,selectableRowsComponentProps:k,selectableRowDisabled:P,rowData:Nt,keyField:l,mergeSelections:Ct,onSelectAllRows:Dt})),we&&!Me&&i.createElement(Ee,null),ot.map((e=>i.createElement(ae,{key:e.id,column:e,selectedColumn:bt,disabled:K||0===$t.length,pagination:le,paginationServer:H,persistSelectedOnSort:xt,selectableRowsVisibleOnly:S,sortDirection:wt,sortIcon:Ie,sortServer:_e,onSort:It,onDragStart:at,onDragOver:it,onDragEnd:ct,onDragEnter:st,onDragLeave:lt,draggingColumnId:rt}))))),!$t.length&&!K&&i.createElement(Oe,null,ee),K&&X&&i.createElement(Ce,null,Z),!K&&$t.length>0&&i.createElement(xe,{className:"rdt_TableBody",role:"rowgroup"},kt.map(((e,t)=>{const n=d(e,l),o=function(e=""){return"number"!=typeof e&&(!e||0===e.length)}(n)?t:n,r=w(e,ft,l),a=!!(we&&Be&&Be(e)),s=!!(we&&Fe&&Fe(e));return i.createElement(Q,{id:o,key:o,keyField:l,"data-row-id":o,columns:ot,row:e,rowCount:$t.length,rowIndex:t,selectableRows:m,expandableRows:we,expandableIcon:A,highlightOnHover:u,pointerOnHover:p,dense:g,expandOnRowClicked:ze,expandOnRowDoubleClicked:We,expandableRowsComponent:Te,expandableRowsComponentProps:He,expandableRowsHideExpander:Me,defaultExpanderDisabled:s,defaultExpanded:a,expandableInheritConditionalStyles:Ge,conditionalRowStyles:Je,selected:r,selectableRowsHighlight:v,selectableRowsComponent:$,selectableRowsComponentProps:k,selectableRowDisabled:P,selectableRowsSingle:b,striped:c,onRowExpandToggled:D,onRowClicked:At,onRowDoubleClicked:_t,onRowMouseEnter:Tt,onRowMouseLeave:Ht,onSelectedRow:jt,draggingColumnId:rt,onDragStart:at,onDragOver:it,onDragEnd:ct,onDragEnter:st,onDragLeave:lt})})))))),Rt&&i.createElement("div",null,i.createElement(Et,{onChangePage:Ft,onChangeRowsPerPage:Mt,rowCount:M||$t.length,currentPage:gt,rowsPerPage:pt,direction:et,paginationRowsPerPageOptions:W,paginationIconLastPage:B,paginationIconFirstPage:G,paginationIconNext:V,paginationIconPrevious:Y,paginationComponentOptions:q})))}));t.Ay=Qe},2833:e=>{e.exports=function(e,t,n,o){var r=n?n.call(o,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),s=Object.keys(t);if(a.length!==s.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var c=a[l];if(!i(c))return!1;var d=e[c],u=t[c];if(!1===(r=n?n.call(o,d,u,c):void 0)||void 0===r&&d!==u)return!1}return!0}},1250:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ServerStyleSheet:()=>rn,StyleSheetConsumer:()=>kt,StyleSheetContext:()=>$t,StyleSheetManager:()=>jt,ThemeConsumer:()=>Bt,ThemeContext:()=>Wt,ThemeProvider:()=>Vt,__PRIVATE__:()=>an,createGlobalStyle:()=>tn,css:()=>Kt,default:()=>Xt,isStyledComponent:()=>Ke,keyframes:()=>nn,styled:()=>Xt,useTheme:()=>Gt,version:()=>ue,withTheme:()=>on});var o=function(){return o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};function r(e,t,n){if(n||2===arguments.length)for(var o,r=0,a=t.length;r<a;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var a=n(1609),s=n.n(a),i=n(2833),l=n.n(i),c="-ms-",d="-moz-",u="-webkit-",p="comm",g="rule",f="decl",h="@import",m="@keyframes",b="@layer",w=Math.abs,v=String.fromCharCode,y=Object.assign;function x(e){return e.trim()}function S(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,n){return e.replace(t,n)}function R(e,t,n){return e.indexOf(t,n)}function E(e,t){return 0|e.charCodeAt(t)}function O(e,t,n){return e.slice(t,n)}function P(e){return e.length}function $(e){return e.length}function k(e,t){return t.push(e),e}function I(e,t){return e.filter((function(e){return!S(e,t)}))}var D=1,j=1,A=0,_=0,T=0,H="";function F(e,t,n,o,r,a,s,i){return{value:e,root:t,parent:n,type:o,props:r,children:a,line:D,column:j,length:s,return:"",siblings:i}}function M(e,t){return y(F("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function N(e){for(;e.root;)e=M(e.root,{children:[e]});k(e,e.siblings)}function L(){return T=_>0?E(H,--_):0,j--,10===T&&(j=1,D--),T}function z(){return T=_<A?E(H,_++):0,j++,10===T&&(j=1,D++),T}function W(){return E(H,_)}function B(){return _}function G(e,t){return O(H,e,t)}function V(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Y(e){return x(G(_-1,J(91===e?e+2:40===e?e+1:e)))}function U(e){for(;(T=W())&&T<33;)z();return V(e)>2||V(T)>3?"":" "}function q(e,t){for(;--t&&z()&&!(T<48||T>102||T>57&&T<65||T>70&&T<97););return G(e,B()+(t<6&&32==W()&&32==z()))}function J(e){for(;z();)switch(T){case e:return _;case 34:case 39:34!==e&&39!==e&&J(T);break;case 40:41===e&&J(e);break;case 92:z()}return _}function K(e,t){for(;z()&&e+T!==57&&(e+T!==84||47!==W()););return"/*"+G(t,_-1)+"*"+v(47===e?e:z())}function Z(e){for(;!V(W());)z();return G(e,_)}function Q(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function X(e,t,n,o){switch(e.type){case b:if(e.children.length)break;case h:case f:return e.return=e.return||e.value;case p:return"";case m:return e.return=e.value+"{"+Q(e.children,o)+"}";case g:if(!P(e.value=e.props.join(",")))return""}return P(n=Q(e.children,o))?e.return=e.value+"{"+n+"}":""}function ee(e,t,n){switch(function(e,t){return 45^E(e,0)?(((t<<2^E(e,0))<<2^E(e,1))<<2^E(e,2))<<2^E(e,3):0}(e,t)){case 5103:return u+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return u+e+e;case 4789:return d+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return u+e+d+e+c+e+e;case 5936:switch(E(e,t+11)){case 114:return u+e+c+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return u+e+c+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return u+e+c+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return u+e+c+e+e;case 6165:return u+e+c+"flex-"+e+e;case 5187:return u+e+C(e,/(\w+).+(:[^]+)/,u+"box-$1$2"+c+"flex-$1$2")+e;case 5443:return u+e+c+"flex-item-"+C(e,/flex-|-self/g,"")+(S(e,/flex-|baseline/)?"":c+"grid-row-"+C(e,/flex-|-self/g,""))+e;case 4675:return u+e+c+"flex-line-pack"+C(e,/align-content|flex-|-self/g,"")+e;case 5548:return u+e+c+C(e,"shrink","negative")+e;case 5292:return u+e+c+C(e,"basis","preferred-size")+e;case 6060:return u+"box-"+C(e,"-grow","")+u+e+c+C(e,"grow","positive")+e;case 4554:return u+C(e,/([^-])(transform)/g,"$1"+u+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,u+"$1"),/(image-set)/,u+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,u+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,u+"box-pack:$3"+c+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+u+e+e;case 4200:if(!S(e,/flex-|baseline/))return c+"grid-column-align"+O(e,t)+e;break;case 2592:case 3360:return c+C(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,S(e.props,/grid-\w+-end/)}))?~R(e+(n=n[t].value),"span",0)?e:c+C(e,"-start","")+e+c+"grid-row-span:"+(~R(n,"span",0)?S(n,/\d+/):+S(n,/\d+/)-+S(e,/\d+/))+";":c+C(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return S(e.props,/grid-\w+-start/)}))?e:c+C(C(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,u+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(P(e)-1-t>6)switch(E(e,t+1)){case 109:if(45!==E(e,t+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+u+"$2-$3$1"+d+(108==E(e,t+3)?"$3":"$2-$3"))+e;case 115:return~R(e,"stretch",0)?ee(C(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return C(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,o,r,a,s,i){return c+n+":"+o+i+(r?c+n+"-span:"+(a?s:+s-+o)+i:"")+e}));case 4949:if(121===E(e,t+6))return C(e,":",":"+u)+e;break;case 6444:switch(E(e,45===E(e,14)?18:11)){case 120:return C(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+u+(45===E(e,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+c+"$2box$3")+e;case 100:return C(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return C(e,"scroll-","scroll-snap-")+e}return e}function te(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case f:return void(e.return=ee(e.value,e.length,n));case m:return Q([M(e,{value:C(e.value,"@","@"+u)})],o);case g:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(S(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":N(M(e,{props:[C(t,/:(read-\w+)/,":"+d+"$1")]})),N(M(e,{props:[t]})),y(e,{props:I(n,o)});break;case"::placeholder":N(M(e,{props:[C(t,/:(plac\w+)/,":"+u+"input-$1")]})),N(M(e,{props:[C(t,/:(plac\w+)/,":"+d+"$1")]})),N(M(e,{props:[C(t,/:(plac\w+)/,c+"input-$1")]})),N(M(e,{props:[t]})),y(e,{props:I(n,o)})}return""}))}}function ne(e){return function(e){return H="",e}(oe("",null,null,null,[""],e=function(e){return D=j=1,A=P(H=e),_=0,[]}(e),0,[0],e))}function oe(e,t,n,o,r,a,s,i,l){for(var c=0,d=0,u=s,p=0,g=0,f=0,h=1,m=1,b=1,y=0,x="",S=r,O=a,$=o,I=x;m;)switch(f=y,y=z()){case 40:if(108!=f&&58==E(I,u-1)){-1!=R(I+=C(Y(y),"&","&\f"),"&\f",w(c?i[c-1]:0))&&(b=-1);break}case 34:case 39:case 91:I+=Y(y);break;case 9:case 10:case 13:case 32:I+=U(f);break;case 92:I+=q(B()-1,7);continue;case 47:switch(W()){case 42:case 47:k(ae(K(z(),B()),t,n,l),l);break;default:I+="/"}break;case 123*h:i[c++]=P(I)*b;case 125*h:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+d:-1==b&&(I=C(I,/\f/g,"")),g>0&&P(I)-u&&k(g>32?se(I+";",o,n,u-1,l):se(C(I," ","")+";",o,n,u-2,l),l);break;case 59:I+=";";default:if(k($=re(I,t,n,c,d,r,i,x,S=[],O=[],u,a),a),123===y)if(0===d)oe(I,t,$,$,S,a,u,i,O);else switch(99===p&&110===E(I,3)?100:p){case 100:case 108:case 109:case 115:oe(e,$,$,o&&k(re(e,$,$,0,0,r,i,x,r,S=[],u,O),O),r,O,u,i,o?S:O);break;default:oe(I,$,$,$,[""],O,0,i,O)}}c=d=g=0,h=b=1,x=I="",u=s;break;case 58:u=1+P(I),g=f;default:if(h<1)if(123==y)--h;else if(125==y&&0==h++&&125==L())continue;switch(I+=v(y),y*h){case 38:b=d>0?1:(I+="\f",-1);break;case 44:i[c++]=(P(I)-1)*b,b=1;break;case 64:45===W()&&(I+=Y(z())),p=W(),d=u=P(x=I+=Z(B())),y++;break;case 45:45===f&&2==P(I)&&(h=0)}}return a}function re(e,t,n,o,r,a,s,i,l,c,d,u){for(var p=r-1,f=0===r?a:[""],h=$(f),m=0,b=0,v=0;m<o;++m)for(var y=0,S=O(e,p+1,p=w(b=s[m])),R=e;y<h;++y)(R=x(b>0?f[y]+" "+S:C(S,/&\f/g,f[y])))&&(l[v++]=R);return F(e,t,n,0===r?g:i,l,c,d,u)}function ae(e,t,n,o){return F(e,t,n,p,v(T),O(e,2,-2),0,o)}function se(e,t,n,o,r){return F(e,t,n,f,O(e,0,o),O(e,o+1,-1),o,r)}var ie={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},le="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ce="active",de="data-styled-version",ue="6.1.15",pe="/*!sc*/\n",ge="undefined"!=typeof window&&"HTMLElement"in window,fe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),he={},me=(new Set,Object.freeze([])),be=Object.freeze({});function we(e,t,n){return void 0===n&&(n=be),e.theme!==n.theme&&e.theme||t||n.theme}var ve=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ye=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xe=/(^-|-$)/g;function Se(e){return e.replace(ye,"-").replace(xe,"")}var Ce=/(a)(d)/gi,Re=52,Ee=function(e){return String.fromCharCode(e+(e>25?39:97))};function Oe(e){var t,n="";for(t=Math.abs(e);t>Re;t=t/Re|0)n=Ee(t%Re)+n;return(Ee(t%Re)+n).replace(Ce,"$1-$2")}var Pe,$e=5381,ke=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ie=function(e){return ke($e,e)};function De(e){return Oe(Ie(e)>>>0)}function je(e){return e.displayName||e.name||"Component"}function Ae(e){return"string"==typeof e&&!0}var _e="function"==typeof Symbol&&Symbol.for,Te=_e?Symbol.for("react.memo"):60115,He=_e?Symbol.for("react.forward_ref"):60112,Fe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Me={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ne={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Le=((Pe={})[He]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Pe[Te]=Ne,Pe);function ze(e){return("type"in(t=e)&&t.type.$$typeof)===Te?Ne:"$$typeof"in e?Le[e.$$typeof]:Fe;var t}var We=Object.defineProperty,Be=Object.getOwnPropertyNames,Ge=Object.getOwnPropertySymbols,Ve=Object.getOwnPropertyDescriptor,Ye=Object.getPrototypeOf,Ue=Object.prototype;function qe(e,t,n){if("string"!=typeof t){if(Ue){var o=Ye(t);o&&o!==Ue&&qe(e,o,n)}var r=Be(t);Ge&&(r=r.concat(Ge(t)));for(var a=ze(e),s=ze(t),i=0;i<r.length;++i){var l=r[i];if(!(l in Me||n&&n[l]||s&&l in s||a&&l in a)){var c=Ve(t,l);try{We(e,l,c)}catch(e){}}}}return e}function Je(e){return"function"==typeof e}function Ke(e){return"object"==typeof e&&"styledComponentId"in e}function Ze(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Qe(e,t){if(0===e.length)return"";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function Xe(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function et(e,t,n){if(void 0===n&&(n=!1),!n&&!Xe(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=et(e[o],t[o]);else if(Xe(t))for(var o in t)e[o]=et(e[o],t[o]);return e}function tt(e,t){Object.defineProperty(e,"toString",{value:t})}function nt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var ot=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw nt(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var a=o;a<r;a++)this.groupSizes[a]=0}for(var s=this.indexOfGroup(e+1),i=(a=0,t.length);a<i;a++)this.tag.insertRule(s,t[a])&&(this.groupSizes[e]++,s++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,a=o;a<r;a++)t+="".concat(this.tag.getRule(a)).concat(pe);return t},e}(),rt=new Map,at=new Map,st=1,it=function(e){if(rt.has(e))return rt.get(e);for(;at.has(st);)st++;var t=st++;return rt.set(e,t),at.set(t,e),t},lt=function(e,t){st=t+1,rt.set(e,t),at.set(t,e)},ct="style[".concat(le,"][").concat(de,'="').concat(ue,'"]'),dt=new RegExp("^".concat(le,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ut=function(e,t,n){for(var o,r=n.split(","),a=0,s=r.length;a<s;a++)(o=r[a])&&e.registerName(t,o)},pt=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(pe),r=[],a=0,s=o.length;a<s;a++){var i=o[a].trim();if(i){var l=i.match(dt);if(l){var c=0|parseInt(l[1],10),d=l[2];0!==c&&(lt(d,c),ut(e,d,l[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(i)}}},gt=function(e){for(var t=document.querySelectorAll(ct),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(le)!==ce&&(pt(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function ft(){return n.nc}var ht=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(le,"]")));return t[t.length-1]}(n),a=void 0!==r?r.nextSibling:null;o.setAttribute(le,ce),o.setAttribute(de,ue);var s=ft();return s&&o.setAttribute("nonce",s),n.insertBefore(o,a),o},mt=function(){function e(e){this.element=ht(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw nt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),bt=function(){function e(e){this.element=ht(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),wt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),vt=ge,yt={isServer:!ge,useCSSOMInjection:!fe},xt=function(){function e(e,t,n){void 0===e&&(e=be),void 0===t&&(t={});var r=this;this.options=o(o({},yt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ge&&vt&&(vt=!1,gt(this)),tt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return at.get(e)}(n);if(void 0===r)return"continue";var a=e.names.get(r),s=t.getGroup(n);if(void 0===a||!a.size||0===s.length)return"continue";var i="".concat(le,".g").concat(n,'[id="').concat(r,'"]'),l="";void 0!==a&&a.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),o+="".concat(s).concat(i,'{content:"').concat(l,'"}').concat(pe)},a=0;a<n;a++)r(a);return o}(r)}))}return e.registerId=function(e){return it(e)},e.prototype.rehydrate=function(){!this.server&&ge&>(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(o(o({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new wt(n):t?new mt(n):new bt(n)}(this.options),new ot(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(it(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(it(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(it(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),St=/&/g,Ct=/^\s*\/\/.*$/gm;function Rt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Rt(e.children,t)),e}))}function Et(e){var t,n,o,r=void 0===e?be:e,a=r.options,s=void 0===a?be:a,i=r.plugins,l=void 0===i?me:i,c=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},d=l.slice();d.push((function(e){e.type===g&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(St,n).replace(o,c))})),s.prefix&&d.push(te),d.push(X);var u=function(e,r,a,i){void 0===r&&(r=""),void 0===a&&(a=""),void 0===i&&(i="&"),t=i,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(Ct,""),c=ne(a||r?"".concat(a," ").concat(r," { ").concat(l," }"):l);s.namespace&&(c=Rt(c,s.namespace));var u,p,g,f=[];return Q(c,(u=d.concat((g=function(e){return f.push(e)},function(e){e.root||(e=e.return)&&g(e)})),p=$(u),function(e,t,n,o){for(var r="",a=0;a<p;a++)r+=u[a](e,t,n,o)||"";return r})),f};return u.hash=l.length?l.reduce((function(e,t){return t.name||nt(15),ke(e,t.name)}),$e).toString():"",u}var Ot=new xt,Pt=Et(),$t=s().createContext({shouldForwardProp:void 0,styleSheet:Ot,stylis:Pt}),kt=$t.Consumer,It=s().createContext(void 0);function Dt(){return(0,a.useContext)($t)}function jt(e){var t=(0,a.useState)(e.stylisPlugins),n=t[0],o=t[1],r=Dt().styleSheet,i=(0,a.useMemo)((function(){var t=r;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,r]),c=(0,a.useMemo)((function(){return Et({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);(0,a.useEffect)((function(){l()(n,e.stylisPlugins)||o(e.stylisPlugins)}),[e.stylisPlugins]);var d=(0,a.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:i,stylis:c}}),[e.shouldForwardProp,i,c]);return s().createElement($t.Provider,{value:d},s().createElement(It.Provider,{value:c},e.children))}var At=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Pt);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,tt(this,(function(){throw nt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Pt),this.name+e.hash},e}(),_t=function(e){return e>="A"&&e<="Z"};function Tt(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;_t(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var Ht=function(e){return null==e||!1===e||""===e},Ft=function(e){var t,n,o=[];for(var a in e){var s=e[a];e.hasOwnProperty(a)&&!Ht(s)&&(Array.isArray(s)&&s.isCss||Je(s)?o.push("".concat(Tt(a),":"),s,";"):Xe(s)?o.push.apply(o,r(r(["".concat(a," {")],Ft(s),!1),["}"],!1)):o.push("".concat(Tt(a),": ").concat((t=a,null==(n=s)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in ie||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return o};function Mt(e,t,n,o){return Ht(e)?[]:Ke(e)?[".".concat(e.styledComponentId)]:Je(e)?!Je(r=e)||r.prototype&&r.prototype.isReactComponent||!t?[e]:Mt(e(t),t,n,o):e instanceof At?n?(e.inject(n,o),[e.getName(o)]):[e]:Xe(e)?Ft(e):Array.isArray(e)?Array.prototype.concat.apply(me,e.map((function(e){return Mt(e,t,n,o)}))):[e.toString()];var r}function Nt(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Je(n)&&!Ke(n))return!1}return!0}var Lt=Ie(ue),zt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Nt(e),this.componentId=t,this.baseHash=ke(Lt,t),this.baseStyle=n,xt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=Ze(o,this.staticRulesId);else{var r=Qe(Mt(this.rules,e,t,n)),a=Oe(ke(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,a)){var s=n(r,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,s)}o=Ze(o,a),this.staticRulesId=a}else{for(var i=ke(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var d=this.rules[c];if("string"==typeof d)l+=d;else if(d){var u=Qe(Mt(d,e,t,n));i=ke(i,u+c),l+=u}}if(l){var p=Oe(i>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),o=Ze(o,p)}}return o},e}(),Wt=s().createContext(void 0),Bt=Wt.Consumer;function Gt(){var e=(0,a.useContext)(Wt);if(!e)throw nt(18);return e}function Vt(e){var t=s().useContext(Wt),n=(0,a.useMemo)((function(){return function(e,t){if(!e)throw nt(14);if(Je(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw nt(8);return t?o(o({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?s().createElement(Wt.Provider,{value:n},e.children):null}var Yt={};function Ut(e,t,n){var r=Ke(e),i=e,l=!Ae(e),c=t.attrs,d=void 0===c?me:c,u=t.componentId,p=void 0===u?function(e,t){var n="string"!=typeof e?"sc":Se(e);Yt[n]=(Yt[n]||0)+1;var o="".concat(n,"-").concat(De(ue+n+Yt[n]));return t?"".concat(t,"-").concat(o):o}(t.displayName,t.parentComponentId):u,g=t.displayName,f=void 0===g?function(e){return Ae(e)?"styled.".concat(e):"Styled(".concat(je(e),")")}(e):g,h=t.displayName&&t.componentId?"".concat(Se(t.displayName),"-").concat(t.componentId):t.componentId||p,m=r&&i.attrs?i.attrs.concat(d).filter(Boolean):d,b=t.shouldForwardProp;if(r&&i.shouldForwardProp){var w=i.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;b=function(e,t){return w(e,t)&&v(e,t)}}else b=w}var y=new zt(n,h,r?i.componentStyle:void 0);function x(e,t){return function(e,t,n){var r=e.attrs,i=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,d=e.styledComponentId,u=e.target,p=s().useContext(Wt),g=Dt(),f=e.shouldForwardProp||g.shouldForwardProp,h=we(t,p,l)||be,m=function(e,t,n){for(var r,a=o(o({},t),{className:void 0,theme:n}),s=0;s<e.length;s+=1){var i=Je(r=e[s])?r(a):r;for(var l in i)a[l]="className"===l?Ze(a[l],i[l]):"style"===l?o(o({},a[l]),i[l]):i[l]}return t.className&&(a.className=Ze(a.className,t.className)),a}(r,t,h),b=m.as||u,w={};for(var v in m)void 0===m[v]||"$"===v[0]||"as"===v||"theme"===v&&m.theme===h||("forwardedAs"===v?w.as=m.forwardedAs:f&&!f(v,b)||(w[v]=m[v]));var y=function(e,t){var n=Dt();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(i,m),x=Ze(c,d);return y&&(x+=" "+y),m.className&&(x+=" "+m.className),w[Ae(b)&&!ve.has(b)?"class":"className"]=x,n&&(w.ref=n),(0,a.createElement)(b,w)}(S,e,t)}x.displayName=f;var S=s().forwardRef(x);return S.attrs=m,S.componentStyle=y,S.displayName=f,S.shouldForwardProp=b,S.foldedComponentIds=r?Ze(i.foldedComponentIds,i.styledComponentId):"",S.styledComponentId=h,S.target=r?i.target:e,Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)et(e,r[o],!0);return e}({},i.defaultProps,e):e}}),tt(S,(function(){return".".concat(S.styledComponentId)})),l&&qe(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),S}function qt(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}new Set;var Jt=function(e){return Object.assign(e,{isCss:!0})};function Kt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Je(e)||Xe(e))return Jt(Mt(qt(me,r([e],t,!0))));var o=e;return 0===t.length&&1===o.length&&"string"==typeof o[0]?Mt(o):Jt(Mt(qt(o,t)))}function Zt(e,t,n){if(void 0===n&&(n=be),!t)throw nt(1,t);var a=function(o){for(var a=[],s=1;s<arguments.length;s++)a[s-1]=arguments[s];return e(t,n,Kt.apply(void 0,r([o],a,!1)))};return a.attrs=function(r){return Zt(e,t,o(o({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},a.withConfig=function(r){return Zt(e,t,o(o({},n),r))},a}var Qt=function(e){return Zt(Ut,e)},Xt=Qt;ve.forEach((function(e){Xt[e]=Qt(e)}));var en=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Nt(e),xt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(Qe(Mt(this.rules,t,n,o)),""),a=this.componentId+e;n.insertRules(a,a,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&xt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var a=Kt.apply(void 0,r([e],t,!1)),i="sc-global-".concat(De(JSON.stringify(a))),l=new en(a,i),c=function(e){var t=Dt(),n=s().useContext(Wt),o=s().useRef(t.styleSheet.allocateGSInstance(i)).current;return t.styleSheet.server&&d(o,e,t.styleSheet,n,t.stylis),s().useLayoutEffect((function(){if(!t.styleSheet.server)return d(o,e,t.styleSheet,n,t.stylis),function(){return l.removeStyles(o,t.styleSheet)}}),[o,e,t.styleSheet,n,t.stylis]),null};function d(e,t,n,r,a){if(l.isStatic)l.renderStyles(e,he,n,a);else{var s=o(o({},t),{theme:we(t,r,c.defaultProps)});l.renderStyles(e,s,n,a)}}return s().memo(c)}function nn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=Qe(Kt.apply(void 0,r([e],t,!1))),a=De(o);return new At(a,o)}function on(e){var t=s().forwardRef((function(t,n){var r=we(t,s().useContext(Wt),e.defaultProps);return s().createElement(e,o({},t,{theme:r,ref:n}))}));return t.displayName="WithTheme(".concat(je(e),")"),qe(t,e)}var rn=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=ft(),o=Qe([n&&'nonce="'.concat(n,'"'),"".concat(le,'="true"'),"".concat(de,'="').concat(ue,'"')].filter(Boolean)," ");return"<style ".concat(o,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw nt(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw nt(2);var n=e.instance.toString();if(!n)return[];var r=((t={})[le]="",t[de]=ue,t.dangerouslySetInnerHTML={__html:n},t),a=ft();return a&&(r.nonce=a),[s().createElement("style",o({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new xt({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw nt(2);return s().createElement(jt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw nt(3)},e}(),an={StyleSheet:xt,mainSheet:Ot};"__sc-".concat(le,"__")}}]);383 `;var Me=i.memo((function({rowsPerPage:e,rowCount:t,currentPage:n,direction:o=De.direction,paginationRowsPerPageOptions:r=De.paginationRowsPerPageOptions,paginationIconLastPage:a=De.paginationIconLastPage,paginationIconFirstPage:s=De.paginationIconFirstPage,paginationIconNext:l=De.paginationIconNext,paginationIconPrevious:c=De.paginationIconPrevious,paginationComponentOptions:d=De.paginationComponentOptions,onChangeRowsPerPage:u=De.onChangeRowsPerPage,onChangePage:p=De.onChangePage}){const g=(()=>{const e="object"==typeof window;function t(){return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}}const[n,o]=i.useState(t);return i.useEffect((()=>{if(!e)return()=>null;function n(){o(t())}return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),n})(),h=le(o),m=g.width&&g.width>599,b=f(t,e),w=n*e,v=w-e+1,y=1===n,x=n===b,S=Object.assign(Object.assign({},je),d),C=n===b?`${v}-${t} ${S.rangeSeparatorText} ${t}`:`${v}-${w} ${S.rangeSeparatorText} ${t}`,R=i.useCallback((()=>p(n-1)),[n,p]),E=i.useCallback((()=>p(n+1)),[n,p]),O=i.useCallback((()=>p(1)),[p]),P=i.useCallback((()=>p(f(t,e))),[p,t,e]),$=i.useCallback((e=>u(Number(e.target.value),n)),[n,u]),k=r.map((e=>i.createElement("option",{key:e,value:e},e)));S.selectAllRowsItem&&k.push(i.createElement("option",{key:-1,value:t},S.selectAllRowsItemText));const I=i.createElement(Ie,{onChange:$,defaultValue:e,"aria-label":S.rowsPerPageText},k);return i.createElement(Ae,{className:"rdt_Pagination"},!S.noRowsPerPage&&m&&i.createElement(i.Fragment,null,i.createElement(Ne,null,S.rowsPerPageText),I),m&&i.createElement(Fe,null,C),i.createElement(Te,null,i.createElement(_e,{id:"pagination-first-page",type:"button","aria-label":"First Page","aria-disabled":y,onClick:O,disabled:y,$isRTL:h},s),i.createElement(_e,{id:"pagination-previous-page",type:"button","aria-label":"Previous Page","aria-disabled":y,onClick:R,disabled:y,$isRTL:h},c),!S.noRowsPerPage&&!m&&I,i.createElement(_e,{id:"pagination-next-page",type:"button","aria-label":"Next Page","aria-disabled":x,onClick:E,disabled:x,$isRTL:h},l),i.createElement(_e,{id:"pagination-last-page",type:"button","aria-label":"Last Page","aria-disabled":x,onClick:P,disabled:x,$isRTL:h},a)))}));const Le=(e,t)=>{const n=i.useRef(!0);i.useEffect((()=>{n.current?n.current=!1:e()}),t)};var ze=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===We}(e)}(e)},We="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Be(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ue((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function Ge(e,t,n){return e.concat(t).map((function(e){return Be(e,n)}))}function Ve(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function Ye(e,t){try{return t in e}catch(e){return!1}}function Ue(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Ge,n.isMergeableObject=n.isMergeableObject||ze,n.cloneUnlessOtherwiseSpecified=Be;var o=Array.isArray(t);return o===Array.isArray(e)?o?n.arrayMerge(e,t,n):function(e,t,n){var o={};return n.isMergeableObject(e)&&Ve(e).forEach((function(t){o[t]=Be(e[t],n)})),Ve(t).forEach((function(r){(function(e,t){return Ye(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(Ye(e,r)&&n.isMergeableObject(t[r])?o[r]=function(e,t){if(!t.customMerge)return Ue;var n=t.customMerge(e);return"function"==typeof n?n:Ue}(r,n)(e[r],t[r],n):o[r]=Be(t[r],n))})),o}(e,t,n):Be(t,n)}Ue.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Ue(e,n,t)}),{})};var qe=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(Ue);const Je={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)"},background:{default:"#FFFFFF"},context:{background:"#e3f2fd",text:"rgba(0, 0, 0, 0.87)"},divider:{default:"rgba(0,0,0,.12)"},button:{default:"rgba(0,0,0,.54)",focus:"rgba(0,0,0,.12)",hover:"rgba(0,0,0,.12)",disabled:"rgba(0, 0, 0, .18)"},selected:{default:"#e3f2fd",text:"rgba(0, 0, 0, 0.87)"},highlightOnHover:{default:"#EEEEEE",text:"rgba(0, 0, 0, 0.87)"},striped:{default:"#FAFAFA",text:"rgba(0, 0, 0, 0.87)"}},Ke={default:Je,light:Je,dark:{text:{primary:"#FFFFFF",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(0,0,0,.12)"},background:{default:"#424242"},context:{background:"#E91E63",text:"#FFFFFF"},divider:{default:"rgba(81, 81, 81, 1)"},button:{default:"#FFFFFF",focus:"rgba(255, 255, 255, .54)",hover:"rgba(255, 255, 255, .12)",disabled:"rgba(255, 255, 255, .18)"},selected:{default:"rgba(0, 0, 0, .7)",text:"#FFFFFF"},highlightOnHover:{default:"rgba(0, 0, 0, .7)",text:"#FFFFFF"},striped:{default:"rgba(0, 0, 0, .87)",text:"#FFFFFF"}}};function Ze(e,t,n,o){const[r,a]=i.useState((()=>g(e))),[l,c]=i.useState(""),d=i.useRef("");Le((()=>{a(g(e))}),[e]);const u=i.useCallback((e=>{var t,n,o;const{attributes:a}=e.target,s=null===(t=a.getNamedItem("data-column-id"))||void 0===t?void 0:t.value;s&&(d.current=(null===(o=null===(n=r[v(r,s)])||void 0===n?void 0:n.id)||void 0===o?void 0:o.toString())||"",c(d.current))}),[r]),p=i.useCallback((e=>{var n;const{attributes:o}=e.target,s=null===(n=o.getNamedItem("data-column-id"))||void 0===n?void 0:n.value;if(s&&d.current&&s!==d.current){const e=v(r,d.current),n=v(r,s),o=[...r];o[e]=r[n],o[n]=r[e],a(o),t(o)}}),[t,r]),f=i.useCallback((e=>{e.preventDefault()}),[]),h=i.useCallback((e=>{e.preventDefault()}),[]),m=i.useCallback((e=>{e.preventDefault(),d.current="",c("")}),[]),b=function(e=!1){return e?s.ASC:s.DESC}(o),w=i.useMemo((()=>r[v(r,null==n?void 0:n.toString())]||{}),[n,r]);return{tableColumns:r,draggingColumnId:l,handleDragStart:u,handleDragEnter:p,handleDragOver:f,handleDragLeave:h,handleDragEnd:m,defaultSortDirection:b,defaultSortColumn:w}}var Qe=i.memo((function(e){const{data:t=De.data,columns:n=De.columns,title:o=De.title,actions:a=De.actions,keyField:l=De.keyField,striped:c=De.striped,highlightOnHover:u=De.highlightOnHover,pointerOnHover:p=De.pointerOnHover,dense:g=De.dense,selectableRows:m=De.selectableRows,selectableRowsSingle:b=De.selectableRowsSingle,selectableRowsHighlight:v=De.selectableRowsHighlight,selectableRowsNoSelectAll:y=De.selectableRowsNoSelectAll,selectableRowsVisibleOnly:S=De.selectableRowsVisibleOnly,selectableRowSelected:R=De.selectableRowSelected,selectableRowDisabled:P=De.selectableRowDisabled,selectableRowsComponent:$=De.selectableRowsComponent,selectableRowsComponentProps:k=De.selectableRowsComponentProps,onRowExpandToggled:D=De.onRowExpandToggled,onSelectedRowsChange:j=De.onSelectedRowsChange,expandableIcon:A=De.expandableIcon,onChangeRowsPerPage:_=De.onChangeRowsPerPage,onChangePage:T=De.onChangePage,paginationServer:H=De.paginationServer,paginationServerOptions:F=De.paginationServerOptions,paginationTotalRows:N=De.paginationTotalRows,paginationDefaultPage:M=De.paginationDefaultPage,paginationResetDefaultPage:L=De.paginationResetDefaultPage,paginationPerPage:z=De.paginationPerPage,paginationRowsPerPageOptions:W=De.paginationRowsPerPageOptions,paginationIconLastPage:B=De.paginationIconLastPage,paginationIconFirstPage:G=De.paginationIconFirstPage,paginationIconNext:V=De.paginationIconNext,paginationIconPrevious:Y=De.paginationIconPrevious,paginationComponent:U=De.paginationComponent,paginationComponentOptions:q=De.paginationComponentOptions,responsive:J=De.responsive,progressPending:K=De.progressPending,progressComponent:Z=De.progressComponent,persistTableHead:X=De.persistTableHead,noDataComponent:ee=De.noDataComponent,disabled:te=De.disabled,noTableHead:ne=De.noTableHead,noHeader:oe=De.noHeader,fixedHeader:re=De.fixedHeader,fixedHeaderScrollHeight:se=De.fixedHeaderScrollHeight,pagination:le=De.pagination,subHeader:ce=De.subHeader,subHeaderAlign:de=De.subHeaderAlign,subHeaderWrap:ue=De.subHeaderWrap,subHeaderComponent:pe=De.subHeaderComponent,noContextMenu:ge=De.noContextMenu,contextMessage:fe=De.contextMessage,contextActions:he=De.contextActions,contextComponent:be=De.contextComponent,expandableRows:we=De.expandableRows,onRowClicked:ve=De.onRowClicked,onRowDoubleClicked:Pe=De.onRowDoubleClicked,onRowMouseEnter:$e=De.onRowMouseEnter,onRowMouseLeave:ke=De.onRowMouseLeave,sortIcon:Ie=De.sortIcon,onSort:je=De.onSort,sortFunction:Ae=De.sortFunction,sortServer:_e=De.sortServer,expandableRowsComponent:Te=De.expandableRowsComponent,expandableRowsComponentProps:He=De.expandableRowsComponentProps,expandableRowDisabled:Fe=De.expandableRowDisabled,expandableRowsHideExpander:Ne=De.expandableRowsHideExpander,expandOnRowClicked:ze=De.expandOnRowClicked,expandOnRowDoubleClicked:We=De.expandOnRowDoubleClicked,expandableRowExpanded:Be=De.expandableRowExpanded,expandableInheritConditionalStyles:Ge=De.expandableInheritConditionalStyles,defaultSortFieldId:Ve=De.defaultSortFieldId,defaultSortAsc:Ye=De.defaultSortAsc,clearSelectedRows:Ue=De.clearSelectedRows,conditionalRowStyles:Je=De.conditionalRowStyles,theme:Qe=De.theme,customStyles:Xe=De.customStyles,direction:et=De.direction,onColumnOrderChange:tt=De.onColumnOrderChange,className:nt,ariaLabel:ot}=e,{tableColumns:rt,draggingColumnId:at,handleDragStart:st,handleDragEnter:it,handleDragOver:lt,handleDragLeave:ct,handleDragEnd:dt,defaultSortDirection:ut,defaultSortColumn:pt}=Ze(n,tt,Ve,Ye),[{rowsPerPage:gt,currentPage:ft,selectedRows:ht,allSelected:mt,selectedCount:bt,selectedColumn:wt,sortDirection:vt,toggleOnSelectedRowsChange:yt},xt]=i.useReducer(x,{allSelected:!1,selectedCount:0,selectedRows:[],selectedColumn:pt,toggleOnSelectedRowsChange:!1,sortDirection:ut,currentPage:M,rowsPerPage:z,selectedRowsFlag:!1,contextMessage:De.contextMessage}),{persistSelectedOnSort:St=!1,persistSelectedOnPageChange:Ct=!1}=F,Rt=!(!H||!Ct&&!St),Et=le&&!K&&t.length>0,Ot=U||Me,Pt=i.useMemo((()=>((e={},t="default",n="default")=>{return qe({table:{style:{color:(o=Ke[Ke[t]?t:n]).text.primary,backgroundColor:o.background.default}},tableWrapper:{style:{display:"table"}},responsiveWrapper:{style:{}},header:{style:{fontSize:"22px",color:o.text.primary,backgroundColor:o.background.default,minHeight:"56px",paddingLeft:"16px",paddingRight:"8px"}},subHeader:{style:{backgroundColor:o.background.default,minHeight:"52px"}},head:{style:{color:o.text.primary,fontSize:"12px",fontWeight:500}},headRow:{style:{backgroundColor:o.background.default,minHeight:"52px",borderBottomWidth:"1px",borderBottomColor:o.divider.default,borderBottomStyle:"solid"},denseStyle:{minHeight:"32px"}},headCells:{style:{paddingLeft:"16px",paddingRight:"16px"},draggingStyle:{cursor:"move"}},contextMenu:{style:{backgroundColor:o.context.background,fontSize:"18px",fontWeight:400,color:o.context.text,paddingLeft:"16px",paddingRight:"8px",transform:"translate3d(0, -100%, 0)",transitionDuration:"125ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",willChange:"transform"},activeStyle:{transform:"translate3d(0, 0, 0)"}},cells:{style:{paddingLeft:"16px",paddingRight:"16px",wordBreak:"break-word"},draggingStyle:{}},rows:{style:{fontSize:"13px",fontWeight:400,color:o.text.primary,backgroundColor:o.background.default,minHeight:"48px","&:not(:last-of-type)":{borderBottomStyle:"solid",borderBottomWidth:"1px",borderBottomColor:o.divider.default}},denseStyle:{minHeight:"32px"},selectedHighlightStyle:{"&:nth-of-type(n)":{color:o.selected.text,backgroundColor:o.selected.default,borderBottomColor:o.background.default}},highlightOnHoverStyle:{color:o.highlightOnHover.text,backgroundColor:o.highlightOnHover.default,transitionDuration:"0.15s",transitionProperty:"background-color",borderBottomColor:o.background.default,outlineStyle:"solid",outlineWidth:"1px",outlineColor:o.background.default},stripedStyle:{color:o.striped.text,backgroundColor:o.striped.default}},expanderRow:{style:{color:o.text.primary,backgroundColor:o.background.default}},expanderCell:{style:{flex:"0 0 48px"}},expanderButton:{style:{color:o.button.default,fill:o.button.default,backgroundColor:"transparent",borderRadius:"2px",transition:"0.25s",height:"100%",width:"100%","&:hover:enabled":{cursor:"pointer"},"&:disabled":{color:o.button.disabled},"&:hover:not(:disabled)":{cursor:"pointer",backgroundColor:o.button.hover},"&:focus":{outline:"none",backgroundColor:o.button.focus},svg:{margin:"auto"}}},pagination:{style:{color:o.text.secondary,fontSize:"13px",minHeight:"56px",backgroundColor:o.background.default,borderTopStyle:"solid",borderTopWidth:"1px",borderTopColor:o.divider.default},pageButtonsStyle:{borderRadius:"50%",height:"40px",width:"40px",padding:"8px",margin:"px",cursor:"pointer",transition:"0.4s",color:o.button.default,fill:o.button.default,backgroundColor:"transparent","&:disabled":{cursor:"unset",color:o.button.disabled,fill:o.button.disabled},"&:hover:not(:disabled)":{backgroundColor:o.button.hover},"&:focus":{outline:"none",backgroundColor:o.button.focus}}},noData:{style:{display:"flex",alignItems:"center",justifyContent:"center",color:o.text.primary,backgroundColor:o.background.default}},progress:{style:{display:"flex",alignItems:"center",justifyContent:"center",color:o.text.primary,backgroundColor:o.background.default}}},e);var o})(Xe,Qe)),[Xe,Qe]),$t=i.useMemo((()=>Object.assign({},"auto"!==et&&{dir:et})),[et]),kt=i.useMemo((()=>{if(_e)return t;if((null==wt?void 0:wt.sortFunction)&&"function"==typeof wt.sortFunction){const e=wt.sortFunction,n=vt===s.ASC?e:(t,n)=>-1*e(t,n);return[...t].sort(n)}return function(e,t,n,o){return t?o&&"function"==typeof o?o(e.slice(0),t,n):e.slice(0).sort(((e,o)=>{const r=t(e),a=t(o);if("asc"===n){if(r<a)return-1;if(r>a)return 1}if("desc"===n){if(r>a)return-1;if(r<a)return 1}return 0})):e}(t,null==wt?void 0:wt.selector,vt,Ae)}),[_e,wt,vt,t,Ae]),It=i.useMemo((()=>{if(le&&!H){const e=ft*gt,t=e-gt;return kt.slice(t,e)}return kt}),[ft,le,H,gt,kt]),Dt=i.useCallback((e=>{xt(e)}),[]),jt=i.useCallback((e=>{xt(e)}),[]),At=i.useCallback((e=>{xt(e)}),[]),_t=i.useCallback(((e,t)=>ve(e,t)),[ve]),Tt=i.useCallback(((e,t)=>Pe(e,t)),[Pe]),Ht=i.useCallback(((e,t)=>$e(e,t)),[$e]),Ft=i.useCallback(((e,t)=>ke(e,t)),[ke]),Nt=i.useCallback((e=>xt({type:"CHANGE_PAGE",page:e,paginationServer:H,visibleOnly:S,persistSelectedOnPageChange:Ct})),[H,Ct,S]),Mt=i.useCallback((e=>{const t=f(N||It.length,e),n=h(ft,t);H||Nt(n),xt({type:"CHANGE_ROWS_PER_PAGE",page:n,rowsPerPage:e})}),[ft,Nt,H,N,It.length]);if(le&&!H&&kt.length>0&&0===It.length){const e=f(kt.length,gt),t=h(ft,e);Nt(t)}Le((()=>{j({allSelected:mt,selectedCount:bt,selectedRows:ht.slice(0)})}),[yt]),Le((()=>{je(wt,vt,kt.slice(0))}),[wt,vt]),Le((()=>{T(ft,N||kt.length)}),[ft]),Le((()=>{_(gt,ft)}),[gt]),Le((()=>{Nt(M)}),[M,L]),Le((()=>{if(le&&H&&N>0){const e=f(N,gt),t=h(ft,e);ft!==t&&Nt(t)}}),[N]),i.useEffect((()=>{xt({type:"CLEAR_SELECTED_ROWS",selectedRowsFlag:Ue})}),[b,Ue]),i.useEffect((()=>{if(!R)return;const e=kt.filter((e=>R(e))),t=b?e.slice(0,1):e;xt({type:"SELECT_MULTIPLE_ROWS",keyField:l,selectedRows:t,totalRows:kt.length,mergeSelections:Rt})}),[t,R]);const Lt=S?It:kt,zt=Ct||b||y;return i.createElement(r.ThemeProvider,{theme:Pt},!oe&&(!!o||!!a)&&i.createElement(me,{title:o,actions:a,showMenu:!ge,selectedCount:bt,direction:et,contextActions:he,contextComponent:be,contextMessage:fe}),ce&&i.createElement(ye,{align:de,wrapContent:ue},pe),i.createElement(Se,Object.assign({$responsive:J,$fixedHeader:re,$fixedHeaderScrollHeight:se,className:nt},$t),i.createElement(Re,null,K&&!X&&i.createElement(Ce,null,Z),i.createElement(C,Object.assign({disabled:te,className:"rdt_Table",role:"table"},ot&&{"aria-label":ot}),!ne&&(!!X||kt.length>0&&!K)&&i.createElement(E,{className:"rdt_TableHead",role:"rowgroup",$fixedHeader:re},i.createElement(O,{className:"rdt_TableHeadRow",role:"row",$dense:g},m&&(zt?i.createElement(I,{style:{flex:"0 0 48px"}}):i.createElement(ie,{allSelected:mt,selectedRows:ht,selectableRowsComponent:$,selectableRowsComponentProps:k,selectableRowDisabled:P,rowData:Lt,keyField:l,mergeSelections:Rt,onSelectAllRows:jt})),we&&!Ne&&i.createElement(Ee,null),rt.map((e=>i.createElement(ae,{key:e.id,column:e,selectedColumn:wt,disabled:K||0===kt.length,pagination:le,paginationServer:H,persistSelectedOnSort:St,selectableRowsVisibleOnly:S,sortDirection:vt,sortIcon:Ie,sortServer:_e,onSort:Dt,onDragStart:st,onDragOver:lt,onDragEnd:dt,onDragEnter:it,onDragLeave:ct,draggingColumnId:at}))))),!kt.length&&!K&&i.createElement(Oe,null,ee),K&&X&&i.createElement(Ce,null,Z),!K&&kt.length>0&&i.createElement(xe,{className:"rdt_TableBody",role:"rowgroup"},It.map(((e,t)=>{const n=d(e,l),o=function(e=""){return"number"!=typeof e&&(!e||0===e.length)}(n)?t:n,r=w(e,ht,l),a=!!(we&&Be&&Be(e)),s=!!(we&&Fe&&Fe(e));return i.createElement(Q,{id:o,key:o,keyField:l,"data-row-id":o,columns:rt,row:e,rowCount:kt.length,rowIndex:t,selectableRows:m,expandableRows:we,expandableIcon:A,highlightOnHover:u,pointerOnHover:p,dense:g,expandOnRowClicked:ze,expandOnRowDoubleClicked:We,expandableRowsComponent:Te,expandableRowsComponentProps:He,expandableRowsHideExpander:Ne,defaultExpanderDisabled:s,defaultExpanded:a,expandableInheritConditionalStyles:Ge,conditionalRowStyles:Je,selected:r,selectableRowsHighlight:v,selectableRowsComponent:$,selectableRowsComponentProps:k,selectableRowDisabled:P,selectableRowsSingle:b,striped:c,onRowExpandToggled:D,onRowClicked:_t,onRowDoubleClicked:Tt,onRowMouseEnter:Ht,onRowMouseLeave:Ft,onSelectedRow:At,draggingColumnId:at,onDragStart:st,onDragOver:lt,onDragEnd:dt,onDragEnter:it,onDragLeave:ct})})))))),Et&&i.createElement("div",null,i.createElement(Ot,{onChangePage:Nt,onChangeRowsPerPage:Mt,rowCount:N||kt.length,currentPage:ft,rowsPerPage:gt,direction:et,paginationRowsPerPageOptions:W,paginationIconLastPage:B,paginationIconFirstPage:G,paginationIconNext:V,paginationIconPrevious:Y,paginationComponentOptions:q})))}));t.Ay=Qe},2833:e=>{e.exports=function(e,t,n,o){var r=n?n.call(o,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),s=Object.keys(t);if(a.length!==s.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var c=a[l];if(!i(c))return!1;var d=e[c],u=t[c];if(!1===(r=n?n.call(o,d,u,c):void 0)||void 0===r&&d!==u)return!1}return!0}},1250:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ServerStyleSheet:()=>rn,StyleSheetConsumer:()=>kt,StyleSheetContext:()=>$t,StyleSheetManager:()=>jt,ThemeConsumer:()=>Bt,ThemeContext:()=>Wt,ThemeProvider:()=>Vt,__PRIVATE__:()=>an,createGlobalStyle:()=>tn,css:()=>Kt,default:()=>Xt,isStyledComponent:()=>Ke,keyframes:()=>nn,styled:()=>Xt,useTheme:()=>Gt,version:()=>ue,withTheme:()=>on});var o=function(){return o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};function r(e,t,n){if(n||2===arguments.length)for(var o,r=0,a=t.length;r<a;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var a=n(1609),s=n.n(a),i=n(2833),l=n.n(i),c="-ms-",d="-moz-",u="-webkit-",p="comm",g="rule",f="decl",h="@import",m="@keyframes",b="@layer",w=Math.abs,v=String.fromCharCode,y=Object.assign;function x(e){return e.trim()}function S(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,n){return e.replace(t,n)}function R(e,t,n){return e.indexOf(t,n)}function E(e,t){return 0|e.charCodeAt(t)}function O(e,t,n){return e.slice(t,n)}function P(e){return e.length}function $(e){return e.length}function k(e,t){return t.push(e),e}function I(e,t){return e.filter((function(e){return!S(e,t)}))}var D=1,j=1,A=0,_=0,T=0,H="";function F(e,t,n,o,r,a,s,i){return{value:e,root:t,parent:n,type:o,props:r,children:a,line:D,column:j,length:s,return:"",siblings:i}}function N(e,t){return y(F("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function M(e){for(;e.root;)e=N(e.root,{children:[e]});k(e,e.siblings)}function L(){return T=_>0?E(H,--_):0,j--,10===T&&(j=1,D--),T}function z(){return T=_<A?E(H,_++):0,j++,10===T&&(j=1,D++),T}function W(){return E(H,_)}function B(){return _}function G(e,t){return O(H,e,t)}function V(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Y(e){return x(G(_-1,J(91===e?e+2:40===e?e+1:e)))}function U(e){for(;(T=W())&&T<33;)z();return V(e)>2||V(T)>3?"":" "}function q(e,t){for(;--t&&z()&&!(T<48||T>102||T>57&&T<65||T>70&&T<97););return G(e,B()+(t<6&&32==W()&&32==z()))}function J(e){for(;z();)switch(T){case e:return _;case 34:case 39:34!==e&&39!==e&&J(T);break;case 40:41===e&&J(e);break;case 92:z()}return _}function K(e,t){for(;z()&&e+T!==57&&(e+T!==84||47!==W()););return"/*"+G(t,_-1)+"*"+v(47===e?e:z())}function Z(e){for(;!V(W());)z();return G(e,_)}function Q(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function X(e,t,n,o){switch(e.type){case b:if(e.children.length)break;case h:case f:return e.return=e.return||e.value;case p:return"";case m:return e.return=e.value+"{"+Q(e.children,o)+"}";case g:if(!P(e.value=e.props.join(",")))return""}return P(n=Q(e.children,o))?e.return=e.value+"{"+n+"}":""}function ee(e,t,n){switch(function(e,t){return 45^E(e,0)?(((t<<2^E(e,0))<<2^E(e,1))<<2^E(e,2))<<2^E(e,3):0}(e,t)){case 5103:return u+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return u+e+e;case 4789:return d+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return u+e+d+e+c+e+e;case 5936:switch(E(e,t+11)){case 114:return u+e+c+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return u+e+c+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return u+e+c+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return u+e+c+e+e;case 6165:return u+e+c+"flex-"+e+e;case 5187:return u+e+C(e,/(\w+).+(:[^]+)/,u+"box-$1$2"+c+"flex-$1$2")+e;case 5443:return u+e+c+"flex-item-"+C(e,/flex-|-self/g,"")+(S(e,/flex-|baseline/)?"":c+"grid-row-"+C(e,/flex-|-self/g,""))+e;case 4675:return u+e+c+"flex-line-pack"+C(e,/align-content|flex-|-self/g,"")+e;case 5548:return u+e+c+C(e,"shrink","negative")+e;case 5292:return u+e+c+C(e,"basis","preferred-size")+e;case 6060:return u+"box-"+C(e,"-grow","")+u+e+c+C(e,"grow","positive")+e;case 4554:return u+C(e,/([^-])(transform)/g,"$1"+u+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,u+"$1"),/(image-set)/,u+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,u+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,u+"box-pack:$3"+c+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+u+e+e;case 4200:if(!S(e,/flex-|baseline/))return c+"grid-column-align"+O(e,t)+e;break;case 2592:case 3360:return c+C(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,S(e.props,/grid-\w+-end/)}))?~R(e+(n=n[t].value),"span",0)?e:c+C(e,"-start","")+e+c+"grid-row-span:"+(~R(n,"span",0)?S(n,/\d+/):+S(n,/\d+/)-+S(e,/\d+/))+";":c+C(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return S(e.props,/grid-\w+-start/)}))?e:c+C(C(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,u+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(P(e)-1-t>6)switch(E(e,t+1)){case 109:if(45!==E(e,t+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+u+"$2-$3$1"+d+(108==E(e,t+3)?"$3":"$2-$3"))+e;case 115:return~R(e,"stretch",0)?ee(C(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return C(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,o,r,a,s,i){return c+n+":"+o+i+(r?c+n+"-span:"+(a?s:+s-+o)+i:"")+e}));case 4949:if(121===E(e,t+6))return C(e,":",":"+u)+e;break;case 6444:switch(E(e,45===E(e,14)?18:11)){case 120:return C(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+u+(45===E(e,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+c+"$2box$3")+e;case 100:return C(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return C(e,"scroll-","scroll-snap-")+e}return e}function te(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case f:return void(e.return=ee(e.value,e.length,n));case m:return Q([N(e,{value:C(e.value,"@","@"+u)})],o);case g:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(S(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":M(N(e,{props:[C(t,/:(read-\w+)/,":"+d+"$1")]})),M(N(e,{props:[t]})),y(e,{props:I(n,o)});break;case"::placeholder":M(N(e,{props:[C(t,/:(plac\w+)/,":"+u+"input-$1")]})),M(N(e,{props:[C(t,/:(plac\w+)/,":"+d+"$1")]})),M(N(e,{props:[C(t,/:(plac\w+)/,c+"input-$1")]})),M(N(e,{props:[t]})),y(e,{props:I(n,o)})}return""}))}}function ne(e){return function(e){return H="",e}(oe("",null,null,null,[""],e=function(e){return D=j=1,A=P(H=e),_=0,[]}(e),0,[0],e))}function oe(e,t,n,o,r,a,s,i,l){for(var c=0,d=0,u=s,p=0,g=0,f=0,h=1,m=1,b=1,y=0,x="",S=r,O=a,$=o,I=x;m;)switch(f=y,y=z()){case 40:if(108!=f&&58==E(I,u-1)){-1!=R(I+=C(Y(y),"&","&\f"),"&\f",w(c?i[c-1]:0))&&(b=-1);break}case 34:case 39:case 91:I+=Y(y);break;case 9:case 10:case 13:case 32:I+=U(f);break;case 92:I+=q(B()-1,7);continue;case 47:switch(W()){case 42:case 47:k(ae(K(z(),B()),t,n,l),l);break;default:I+="/"}break;case 123*h:i[c++]=P(I)*b;case 125*h:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+d:-1==b&&(I=C(I,/\f/g,"")),g>0&&P(I)-u&&k(g>32?se(I+";",o,n,u-1,l):se(C(I," ","")+";",o,n,u-2,l),l);break;case 59:I+=";";default:if(k($=re(I,t,n,c,d,r,i,x,S=[],O=[],u,a),a),123===y)if(0===d)oe(I,t,$,$,S,a,u,i,O);else switch(99===p&&110===E(I,3)?100:p){case 100:case 108:case 109:case 115:oe(e,$,$,o&&k(re(e,$,$,0,0,r,i,x,r,S=[],u,O),O),r,O,u,i,o?S:O);break;default:oe(I,$,$,$,[""],O,0,i,O)}}c=d=g=0,h=b=1,x=I="",u=s;break;case 58:u=1+P(I),g=f;default:if(h<1)if(123==y)--h;else if(125==y&&0==h++&&125==L())continue;switch(I+=v(y),y*h){case 38:b=d>0?1:(I+="\f",-1);break;case 44:i[c++]=(P(I)-1)*b,b=1;break;case 64:45===W()&&(I+=Y(z())),p=W(),d=u=P(x=I+=Z(B())),y++;break;case 45:45===f&&2==P(I)&&(h=0)}}return a}function re(e,t,n,o,r,a,s,i,l,c,d,u){for(var p=r-1,f=0===r?a:[""],h=$(f),m=0,b=0,v=0;m<o;++m)for(var y=0,S=O(e,p+1,p=w(b=s[m])),R=e;y<h;++y)(R=x(b>0?f[y]+" "+S:C(S,/&\f/g,f[y])))&&(l[v++]=R);return F(e,t,n,0===r?g:i,l,c,d,u)}function ae(e,t,n,o){return F(e,t,n,p,v(T),O(e,2,-2),0,o)}function se(e,t,n,o,r){return F(e,t,n,f,O(e,0,o),O(e,o+1,-1),o,r)}var ie={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},le="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ce="active",de="data-styled-version",ue="6.1.19",pe="/*!sc*/\n",ge="undefined"!=typeof window&&"undefined"!=typeof document,fe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),he={},me=(new Set,Object.freeze([])),be=Object.freeze({});function we(e,t,n){return void 0===n&&(n=be),e.theme!==n.theme&&e.theme||t||n.theme}var ve=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ye=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xe=/(^-|-$)/g;function Se(e){return e.replace(ye,"-").replace(xe,"")}var Ce=/(a)(d)/gi,Re=52,Ee=function(e){return String.fromCharCode(e+(e>25?39:97))};function Oe(e){var t,n="";for(t=Math.abs(e);t>Re;t=t/Re|0)n=Ee(t%Re)+n;return(Ee(t%Re)+n).replace(Ce,"$1-$2")}var Pe,$e=5381,ke=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ie=function(e){return ke($e,e)};function De(e){return Oe(Ie(e)>>>0)}function je(e){return e.displayName||e.name||"Component"}function Ae(e){return"string"==typeof e&&!0}var _e="function"==typeof Symbol&&Symbol.for,Te=_e?Symbol.for("react.memo"):60115,He=_e?Symbol.for("react.forward_ref"):60112,Fe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ne={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Me={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Le=((Pe={})[He]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Pe[Te]=Me,Pe);function ze(e){return("type"in(t=e)&&t.type.$$typeof)===Te?Me:"$$typeof"in e?Le[e.$$typeof]:Fe;var t}var We=Object.defineProperty,Be=Object.getOwnPropertyNames,Ge=Object.getOwnPropertySymbols,Ve=Object.getOwnPropertyDescriptor,Ye=Object.getPrototypeOf,Ue=Object.prototype;function qe(e,t,n){if("string"!=typeof t){if(Ue){var o=Ye(t);o&&o!==Ue&&qe(e,o,n)}var r=Be(t);Ge&&(r=r.concat(Ge(t)));for(var a=ze(e),s=ze(t),i=0;i<r.length;++i){var l=r[i];if(!(l in Ne||n&&n[l]||s&&l in s||a&&l in a)){var c=Ve(t,l);try{We(e,l,c)}catch(e){}}}}return e}function Je(e){return"function"==typeof e}function Ke(e){return"object"==typeof e&&"styledComponentId"in e}function Ze(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Qe(e,t){if(0===e.length)return"";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function Xe(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function et(e,t,n){if(void 0===n&&(n=!1),!n&&!Xe(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=et(e[o],t[o]);else if(Xe(t))for(var o in t)e[o]=et(e[o],t[o]);return e}function tt(e,t){Object.defineProperty(e,"toString",{value:t})}function nt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var ot=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw nt(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var a=o;a<r;a++)this.groupSizes[a]=0}for(var s=this.indexOfGroup(e+1),i=(a=0,t.length);a<i;a++)this.tag.insertRule(s,t[a])&&(this.groupSizes[e]++,s++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,a=o;a<r;a++)t+="".concat(this.tag.getRule(a)).concat(pe);return t},e}(),rt=new Map,at=new Map,st=1,it=function(e){if(rt.has(e))return rt.get(e);for(;at.has(st);)st++;var t=st++;return rt.set(e,t),at.set(t,e),t},lt=function(e,t){st=t+1,rt.set(e,t),at.set(t,e)},ct="style[".concat(le,"][").concat(de,'="').concat(ue,'"]'),dt=new RegExp("^".concat(le,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ut=function(e,t,n){for(var o,r=n.split(","),a=0,s=r.length;a<s;a++)(o=r[a])&&e.registerName(t,o)},pt=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(pe),r=[],a=0,s=o.length;a<s;a++){var i=o[a].trim();if(i){var l=i.match(dt);if(l){var c=0|parseInt(l[1],10),d=l[2];0!==c&&(lt(d,c),ut(e,d,l[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(i)}}},gt=function(e){for(var t=document.querySelectorAll(ct),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(le)!==ce&&(pt(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function ft(){return n.nc}var ht=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(le,"]")));return t[t.length-1]}(n),a=void 0!==r?r.nextSibling:null;o.setAttribute(le,ce),o.setAttribute(de,ue);var s=ft();return s&&o.setAttribute("nonce",s),n.insertBefore(o,a),o},mt=function(){function e(e){this.element=ht(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw nt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),bt=function(){function e(e){this.element=ht(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),wt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),vt=ge,yt={isServer:!ge,useCSSOMInjection:!fe},xt=function(){function e(e,t,n){void 0===e&&(e=be),void 0===t&&(t={});var r=this;this.options=o(o({},yt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ge&&vt&&(vt=!1,gt(this)),tt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return at.get(e)}(n);if(void 0===r)return"continue";var a=e.names.get(r),s=t.getGroup(n);if(void 0===a||!a.size||0===s.length)return"continue";var i="".concat(le,".g").concat(n,'[id="').concat(r,'"]'),l="";void 0!==a&&a.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),o+="".concat(s).concat(i,'{content:"').concat(l,'"}').concat(pe)},a=0;a<n;a++)r(a);return o}(r)}))}return e.registerId=function(e){return it(e)},e.prototype.rehydrate=function(){!this.server&&ge&>(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(o(o({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new wt(n):t?new mt(n):new bt(n)}(this.options),new ot(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(it(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(it(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(it(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),St=/&/g,Ct=/^\s*\/\/.*$/gm;function Rt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Rt(e.children,t)),e}))}function Et(e){var t,n,o,r=void 0===e?be:e,a=r.options,s=void 0===a?be:a,i=r.plugins,l=void 0===i?me:i,c=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},d=l.slice();d.push((function(e){e.type===g&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(St,n).replace(o,c))})),s.prefix&&d.push(te),d.push(X);var u=function(e,r,a,i){void 0===r&&(r=""),void 0===a&&(a=""),void 0===i&&(i="&"),t=i,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(Ct,""),c=ne(a||r?"".concat(a," ").concat(r," { ").concat(l," }"):l);s.namespace&&(c=Rt(c,s.namespace));var u,p,g,f=[];return Q(c,(u=d.concat((g=function(e){return f.push(e)},function(e){e.root||(e=e.return)&&g(e)})),p=$(u),function(e,t,n,o){for(var r="",a=0;a<p;a++)r+=u[a](e,t,n,o)||"";return r})),f};return u.hash=l.length?l.reduce((function(e,t){return t.name||nt(15),ke(e,t.name)}),$e).toString():"",u}var Ot=new xt,Pt=Et(),$t=s().createContext({shouldForwardProp:void 0,styleSheet:Ot,stylis:Pt}),kt=$t.Consumer,It=s().createContext(void 0);function Dt(){return(0,a.useContext)($t)}function jt(e){var t=(0,a.useState)(e.stylisPlugins),n=t[0],o=t[1],r=Dt().styleSheet,i=(0,a.useMemo)((function(){var t=r;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,r]),c=(0,a.useMemo)((function(){return Et({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);(0,a.useEffect)((function(){l()(n,e.stylisPlugins)||o(e.stylisPlugins)}),[e.stylisPlugins]);var d=(0,a.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:i,stylis:c}}),[e.shouldForwardProp,i,c]);return s().createElement($t.Provider,{value:d},s().createElement(It.Provider,{value:c},e.children))}var At=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Pt);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,tt(this,(function(){throw nt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Pt),this.name+e.hash},e}(),_t=function(e){return e>="A"&&e<="Z"};function Tt(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;_t(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var Ht=function(e){return null==e||!1===e||""===e},Ft=function(e){var t,n,o=[];for(var a in e){var s=e[a];e.hasOwnProperty(a)&&!Ht(s)&&(Array.isArray(s)&&s.isCss||Je(s)?o.push("".concat(Tt(a),":"),s,";"):Xe(s)?o.push.apply(o,r(r(["".concat(a," {")],Ft(s),!1),["}"],!1)):o.push("".concat(Tt(a),": ").concat((t=a,null==(n=s)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in ie||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return o};function Nt(e,t,n,o){return Ht(e)?[]:Ke(e)?[".".concat(e.styledComponentId)]:Je(e)?!Je(r=e)||r.prototype&&r.prototype.isReactComponent||!t?[e]:Nt(e(t),t,n,o):e instanceof At?n?(e.inject(n,o),[e.getName(o)]):[e]:Xe(e)?Ft(e):Array.isArray(e)?Array.prototype.concat.apply(me,e.map((function(e){return Nt(e,t,n,o)}))):[e.toString()];var r}function Mt(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Je(n)&&!Ke(n))return!1}return!0}var Lt=Ie(ue),zt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Mt(e),this.componentId=t,this.baseHash=ke(Lt,t),this.baseStyle=n,xt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=Ze(o,this.staticRulesId);else{var r=Qe(Nt(this.rules,e,t,n)),a=Oe(ke(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,a)){var s=n(r,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,s)}o=Ze(o,a),this.staticRulesId=a}else{for(var i=ke(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var d=this.rules[c];if("string"==typeof d)l+=d;else if(d){var u=Qe(Nt(d,e,t,n));i=ke(i,u+c),l+=u}}if(l){var p=Oe(i>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),o=Ze(o,p)}}return o},e}(),Wt=s().createContext(void 0),Bt=Wt.Consumer;function Gt(){var e=(0,a.useContext)(Wt);if(!e)throw nt(18);return e}function Vt(e){var t=s().useContext(Wt),n=(0,a.useMemo)((function(){return function(e,t){if(!e)throw nt(14);if(Je(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw nt(8);return t?o(o({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?s().createElement(Wt.Provider,{value:n},e.children):null}var Yt={};function Ut(e,t,n){var r=Ke(e),i=e,l=!Ae(e),c=t.attrs,d=void 0===c?me:c,u=t.componentId,p=void 0===u?function(e,t){var n="string"!=typeof e?"sc":Se(e);Yt[n]=(Yt[n]||0)+1;var o="".concat(n,"-").concat(De(ue+n+Yt[n]));return t?"".concat(t,"-").concat(o):o}(t.displayName,t.parentComponentId):u,g=t.displayName,f=void 0===g?function(e){return Ae(e)?"styled.".concat(e):"Styled(".concat(je(e),")")}(e):g,h=t.displayName&&t.componentId?"".concat(Se(t.displayName),"-").concat(t.componentId):t.componentId||p,m=r&&i.attrs?i.attrs.concat(d).filter(Boolean):d,b=t.shouldForwardProp;if(r&&i.shouldForwardProp){var w=i.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;b=function(e,t){return w(e,t)&&v(e,t)}}else b=w}var y=new zt(n,h,r?i.componentStyle:void 0);function x(e,t){return function(e,t,n){var r=e.attrs,i=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,d=e.styledComponentId,u=e.target,p=s().useContext(Wt),g=Dt(),f=e.shouldForwardProp||g.shouldForwardProp,h=we(t,p,l)||be,m=function(e,t,n){for(var r,a=o(o({},t),{className:void 0,theme:n}),s=0;s<e.length;s+=1){var i=Je(r=e[s])?r(a):r;for(var l in i)a[l]="className"===l?Ze(a[l],i[l]):"style"===l?o(o({},a[l]),i[l]):i[l]}return t.className&&(a.className=Ze(a.className,t.className)),a}(r,t,h),b=m.as||u,w={};for(var v in m)void 0===m[v]||"$"===v[0]||"as"===v||"theme"===v&&m.theme===h||("forwardedAs"===v?w.as=m.forwardedAs:f&&!f(v,b)||(w[v]=m[v]));var y=function(e,t){var n=Dt();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(i,m),x=Ze(c,d);return y&&(x+=" "+y),m.className&&(x+=" "+m.className),w[Ae(b)&&!ve.has(b)?"class":"className"]=x,n&&(w.ref=n),(0,a.createElement)(b,w)}(S,e,t)}x.displayName=f;var S=s().forwardRef(x);return S.attrs=m,S.componentStyle=y,S.displayName=f,S.shouldForwardProp=b,S.foldedComponentIds=r?Ze(i.foldedComponentIds,i.styledComponentId):"",S.styledComponentId=h,S.target=r?i.target:e,Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)et(e,r[o],!0);return e}({},i.defaultProps,e):e}}),tt(S,(function(){return".".concat(S.styledComponentId)})),l&&qe(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),S}function qt(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}new Set;var Jt=function(e){return Object.assign(e,{isCss:!0})};function Kt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Je(e)||Xe(e))return Jt(Nt(qt(me,r([e],t,!0))));var o=e;return 0===t.length&&1===o.length&&"string"==typeof o[0]?Nt(o):Jt(Nt(qt(o,t)))}function Zt(e,t,n){if(void 0===n&&(n=be),!t)throw nt(1,t);var a=function(o){for(var a=[],s=1;s<arguments.length;s++)a[s-1]=arguments[s];return e(t,n,Kt.apply(void 0,r([o],a,!1)))};return a.attrs=function(r){return Zt(e,t,o(o({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},a.withConfig=function(r){return Zt(e,t,o(o({},n),r))},a}var Qt=function(e){return Zt(Ut,e)},Xt=Qt;ve.forEach((function(e){Xt[e]=Qt(e)}));var en=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Mt(e),xt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(Qe(Nt(this.rules,t,n,o)),""),a=this.componentId+e;n.insertRules(a,a,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&xt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var a=Kt.apply(void 0,r([e],t,!1)),i="sc-global-".concat(De(JSON.stringify(a))),l=new en(a,i),c=function(e){var t=Dt(),n=s().useContext(Wt),o=s().useRef(t.styleSheet.allocateGSInstance(i)).current;return t.styleSheet.server&&d(o,e,t.styleSheet,n,t.stylis),s().useLayoutEffect((function(){if(!t.styleSheet.server)return d(o,e,t.styleSheet,n,t.stylis),function(){return l.removeStyles(o,t.styleSheet)}}),[o,e,t.styleSheet,n,t.stylis]),null};function d(e,t,n,r,a){if(l.isStatic)l.renderStyles(e,he,n,a);else{var s=o(o({},t),{theme:we(t,r,c.defaultProps)});l.renderStyles(e,s,n,a)}}return s().memo(c)}function nn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=Qe(Kt.apply(void 0,r([e],t,!1))),a=De(o);return new At(a,o)}function on(e){var t=s().forwardRef((function(t,n){var r=we(t,s().useContext(Wt),e.defaultProps);return s().createElement(e,o({},t,{theme:r,ref:n}))}));return t.displayName="WithTheme(".concat(je(e),")"),qe(t,e)}var rn=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=ft(),o=Qe([n&&'nonce="'.concat(n,'"'),"".concat(le,'="true"'),"".concat(de,'="').concat(ue,'"')].filter(Boolean)," ");return"<style ".concat(o,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw nt(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw nt(2);var n=e.instance.toString();if(!n)return[];var r=((t={})[le]="",t[de]=ue,t.dangerouslySetInnerHTML={__html:n},t),a=ft();return a&&(r.nonce=a),[s().createElement("style",o({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new xt({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw nt(2);return s().createElement(jt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw nt(3)},e}(),an={StyleSheet:xt,mainSheet:Ot};"__sc-".concat(le,"__")}}]); -
data-collector-insights/trunk/build/index-rtl.css
r3237430 r3328560 106 106 --tw-contain-style: ; 107 107 }/* 108 ! tailwindcss v3.4.1 7| MIT License | https://tailwindcss.com108 ! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com 109 109 *//* 110 110 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) … … 1253 1253 top: -0.375rem; 1254 1254 } 1255 body.dci-app-body .-top-2 { 1256 top: -0.5rem; 1257 } 1255 1258 body.dci-app-body .-top-2\.5 { 1256 1259 top: -0.625rem; … … 1315 1318 body.dci-app-body .left-6 { 1316 1319 right: 1.5rem; 1320 } 1321 body.dci-app-body .left-7 { 1322 right: 1.75rem; 1317 1323 } 1318 1324 body.dci-app-body .left-\[14\%\] { … … 1432 1438 margin-left: 0.5rem; 1433 1439 } 1434 body.dci-app-body .mx-3 {1435 margin-right: 0.75rem;1436 margin-left: 0.75rem;1437 }1438 1440 body.dci-app-body .mx-4 { 1439 1441 margin-right: 1rem; … … 1452 1454 margin-bottom: 0.25rem; 1453 1455 } 1454 body.dci-app-body .my-2 {1455 margin-top: 0.5rem;1456 margin-bottom: 0.5rem;1457 }1458 1456 body.dci-app-body .my-4 { 1459 1457 margin-top: 1rem; … … 1582 1580 margin-top: 0.125rem; 1583 1581 } 1582 body.dci-app-body .mt-1 { 1583 margin-top: 0.25rem; 1584 } 1584 1585 body.dci-app-body .mt-1\.5 { 1585 1586 margin-top: 0.375rem; … … 1600 1601 margin-top: 1.5rem; 1601 1602 } 1603 body.dci-app-body .mt-8 { 1604 margin-top: 2rem; 1605 } 1602 1606 body.dci-app-body .mt-px { 1603 1607 margin-top: 1px; … … 1606 1610 box-sizing: border-box; 1607 1611 } 1612 body.dci-app-body .line-clamp-2 { 1613 overflow: hidden; 1614 display: -webkit-box; 1615 -webkit-box-orient: vertical; 1616 -webkit-line-clamp: 2; 1617 } 1618 body.dci-app-body .line-clamp-3 { 1619 overflow: hidden; 1620 display: -webkit-box; 1621 -webkit-box-orient: vertical; 1622 -webkit-line-clamp: 3; 1623 } 1608 1624 body.dci-app-body .block { 1609 1625 display: block; … … 1672 1688 height: 0.875rem; 1673 1689 } 1690 body.dci-app-body .h-32 { 1691 height: 8rem; 1692 } 1674 1693 body.dci-app-body .h-36 { 1675 1694 height: 9rem; … … 1681 1700 height: 10rem; 1682 1701 } 1702 body.dci-app-body .h-48 { 1703 height: 12rem; 1704 } 1683 1705 body.dci-app-body .h-5 { 1684 1706 height: 1.25rem; … … 1687 1709 height: 1.5rem; 1688 1710 } 1711 body.dci-app-body .h-64 { 1712 height: 16rem; 1713 } 1689 1714 body.dci-app-body .h-7 { 1690 1715 height: 1.75rem; … … 1701 1726 body.dci-app-body .h-\[110px\] { 1702 1727 height: 110px; 1728 } 1729 body.dci-app-body .h-\[260px\] { 1730 height: 260px; 1703 1731 } 1704 1732 body.dci-app-body .h-\[58px\] { … … 1806 1834 width: 5rem; 1807 1835 } 1836 body.dci-app-body .w-24 { 1837 width: 6rem; 1838 } 1808 1839 body.dci-app-body .w-3 { 1809 1840 width: 0.75rem; … … 1830 1861 width: 1.25rem; 1831 1862 } 1832 body.dci-app-body .w-56 {1833 width: 14rem;1834 }1835 1863 body.dci-app-body .w-6 { 1836 1864 width: 1.5rem; … … 1857 1885 width: 110px; 1858 1886 } 1859 body.dci-app-body .w-\[30\%\] {1860 width: 30%;1861 }1862 1887 body.dci-app-body .w-\[58px\] { 1863 1888 width: 58px; 1864 1889 } 1865 body.dci-app-body .w-\[70 \%\] {1866 width: 70 %;1890 body.dci-app-body .w-\[70px\] { 1891 width: 70px; 1867 1892 } 1868 1893 body.dci-app-body .w-\[74px\] { … … 1892 1917 min-width: 3.5rem; 1893 1918 } 1894 body.dci-app-body .min-w- 72{1895 min-width: 1 8rem;1919 body.dci-app-body .min-w-56 { 1920 min-width: 14rem; 1896 1921 } 1897 1922 body.dci-app-body .min-w-9 { … … 1960 1985 body.dci-app-body .max-w-\[24rem\] { 1961 1986 max-width: 24rem; 1962 }1963 body.dci-app-body .max-w-\[26rem\] {1964 max-width: 26rem;1965 1987 } 1966 1988 body.dci-app-body .max-w-\[32px\] { … … 2096 2118 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 2097 2119 } 2120 body.dci-app-body .scale-105 { 2121 --tw-scale-x: 1.05; 2122 --tw-scale-y: 1.05; 2123 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 2124 } 2125 body.dci-app-body .scale-110 { 2126 --tw-scale-x: 1.1; 2127 --tw-scale-y: 1.1; 2128 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 2129 } 2098 2130 body.dci-app-body .scale-75 { 2099 2131 --tw-scale-x: .75; … … 2115 2147 transform: none; 2116 2148 } 2149 @keyframes pulse { 2150 2151 50% { 2152 opacity: .5; 2153 } 2154 } 2155 body.dci-app-body .animate-pulse { 2156 animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; 2157 } 2117 2158 @keyframes spin { 2118 2159 … … 2188 2229 grid-template-columns: repeat(1, minmax(0, 1fr)); 2189 2230 } 2231 body.dci-app-body .grid-cols-2 { 2232 grid-template-columns: repeat(2, minmax(0, 1fr)); 2233 } 2190 2234 body.dci-app-body .grid-cols-3 { 2191 2235 grid-template-columns: repeat(3, minmax(0, 1fr)); … … 2232 2276 body.dci-app-body .justify-between { 2233 2277 justify-content: space-between; 2278 } 2279 body.dci-app-body .justify-around { 2280 justify-content: space-around; 2234 2281 } 2235 2282 body.dci-app-body .gap-1 { … … 2303 2350 margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); 2304 2351 } 2352 body.dci-app-body :is(.space-y-3 > :not([hidden]) ~ :not([hidden])) { 2353 --tw-space-y-reverse: 0; 2354 margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))); 2355 margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)); 2356 } 2305 2357 body.dci-app-body :is(.space-y-4 > :not([hidden]) ~ :not([hidden])) { 2306 2358 --tw-space-y-reverse: 0; … … 2308 2360 margin-bottom: calc(1rem * var(--tw-space-y-reverse)); 2309 2361 } 2362 body.dci-app-body :is(.space-y-6 > :not([hidden]) ~ :not([hidden])) { 2363 --tw-space-y-reverse: 0; 2364 margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse))); 2365 margin-bottom: calc(1.5rem * var(--tw-space-y-reverse)); 2366 } 2367 body.dci-app-body :is(.space-y-8 > :not([hidden]) ~ :not([hidden])) { 2368 --tw-space-y-reverse: 0; 2369 margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse))); 2370 margin-bottom: calc(2rem * var(--tw-space-y-reverse)); 2371 } 2310 2372 body.dci-app-body :is(.divide-x > :not([hidden]) ~ :not([hidden])) { 2311 2373 --tw-divide-x-reverse: 0; … … 2421 2483 overflow: visible !important; 2422 2484 } 2423 body.dci-app-body .overflow-scroll {2424 overflow: scroll;2425 }2426 2485 body.dci-app-body .overflow-x-auto { 2427 2486 overflow-x: auto; … … 2459 2518 white-space: nowrap; 2460 2519 } 2520 body.dci-app-body .whitespace-pre-wrap { 2521 white-space: pre-wrap; 2522 } 2461 2523 body.dci-app-body .break-words { 2462 2524 overflow-wrap: break-word; … … 2566 2628 border-right-width: 2px; 2567 2629 } 2630 body.dci-app-body .border-l-4 { 2631 border-right-width: 4px; 2632 } 2568 2633 body.dci-app-body .border-r-0 { 2569 2634 border-left-width: 0px; … … 2580 2645 body.dci-app-body .border-t-4 { 2581 2646 border-top-width: 4px; 2647 } 2648 body.dci-app-body .border-solid { 2649 border-style: solid; 2582 2650 } 2583 2651 body.dci-app-body .\!border-black { … … 2589 2657 border-color: rgb(255 255 255 / var(--tw-border-opacity, 1)) !important; 2590 2658 } 2659 body.dci-app-body .border-amber-200 { 2660 --tw-border-opacity: 1; 2661 border-color: rgb(255 224 130 / var(--tw-border-opacity, 1)); 2662 } 2591 2663 body.dci-app-body .border-amber-500 { 2592 2664 --tw-border-opacity: 1; … … 2597 2669 border-color: rgb(0 0 0 / var(--tw-border-opacity, 1)); 2598 2670 } 2671 body.dci-app-body .border-blue-200 { 2672 --tw-border-opacity: 1; 2673 border-color: rgb(200 185 249 / var(--tw-border-opacity, 1)); 2674 } 2599 2675 body.dci-app-body .border-blue-400 { 2600 2676 --tw-border-opacity: 1; … … 2605 2681 border-color: rgb(126 91 241 / var(--tw-border-opacity, 1)); 2606 2682 } 2683 body.dci-app-body .border-blue-600 { 2684 --tw-border-opacity: 1; 2685 border-color: rgb(106 65 238 / var(--tw-border-opacity, 1)); 2686 } 2607 2687 body.dci-app-body .border-blue-gray-100 { 2608 2688 --tw-border-opacity: 1; … … 2625 2705 border-color: rgb(121 85 72 / var(--tw-border-opacity, 1)); 2626 2706 } 2707 body.dci-app-body .border-cyan-200 { 2708 --tw-border-opacity: 1; 2709 border-color: rgb(128 222 234 / var(--tw-border-opacity, 1)); 2710 } 2627 2711 body.dci-app-body .border-cyan-300 { 2628 2712 --tw-border-opacity: 1; … … 2677 2761 border-color: rgb(17 24 39 / var(--tw-border-opacity, 1)); 2678 2762 } 2763 body.dci-app-body .border-green-200 { 2764 --tw-border-opacity: 1; 2765 border-color: rgb(188 240 218 / var(--tw-border-opacity, 1)); 2766 } 2679 2767 body.dci-app-body .border-green-300 { 2680 2768 --tw-border-opacity: 1; … … 2693 2781 border-color: rgb(4 108 78 / var(--tw-border-opacity, 1)); 2694 2782 } 2783 body.dci-app-body .border-indigo-200 { 2784 --tw-border-opacity: 1; 2785 border-color: rgb(205 219 254 / var(--tw-border-opacity, 1)); 2786 } 2695 2787 body.dci-app-body .border-indigo-300 { 2696 2788 --tw-border-opacity: 1; … … 2705 2797 border-color: rgb(104 117 245 / var(--tw-border-opacity, 1)); 2706 2798 } 2799 body.dci-app-body .border-indigo-600 { 2800 --tw-border-opacity: 1; 2801 border-color: rgb(88 80 236 / var(--tw-border-opacity, 1)); 2802 } 2707 2803 body.dci-app-body .border-light-blue-500 { 2708 2804 --tw-border-opacity: 1; … … 2725 2821 border-color: rgb(205 220 57 / var(--tw-border-opacity, 1)); 2726 2822 } 2823 body.dci-app-body .border-orange-200 { 2824 --tw-border-opacity: 1; 2825 border-color: rgb(252 217 189 / var(--tw-border-opacity, 1)); 2826 } 2727 2827 body.dci-app-body .border-orange-500 { 2728 2828 --tw-border-opacity: 1; … … 2741 2841 border-color: rgb(214 31 105 / var(--tw-border-opacity, 1)); 2742 2842 } 2843 body.dci-app-body .border-purple-200 { 2844 --tw-border-opacity: 1; 2845 border-color: rgb(220 215 254 / var(--tw-border-opacity, 1)); 2846 } 2743 2847 body.dci-app-body .border-purple-500 { 2744 2848 --tw-border-opacity: 1; … … 2764 2868 --tw-border-opacity: 1; 2765 2869 border-color: rgb(119 29 29 / var(--tw-border-opacity, 1)); 2870 } 2871 body.dci-app-body .border-teal-200 { 2872 --tw-border-opacity: 1; 2873 border-color: rgb(175 236 239 / var(--tw-border-opacity, 1)); 2766 2874 } 2767 2875 body.dci-app-body .border-teal-300 { … … 2779 2887 --tw-border-opacity: 1; 2780 2888 border-color: rgb(255 255 255 / var(--tw-border-opacity, 1)); 2889 } 2890 body.dci-app-body .border-white\/20 { 2891 border-color: rgb(255 255 255 / 0.2); 2892 } 2893 body.dci-app-body .border-white\/30 { 2894 border-color: rgb(255 255 255 / 0.3); 2895 } 2896 body.dci-app-body .border-white\/50 { 2897 border-color: rgb(255 255 255 / 0.5); 2781 2898 } 2782 2899 body.dci-app-body .border-white\/80 { … … 2838 2955 background-color: rgb(234 76 137 / var(--tw-bg-opacity, 1)); 2839 2956 } 2957 body.dci-app-body .bg-amber-50 { 2958 --tw-bg-opacity: 1; 2959 background-color: rgb(255 248 225 / var(--tw-bg-opacity, 1)); 2960 } 2840 2961 body.dci-app-body .bg-amber-500 { 2841 2962 --tw-bg-opacity: 1; … … 2852 2973 background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1)); 2853 2974 } 2975 body.dci-app-body .bg-black\/30 { 2976 background-color: rgb(0 0 0 / 0.3); 2977 } 2854 2978 body.dci-app-body .bg-blue-100 { 2855 2979 --tw-bg-opacity: 1; 2856 2980 background-color: rgb(218 208 251 / var(--tw-bg-opacity, 1)); 2981 } 2982 body.dci-app-body .bg-blue-50 { 2983 --tw-bg-opacity: 1; 2984 background-color: rgb(237 232 253 / var(--tw-bg-opacity, 1)); 2857 2985 } 2858 2986 body.dci-app-body .bg-blue-500 { … … 3056 3184 background-color: rgb(88 80 236 / var(--tw-bg-opacity, 1)); 3057 3185 } 3058 body.dci-app-body .bg-indigo-700 {3059 --tw-bg-opacity: 1;3060 background-color: rgb(81 69 205 / var(--tw-bg-opacity, 1));3061 }3062 3186 body.dci-app-body .bg-light-blue-500 { 3063 3187 --tw-bg-opacity: 1; … … 3106 3230 background-color: rgb(192 202 51 / var(--tw-bg-opacity, 1)); 3107 3231 } 3232 body.dci-app-body .bg-orange-100 { 3233 --tw-bg-opacity: 1; 3234 background-color: rgb(254 236 220 / var(--tw-bg-opacity, 1)); 3235 } 3108 3236 body.dci-app-body .bg-orange-500 { 3109 3237 --tw-bg-opacity: 1; … … 3218 3346 background-color: rgb(255 255 255 / 0.1); 3219 3347 } 3348 body.dci-app-body .bg-white\/20 { 3349 background-color: rgb(255 255 255 / 0.2); 3350 } 3220 3351 body.dci-app-body .bg-white\/30 { 3221 3352 background-color: rgb(255 255 255 / 0.3); … … 3224 3355 background-color: rgb(255 255 255 / 0.5); 3225 3356 } 3357 body.dci-app-body .bg-white\/95 { 3358 background-color: rgb(255 255 255 / 0.95); 3359 } 3226 3360 body.dci-app-body .bg-yellow-100 { 3227 3361 --tw-bg-opacity: 1; … … 3249 3383 --tw-bg-opacity: 1; 3250 3384 background-color: rgb(159 88 10 / var(--tw-bg-opacity, 1)); 3251 }3252 body.dci-app-body .bg-opacity-100 {3253 --tw-bg-opacity: 1;3254 3385 } 3255 3386 body.dci-app-body .bg-opacity-50 { … … 3276 3407 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3277 3408 } 3409 body.dci-app-body .from-blue-50 { 3410 --tw-gradient-from: #ede8fd var(--tw-gradient-from-position); 3411 --tw-gradient-to: rgb(237 232 253 / 0) var(--tw-gradient-to-position); 3412 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3413 } 3414 body.dci-app-body .from-blue-500 { 3415 --tw-gradient-from: #7e5bf1 var(--tw-gradient-from-position); 3416 --tw-gradient-to: rgb(126 91 241 / 0) var(--tw-gradient-to-position); 3417 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3418 } 3278 3419 body.dci-app-body .from-blue-600 { 3279 3420 --tw-gradient-from: #6A41EE var(--tw-gradient-from-position); … … 3296 3437 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3297 3438 } 3439 body.dci-app-body .from-cyan-50 { 3440 --tw-gradient-from: #e0f7fa var(--tw-gradient-from-position); 3441 --tw-gradient-to: rgb(224 247 250 / 0) var(--tw-gradient-to-position); 3442 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3443 } 3298 3444 body.dci-app-body .from-cyan-500 { 3299 3445 --tw-gradient-from: #00bcd4 var(--tw-gradient-from-position); … … 3316 3462 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3317 3463 } 3464 body.dci-app-body .from-gray-50 { 3465 --tw-gradient-from: #F9FAFB var(--tw-gradient-from-position); 3466 --tw-gradient-to: rgb(249 250 251 / 0) var(--tw-gradient-to-position); 3467 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3468 } 3318 3469 body.dci-app-body .from-gray-600 { 3319 3470 --tw-gradient-from: #4B5563 var(--tw-gradient-from-position); … … 3331 3482 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3332 3483 } 3484 body.dci-app-body .from-green-50 { 3485 --tw-gradient-from: #F3FAF7 var(--tw-gradient-from-position); 3486 --tw-gradient-to: rgb(243 250 247 / 0) var(--tw-gradient-to-position); 3487 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3488 } 3333 3489 body.dci-app-body .from-green-600 { 3334 3490 --tw-gradient-from: #057A55 var(--tw-gradient-from-position); … … 3336 3492 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3337 3493 } 3494 body.dci-app-body .from-indigo-50 { 3495 --tw-gradient-from: #F0F5FF var(--tw-gradient-from-position); 3496 --tw-gradient-to: rgb(240 245 255 / 0) var(--tw-gradient-to-position); 3497 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3498 } 3338 3499 body.dci-app-body .from-indigo-600 { 3339 3500 --tw-gradient-from: #5850EC var(--tw-gradient-from-position); … … 3341 3502 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3342 3503 } 3504 body.dci-app-body .from-indigo-800 { 3505 --tw-gradient-from: #42389D var(--tw-gradient-from-position); 3506 --tw-gradient-to: rgb(66 56 157 / 0) var(--tw-gradient-to-position); 3507 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3508 } 3343 3509 body.dci-app-body .from-light-blue-600 { 3344 3510 --tw-gradient-from: #039be5 var(--tw-gradient-from-position); … … 3361 3527 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3362 3528 } 3529 body.dci-app-body .from-orange-400 { 3530 --tw-gradient-from: #FF8A4C var(--tw-gradient-from-position); 3531 --tw-gradient-to: rgb(255 138 76 / 0) var(--tw-gradient-to-position); 3532 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3533 } 3534 body.dci-app-body .from-orange-50 { 3535 --tw-gradient-from: #FFF8F1 var(--tw-gradient-from-position); 3536 --tw-gradient-to: rgb(255 248 241 / 0) var(--tw-gradient-to-position); 3537 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3538 } 3363 3539 body.dci-app-body .from-orange-600 { 3364 3540 --tw-gradient-from: #D03801 var(--tw-gradient-from-position); … … 3381 3557 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3382 3558 } 3559 body.dci-app-body .from-purple-100 { 3560 --tw-gradient-from: #EDEBFE var(--tw-gradient-from-position); 3561 --tw-gradient-to: rgb(237 235 254 / 0) var(--tw-gradient-to-position); 3562 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3563 } 3564 body.dci-app-body .from-purple-50 { 3565 --tw-gradient-from: #F6F5FF var(--tw-gradient-from-position); 3566 --tw-gradient-to: rgb(246 245 255 / 0) var(--tw-gradient-to-position); 3567 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3568 } 3383 3569 body.dci-app-body .from-purple-500 { 3384 3570 --tw-gradient-from: #9061F9 var(--tw-gradient-from-position); … … 3416 3602 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3417 3603 } 3604 body.dci-app-body .from-teal-50 { 3605 --tw-gradient-from: #EDFAFA var(--tw-gradient-from-position); 3606 --tw-gradient-to: rgb(237 250 250 / 0) var(--tw-gradient-to-position); 3607 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3608 } 3418 3609 body.dci-app-body .from-teal-600 { 3419 3610 --tw-gradient-from: #047481 var(--tw-gradient-from-position); … … 3465 3656 --tw-gradient-to: #ffca28 var(--tw-gradient-to-position); 3466 3657 } 3658 body.dci-app-body .to-blue-100 { 3659 --tw-gradient-to: #dad0fb var(--tw-gradient-to-position); 3660 } 3467 3661 body.dci-app-body .to-blue-400 { 3468 3662 --tw-gradient-to: #9072f3 var(--tw-gradient-to-position); 3469 3663 } 3664 body.dci-app-body .to-blue-50 { 3665 --tw-gradient-to: #ede8fd var(--tw-gradient-to-position); 3666 } 3470 3667 body.dci-app-body .to-blue-gray-400 { 3471 3668 --tw-gradient-to: #78909c var(--tw-gradient-to-position); … … 3474 3671 --tw-gradient-to: #8d6e63 var(--tw-gradient-to-position); 3475 3672 } 3673 body.dci-app-body .to-cyan-100 { 3674 --tw-gradient-to: #b2ebf2 var(--tw-gradient-to-position); 3675 } 3476 3676 body.dci-app-body .to-cyan-400 { 3477 3677 --tw-gradient-to: #26c6da var(--tw-gradient-to-position); … … 3498 3698 --tw-gradient-to: #1F2937 var(--tw-gradient-to-position); 3499 3699 } 3700 body.dci-app-body .to-green-100 { 3701 --tw-gradient-to: #DEF7EC var(--tw-gradient-to-position); 3702 } 3500 3703 body.dci-app-body .to-green-400 { 3501 3704 --tw-gradient-to: #31C48D var(--tw-gradient-to-position); … … 3504 3707 --tw-gradient-to: #057A55 var(--tw-gradient-to-position); 3505 3708 } 3709 body.dci-app-body .to-indigo-100 { 3710 --tw-gradient-to: #E5EDFF var(--tw-gradient-to-position); 3711 } 3506 3712 body.dci-app-body .to-indigo-400 { 3507 3713 --tw-gradient-to: #8DA2FB var(--tw-gradient-to-position); 3508 3714 } 3715 body.dci-app-body .to-indigo-50 { 3716 --tw-gradient-to: #F0F5FF var(--tw-gradient-to-position); 3717 } 3718 body.dci-app-body .to-indigo-500 { 3719 --tw-gradient-to: #6875F5 var(--tw-gradient-to-position); 3720 } 3721 body.dci-app-body .to-indigo-600 { 3722 --tw-gradient-to: #5850EC var(--tw-gradient-to-position); 3723 } 3509 3724 body.dci-app-body .to-light-blue-400 { 3510 3725 --tw-gradient-to: #29b6f6 var(--tw-gradient-to-position); … … 3522 3737 --tw-gradient-to: #cddc39 var(--tw-gradient-to-position); 3523 3738 } 3739 body.dci-app-body .to-orange-100 { 3740 --tw-gradient-to: #FEECDC var(--tw-gradient-to-position); 3741 } 3524 3742 body.dci-app-body .to-orange-400 { 3525 3743 --tw-gradient-to: #FF8A4C var(--tw-gradient-to-position); 3526 3744 } 3745 body.dci-app-body .to-orange-600 { 3746 --tw-gradient-to: #D03801 var(--tw-gradient-to-position); 3747 } 3527 3748 body.dci-app-body .to-pink-400 { 3528 3749 --tw-gradient-to: #F17EB8 var(--tw-gradient-to-position); 3529 3750 } 3751 body.dci-app-body .to-pink-50 { 3752 --tw-gradient-to: #FDF2F8 var(--tw-gradient-to-position); 3753 } 3530 3754 body.dci-app-body .to-pink-500 { 3531 3755 --tw-gradient-to: #E74694 var(--tw-gradient-to-position); … … 3534 3758 --tw-gradient-to: #D61F69 var(--tw-gradient-to-position); 3535 3759 } 3760 body.dci-app-body .to-purple-100 { 3761 --tw-gradient-to: #EDEBFE var(--tw-gradient-to-position); 3762 } 3536 3763 body.dci-app-body .to-purple-400 { 3537 3764 --tw-gradient-to: #AC94FA var(--tw-gradient-to-position); 3538 3765 } 3766 body.dci-app-body .to-purple-500 { 3767 --tw-gradient-to: #9061F9 var(--tw-gradient-to-position); 3768 } 3769 body.dci-app-body .to-purple-600 { 3770 --tw-gradient-to: #7E3AF2 var(--tw-gradient-to-position); 3771 } 3539 3772 body.dci-app-body .to-purple-700 { 3540 3773 --tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position); … … 3543 3776 --tw-gradient-to: #F98080 var(--tw-gradient-to-position); 3544 3777 } 3778 body.dci-app-body .to-red-50 { 3779 --tw-gradient-to: #FDF2F2 var(--tw-gradient-to-position); 3780 } 3545 3781 body.dci-app-body .to-red-600 { 3546 3782 --tw-gradient-to: #E02424 var(--tw-gradient-to-position); 3547 3783 } 3784 body.dci-app-body .to-teal-100 { 3785 --tw-gradient-to: #D5F5F6 var(--tw-gradient-to-position); 3786 } 3548 3787 body.dci-app-body .to-teal-400 { 3549 3788 --tw-gradient-to: #16BDCA var(--tw-gradient-to-position); 3550 3789 } 3790 body.dci-app-body .to-teal-50 { 3791 --tw-gradient-to: #EDFAFA var(--tw-gradient-to-position); 3792 } 3551 3793 body.dci-app-body .to-teal-600 { 3552 3794 --tw-gradient-to: #047481 var(--tw-gradient-to-position); … … 3557 3799 body.dci-app-body .to-yellow-400 { 3558 3800 --tw-gradient-to: #E3A008 var(--tw-gradient-to-position); 3801 } 3802 body.dci-app-body .bg-cover { 3803 background-size: cover; 3559 3804 } 3560 3805 body.dci-app-body .bg-clip-border { … … 3565 3810 background-clip: text; 3566 3811 } 3812 body.dci-app-body .bg-center { 3813 background-position: center; 3814 } 3567 3815 body.dci-app-body .fill-current { 3568 3816 fill: currentColor; … … 3597 3845 object-position: center; 3598 3846 } 3847 body.dci-app-body .p-0 { 3848 padding: 0px; 3849 } 3599 3850 body.dci-app-body .p-0\.5 { 3600 3851 padding: 0.125rem; … … 3687 3938 padding-bottom: 0.375rem; 3688 3939 } 3940 body.dci-app-body .py-12 { 3941 padding-top: 3rem; 3942 padding-bottom: 3rem; 3943 } 3689 3944 body.dci-app-body .py-2 { 3690 3945 padding-top: 0.5rem; … … 3711 3966 padding-bottom: 1.25rem; 3712 3967 } 3968 body.dci-app-body .py-8 { 3969 padding-top: 2rem; 3970 padding-bottom: 2rem; 3971 } 3713 3972 body.dci-app-body .\!pr-7 { 3714 3973 padding-left: 1.75rem !important; … … 3725 3984 body.dci-app-body .pb-2\.5 { 3726 3985 padding-bottom: 0.625rem; 3986 } 3987 body.dci-app-body .pb-4 { 3988 padding-bottom: 1rem; 3989 } 3990 body.dci-app-body .pb-6 { 3991 padding-bottom: 1.5rem; 3992 } 3993 body.dci-app-body .pb-8 { 3994 padding-bottom: 2rem; 3727 3995 } 3728 3996 body.dci-app-body .pl-0 { … … 3870 4138 text-transform: uppercase; 3871 4139 } 4140 body.dci-app-body .capitalize { 4141 text-transform: capitalize; 4142 } 3872 4143 body.dci-app-body .italic { 3873 4144 font-style: italic; … … 3876 4147 line-height: 1.25 !important; 3877 4148 } 4149 body.dci-app-body .leading-5 { 4150 line-height: 1.25rem; 4151 } 3878 4152 body.dci-app-body .leading-6 { 3879 4153 line-height: 1.5rem; … … 3914 4188 body.dci-app-body .tracking-normal { 3915 4189 letter-spacing: 0em; 4190 } 4191 body.dci-app-body .tracking-wider { 4192 letter-spacing: 0.05em; 4193 } 4194 body.dci-app-body .tracking-widest { 4195 letter-spacing: 0.1em; 3916 4196 } 3917 4197 body.dci-app-body .\!text-black { … … 3939 4219 color: rgb(0 0 0 / var(--tw-text-opacity, 1)); 3940 4220 } 4221 body.dci-app-body .text-blue-400 { 4222 --tw-text-opacity: 1; 4223 color: rgb(144 114 243 / var(--tw-text-opacity, 1)); 4224 } 3941 4225 body.dci-app-body .text-blue-500 { 3942 4226 --tw-text-opacity: 1; … … 4102 4386 color: rgb(104 117 245 / var(--tw-text-opacity, 1)); 4103 4387 } 4388 body.dci-app-body .text-indigo-600 { 4389 --tw-text-opacity: 1; 4390 color: rgb(88 80 236 / var(--tw-text-opacity, 1)); 4391 } 4104 4392 body.dci-app-body .text-indigo-700 { 4105 4393 --tw-text-opacity: 1; … … 4169 4457 color: rgb(180 52 3 / var(--tw-text-opacity, 1)); 4170 4458 } 4459 body.dci-app-body .text-orange-800 { 4460 --tw-text-opacity: 1; 4461 color: rgb(138 44 13 / var(--tw-text-opacity, 1)); 4462 } 4171 4463 body.dci-app-body .text-orange-900 { 4172 4464 --tw-text-opacity: 1; … … 4192 4484 --tw-text-opacity: 1; 4193 4485 color: rgb(117 26 61 / var(--tw-text-opacity, 1)); 4486 } 4487 body.dci-app-body .text-purple-400 { 4488 --tw-text-opacity: 1; 4489 color: rgb(172 148 250 / var(--tw-text-opacity, 1)); 4194 4490 } 4195 4491 body.dci-app-body .text-purple-500 { … … 4260 4556 color: rgb(255 255 255 / var(--tw-text-opacity, 1)); 4261 4557 } 4558 body.dci-app-body .text-white\/80 { 4559 color: rgb(255 255 255 / 0.8); 4560 } 4262 4561 body.dci-app-body .text-yellow-400 { 4263 4562 --tw-text-opacity: 1; … … 4267 4566 --tw-text-opacity: 1; 4268 4567 color: rgb(194 120 3 / var(--tw-text-opacity, 1)); 4568 } 4569 body.dci-app-body .text-yellow-600 { 4570 --tw-text-opacity: 1; 4571 color: rgb(159 88 10 / var(--tw-text-opacity, 1)); 4269 4572 } 4270 4573 body.dci-app-body .text-yellow-700 { … … 4330 4633 body.dci-app-body .opacity-50 { 4331 4634 opacity: 0.5; 4635 } 4636 body.dci-app-body .opacity-75 { 4637 opacity: 0.75; 4638 } 4639 body.dci-app-body .opacity-80 { 4640 opacity: 0.8; 4641 } 4642 body.dci-app-body .opacity-90 { 4643 opacity: 0.9; 4332 4644 } 4333 4645 body.dci-app-body .mix-blend-lighten { … … 4542 4854 --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); 4543 4855 --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); 4856 box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); 4857 } 4858 body.dci-app-body .ring-4 { 4859 --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); 4860 --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); 4544 4861 box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); 4545 4862 } … … 4642 4959 transition-duration: 150ms; 4643 4960 } 4961 body.dci-app-body .transition-shadow { 4962 transition-property: box-shadow; 4963 transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 4964 transition-duration: 150ms; 4965 } 4644 4966 body.dci-app-body .transition-transform { 4645 4967 transition-property: transform; … … 5280 5602 border-bottom-right-radius: 0.5rem; 5281 5603 } 5282 body.dci-app-body . odd\:bg-blue-gray-50\/50:nth-child(odd){5283 b ackground-color: rgb(236 239 241 / 0.5);5604 body.dci-app-body .last\:border-b-0:last-child { 5605 border-bottom-width: 0px; 5284 5606 } 5285 5607 body.dci-app-body .odd\:bg-white:nth-child(odd) { … … 5538 5860 background-color: rgb(194 120 3 / var(--tw-bg-opacity, 1)); 5539 5861 } 5540 body.dci-app-body .placeholder-shown\:border:-moz-placeholder -shown{5862 body.dci-app-body .placeholder-shown\:border:-moz-placeholder { 5541 5863 border-width: 1px; 5542 5864 } … … 5544 5866 border-width: 1px; 5545 5867 } 5546 body.dci-app-body .placeholder-shown\:border-blue-gray-200:-moz-placeholder -shown{5868 body.dci-app-body .placeholder-shown\:border-blue-gray-200:-moz-placeholder { 5547 5869 --tw-border-opacity: 1; 5548 5870 border-color: rgb(176 190 197 / var(--tw-border-opacity, 1)); … … 5552 5874 border-color: rgb(176 190 197 / var(--tw-border-opacity, 1)); 5553 5875 } 5554 body.dci-app-body .placeholder-shown\:border-green-500:-moz-placeholder -shown{5876 body.dci-app-body .placeholder-shown\:border-green-500:-moz-placeholder { 5555 5877 --tw-border-opacity: 1; 5556 5878 border-color: rgb(14 159 110 / var(--tw-border-opacity, 1)); … … 5560 5882 border-color: rgb(14 159 110 / var(--tw-border-opacity, 1)); 5561 5883 } 5562 body.dci-app-body .placeholder-shown\:border-red-500:-moz-placeholder -shown{5884 body.dci-app-body .placeholder-shown\:border-red-500:-moz-placeholder { 5563 5885 --tw-border-opacity: 1; 5564 5886 border-color: rgb(240 82 82 / var(--tw-border-opacity, 1)); … … 5568 5890 border-color: rgb(240 82 82 / var(--tw-border-opacity, 1)); 5569 5891 } 5570 body.dci-app-body .placeholder-shown\:border-t-blue-gray-200:-moz-placeholder -shown{5892 body.dci-app-body .placeholder-shown\:border-t-blue-gray-200:-moz-placeholder { 5571 5893 --tw-border-opacity: 1; 5572 5894 border-top-color: rgb(176 190 197 / var(--tw-border-opacity, 1)); … … 5576 5898 border-top-color: rgb(176 190 197 / var(--tw-border-opacity, 1)); 5577 5899 } 5578 body.dci-app-body .placeholder-shown\:border-t-green-500:-moz-placeholder -shown{5900 body.dci-app-body .placeholder-shown\:border-t-green-500:-moz-placeholder { 5579 5901 --tw-border-opacity: 1; 5580 5902 border-top-color: rgb(14 159 110 / var(--tw-border-opacity, 1)); … … 5584 5906 border-top-color: rgb(14 159 110 / var(--tw-border-opacity, 1)); 5585 5907 } 5586 body.dci-app-body .placeholder-shown\:border-t-red-500:-moz-placeholder -shown{5908 body.dci-app-body .placeholder-shown\:border-t-red-500:-moz-placeholder { 5587 5909 --tw-border-opacity: 1; 5588 5910 border-top-color: rgb(240 82 82 / var(--tw-border-opacity, 1)); … … 5591 5913 --tw-border-opacity: 1; 5592 5914 border-top-color: rgb(240 82 82 / var(--tw-border-opacity, 1)); 5915 } 5916 body.dci-app-body .hover\:-translate-y-0\.5:hover { 5917 --tw-translate-y: -0.125rem; 5918 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 5919 } 5920 body.dci-app-body .hover\:-translate-y-1:hover { 5921 --tw-translate-y: -0.25rem; 5922 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 5923 } 5924 body.dci-app-body .hover\:scale-105:hover { 5925 --tw-scale-x: 1.05; 5926 --tw-scale-y: 1.05; 5927 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 5593 5928 } 5594 5929 body.dci-app-body .hover\:scale-110:hover { … … 5611 5946 background-color: rgb(200 185 249 / var(--tw-bg-opacity, 1)); 5612 5947 } 5948 body.dci-app-body .hover\:bg-blue-50:hover { 5949 --tw-bg-opacity: 1; 5950 background-color: rgb(237 232 253 / var(--tw-bg-opacity, 1)); 5951 } 5613 5952 body.dci-app-body .hover\:bg-blue-500\/10:hover { 5614 5953 background-color: rgb(126 91 241 / 0.1); 5615 5954 } 5955 body.dci-app-body .hover\:bg-blue-700:hover { 5956 --tw-bg-opacity: 1; 5957 background-color: rgb(89 44 237 / var(--tw-bg-opacity, 1)); 5958 } 5616 5959 body.dci-app-body .hover\:bg-blue-800:hover { 5617 5960 --tw-bg-opacity: 1; … … 5679 6022 background-color: rgb(14 159 110 / 0.1); 5680 6023 } 6024 body.dci-app-body .hover\:bg-green-700:hover { 6025 --tw-bg-opacity: 1; 6026 background-color: rgb(4 108 78 / var(--tw-bg-opacity, 1)); 6027 } 5681 6028 body.dci-app-body .hover\:bg-indigo-200:hover { 5682 6029 --tw-bg-opacity: 1; … … 5686 6033 background-color: rgb(104 117 245 / 0.1); 5687 6034 } 5688 body.dci-app-body .hover\:bg-indigo-700:hover {5689 --tw-bg-opacity: 1;5690 background-color: rgb(81 69 205 / var(--tw-bg-opacity, 1));5691 }5692 6035 body.dci-app-body .hover\:bg-light-blue-500\/10:hover { 5693 6036 background-color: rgb(3 169 244 / 0.1); … … 5720 6063 background-color: rgb(144 97 249 / 0.1); 5721 6064 } 6065 body.dci-app-body .hover\:bg-purple-700:hover { 6066 --tw-bg-opacity: 1; 6067 background-color: rgb(108 43 217 / var(--tw-bg-opacity, 1)); 6068 } 5722 6069 body.dci-app-body .hover\:bg-red-200:hover { 5723 6070 --tw-bg-opacity: 1; … … 5727 6074 background-color: rgb(240 82 82 / 0.1); 5728 6075 } 6076 body.dci-app-body .hover\:bg-red-700:hover { 6077 --tw-bg-opacity: 1; 6078 background-color: rgb(200 30 30 / var(--tw-bg-opacity, 1)); 6079 } 5729 6080 body.dci-app-body .hover\:bg-teal-200:hover { 5730 6081 --tw-bg-opacity: 1; … … 5744 6095 background-color: rgb(255 255 255 / 0.1); 5745 6096 } 6097 body.dci-app-body .hover\:bg-white\/15:hover { 6098 background-color: rgb(255 255 255 / 0.15); 6099 } 6100 body.dci-app-body .hover\:bg-white\/30:hover { 6101 background-color: rgb(255 255 255 / 0.3); 6102 } 5746 6103 body.dci-app-body .hover\:bg-yellow-200:hover { 5747 6104 --tw-bg-opacity: 1; … … 5757 6114 background-image: linear-gradient(to bottom left, var(--tw-gradient-stops)); 5758 6115 } 5759 body.dci-app-body .hover\:text-blue- 700:hover {5760 --tw-text-opacity: 1; 5761 color: rgb( 89 44 237/ var(--tw-text-opacity, 1));6116 body.dci-app-body .hover\:text-blue-600:hover { 6117 --tw-text-opacity: 1; 6118 color: rgb(106 65 238 / var(--tw-text-opacity, 1)); 5762 6119 } 5763 6120 body.dci-app-body .hover\:text-blue-800:hover { … … 5796 6153 --tw-text-opacity: 1; 5797 6154 color: rgb(155 28 28 / var(--tw-text-opacity, 1)); 6155 } 6156 body.dci-app-body .hover\:text-white:hover { 6157 --tw-text-opacity: 1; 6158 color: rgb(255 255 255 / var(--tw-text-opacity, 1)); 5798 6159 } 5799 6160 body.dci-app-body .hover\:underline:hover { 5800 6161 text-decoration-line: underline; 5801 }5802 body.dci-app-body .hover\:no-underline:hover {5803 text-decoration-line: none;5804 6162 } 5805 6163 body.dci-app-body .hover\:opacity-75:hover { … … 5811 6169 box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); 5812 6170 } 6171 body.dci-app-body .hover\:shadow-md:hover { 6172 --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); 6173 --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); 6174 box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); 6175 } 6176 body.dci-app-body .hover\:shadow-xl:hover { 6177 --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); 6178 --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); 6179 box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); 6180 } 5813 6181 body.dci-app-body .hover\:shadow-\[\#333333\]\/20:hover { 5814 6182 --tw-shadow-color: rgb(51 51 51 / 0.2); … … 6178 6546 --tw-ring-color: rgb(179 157 219 / var(--tw-ring-opacity, 1)); 6179 6547 } 6180 body.dci-app-body .focus\:ring-gray-100:focus {6181 --tw-ring-opacity: 1;6182 --tw-ring-color: rgb(243 244 246 / var(--tw-ring-opacity, 1));6183 }6184 6548 body.dci-app-body .focus\:ring-gray-200:focus { 6185 6549 --tw-ring-opacity: 1; … … 6297 6661 --tw-ring-opacity: 1; 6298 6662 --tw-ring-color: rgb(172 148 250 / var(--tw-ring-opacity, 1)); 6663 } 6664 body.dci-app-body .focus\:ring-purple-500:focus { 6665 --tw-ring-opacity: 1; 6666 --tw-ring-color: rgb(144 97 249 / var(--tw-ring-opacity, 1)); 6299 6667 } 6300 6668 body.dci-app-body .focus\:ring-purple-600:focus { … … 6364 6732 --tw-ring-opacity: 1; 6365 6733 --tw-ring-color: rgb(194 120 3 / var(--tw-ring-opacity, 1)); 6734 } 6735 body.dci-app-body .focus\:ring-opacity-50:focus { 6736 --tw-ring-opacity: 0.5; 6737 } 6738 body.dci-app-body .focus\:ring-offset-2:focus { 6739 --tw-ring-offset-width: 2px; 6366 6740 } 6367 6741 body.dci-app-body .focus\:placeholder\:opacity-100:focus::-moz-placeholder { … … 6675 7049 background-color: rgb(252 233 106 / var(--tw-bg-opacity, 1)); 6676 7050 } 6677 body.dci-app-body :is(.group:hover .group-hover\:text-gray-500) {6678 --tw-text-opacity: 1;6679 color: rgb(107 114 128 / var(--tw-text-opacity, 1));6680 }6681 7051 body.dci-app-body :is(.group:hover .group-hover\:text-gray-900) { 6682 7052 --tw-text-opacity: 1; … … 6883 7253 background-color: rgb(194 120 3 / var(--tw-bg-opacity, 1)); 6884 7254 } 6885 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:top-1\/2) {7255 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:top-1\/2) { 6886 7256 top: 50%; 6887 7257 } … … 6889 7259 top: 50%; 6890 7260 } 6891 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:-translate-y-1\/2) {7261 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:-translate-y-1\/2) { 6892 7262 --tw-translate-y: -50%; 6893 7263 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); … … 6897 7267 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 6898 7268 } 6899 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:translate-y-0) {7269 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:translate-y-0) { 6900 7270 --tw-translate-y: 0px; 6901 7271 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); … … 6905 7275 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 6906 7276 } 6907 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:scale-100) {7277 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:scale-100) { 6908 7278 --tw-scale-x: 1; 6909 7279 --tw-scale-y: 1; … … 6915 7285 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 6916 7286 } 6917 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:text-sm) {7287 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:text-sm) { 6918 7288 font-size: 0.875rem; 6919 7289 line-height: 1.25rem; … … 6923 7293 line-height: 1.25rem; 6924 7294 } 6925 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:leading-\[3\.75\]) {7295 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:leading-\[3\.75\]) { 6926 7296 line-height: 3.75; 6927 7297 } … … 6929 7299 line-height: 3.75; 6930 7300 } 6931 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:leading-\[4\.1\]) {7301 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:leading-\[4\.1\]) { 6932 7302 line-height: 4.1; 6933 7303 } … … 6935 7305 line-height: 4.1; 6936 7306 } 6937 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:leading-\[4\.25\]) {7307 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:leading-\[4\.25\]) { 6938 7308 line-height: 4.25; 6939 7309 } … … 6941 7311 line-height: 4.25; 6942 7312 } 6943 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:leading-\[4\.875\]) {7313 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:leading-\[4\.875\]) { 6944 7314 line-height: 4.875; 6945 7315 } … … 6947 7317 line-height: 4.875; 6948 7318 } 6949 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:leading-tight) {7319 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:leading-tight) { 6950 7320 line-height: 1.25; 6951 7321 } … … 6953 7323 line-height: 1.25; 6954 7324 } 6955 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:text-blue-gray-500) {7325 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:text-blue-gray-500) { 6956 7326 --tw-text-opacity: 1; 6957 7327 color: rgb(96 125 139 / var(--tw-text-opacity, 1)); … … 6961 7331 color: rgb(96 125 139 / var(--tw-text-opacity, 1)); 6962 7332 } 6963 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:text-green-500) {7333 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:text-green-500) { 6964 7334 --tw-text-opacity: 1; 6965 7335 color: rgb(14 159 110 / var(--tw-text-opacity, 1)); … … 6969 7339 color: rgb(14 159 110 / var(--tw-text-opacity, 1)); 6970 7340 } 6971 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:text-red-500) {7341 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:text-red-500) { 6972 7342 --tw-text-opacity: 1; 6973 7343 color: rgb(240 82 82 / var(--tw-text-opacity, 1)); … … 6977 7347 color: rgb(240 82 82 / var(--tw-text-opacity, 1)); 6978 7348 } 6979 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:before\:border-transparent)::before {7349 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:before\:border-transparent)::before { 6980 7350 content: var(--tw-content); 6981 7351 border-color: transparent; … … 6985 7355 border-color: transparent; 6986 7356 } 6987 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:after\:border-transparent)::after {7357 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:after\:border-transparent)::after { 6988 7358 content: var(--tw-content); 6989 7359 border-color: transparent; … … 7483 7853 border-color: transparent; 7484 7854 } 7485 body.dci-app-body :is(.peer:disabled:-moz-placeholder -shown~ .peer-disabled\:peer-placeholder-shown\:text-blue-gray-500) {7855 body.dci-app-body :is(.peer:disabled:-moz-placeholder ~ .peer-disabled\:peer-placeholder-shown\:text-blue-gray-500) { 7486 7856 --tw-text-opacity: 1; 7487 7857 color: rgb(96 125 139 / var(--tw-text-opacity, 1)); … … 7608 7978 background-color: rgb(106 65 238 / var(--tw-bg-opacity, 1)); 7609 7979 } 7980 body.dci-app-body .dark\:bg-blue-900:is(.dark *) { 7981 --tw-bg-opacity: 1; 7982 background-color: rgb(35 10 117 / var(--tw-bg-opacity, 1)); 7983 } 7984 body.dci-app-body .dark\:bg-blue-900\/30:is(.dark *) { 7985 background-color: rgb(35 10 117 / 0.3); 7986 } 7610 7987 body.dci-app-body .dark\:bg-cyan-100:is(.dark *) { 7611 7988 --tw-bg-opacity: 1; … … 7779 8156 --tw-bg-opacity: 0.8; 7780 8157 } 8158 body.dci-app-body .dark\:from-blue-900:is(.dark *) { 8159 --tw-gradient-from: #230a75 var(--tw-gradient-from-position); 8160 --tw-gradient-to: rgb(35 10 117 / 0) var(--tw-gradient-to-position); 8161 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 8162 } 8163 body.dci-app-body .dark\:from-gray-700:is(.dark *) { 8164 --tw-gradient-from: #374151 var(--tw-gradient-from-position); 8165 --tw-gradient-to: rgb(55 65 81 / 0) var(--tw-gradient-to-position); 8166 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 8167 } 8168 body.dci-app-body .dark\:from-gray-900:is(.dark *) { 8169 --tw-gradient-from: #111827 var(--tw-gradient-from-position); 8170 --tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position); 8171 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 8172 } 8173 body.dci-app-body .dark\:to-blue-800:is(.dark *) { 8174 --tw-gradient-to: #4614eb var(--tw-gradient-to-position); 8175 } 8176 body.dci-app-body .dark\:to-blue-900\/20:is(.dark *) { 8177 --tw-gradient-to: rgb(35 10 117 / 0.2) var(--tw-gradient-to-position); 8178 } 8179 body.dci-app-body .dark\:to-gray-900:is(.dark *) { 8180 --tw-gradient-to: #111827 var(--tw-gradient-to-position); 8181 } 7781 8182 body.dci-app-body .dark\:fill-gray-300:is(.dark *) { 7782 8183 fill: #D1D5DB; 7783 8184 } 8185 body.dci-app-body .dark\:text-blue-200:is(.dark *) { 8186 --tw-text-opacity: 1; 8187 color: rgb(200 185 249 / var(--tw-text-opacity, 1)); 8188 } 8189 body.dci-app-body .dark\:text-blue-300:is(.dark *) { 8190 --tw-text-opacity: 1; 8191 color: rgb(181 161 247 / var(--tw-text-opacity, 1)); 8192 } 7784 8193 body.dci-app-body .dark\:text-blue-400:is(.dark *) { 7785 8194 --tw-text-opacity: 1; … … 7858 8267 color: rgb(17 24 39 / var(--tw-text-opacity, 1)); 7859 8268 } 8269 body.dci-app-body .dark\:text-green-200:is(.dark *) { 8270 --tw-text-opacity: 1; 8271 color: rgb(188 240 218 / var(--tw-text-opacity, 1)); 8272 } 7860 8273 body.dci-app-body .dark\:text-green-300:is(.dark *) { 7861 8274 --tw-text-opacity: 1; … … 7906 8319 color: rgb(130 119 23 / var(--tw-text-opacity, 1)); 7907 8320 } 8321 body.dci-app-body .dark\:text-orange-200:is(.dark *) { 8322 --tw-text-opacity: 1; 8323 color: rgb(252 217 189 / var(--tw-text-opacity, 1)); 8324 } 8325 body.dci-app-body .dark\:text-orange-300:is(.dark *) { 8326 --tw-text-opacity: 1; 8327 color: rgb(253 186 140 / var(--tw-text-opacity, 1)); 8328 } 7908 8329 body.dci-app-body .dark\:text-orange-500:is(.dark *) { 7909 8330 --tw-text-opacity: 1; … … 7922 8343 color: rgb(117 26 61 / var(--tw-text-opacity, 1)); 7923 8344 } 8345 body.dci-app-body .dark\:text-purple-200:is(.dark *) { 8346 --tw-text-opacity: 1; 8347 color: rgb(220 215 254 / var(--tw-text-opacity, 1)); 8348 } 8349 body.dci-app-body .dark\:text-purple-300:is(.dark *) { 8350 --tw-text-opacity: 1; 8351 color: rgb(202 191 253 / var(--tw-text-opacity, 1)); 8352 } 8353 body.dci-app-body .dark\:text-purple-400:is(.dark *) { 8354 --tw-text-opacity: 1; 8355 color: rgb(172 148 250 / var(--tw-text-opacity, 1)); 8356 } 7924 8357 body.dci-app-body .dark\:text-purple-600:is(.dark *) { 7925 8358 --tw-text-opacity: 1; … … 7934 8367 color: rgb(74 29 150 / var(--tw-text-opacity, 1)); 7935 8368 } 8369 body.dci-app-body .dark\:text-red-200:is(.dark *) { 8370 --tw-text-opacity: 1; 8371 color: rgb(251 213 213 / var(--tw-text-opacity, 1)); 8372 } 7936 8373 body.dci-app-body .dark\:text-red-300:is(.dark *) { 7937 8374 --tw-text-opacity: 1; … … 7973 8410 --tw-text-opacity: 1; 7974 8411 color: rgb(255 255 255 / var(--tw-text-opacity, 1)); 8412 } 8413 body.dci-app-body .dark\:text-yellow-200:is(.dark *) { 8414 --tw-text-opacity: 1; 8415 color: rgb(252 233 106 / var(--tw-text-opacity, 1)); 7975 8416 } 7976 8417 body.dci-app-body .dark\:text-yellow-600:is(.dark *) { … … 8014 8455 --tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity, 1)); 8015 8456 } 8457 body.dci-app-body .dark\:ring-gray-600:is(.dark *) { 8458 --tw-ring-opacity: 1; 8459 --tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity, 1)); 8460 } 8016 8461 body.dci-app-body .dark\:ring-gray-800:is(.dark *) { 8017 8462 --tw-ring-opacity: 1; … … 8100 8545 background-color: rgb(89 44 237 / var(--tw-bg-opacity, 1)); 8101 8546 } 8547 body.dci-app-body .dark\:hover\:bg-blue-900\/30:hover:is(.dark *) { 8548 background-color: rgb(35 10 117 / 0.3); 8549 } 8102 8550 body.dci-app-body .dark\:hover\:bg-cyan-300:hover:is(.dark *) { 8103 8551 --tw-bg-opacity: 1; … … 8155 8603 --tw-bg-opacity: 1; 8156 8604 background-color: rgb(250 202 21 / var(--tw-bg-opacity, 1)); 8605 } 8606 body.dci-app-body .dark\:hover\:text-gray-200:hover:is(.dark *) { 8607 --tw-text-opacity: 1; 8608 color: rgb(229 231 235 / var(--tw-text-opacity, 1)); 8157 8609 } 8158 8610 body.dci-app-body .dark\:hover\:text-gray-300:hover:is(.dark *) { … … 8195 8647 background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1)); 8196 8648 } 8197 body.dci-app-body .dark\:focus\:bg-gray-700:focus:is(.dark *) {8198 --tw-bg-opacity: 1;8199 background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));8200 }8201 8649 body.dci-app-body .dark\:focus\:text-white:focus:is(.dark *) { 8202 8650 --tw-text-opacity: 1; … … 8501 8949 --tw-bg-opacity: 1; 8502 8950 background-color: rgb(250 202 21 / var(--tw-bg-opacity, 1)); 8503 }8504 body.dci-app-body :is(.group:hover .dark\:group-hover\:text-gray-400:is(.dark *)) {8505 --tw-text-opacity: 1;8506 color: rgb(156 163 175 / var(--tw-text-opacity, 1));8507 8951 } 8508 8952 body.dci-app-body :is(.group:hover .dark\:group-hover\:text-white:is(.dark *)) { … … 8556 9000 } 8557 9001 9002 body.dci-app-body .sm\:grid-cols-2 { 9003 grid-template-columns: repeat(2, minmax(0, 1fr)); 9004 } 9005 8558 9006 body.dci-app-body .sm\:items-center { 8559 9007 align-items: center; … … 8570 9018 body.dci-app-body .sm\:p-6 { 8571 9019 padding: 1.5rem; 9020 } 9021 9022 body.dci-app-body .sm\:p-8 { 9023 padding: 2rem; 8572 9024 } 8573 9025 … … 8590 9042 } 8591 9043 9044 body.dci-app-body .sm\:text-lg { 9045 font-size: 1.125rem; 9046 line-height: 1.75rem; 9047 } 9048 8592 9049 body.dci-app-body .sm\:text-xs { 8593 9050 font-size: 0.75rem; … … 8616 9073 } 8617 9074 8618 body.dci-app-body .md\:mr-0 {8619 margin-left: 0px;8620 }8621 8622 9075 body.dci-app-body .md\:mr-6 { 8623 9076 margin-left: 1.5rem; … … 8714 9167 body.dci-app-body .md\:grid-cols-2 { 8715 9168 grid-template-columns: repeat(2, minmax(0, 1fr)); 9169 } 9170 9171 body.dci-app-body .md\:grid-cols-3 { 9172 grid-template-columns: repeat(3, minmax(0, 1fr)); 8716 9173 } 8717 9174 … … 8759 9216 } 8760 9217 9218 body.dci-app-body .md\:text-left { 9219 text-align: right; 9220 } 9221 8761 9222 body.dci-app-body .md\:text-sm { 8762 9223 font-size: 0.875rem; … … 8797 9258 } 8798 9259 9260 body.dci-app-body .lg\:my-6 { 9261 margin-top: 1.5rem; 9262 margin-bottom: 1.5rem; 9263 } 9264 8799 9265 body.dci-app-body .lg\:my-8 { 8800 9266 margin-top: 2rem; … … 8802 9268 } 8803 9269 8804 body.dci-app-body .lg\:inline {8805 display: inline;8806 }8807 8808 body.dci-app-body .lg\:hidden {8809 display: none;8810 }8811 8812 9270 body.dci-app-body .lg\:w-2\/4 { 8813 9271 width: 50%; … … 8826 9284 } 8827 9285 9286 body.dci-app-body .lg\:w-96 { 9287 width: 24rem; 9288 } 9289 8828 9290 body.dci-app-body .lg\:min-w-\[40\%\] { 8829 9291 min-width: 40%; … … 8858 9320 } 8859 9321 9322 body.dci-app-body .lg\:grid-cols-2 { 9323 grid-template-columns: repeat(2, minmax(0, 1fr)); 9324 } 9325 8860 9326 body.dci-app-body .lg\:grid-cols-3 { 8861 9327 grid-template-columns: repeat(3, minmax(0, 1fr)); 8862 9328 } 8863 9329 9330 body.dci-app-body .lg\:grid-cols-4 { 9331 grid-template-columns: repeat(4, minmax(0, 1fr)); 9332 } 9333 9334 body.dci-app-body .lg\:flex-row { 9335 flex-direction: row; 9336 } 9337 8864 9338 body.dci-app-body .lg\:gap-0 { 8865 9339 gap: 0px; 8866 9340 } 8867 9341 8868 body.dci-app-body .lg\:px-6 { 8869 padding-right: 1.5rem; 8870 padding-left: 1.5rem; 9342 body.dci-app-body .lg\:px-4 { 9343 padding-right: 1rem; 9344 padding-left: 1rem; 9345 } 9346 9347 body.dci-app-body .lg\:py-4 { 9348 padding-top: 1rem; 9349 padding-bottom: 1rem; 9350 } 9351 9352 body.dci-app-body .lg\:text-3xl { 9353 font-size: 1.875rem; 9354 line-height: 2.25rem; 8871 9355 } 8872 9356 } … … 8875 9359 body.dci-app-body .xl\:grid-cols-4 { 8876 9360 grid-template-columns: repeat(4, minmax(0, 1fr)); 9361 } 9362 9363 body.dci-app-body .xl\:flex-row { 9364 flex-direction: row; 8877 9365 } 8878 9366 … … 9125 9613 } 9126 9614 9127 #dci-app-root .icon-wrap svg{height:1em;width:1em}#dci-app-root .dci-clients-wrapper img.object-cover{min-width:2.5rem} 9615 #dci-app-root .icon-wrap svg{height:1em;width:1em}#dci-app-root .dci-clients-wrapper img.object-cover{min-width:2.5rem}.dark #dci-app-root,.dark #wpcontent{background:#1f2937}.dark #dci-app-root .lb-tab li.lb-tab-active div:last-child{background:#1f2937;color:#fff} -
data-collector-insights/trunk/build/index.asset.php
r3237430 r3328560 1 <?php return array('dependencies' => array('react', 'react-dom', 'wp- element', 'wp-i18n'), 'version' => 'eecc5bd41bca8453bba5');1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-i18n'), 'version' => '58b01c8bd7df95a4aca6'); -
data-collector-insights/trunk/build/index.css
r3237430 r3328560 106 106 --tw-contain-style: ; 107 107 }/* 108 ! tailwindcss v3.4.1 7| MIT License | https://tailwindcss.com108 ! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com 109 109 *//* 110 110 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) … … 1253 1253 top: -0.375rem; 1254 1254 } 1255 body.dci-app-body .-top-2 { 1256 top: -0.5rem; 1257 } 1255 1258 body.dci-app-body .-top-2\.5 { 1256 1259 top: -0.625rem; … … 1315 1318 body.dci-app-body .left-6 { 1316 1319 left: 1.5rem; 1320 } 1321 body.dci-app-body .left-7 { 1322 left: 1.75rem; 1317 1323 } 1318 1324 body.dci-app-body .left-\[14\%\] { … … 1432 1438 margin-right: 0.5rem; 1433 1439 } 1434 body.dci-app-body .mx-3 {1435 margin-left: 0.75rem;1436 margin-right: 0.75rem;1437 }1438 1440 body.dci-app-body .mx-4 { 1439 1441 margin-left: 1rem; … … 1452 1454 margin-bottom: 0.25rem; 1453 1455 } 1454 body.dci-app-body .my-2 {1455 margin-top: 0.5rem;1456 margin-bottom: 0.5rem;1457 }1458 1456 body.dci-app-body .my-4 { 1459 1457 margin-top: 1rem; … … 1582 1580 margin-top: 0.125rem; 1583 1581 } 1582 body.dci-app-body .mt-1 { 1583 margin-top: 0.25rem; 1584 } 1584 1585 body.dci-app-body .mt-1\.5 { 1585 1586 margin-top: 0.375rem; … … 1600 1601 margin-top: 1.5rem; 1601 1602 } 1603 body.dci-app-body .mt-8 { 1604 margin-top: 2rem; 1605 } 1602 1606 body.dci-app-body .mt-px { 1603 1607 margin-top: 1px; … … 1606 1610 box-sizing: border-box; 1607 1611 } 1612 body.dci-app-body .line-clamp-2 { 1613 overflow: hidden; 1614 display: -webkit-box; 1615 -webkit-box-orient: vertical; 1616 -webkit-line-clamp: 2; 1617 } 1618 body.dci-app-body .line-clamp-3 { 1619 overflow: hidden; 1620 display: -webkit-box; 1621 -webkit-box-orient: vertical; 1622 -webkit-line-clamp: 3; 1623 } 1608 1624 body.dci-app-body .block { 1609 1625 display: block; … … 1672 1688 height: 0.875rem; 1673 1689 } 1690 body.dci-app-body .h-32 { 1691 height: 8rem; 1692 } 1674 1693 body.dci-app-body .h-36 { 1675 1694 height: 9rem; … … 1681 1700 height: 10rem; 1682 1701 } 1702 body.dci-app-body .h-48 { 1703 height: 12rem; 1704 } 1683 1705 body.dci-app-body .h-5 { 1684 1706 height: 1.25rem; … … 1687 1709 height: 1.5rem; 1688 1710 } 1711 body.dci-app-body .h-64 { 1712 height: 16rem; 1713 } 1689 1714 body.dci-app-body .h-7 { 1690 1715 height: 1.75rem; … … 1701 1726 body.dci-app-body .h-\[110px\] { 1702 1727 height: 110px; 1728 } 1729 body.dci-app-body .h-\[260px\] { 1730 height: 260px; 1703 1731 } 1704 1732 body.dci-app-body .h-\[58px\] { … … 1806 1834 width: 5rem; 1807 1835 } 1836 body.dci-app-body .w-24 { 1837 width: 6rem; 1838 } 1808 1839 body.dci-app-body .w-3 { 1809 1840 width: 0.75rem; … … 1830 1861 width: 1.25rem; 1831 1862 } 1832 body.dci-app-body .w-56 {1833 width: 14rem;1834 }1835 1863 body.dci-app-body .w-6 { 1836 1864 width: 1.5rem; … … 1857 1885 width: 110px; 1858 1886 } 1859 body.dci-app-body .w-\[30\%\] {1860 width: 30%;1861 }1862 1887 body.dci-app-body .w-\[58px\] { 1863 1888 width: 58px; 1864 1889 } 1865 body.dci-app-body .w-\[70 \%\] {1866 width: 70 %;1890 body.dci-app-body .w-\[70px\] { 1891 width: 70px; 1867 1892 } 1868 1893 body.dci-app-body .w-\[74px\] { … … 1892 1917 min-width: 3.5rem; 1893 1918 } 1894 body.dci-app-body .min-w- 72{1895 min-width: 1 8rem;1919 body.dci-app-body .min-w-56 { 1920 min-width: 14rem; 1896 1921 } 1897 1922 body.dci-app-body .min-w-9 { … … 1960 1985 body.dci-app-body .max-w-\[24rem\] { 1961 1986 max-width: 24rem; 1962 }1963 body.dci-app-body .max-w-\[26rem\] {1964 max-width: 26rem;1965 1987 } 1966 1988 body.dci-app-body .max-w-\[32px\] { … … 2096 2118 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 2097 2119 } 2120 body.dci-app-body .scale-105 { 2121 --tw-scale-x: 1.05; 2122 --tw-scale-y: 1.05; 2123 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 2124 } 2125 body.dci-app-body .scale-110 { 2126 --tw-scale-x: 1.1; 2127 --tw-scale-y: 1.1; 2128 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 2129 } 2098 2130 body.dci-app-body .scale-75 { 2099 2131 --tw-scale-x: .75; … … 2115 2147 transform: none; 2116 2148 } 2149 @keyframes pulse { 2150 2151 50% { 2152 opacity: .5; 2153 } 2154 } 2155 body.dci-app-body .animate-pulse { 2156 animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; 2157 } 2117 2158 @keyframes spin { 2118 2159 … … 2188 2229 grid-template-columns: repeat(1, minmax(0, 1fr)); 2189 2230 } 2231 body.dci-app-body .grid-cols-2 { 2232 grid-template-columns: repeat(2, minmax(0, 1fr)); 2233 } 2190 2234 body.dci-app-body .grid-cols-3 { 2191 2235 grid-template-columns: repeat(3, minmax(0, 1fr)); … … 2232 2276 body.dci-app-body .justify-between { 2233 2277 justify-content: space-between; 2278 } 2279 body.dci-app-body .justify-around { 2280 justify-content: space-around; 2234 2281 } 2235 2282 body.dci-app-body .gap-1 { … … 2303 2350 margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); 2304 2351 } 2352 body.dci-app-body :is(.space-y-3 > :not([hidden]) ~ :not([hidden])) { 2353 --tw-space-y-reverse: 0; 2354 margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))); 2355 margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)); 2356 } 2305 2357 body.dci-app-body :is(.space-y-4 > :not([hidden]) ~ :not([hidden])) { 2306 2358 --tw-space-y-reverse: 0; … … 2308 2360 margin-bottom: calc(1rem * var(--tw-space-y-reverse)); 2309 2361 } 2362 body.dci-app-body :is(.space-y-6 > :not([hidden]) ~ :not([hidden])) { 2363 --tw-space-y-reverse: 0; 2364 margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse))); 2365 margin-bottom: calc(1.5rem * var(--tw-space-y-reverse)); 2366 } 2367 body.dci-app-body :is(.space-y-8 > :not([hidden]) ~ :not([hidden])) { 2368 --tw-space-y-reverse: 0; 2369 margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse))); 2370 margin-bottom: calc(2rem * var(--tw-space-y-reverse)); 2371 } 2310 2372 body.dci-app-body :is(.divide-x > :not([hidden]) ~ :not([hidden])) { 2311 2373 --tw-divide-x-reverse: 0; … … 2421 2483 overflow: visible !important; 2422 2484 } 2423 body.dci-app-body .overflow-scroll {2424 overflow: scroll;2425 }2426 2485 body.dci-app-body .overflow-x-auto { 2427 2486 overflow-x: auto; … … 2459 2518 white-space: nowrap; 2460 2519 } 2520 body.dci-app-body .whitespace-pre-wrap { 2521 white-space: pre-wrap; 2522 } 2461 2523 body.dci-app-body .break-words { 2462 2524 overflow-wrap: break-word; … … 2566 2628 border-left-width: 2px; 2567 2629 } 2630 body.dci-app-body .border-l-4 { 2631 border-left-width: 4px; 2632 } 2568 2633 body.dci-app-body .border-r-0 { 2569 2634 border-right-width: 0px; … … 2580 2645 body.dci-app-body .border-t-4 { 2581 2646 border-top-width: 4px; 2647 } 2648 body.dci-app-body .border-solid { 2649 border-style: solid; 2582 2650 } 2583 2651 body.dci-app-body .\!border-black { … … 2589 2657 border-color: rgb(255 255 255 / var(--tw-border-opacity, 1)) !important; 2590 2658 } 2659 body.dci-app-body .border-amber-200 { 2660 --tw-border-opacity: 1; 2661 border-color: rgb(255 224 130 / var(--tw-border-opacity, 1)); 2662 } 2591 2663 body.dci-app-body .border-amber-500 { 2592 2664 --tw-border-opacity: 1; … … 2597 2669 border-color: rgb(0 0 0 / var(--tw-border-opacity, 1)); 2598 2670 } 2671 body.dci-app-body .border-blue-200 { 2672 --tw-border-opacity: 1; 2673 border-color: rgb(200 185 249 / var(--tw-border-opacity, 1)); 2674 } 2599 2675 body.dci-app-body .border-blue-400 { 2600 2676 --tw-border-opacity: 1; … … 2605 2681 border-color: rgb(126 91 241 / var(--tw-border-opacity, 1)); 2606 2682 } 2683 body.dci-app-body .border-blue-600 { 2684 --tw-border-opacity: 1; 2685 border-color: rgb(106 65 238 / var(--tw-border-opacity, 1)); 2686 } 2607 2687 body.dci-app-body .border-blue-gray-100 { 2608 2688 --tw-border-opacity: 1; … … 2625 2705 border-color: rgb(121 85 72 / var(--tw-border-opacity, 1)); 2626 2706 } 2707 body.dci-app-body .border-cyan-200 { 2708 --tw-border-opacity: 1; 2709 border-color: rgb(128 222 234 / var(--tw-border-opacity, 1)); 2710 } 2627 2711 body.dci-app-body .border-cyan-300 { 2628 2712 --tw-border-opacity: 1; … … 2677 2761 border-color: rgb(17 24 39 / var(--tw-border-opacity, 1)); 2678 2762 } 2763 body.dci-app-body .border-green-200 { 2764 --tw-border-opacity: 1; 2765 border-color: rgb(188 240 218 / var(--tw-border-opacity, 1)); 2766 } 2679 2767 body.dci-app-body .border-green-300 { 2680 2768 --tw-border-opacity: 1; … … 2693 2781 border-color: rgb(4 108 78 / var(--tw-border-opacity, 1)); 2694 2782 } 2783 body.dci-app-body .border-indigo-200 { 2784 --tw-border-opacity: 1; 2785 border-color: rgb(205 219 254 / var(--tw-border-opacity, 1)); 2786 } 2695 2787 body.dci-app-body .border-indigo-300 { 2696 2788 --tw-border-opacity: 1; … … 2705 2797 border-color: rgb(104 117 245 / var(--tw-border-opacity, 1)); 2706 2798 } 2799 body.dci-app-body .border-indigo-600 { 2800 --tw-border-opacity: 1; 2801 border-color: rgb(88 80 236 / var(--tw-border-opacity, 1)); 2802 } 2707 2803 body.dci-app-body .border-light-blue-500 { 2708 2804 --tw-border-opacity: 1; … … 2725 2821 border-color: rgb(205 220 57 / var(--tw-border-opacity, 1)); 2726 2822 } 2823 body.dci-app-body .border-orange-200 { 2824 --tw-border-opacity: 1; 2825 border-color: rgb(252 217 189 / var(--tw-border-opacity, 1)); 2826 } 2727 2827 body.dci-app-body .border-orange-500 { 2728 2828 --tw-border-opacity: 1; … … 2741 2841 border-color: rgb(214 31 105 / var(--tw-border-opacity, 1)); 2742 2842 } 2843 body.dci-app-body .border-purple-200 { 2844 --tw-border-opacity: 1; 2845 border-color: rgb(220 215 254 / var(--tw-border-opacity, 1)); 2846 } 2743 2847 body.dci-app-body .border-purple-500 { 2744 2848 --tw-border-opacity: 1; … … 2764 2868 --tw-border-opacity: 1; 2765 2869 border-color: rgb(119 29 29 / var(--tw-border-opacity, 1)); 2870 } 2871 body.dci-app-body .border-teal-200 { 2872 --tw-border-opacity: 1; 2873 border-color: rgb(175 236 239 / var(--tw-border-opacity, 1)); 2766 2874 } 2767 2875 body.dci-app-body .border-teal-300 { … … 2779 2887 --tw-border-opacity: 1; 2780 2888 border-color: rgb(255 255 255 / var(--tw-border-opacity, 1)); 2889 } 2890 body.dci-app-body .border-white\/20 { 2891 border-color: rgb(255 255 255 / 0.2); 2892 } 2893 body.dci-app-body .border-white\/30 { 2894 border-color: rgb(255 255 255 / 0.3); 2895 } 2896 body.dci-app-body .border-white\/50 { 2897 border-color: rgb(255 255 255 / 0.5); 2781 2898 } 2782 2899 body.dci-app-body .border-white\/80 { … … 2838 2955 background-color: rgb(234 76 137 / var(--tw-bg-opacity, 1)); 2839 2956 } 2957 body.dci-app-body .bg-amber-50 { 2958 --tw-bg-opacity: 1; 2959 background-color: rgb(255 248 225 / var(--tw-bg-opacity, 1)); 2960 } 2840 2961 body.dci-app-body .bg-amber-500 { 2841 2962 --tw-bg-opacity: 1; … … 2852 2973 background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1)); 2853 2974 } 2975 body.dci-app-body .bg-black\/30 { 2976 background-color: rgb(0 0 0 / 0.3); 2977 } 2854 2978 body.dci-app-body .bg-blue-100 { 2855 2979 --tw-bg-opacity: 1; 2856 2980 background-color: rgb(218 208 251 / var(--tw-bg-opacity, 1)); 2981 } 2982 body.dci-app-body .bg-blue-50 { 2983 --tw-bg-opacity: 1; 2984 background-color: rgb(237 232 253 / var(--tw-bg-opacity, 1)); 2857 2985 } 2858 2986 body.dci-app-body .bg-blue-500 { … … 3056 3184 background-color: rgb(88 80 236 / var(--tw-bg-opacity, 1)); 3057 3185 } 3058 body.dci-app-body .bg-indigo-700 {3059 --tw-bg-opacity: 1;3060 background-color: rgb(81 69 205 / var(--tw-bg-opacity, 1));3061 }3062 3186 body.dci-app-body .bg-light-blue-500 { 3063 3187 --tw-bg-opacity: 1; … … 3106 3230 background-color: rgb(192 202 51 / var(--tw-bg-opacity, 1)); 3107 3231 } 3232 body.dci-app-body .bg-orange-100 { 3233 --tw-bg-opacity: 1; 3234 background-color: rgb(254 236 220 / var(--tw-bg-opacity, 1)); 3235 } 3108 3236 body.dci-app-body .bg-orange-500 { 3109 3237 --tw-bg-opacity: 1; … … 3218 3346 background-color: rgb(255 255 255 / 0.1); 3219 3347 } 3348 body.dci-app-body .bg-white\/20 { 3349 background-color: rgb(255 255 255 / 0.2); 3350 } 3220 3351 body.dci-app-body .bg-white\/30 { 3221 3352 background-color: rgb(255 255 255 / 0.3); … … 3224 3355 background-color: rgb(255 255 255 / 0.5); 3225 3356 } 3357 body.dci-app-body .bg-white\/95 { 3358 background-color: rgb(255 255 255 / 0.95); 3359 } 3226 3360 body.dci-app-body .bg-yellow-100 { 3227 3361 --tw-bg-opacity: 1; … … 3249 3383 --tw-bg-opacity: 1; 3250 3384 background-color: rgb(159 88 10 / var(--tw-bg-opacity, 1)); 3251 }3252 body.dci-app-body .bg-opacity-100 {3253 --tw-bg-opacity: 1;3254 3385 } 3255 3386 body.dci-app-body .bg-opacity-50 { … … 3276 3407 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3277 3408 } 3409 body.dci-app-body .from-blue-50 { 3410 --tw-gradient-from: #ede8fd var(--tw-gradient-from-position); 3411 --tw-gradient-to: rgb(237 232 253 / 0) var(--tw-gradient-to-position); 3412 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3413 } 3414 body.dci-app-body .from-blue-500 { 3415 --tw-gradient-from: #7e5bf1 var(--tw-gradient-from-position); 3416 --tw-gradient-to: rgb(126 91 241 / 0) var(--tw-gradient-to-position); 3417 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3418 } 3278 3419 body.dci-app-body .from-blue-600 { 3279 3420 --tw-gradient-from: #6A41EE var(--tw-gradient-from-position); … … 3296 3437 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3297 3438 } 3439 body.dci-app-body .from-cyan-50 { 3440 --tw-gradient-from: #e0f7fa var(--tw-gradient-from-position); 3441 --tw-gradient-to: rgb(224 247 250 / 0) var(--tw-gradient-to-position); 3442 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3443 } 3298 3444 body.dci-app-body .from-cyan-500 { 3299 3445 --tw-gradient-from: #00bcd4 var(--tw-gradient-from-position); … … 3316 3462 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3317 3463 } 3464 body.dci-app-body .from-gray-50 { 3465 --tw-gradient-from: #F9FAFB var(--tw-gradient-from-position); 3466 --tw-gradient-to: rgb(249 250 251 / 0) var(--tw-gradient-to-position); 3467 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3468 } 3318 3469 body.dci-app-body .from-gray-600 { 3319 3470 --tw-gradient-from: #4B5563 var(--tw-gradient-from-position); … … 3331 3482 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3332 3483 } 3484 body.dci-app-body .from-green-50 { 3485 --tw-gradient-from: #F3FAF7 var(--tw-gradient-from-position); 3486 --tw-gradient-to: rgb(243 250 247 / 0) var(--tw-gradient-to-position); 3487 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3488 } 3333 3489 body.dci-app-body .from-green-600 { 3334 3490 --tw-gradient-from: #057A55 var(--tw-gradient-from-position); … … 3336 3492 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3337 3493 } 3494 body.dci-app-body .from-indigo-50 { 3495 --tw-gradient-from: #F0F5FF var(--tw-gradient-from-position); 3496 --tw-gradient-to: rgb(240 245 255 / 0) var(--tw-gradient-to-position); 3497 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3498 } 3338 3499 body.dci-app-body .from-indigo-600 { 3339 3500 --tw-gradient-from: #5850EC var(--tw-gradient-from-position); … … 3341 3502 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3342 3503 } 3504 body.dci-app-body .from-indigo-800 { 3505 --tw-gradient-from: #42389D var(--tw-gradient-from-position); 3506 --tw-gradient-to: rgb(66 56 157 / 0) var(--tw-gradient-to-position); 3507 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3508 } 3343 3509 body.dci-app-body .from-light-blue-600 { 3344 3510 --tw-gradient-from: #039be5 var(--tw-gradient-from-position); … … 3361 3527 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3362 3528 } 3529 body.dci-app-body .from-orange-400 { 3530 --tw-gradient-from: #FF8A4C var(--tw-gradient-from-position); 3531 --tw-gradient-to: rgb(255 138 76 / 0) var(--tw-gradient-to-position); 3532 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3533 } 3534 body.dci-app-body .from-orange-50 { 3535 --tw-gradient-from: #FFF8F1 var(--tw-gradient-from-position); 3536 --tw-gradient-to: rgb(255 248 241 / 0) var(--tw-gradient-to-position); 3537 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3538 } 3363 3539 body.dci-app-body .from-orange-600 { 3364 3540 --tw-gradient-from: #D03801 var(--tw-gradient-from-position); … … 3381 3557 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3382 3558 } 3559 body.dci-app-body .from-purple-100 { 3560 --tw-gradient-from: #EDEBFE var(--tw-gradient-from-position); 3561 --tw-gradient-to: rgb(237 235 254 / 0) var(--tw-gradient-to-position); 3562 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3563 } 3564 body.dci-app-body .from-purple-50 { 3565 --tw-gradient-from: #F6F5FF var(--tw-gradient-from-position); 3566 --tw-gradient-to: rgb(246 245 255 / 0) var(--tw-gradient-to-position); 3567 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3568 } 3383 3569 body.dci-app-body .from-purple-500 { 3384 3570 --tw-gradient-from: #9061F9 var(--tw-gradient-from-position); … … 3416 3602 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3417 3603 } 3604 body.dci-app-body .from-teal-50 { 3605 --tw-gradient-from: #EDFAFA var(--tw-gradient-from-position); 3606 --tw-gradient-to: rgb(237 250 250 / 0) var(--tw-gradient-to-position); 3607 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 3608 } 3418 3609 body.dci-app-body .from-teal-600 { 3419 3610 --tw-gradient-from: #047481 var(--tw-gradient-from-position); … … 3465 3656 --tw-gradient-to: #ffca28 var(--tw-gradient-to-position); 3466 3657 } 3658 body.dci-app-body .to-blue-100 { 3659 --tw-gradient-to: #dad0fb var(--tw-gradient-to-position); 3660 } 3467 3661 body.dci-app-body .to-blue-400 { 3468 3662 --tw-gradient-to: #9072f3 var(--tw-gradient-to-position); 3469 3663 } 3664 body.dci-app-body .to-blue-50 { 3665 --tw-gradient-to: #ede8fd var(--tw-gradient-to-position); 3666 } 3470 3667 body.dci-app-body .to-blue-gray-400 { 3471 3668 --tw-gradient-to: #78909c var(--tw-gradient-to-position); … … 3474 3671 --tw-gradient-to: #8d6e63 var(--tw-gradient-to-position); 3475 3672 } 3673 body.dci-app-body .to-cyan-100 { 3674 --tw-gradient-to: #b2ebf2 var(--tw-gradient-to-position); 3675 } 3476 3676 body.dci-app-body .to-cyan-400 { 3477 3677 --tw-gradient-to: #26c6da var(--tw-gradient-to-position); … … 3498 3698 --tw-gradient-to: #1F2937 var(--tw-gradient-to-position); 3499 3699 } 3700 body.dci-app-body .to-green-100 { 3701 --tw-gradient-to: #DEF7EC var(--tw-gradient-to-position); 3702 } 3500 3703 body.dci-app-body .to-green-400 { 3501 3704 --tw-gradient-to: #31C48D var(--tw-gradient-to-position); … … 3504 3707 --tw-gradient-to: #057A55 var(--tw-gradient-to-position); 3505 3708 } 3709 body.dci-app-body .to-indigo-100 { 3710 --tw-gradient-to: #E5EDFF var(--tw-gradient-to-position); 3711 } 3506 3712 body.dci-app-body .to-indigo-400 { 3507 3713 --tw-gradient-to: #8DA2FB var(--tw-gradient-to-position); 3508 3714 } 3715 body.dci-app-body .to-indigo-50 { 3716 --tw-gradient-to: #F0F5FF var(--tw-gradient-to-position); 3717 } 3718 body.dci-app-body .to-indigo-500 { 3719 --tw-gradient-to: #6875F5 var(--tw-gradient-to-position); 3720 } 3721 body.dci-app-body .to-indigo-600 { 3722 --tw-gradient-to: #5850EC var(--tw-gradient-to-position); 3723 } 3509 3724 body.dci-app-body .to-light-blue-400 { 3510 3725 --tw-gradient-to: #29b6f6 var(--tw-gradient-to-position); … … 3522 3737 --tw-gradient-to: #cddc39 var(--tw-gradient-to-position); 3523 3738 } 3739 body.dci-app-body .to-orange-100 { 3740 --tw-gradient-to: #FEECDC var(--tw-gradient-to-position); 3741 } 3524 3742 body.dci-app-body .to-orange-400 { 3525 3743 --tw-gradient-to: #FF8A4C var(--tw-gradient-to-position); 3526 3744 } 3745 body.dci-app-body .to-orange-600 { 3746 --tw-gradient-to: #D03801 var(--tw-gradient-to-position); 3747 } 3527 3748 body.dci-app-body .to-pink-400 { 3528 3749 --tw-gradient-to: #F17EB8 var(--tw-gradient-to-position); 3529 3750 } 3751 body.dci-app-body .to-pink-50 { 3752 --tw-gradient-to: #FDF2F8 var(--tw-gradient-to-position); 3753 } 3530 3754 body.dci-app-body .to-pink-500 { 3531 3755 --tw-gradient-to: #E74694 var(--tw-gradient-to-position); … … 3534 3758 --tw-gradient-to: #D61F69 var(--tw-gradient-to-position); 3535 3759 } 3760 body.dci-app-body .to-purple-100 { 3761 --tw-gradient-to: #EDEBFE var(--tw-gradient-to-position); 3762 } 3536 3763 body.dci-app-body .to-purple-400 { 3537 3764 --tw-gradient-to: #AC94FA var(--tw-gradient-to-position); 3538 3765 } 3766 body.dci-app-body .to-purple-500 { 3767 --tw-gradient-to: #9061F9 var(--tw-gradient-to-position); 3768 } 3769 body.dci-app-body .to-purple-600 { 3770 --tw-gradient-to: #7E3AF2 var(--tw-gradient-to-position); 3771 } 3539 3772 body.dci-app-body .to-purple-700 { 3540 3773 --tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position); … … 3543 3776 --tw-gradient-to: #F98080 var(--tw-gradient-to-position); 3544 3777 } 3778 body.dci-app-body .to-red-50 { 3779 --tw-gradient-to: #FDF2F2 var(--tw-gradient-to-position); 3780 } 3545 3781 body.dci-app-body .to-red-600 { 3546 3782 --tw-gradient-to: #E02424 var(--tw-gradient-to-position); 3547 3783 } 3784 body.dci-app-body .to-teal-100 { 3785 --tw-gradient-to: #D5F5F6 var(--tw-gradient-to-position); 3786 } 3548 3787 body.dci-app-body .to-teal-400 { 3549 3788 --tw-gradient-to: #16BDCA var(--tw-gradient-to-position); 3550 3789 } 3790 body.dci-app-body .to-teal-50 { 3791 --tw-gradient-to: #EDFAFA var(--tw-gradient-to-position); 3792 } 3551 3793 body.dci-app-body .to-teal-600 { 3552 3794 --tw-gradient-to: #047481 var(--tw-gradient-to-position); … … 3557 3799 body.dci-app-body .to-yellow-400 { 3558 3800 --tw-gradient-to: #E3A008 var(--tw-gradient-to-position); 3801 } 3802 body.dci-app-body .bg-cover { 3803 background-size: cover; 3559 3804 } 3560 3805 body.dci-app-body .bg-clip-border { … … 3565 3810 background-clip: text; 3566 3811 } 3812 body.dci-app-body .bg-center { 3813 background-position: center; 3814 } 3567 3815 body.dci-app-body .fill-current { 3568 3816 fill: currentColor; … … 3597 3845 object-position: center; 3598 3846 } 3847 body.dci-app-body .p-0 { 3848 padding: 0px; 3849 } 3599 3850 body.dci-app-body .p-0\.5 { 3600 3851 padding: 0.125rem; … … 3687 3938 padding-bottom: 0.375rem; 3688 3939 } 3940 body.dci-app-body .py-12 { 3941 padding-top: 3rem; 3942 padding-bottom: 3rem; 3943 } 3689 3944 body.dci-app-body .py-2 { 3690 3945 padding-top: 0.5rem; … … 3711 3966 padding-bottom: 1.25rem; 3712 3967 } 3968 body.dci-app-body .py-8 { 3969 padding-top: 2rem; 3970 padding-bottom: 2rem; 3971 } 3713 3972 body.dci-app-body .\!pr-7 { 3714 3973 padding-right: 1.75rem !important; … … 3725 3984 body.dci-app-body .pb-2\.5 { 3726 3985 padding-bottom: 0.625rem; 3986 } 3987 body.dci-app-body .pb-4 { 3988 padding-bottom: 1rem; 3989 } 3990 body.dci-app-body .pb-6 { 3991 padding-bottom: 1.5rem; 3992 } 3993 body.dci-app-body .pb-8 { 3994 padding-bottom: 2rem; 3727 3995 } 3728 3996 body.dci-app-body .pl-0 { … … 3870 4138 text-transform: uppercase; 3871 4139 } 4140 body.dci-app-body .capitalize { 4141 text-transform: capitalize; 4142 } 3872 4143 body.dci-app-body .italic { 3873 4144 font-style: italic; … … 3876 4147 line-height: 1.25 !important; 3877 4148 } 4149 body.dci-app-body .leading-5 { 4150 line-height: 1.25rem; 4151 } 3878 4152 body.dci-app-body .leading-6 { 3879 4153 line-height: 1.5rem; … … 3914 4188 body.dci-app-body .tracking-normal { 3915 4189 letter-spacing: 0em; 4190 } 4191 body.dci-app-body .tracking-wider { 4192 letter-spacing: 0.05em; 4193 } 4194 body.dci-app-body .tracking-widest { 4195 letter-spacing: 0.1em; 3916 4196 } 3917 4197 body.dci-app-body .\!text-black { … … 3939 4219 color: rgb(0 0 0 / var(--tw-text-opacity, 1)); 3940 4220 } 4221 body.dci-app-body .text-blue-400 { 4222 --tw-text-opacity: 1; 4223 color: rgb(144 114 243 / var(--tw-text-opacity, 1)); 4224 } 3941 4225 body.dci-app-body .text-blue-500 { 3942 4226 --tw-text-opacity: 1; … … 4102 4386 color: rgb(104 117 245 / var(--tw-text-opacity, 1)); 4103 4387 } 4388 body.dci-app-body .text-indigo-600 { 4389 --tw-text-opacity: 1; 4390 color: rgb(88 80 236 / var(--tw-text-opacity, 1)); 4391 } 4104 4392 body.dci-app-body .text-indigo-700 { 4105 4393 --tw-text-opacity: 1; … … 4169 4457 color: rgb(180 52 3 / var(--tw-text-opacity, 1)); 4170 4458 } 4459 body.dci-app-body .text-orange-800 { 4460 --tw-text-opacity: 1; 4461 color: rgb(138 44 13 / var(--tw-text-opacity, 1)); 4462 } 4171 4463 body.dci-app-body .text-orange-900 { 4172 4464 --tw-text-opacity: 1; … … 4192 4484 --tw-text-opacity: 1; 4193 4485 color: rgb(117 26 61 / var(--tw-text-opacity, 1)); 4486 } 4487 body.dci-app-body .text-purple-400 { 4488 --tw-text-opacity: 1; 4489 color: rgb(172 148 250 / var(--tw-text-opacity, 1)); 4194 4490 } 4195 4491 body.dci-app-body .text-purple-500 { … … 4260 4556 color: rgb(255 255 255 / var(--tw-text-opacity, 1)); 4261 4557 } 4558 body.dci-app-body .text-white\/80 { 4559 color: rgb(255 255 255 / 0.8); 4560 } 4262 4561 body.dci-app-body .text-yellow-400 { 4263 4562 --tw-text-opacity: 1; … … 4267 4566 --tw-text-opacity: 1; 4268 4567 color: rgb(194 120 3 / var(--tw-text-opacity, 1)); 4568 } 4569 body.dci-app-body .text-yellow-600 { 4570 --tw-text-opacity: 1; 4571 color: rgb(159 88 10 / var(--tw-text-opacity, 1)); 4269 4572 } 4270 4573 body.dci-app-body .text-yellow-700 { … … 4330 4633 body.dci-app-body .opacity-50 { 4331 4634 opacity: 0.5; 4635 } 4636 body.dci-app-body .opacity-75 { 4637 opacity: 0.75; 4638 } 4639 body.dci-app-body .opacity-80 { 4640 opacity: 0.8; 4641 } 4642 body.dci-app-body .opacity-90 { 4643 opacity: 0.9; 4332 4644 } 4333 4645 body.dci-app-body .mix-blend-lighten { … … 4542 4854 --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); 4543 4855 --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); 4856 box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); 4857 } 4858 body.dci-app-body .ring-4 { 4859 --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); 4860 --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); 4544 4861 box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); 4545 4862 } … … 4642 4959 transition-duration: 150ms; 4643 4960 } 4961 body.dci-app-body .transition-shadow { 4962 transition-property: box-shadow; 4963 transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 4964 transition-duration: 150ms; 4965 } 4644 4966 body.dci-app-body .transition-transform { 4645 4967 transition-property: transform; … … 5280 5602 border-bottom-left-radius: 0.5rem; 5281 5603 } 5282 body.dci-app-body . odd\:bg-blue-gray-50\/50:nth-child(odd){5283 b ackground-color: rgb(236 239 241 / 0.5);5604 body.dci-app-body .last\:border-b-0:last-child { 5605 border-bottom-width: 0px; 5284 5606 } 5285 5607 body.dci-app-body .odd\:bg-white:nth-child(odd) { … … 5538 5860 background-color: rgb(194 120 3 / var(--tw-bg-opacity, 1)); 5539 5861 } 5540 body.dci-app-body .placeholder-shown\:border:-moz-placeholder -shown{5862 body.dci-app-body .placeholder-shown\:border:-moz-placeholder { 5541 5863 border-width: 1px; 5542 5864 } … … 5544 5866 border-width: 1px; 5545 5867 } 5546 body.dci-app-body .placeholder-shown\:border-blue-gray-200:-moz-placeholder -shown{5868 body.dci-app-body .placeholder-shown\:border-blue-gray-200:-moz-placeholder { 5547 5869 --tw-border-opacity: 1; 5548 5870 border-color: rgb(176 190 197 / var(--tw-border-opacity, 1)); … … 5552 5874 border-color: rgb(176 190 197 / var(--tw-border-opacity, 1)); 5553 5875 } 5554 body.dci-app-body .placeholder-shown\:border-green-500:-moz-placeholder -shown{5876 body.dci-app-body .placeholder-shown\:border-green-500:-moz-placeholder { 5555 5877 --tw-border-opacity: 1; 5556 5878 border-color: rgb(14 159 110 / var(--tw-border-opacity, 1)); … … 5560 5882 border-color: rgb(14 159 110 / var(--tw-border-opacity, 1)); 5561 5883 } 5562 body.dci-app-body .placeholder-shown\:border-red-500:-moz-placeholder -shown{5884 body.dci-app-body .placeholder-shown\:border-red-500:-moz-placeholder { 5563 5885 --tw-border-opacity: 1; 5564 5886 border-color: rgb(240 82 82 / var(--tw-border-opacity, 1)); … … 5568 5890 border-color: rgb(240 82 82 / var(--tw-border-opacity, 1)); 5569 5891 } 5570 body.dci-app-body .placeholder-shown\:border-t-blue-gray-200:-moz-placeholder -shown{5892 body.dci-app-body .placeholder-shown\:border-t-blue-gray-200:-moz-placeholder { 5571 5893 --tw-border-opacity: 1; 5572 5894 border-top-color: rgb(176 190 197 / var(--tw-border-opacity, 1)); … … 5576 5898 border-top-color: rgb(176 190 197 / var(--tw-border-opacity, 1)); 5577 5899 } 5578 body.dci-app-body .placeholder-shown\:border-t-green-500:-moz-placeholder -shown{5900 body.dci-app-body .placeholder-shown\:border-t-green-500:-moz-placeholder { 5579 5901 --tw-border-opacity: 1; 5580 5902 border-top-color: rgb(14 159 110 / var(--tw-border-opacity, 1)); … … 5584 5906 border-top-color: rgb(14 159 110 / var(--tw-border-opacity, 1)); 5585 5907 } 5586 body.dci-app-body .placeholder-shown\:border-t-red-500:-moz-placeholder -shown{5908 body.dci-app-body .placeholder-shown\:border-t-red-500:-moz-placeholder { 5587 5909 --tw-border-opacity: 1; 5588 5910 border-top-color: rgb(240 82 82 / var(--tw-border-opacity, 1)); … … 5591 5913 --tw-border-opacity: 1; 5592 5914 border-top-color: rgb(240 82 82 / var(--tw-border-opacity, 1)); 5915 } 5916 body.dci-app-body .hover\:-translate-y-0\.5:hover { 5917 --tw-translate-y: -0.125rem; 5918 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 5919 } 5920 body.dci-app-body .hover\:-translate-y-1:hover { 5921 --tw-translate-y: -0.25rem; 5922 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 5923 } 5924 body.dci-app-body .hover\:scale-105:hover { 5925 --tw-scale-x: 1.05; 5926 --tw-scale-y: 1.05; 5927 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 5593 5928 } 5594 5929 body.dci-app-body .hover\:scale-110:hover { … … 5611 5946 background-color: rgb(200 185 249 / var(--tw-bg-opacity, 1)); 5612 5947 } 5948 body.dci-app-body .hover\:bg-blue-50:hover { 5949 --tw-bg-opacity: 1; 5950 background-color: rgb(237 232 253 / var(--tw-bg-opacity, 1)); 5951 } 5613 5952 body.dci-app-body .hover\:bg-blue-500\/10:hover { 5614 5953 background-color: rgb(126 91 241 / 0.1); 5615 5954 } 5955 body.dci-app-body .hover\:bg-blue-700:hover { 5956 --tw-bg-opacity: 1; 5957 background-color: rgb(89 44 237 / var(--tw-bg-opacity, 1)); 5958 } 5616 5959 body.dci-app-body .hover\:bg-blue-800:hover { 5617 5960 --tw-bg-opacity: 1; … … 5679 6022 background-color: rgb(14 159 110 / 0.1); 5680 6023 } 6024 body.dci-app-body .hover\:bg-green-700:hover { 6025 --tw-bg-opacity: 1; 6026 background-color: rgb(4 108 78 / var(--tw-bg-opacity, 1)); 6027 } 5681 6028 body.dci-app-body .hover\:bg-indigo-200:hover { 5682 6029 --tw-bg-opacity: 1; … … 5686 6033 background-color: rgb(104 117 245 / 0.1); 5687 6034 } 5688 body.dci-app-body .hover\:bg-indigo-700:hover {5689 --tw-bg-opacity: 1;5690 background-color: rgb(81 69 205 / var(--tw-bg-opacity, 1));5691 }5692 6035 body.dci-app-body .hover\:bg-light-blue-500\/10:hover { 5693 6036 background-color: rgb(3 169 244 / 0.1); … … 5720 6063 background-color: rgb(144 97 249 / 0.1); 5721 6064 } 6065 body.dci-app-body .hover\:bg-purple-700:hover { 6066 --tw-bg-opacity: 1; 6067 background-color: rgb(108 43 217 / var(--tw-bg-opacity, 1)); 6068 } 5722 6069 body.dci-app-body .hover\:bg-red-200:hover { 5723 6070 --tw-bg-opacity: 1; … … 5727 6074 background-color: rgb(240 82 82 / 0.1); 5728 6075 } 6076 body.dci-app-body .hover\:bg-red-700:hover { 6077 --tw-bg-opacity: 1; 6078 background-color: rgb(200 30 30 / var(--tw-bg-opacity, 1)); 6079 } 5729 6080 body.dci-app-body .hover\:bg-teal-200:hover { 5730 6081 --tw-bg-opacity: 1; … … 5744 6095 background-color: rgb(255 255 255 / 0.1); 5745 6096 } 6097 body.dci-app-body .hover\:bg-white\/15:hover { 6098 background-color: rgb(255 255 255 / 0.15); 6099 } 6100 body.dci-app-body .hover\:bg-white\/30:hover { 6101 background-color: rgb(255 255 255 / 0.3); 6102 } 5746 6103 body.dci-app-body .hover\:bg-yellow-200:hover { 5747 6104 --tw-bg-opacity: 1; … … 5757 6114 background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); 5758 6115 } 5759 body.dci-app-body .hover\:text-blue- 700:hover {5760 --tw-text-opacity: 1; 5761 color: rgb( 89 44 237/ var(--tw-text-opacity, 1));6116 body.dci-app-body .hover\:text-blue-600:hover { 6117 --tw-text-opacity: 1; 6118 color: rgb(106 65 238 / var(--tw-text-opacity, 1)); 5762 6119 } 5763 6120 body.dci-app-body .hover\:text-blue-800:hover { … … 5796 6153 --tw-text-opacity: 1; 5797 6154 color: rgb(155 28 28 / var(--tw-text-opacity, 1)); 6155 } 6156 body.dci-app-body .hover\:text-white:hover { 6157 --tw-text-opacity: 1; 6158 color: rgb(255 255 255 / var(--tw-text-opacity, 1)); 5798 6159 } 5799 6160 body.dci-app-body .hover\:underline:hover { 5800 6161 text-decoration-line: underline; 5801 }5802 body.dci-app-body .hover\:no-underline:hover {5803 text-decoration-line: none;5804 6162 } 5805 6163 body.dci-app-body .hover\:opacity-75:hover { … … 5811 6169 box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); 5812 6170 } 6171 body.dci-app-body .hover\:shadow-md:hover { 6172 --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); 6173 --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); 6174 box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); 6175 } 6176 body.dci-app-body .hover\:shadow-xl:hover { 6177 --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); 6178 --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); 6179 box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); 6180 } 5813 6181 body.dci-app-body .hover\:shadow-\[\#333333\]\/20:hover { 5814 6182 --tw-shadow-color: rgb(51 51 51 / 0.2); … … 6178 6546 --tw-ring-color: rgb(179 157 219 / var(--tw-ring-opacity, 1)); 6179 6547 } 6180 body.dci-app-body .focus\:ring-gray-100:focus {6181 --tw-ring-opacity: 1;6182 --tw-ring-color: rgb(243 244 246 / var(--tw-ring-opacity, 1));6183 }6184 6548 body.dci-app-body .focus\:ring-gray-200:focus { 6185 6549 --tw-ring-opacity: 1; … … 6297 6661 --tw-ring-opacity: 1; 6298 6662 --tw-ring-color: rgb(172 148 250 / var(--tw-ring-opacity, 1)); 6663 } 6664 body.dci-app-body .focus\:ring-purple-500:focus { 6665 --tw-ring-opacity: 1; 6666 --tw-ring-color: rgb(144 97 249 / var(--tw-ring-opacity, 1)); 6299 6667 } 6300 6668 body.dci-app-body .focus\:ring-purple-600:focus { … … 6364 6732 --tw-ring-opacity: 1; 6365 6733 --tw-ring-color: rgb(194 120 3 / var(--tw-ring-opacity, 1)); 6734 } 6735 body.dci-app-body .focus\:ring-opacity-50:focus { 6736 --tw-ring-opacity: 0.5; 6737 } 6738 body.dci-app-body .focus\:ring-offset-2:focus { 6739 --tw-ring-offset-width: 2px; 6366 6740 } 6367 6741 body.dci-app-body .focus\:placeholder\:opacity-100:focus::-moz-placeholder { … … 6675 7049 background-color: rgb(252 233 106 / var(--tw-bg-opacity, 1)); 6676 7050 } 6677 body.dci-app-body :is(.group:hover .group-hover\:text-gray-500) {6678 --tw-text-opacity: 1;6679 color: rgb(107 114 128 / var(--tw-text-opacity, 1));6680 }6681 7051 body.dci-app-body :is(.group:hover .group-hover\:text-gray-900) { 6682 7052 --tw-text-opacity: 1; … … 6883 7253 background-color: rgb(194 120 3 / var(--tw-bg-opacity, 1)); 6884 7254 } 6885 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:top-1\/2) {7255 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:top-1\/2) { 6886 7256 top: 50%; 6887 7257 } … … 6889 7259 top: 50%; 6890 7260 } 6891 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:-translate-y-1\/2) {7261 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:-translate-y-1\/2) { 6892 7262 --tw-translate-y: -50%; 6893 7263 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); … … 6897 7267 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 6898 7268 } 6899 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:translate-y-0) {7269 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:translate-y-0) { 6900 7270 --tw-translate-y: 0px; 6901 7271 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); … … 6905 7275 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 6906 7276 } 6907 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:scale-100) {7277 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:scale-100) { 6908 7278 --tw-scale-x: 1; 6909 7279 --tw-scale-y: 1; … … 6915 7285 transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); 6916 7286 } 6917 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:text-sm) {7287 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:text-sm) { 6918 7288 font-size: 0.875rem; 6919 7289 line-height: 1.25rem; … … 6923 7293 line-height: 1.25rem; 6924 7294 } 6925 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:leading-\[3\.75\]) {7295 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:leading-\[3\.75\]) { 6926 7296 line-height: 3.75; 6927 7297 } … … 6929 7299 line-height: 3.75; 6930 7300 } 6931 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:leading-\[4\.1\]) {7301 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:leading-\[4\.1\]) { 6932 7302 line-height: 4.1; 6933 7303 } … … 6935 7305 line-height: 4.1; 6936 7306 } 6937 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:leading-\[4\.25\]) {7307 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:leading-\[4\.25\]) { 6938 7308 line-height: 4.25; 6939 7309 } … … 6941 7311 line-height: 4.25; 6942 7312 } 6943 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:leading-\[4\.875\]) {7313 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:leading-\[4\.875\]) { 6944 7314 line-height: 4.875; 6945 7315 } … … 6947 7317 line-height: 4.875; 6948 7318 } 6949 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:leading-tight) {7319 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:leading-tight) { 6950 7320 line-height: 1.25; 6951 7321 } … … 6953 7323 line-height: 1.25; 6954 7324 } 6955 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:text-blue-gray-500) {7325 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:text-blue-gray-500) { 6956 7326 --tw-text-opacity: 1; 6957 7327 color: rgb(96 125 139 / var(--tw-text-opacity, 1)); … … 6961 7331 color: rgb(96 125 139 / var(--tw-text-opacity, 1)); 6962 7332 } 6963 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:text-green-500) {7333 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:text-green-500) { 6964 7334 --tw-text-opacity: 1; 6965 7335 color: rgb(14 159 110 / var(--tw-text-opacity, 1)); … … 6969 7339 color: rgb(14 159 110 / var(--tw-text-opacity, 1)); 6970 7340 } 6971 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:text-red-500) {7341 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:text-red-500) { 6972 7342 --tw-text-opacity: 1; 6973 7343 color: rgb(240 82 82 / var(--tw-text-opacity, 1)); … … 6977 7347 color: rgb(240 82 82 / var(--tw-text-opacity, 1)); 6978 7348 } 6979 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:before\:border-transparent)::before {7349 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:before\:border-transparent)::before { 6980 7350 content: var(--tw-content); 6981 7351 border-color: transparent; … … 6985 7355 border-color: transparent; 6986 7356 } 6987 body.dci-app-body :is(.peer:-moz-placeholder -shown~ .peer-placeholder-shown\:after\:border-transparent)::after {7357 body.dci-app-body :is(.peer:-moz-placeholder ~ .peer-placeholder-shown\:after\:border-transparent)::after { 6988 7358 content: var(--tw-content); 6989 7359 border-color: transparent; … … 7483 7853 border-color: transparent; 7484 7854 } 7485 body.dci-app-body :is(.peer:disabled:-moz-placeholder -shown~ .peer-disabled\:peer-placeholder-shown\:text-blue-gray-500) {7855 body.dci-app-body :is(.peer:disabled:-moz-placeholder ~ .peer-disabled\:peer-placeholder-shown\:text-blue-gray-500) { 7486 7856 --tw-text-opacity: 1; 7487 7857 color: rgb(96 125 139 / var(--tw-text-opacity, 1)); … … 7608 7978 background-color: rgb(106 65 238 / var(--tw-bg-opacity, 1)); 7609 7979 } 7980 body.dci-app-body .dark\:bg-blue-900:is(.dark *) { 7981 --tw-bg-opacity: 1; 7982 background-color: rgb(35 10 117 / var(--tw-bg-opacity, 1)); 7983 } 7984 body.dci-app-body .dark\:bg-blue-900\/30:is(.dark *) { 7985 background-color: rgb(35 10 117 / 0.3); 7986 } 7610 7987 body.dci-app-body .dark\:bg-cyan-100:is(.dark *) { 7611 7988 --tw-bg-opacity: 1; … … 7779 8156 --tw-bg-opacity: 0.8; 7780 8157 } 8158 body.dci-app-body .dark\:from-blue-900:is(.dark *) { 8159 --tw-gradient-from: #230a75 var(--tw-gradient-from-position); 8160 --tw-gradient-to: rgb(35 10 117 / 0) var(--tw-gradient-to-position); 8161 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 8162 } 8163 body.dci-app-body .dark\:from-gray-700:is(.dark *) { 8164 --tw-gradient-from: #374151 var(--tw-gradient-from-position); 8165 --tw-gradient-to: rgb(55 65 81 / 0) var(--tw-gradient-to-position); 8166 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 8167 } 8168 body.dci-app-body .dark\:from-gray-900:is(.dark *) { 8169 --tw-gradient-from: #111827 var(--tw-gradient-from-position); 8170 --tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position); 8171 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); 8172 } 8173 body.dci-app-body .dark\:to-blue-800:is(.dark *) { 8174 --tw-gradient-to: #4614eb var(--tw-gradient-to-position); 8175 } 8176 body.dci-app-body .dark\:to-blue-900\/20:is(.dark *) { 8177 --tw-gradient-to: rgb(35 10 117 / 0.2) var(--tw-gradient-to-position); 8178 } 8179 body.dci-app-body .dark\:to-gray-900:is(.dark *) { 8180 --tw-gradient-to: #111827 var(--tw-gradient-to-position); 8181 } 7781 8182 body.dci-app-body .dark\:fill-gray-300:is(.dark *) { 7782 8183 fill: #D1D5DB; 7783 8184 } 8185 body.dci-app-body .dark\:text-blue-200:is(.dark *) { 8186 --tw-text-opacity: 1; 8187 color: rgb(200 185 249 / var(--tw-text-opacity, 1)); 8188 } 8189 body.dci-app-body .dark\:text-blue-300:is(.dark *) { 8190 --tw-text-opacity: 1; 8191 color: rgb(181 161 247 / var(--tw-text-opacity, 1)); 8192 } 7784 8193 body.dci-app-body .dark\:text-blue-400:is(.dark *) { 7785 8194 --tw-text-opacity: 1; … … 7858 8267 color: rgb(17 24 39 / var(--tw-text-opacity, 1)); 7859 8268 } 8269 body.dci-app-body .dark\:text-green-200:is(.dark *) { 8270 --tw-text-opacity: 1; 8271 color: rgb(188 240 218 / var(--tw-text-opacity, 1)); 8272 } 7860 8273 body.dci-app-body .dark\:text-green-300:is(.dark *) { 7861 8274 --tw-text-opacity: 1; … … 7906 8319 color: rgb(130 119 23 / var(--tw-text-opacity, 1)); 7907 8320 } 8321 body.dci-app-body .dark\:text-orange-200:is(.dark *) { 8322 --tw-text-opacity: 1; 8323 color: rgb(252 217 189 / var(--tw-text-opacity, 1)); 8324 } 8325 body.dci-app-body .dark\:text-orange-300:is(.dark *) { 8326 --tw-text-opacity: 1; 8327 color: rgb(253 186 140 / var(--tw-text-opacity, 1)); 8328 } 7908 8329 body.dci-app-body .dark\:text-orange-500:is(.dark *) { 7909 8330 --tw-text-opacity: 1; … … 7922 8343 color: rgb(117 26 61 / var(--tw-text-opacity, 1)); 7923 8344 } 8345 body.dci-app-body .dark\:text-purple-200:is(.dark *) { 8346 --tw-text-opacity: 1; 8347 color: rgb(220 215 254 / var(--tw-text-opacity, 1)); 8348 } 8349 body.dci-app-body .dark\:text-purple-300:is(.dark *) { 8350 --tw-text-opacity: 1; 8351 color: rgb(202 191 253 / var(--tw-text-opacity, 1)); 8352 } 8353 body.dci-app-body .dark\:text-purple-400:is(.dark *) { 8354 --tw-text-opacity: 1; 8355 color: rgb(172 148 250 / var(--tw-text-opacity, 1)); 8356 } 7924 8357 body.dci-app-body .dark\:text-purple-600:is(.dark *) { 7925 8358 --tw-text-opacity: 1; … … 7934 8367 color: rgb(74 29 150 / var(--tw-text-opacity, 1)); 7935 8368 } 8369 body.dci-app-body .dark\:text-red-200:is(.dark *) { 8370 --tw-text-opacity: 1; 8371 color: rgb(251 213 213 / var(--tw-text-opacity, 1)); 8372 } 7936 8373 body.dci-app-body .dark\:text-red-300:is(.dark *) { 7937 8374 --tw-text-opacity: 1; … … 7973 8410 --tw-text-opacity: 1; 7974 8411 color: rgb(255 255 255 / var(--tw-text-opacity, 1)); 8412 } 8413 body.dci-app-body .dark\:text-yellow-200:is(.dark *) { 8414 --tw-text-opacity: 1; 8415 color: rgb(252 233 106 / var(--tw-text-opacity, 1)); 7975 8416 } 7976 8417 body.dci-app-body .dark\:text-yellow-600:is(.dark *) { … … 8014 8455 --tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity, 1)); 8015 8456 } 8457 body.dci-app-body .dark\:ring-gray-600:is(.dark *) { 8458 --tw-ring-opacity: 1; 8459 --tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity, 1)); 8460 } 8016 8461 body.dci-app-body .dark\:ring-gray-800:is(.dark *) { 8017 8462 --tw-ring-opacity: 1; … … 8100 8545 background-color: rgb(89 44 237 / var(--tw-bg-opacity, 1)); 8101 8546 } 8547 body.dci-app-body .dark\:hover\:bg-blue-900\/30:hover:is(.dark *) { 8548 background-color: rgb(35 10 117 / 0.3); 8549 } 8102 8550 body.dci-app-body .dark\:hover\:bg-cyan-300:hover:is(.dark *) { 8103 8551 --tw-bg-opacity: 1; … … 8155 8603 --tw-bg-opacity: 1; 8156 8604 background-color: rgb(250 202 21 / var(--tw-bg-opacity, 1)); 8605 } 8606 body.dci-app-body .dark\:hover\:text-gray-200:hover:is(.dark *) { 8607 --tw-text-opacity: 1; 8608 color: rgb(229 231 235 / var(--tw-text-opacity, 1)); 8157 8609 } 8158 8610 body.dci-app-body .dark\:hover\:text-gray-300:hover:is(.dark *) { … … 8195 8647 background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1)); 8196 8648 } 8197 body.dci-app-body .dark\:focus\:bg-gray-700:focus:is(.dark *) {8198 --tw-bg-opacity: 1;8199 background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));8200 }8201 8649 body.dci-app-body .dark\:focus\:text-white:focus:is(.dark *) { 8202 8650 --tw-text-opacity: 1; … … 8501 8949 --tw-bg-opacity: 1; 8502 8950 background-color: rgb(250 202 21 / var(--tw-bg-opacity, 1)); 8503 }8504 body.dci-app-body :is(.group:hover .dark\:group-hover\:text-gray-400:is(.dark *)) {8505 --tw-text-opacity: 1;8506 color: rgb(156 163 175 / var(--tw-text-opacity, 1));8507 8951 } 8508 8952 body.dci-app-body :is(.group:hover .dark\:group-hover\:text-white:is(.dark *)) { … … 8556 9000 } 8557 9001 9002 body.dci-app-body .sm\:grid-cols-2 { 9003 grid-template-columns: repeat(2, minmax(0, 1fr)); 9004 } 9005 8558 9006 body.dci-app-body .sm\:items-center { 8559 9007 align-items: center; … … 8570 9018 body.dci-app-body .sm\:p-6 { 8571 9019 padding: 1.5rem; 9020 } 9021 9022 body.dci-app-body .sm\:p-8 { 9023 padding: 2rem; 8572 9024 } 8573 9025 … … 8590 9042 } 8591 9043 9044 body.dci-app-body .sm\:text-lg { 9045 font-size: 1.125rem; 9046 line-height: 1.75rem; 9047 } 9048 8592 9049 body.dci-app-body .sm\:text-xs { 8593 9050 font-size: 0.75rem; … … 8616 9073 } 8617 9074 8618 body.dci-app-body .md\:mr-0 {8619 margin-right: 0px;8620 }8621 8622 9075 body.dci-app-body .md\:mr-6 { 8623 9076 margin-right: 1.5rem; … … 8714 9167 body.dci-app-body .md\:grid-cols-2 { 8715 9168 grid-template-columns: repeat(2, minmax(0, 1fr)); 9169 } 9170 9171 body.dci-app-body .md\:grid-cols-3 { 9172 grid-template-columns: repeat(3, minmax(0, 1fr)); 8716 9173 } 8717 9174 … … 8759 9216 } 8760 9217 9218 body.dci-app-body .md\:text-left { 9219 text-align: left; 9220 } 9221 8761 9222 body.dci-app-body .md\:text-sm { 8762 9223 font-size: 0.875rem; … … 8797 9258 } 8798 9259 9260 body.dci-app-body .lg\:my-6 { 9261 margin-top: 1.5rem; 9262 margin-bottom: 1.5rem; 9263 } 9264 8799 9265 body.dci-app-body .lg\:my-8 { 8800 9266 margin-top: 2rem; … … 8802 9268 } 8803 9269 8804 body.dci-app-body .lg\:inline {8805 display: inline;8806 }8807 8808 body.dci-app-body .lg\:hidden {8809 display: none;8810 }8811 8812 9270 body.dci-app-body .lg\:w-2\/4 { 8813 9271 width: 50%; … … 8826 9284 } 8827 9285 9286 body.dci-app-body .lg\:w-96 { 9287 width: 24rem; 9288 } 9289 8828 9290 body.dci-app-body .lg\:min-w-\[40\%\] { 8829 9291 min-width: 40%; … … 8858 9320 } 8859 9321 9322 body.dci-app-body .lg\:grid-cols-2 { 9323 grid-template-columns: repeat(2, minmax(0, 1fr)); 9324 } 9325 8860 9326 body.dci-app-body .lg\:grid-cols-3 { 8861 9327 grid-template-columns: repeat(3, minmax(0, 1fr)); 8862 9328 } 8863 9329 9330 body.dci-app-body .lg\:grid-cols-4 { 9331 grid-template-columns: repeat(4, minmax(0, 1fr)); 9332 } 9333 9334 body.dci-app-body .lg\:flex-row { 9335 flex-direction: row; 9336 } 9337 8864 9338 body.dci-app-body .lg\:gap-0 { 8865 9339 gap: 0px; 8866 9340 } 8867 9341 8868 body.dci-app-body .lg\:px-6 { 8869 padding-left: 1.5rem; 8870 padding-right: 1.5rem; 9342 body.dci-app-body .lg\:px-4 { 9343 padding-left: 1rem; 9344 padding-right: 1rem; 9345 } 9346 9347 body.dci-app-body .lg\:py-4 { 9348 padding-top: 1rem; 9349 padding-bottom: 1rem; 9350 } 9351 9352 body.dci-app-body .lg\:text-3xl { 9353 font-size: 1.875rem; 9354 line-height: 2.25rem; 8871 9355 } 8872 9356 } … … 8875 9359 body.dci-app-body .xl\:grid-cols-4 { 8876 9360 grid-template-columns: repeat(4, minmax(0, 1fr)); 9361 } 9362 9363 body.dci-app-body .xl\:flex-row { 9364 flex-direction: row; 8877 9365 } 8878 9366 … … 9125 9613 } 9126 9614 9127 #dci-app-root .icon-wrap svg{height:1em;width:1em}#dci-app-root .dci-clients-wrapper img.object-cover{min-width:2.5rem} 9615 #dci-app-root .icon-wrap svg{height:1em;width:1em}#dci-app-root .dci-clients-wrapper img.object-cover{min-width:2.5rem}.dark #dci-app-root,.dark #wpcontent{background:#1f2937}.dark #dci-app-root .lb-tab li.lb-tab-active div:last-child{background:#1f2937;color:#fff} -
data-collector-insights/trunk/build/index.js
r3237430 r3328560 1 (()=>{var e,t,r={5218:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const n=(a={},function(e){return void 0===a[e]&&(a[e]=(t=e,o.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),a[e];var t});var a},392:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FloatingDelayGroup:()=>St,FloatingFocusManager:()=>ir,FloatingNode:()=>ut,FloatingOverlay:()=>sr,FloatingPortal:()=>or,FloatingTree:()=>dt,arrow:()=>Ke,autoPlacement:()=>Ve,autoUpdate:()=>Le,computePosition:()=>Xe,detectOverflow:()=>ze,flip:()=>We,getOverflowAncestors:()=>q,hide:()=>Ue,inline:()=>$e,inner:()=>zr,limitShift:()=>Ye,offset:()=>Fe,platform:()=>Ie,safePolygon:()=>Vr,shift:()=>Be,size:()=>He,useClick:()=>dr,useDelayGroup:()=>Et,useDelayGroupContext:()=>Mt,useDismiss:()=>br,useFloating:()=>Br,useFloatingNodeId:()=>ct,useFloatingParentNodeId:()=>lt,useFloatingPortalNode:()=>rr,useFloatingTree:()=>st,useFocus:()=>gr,useHover:()=>Ct,useId:()=>ot,useInnerOffset:()=>Fr,useInteractions:()=>Hr,useListNavigation:()=>Er,useMergeRefs:()=>jr,useRole:()=>Ar,useTransitionStatus:()=>Rr,useTransitionStyles:()=>Ir,useTypeahead:()=>Dr});var o=r(1609),n=new WeakMap,a=new WeakMap,i={},l=0,s=function(e){return e&&(e.host||s(e.parentNode))},c=function(e,t,r){void 0===r&&(r="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),c=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live]"))),function(e,t,r,o){var c=function(e,t){return t.map((function(t){if(e.contains(t))return t;var r=s(t);return r&&e.contains(r)?r:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);i[r]||(i[r]=new WeakMap);var u=i[r],d=[],f=new Set,p=new Set(c),h=function(e){e&&!f.has(e)&&(f.add(e),h(e.parentNode))};c.forEach(h);var b=function(e){e&&!p.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(f.has(e))b(e);else try{var t=e.getAttribute(o),i=null!==t&&"false"!==t,l=(n.get(e)||0)+1,s=(u.get(e)||0)+1;n.set(e,l),u.set(e,s),d.push(e),1===l&&i&&a.set(e,!0),1===s&&e.setAttribute(r,"true"),i||e.setAttribute(o,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}}))};return b(t),f.clear(),l++,function(){d.forEach((function(e){var t=n.get(e)-1,i=u.get(e)-1;n.set(e,t),u.set(e,i),t||(a.has(e)||e.removeAttribute(o),a.delete(e)),i||e.removeAttribute(r)})),--l||(n=new WeakMap,n=new WeakMap,a=new WeakMap,i={})}}(o,c,r,"aria-hidden")):function(){return null}},u=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),d="undefined"==typeof Element,f=d?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,p=!d&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},h=function e(t,r){var o;void 0===r&&(r=!0);var n=null==t||null===(o=t.getAttribute)||void 0===o?void 0:o.call(t,"inert");return""===n||"true"===n||r&&t&&e(t.parentNode)},b=function e(t,r,o){for(var n=[],a=Array.from(t);a.length;){var i=a.shift();if(!h(i,!1))if("SLOT"===i.tagName){var l=i.assignedElements(),s=e(l.length?l:i.children,!0,o);o.flatten?n.push.apply(n,s):n.push({scopeParent:i,candidates:s})}else{f.call(i,u)&&o.filter(i)&&(r||!t.includes(i))&&n.push(i);var c=i.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(i),d=!h(c,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(i));if(c&&d){var p=e(!0===c?i.children:c.children,!0,o);o.flatten?n.push.apply(n,p):n.push({scopeParent:i,candidates:p})}else a.unshift.apply(a,i.children)}}return n},g=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},m=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,r=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===r||"true"===r}(e))&&!g(e)?0:e.tabIndex},y=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},v=function(e){return"INPUT"===e.tagName},x=function(e){var t=e.getBoundingClientRect(),r=t.width,o=t.height;return 0===r&&0===o},w=function(e,t){return!(t.disabled||h(t)||function(e){return v(e)&&"hidden"===e.type}(t)||function(e,t){var r=t.displayCheck,o=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var n=f.call(e,"details>summary:first-of-type")?e.parentElement:e;if(f.call(n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return x(e)}else{if("function"==typeof o){for(var a=e;e;){var i=e.parentElement,l=p(e);if(i&&!i.shadowRoot&&!0===o(i))return x(e);e=e.assignedSlot?e.assignedSlot:i||l===e.ownerDocument?i:l.host}e=a}if(function(e){var t,r,o,n,a=e&&p(e),i=null===(t=a)||void 0===t?void 0:t.host,l=!1;if(a&&a!==e)for(l=!!(null!==(r=i)&&void 0!==r&&null!==(o=r.ownerDocument)&&void 0!==o&&o.contains(i)||null!=e&&null!==(n=e.ownerDocument)&&void 0!==n&&n.contains(e));!l&&i;){var s,c,u;l=!(null===(c=i=null===(s=a=p(i))||void 0===s?void 0:s.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(i))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var o=t.children.item(r);if("LEGEND"===o.tagName)return!!f.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1}(t))},O=function(e,t){return!(function(e){return function(e){return v(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||p(e),o=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var n=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!n||n===e}(e)}(t)||m(t)<0||!w(e,t))},_=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},k=function e(t){var r=[],o=[];return t.forEach((function(t,n){var a=!!t.scopeParent,i=a?t.scopeParent:t,l=function(e,t){var r=m(e);return r<0&&t&&!g(e)?0:r}(i,a),s=a?e(t.candidates):i;0===l?a?r.push.apply(r,s):r.push(i):o.push({documentOrder:n,tabIndex:l,item:t,isScope:a,content:s})})),o.sort(y).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(r)},P=function(e,t){var r;return r=(t=t||{}).getShadowRoot?b([e],t.includeContainer,{filter:O.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:_}):function(e,t,r){if(h(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(u));return t&&f.call(e,u)&&o.unshift(e),o.filter(r)}(e,t.includeContainer,O.bind(null,t)),k(r)};const C=window.ReactDOM;function T(){return"undefined"!=typeof window}function M(e){return j(e)?(e.nodeName||"").toLowerCase():"#document"}function S(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function E(e){var t;return null==(t=(j(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function j(e){return!!T()&&(e instanceof Node||e instanceof S(e).Node)}function A(e){return!!T()&&(e instanceof Element||e instanceof S(e).Element)}function N(e){return!!T()&&(e instanceof HTMLElement||e instanceof S(e).HTMLElement)}function R(e){return!(!T()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof S(e).ShadowRoot)}function I(e){const{overflow:t,overflowX:r,overflowY:o,display:n}=B(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(n)}function D(e){return["table","td","th"].includes(M(e))}function L(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function z(e){const t=F(),r=A(e)?B(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!r[e]&&"none"!==r[e]))||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function F(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function V(e){return["html","body","#document"].includes(M(e))}function B(e){return S(e).getComputedStyle(e)}function W(e){return A(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function H(e){if("html"===M(e))return e;const t=e.assignedSlot||e.parentNode||R(e)&&e.host||E(e);return R(t)?t.host:t}function U(e){const t=H(e);return V(t)?e.ownerDocument?e.ownerDocument.body:e.body:N(t)&&I(t)?t:U(t)}function q(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const n=U(e),a=n===(null==(o=e.ownerDocument)?void 0:o.body),i=S(n);if(a){const e=$(i);return t.concat(i,i.visualViewport||[],I(n)?n:[],e&&r?q(e):[])}return t.concat(n,q(n,[],r))}function $(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Y=["top","right","bottom","left"],X=["start","end"],K=Y.reduce(((e,t)=>e.concat(t,t+"-"+X[0],t+"-"+X[1])),[]),G=Math.min,Z=Math.max,J=Math.round,Q=Math.floor,ee=e=>({x:e,y:e}),te={left:"right",right:"left",bottom:"top",top:"bottom"},re={start:"end",end:"start"};function oe(e,t,r){return Z(e,G(t,r))}function ne(e,t){return"function"==typeof e?e(t):e}function ae(e){return e.split("-")[0]}function ie(e){return e.split("-")[1]}function le(e){return"x"===e?"y":"x"}function se(e){return"y"===e?"height":"width"}function ce(e){return["top","bottom"].includes(ae(e))?"y":"x"}function ue(e){return le(ce(e))}function de(e,t,r){void 0===r&&(r=!1);const o=ie(e),n=ue(e),a=se(n);let i="x"===n?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=pe(i)),[i,pe(i)]}function fe(e){return e.replace(/start|end/g,(e=>re[e]))}function pe(e){return e.replace(/left|right|bottom|top/g,(e=>te[e]))}function he(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function be(e){const{x:t,y:r,width:o,height:n}=e;return{width:o,height:n,top:r,left:t,right:t+o,bottom:r+n,x:t,y:r}}function ge(e,t,r){let{reference:o,floating:n}=e;const a=ce(t),i=ue(t),l=se(i),s=ae(t),c="y"===a,u=o.x+o.width/2-n.width/2,d=o.y+o.height/2-n.height/2,f=o[l]/2-n[l]/2;let p;switch(s){case"top":p={x:u,y:o.y-n.height};break;case"bottom":p={x:u,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:d};break;case"left":p={x:o.x-n.width,y:d};break;default:p={x:o.x,y:o.y}}switch(ie(t)){case"start":p[i]-=f*(r&&c?-1:1);break;case"end":p[i]+=f*(r&&c?-1:1)}return p}async function me(e,t){var r;void 0===t&&(t={});const{x:o,y:n,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=ne(t,e),h=he(p),b=l[f?"floating"===d?"reference":"floating":d],g=be(await a.getClippingRect({element:null==(r=await(null==a.isElement?void 0:a.isElement(b)))||r?b:b.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),m="floating"===d?{x:o,y:n,width:i.floating.width,height:i.floating.height}:i.reference,y=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),v=await(null==a.isElement?void 0:a.isElement(y))&&await(null==a.getScale?void 0:a.getScale(y))||{x:1,y:1},x=be(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:m,offsetParent:y,strategy:s}):m);return{top:(g.top-x.top+h.top)/v.y,bottom:(x.bottom-g.bottom+h.bottom)/v.y,left:(g.left-x.left+h.left)/v.x,right:(x.right-g.right+h.right)/v.x}}function ye(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ve(e){return Y.some((t=>e[t]>=0))}function xe(e){const t=G(...e.map((e=>e.left))),r=G(...e.map((e=>e.top)));return{x:t,y:r,width:Z(...e.map((e=>e.right)))-t,height:Z(...e.map((e=>e.bottom)))-r}}function we(e){const t=B(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const n=N(e),a=n?e.offsetWidth:r,i=n?e.offsetHeight:o,l=J(r)!==a||J(o)!==i;return l&&(r=a,o=i),{width:r,height:o,$:l}}function Oe(e){return A(e)?e:e.contextElement}function _e(e){const t=Oe(e);if(!N(t))return ee(1);const r=t.getBoundingClientRect(),{width:o,height:n,$:a}=we(t);let i=(a?J(r.width):r.width)/o,l=(a?J(r.height):r.height)/n;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const ke=ee(0);function Pe(e){const t=S(e);return F()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ke}function Ce(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const n=e.getBoundingClientRect(),a=Oe(e);let i=ee(1);t&&(o?A(o)&&(i=_e(o)):i=_e(e));const l=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==S(e))&&t}(a,r,o)?Pe(a):ee(0);let s=(n.left+l.x)/i.x,c=(n.top+l.y)/i.y,u=n.width/i.x,d=n.height/i.y;if(a){const e=S(a),t=o&&A(o)?S(o):o;let r=e,n=$(r);for(;n&&o&&t!==r;){const e=_e(n),t=n.getBoundingClientRect(),o=B(n),a=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=a,c+=i,r=S(n),n=$(r)}}return be({width:u,height:d,x:s,y:c})}function Te(e,t){const r=W(e).scrollLeft;return t?t.left+r:Ce(E(e)).left+r}function Me(e,t,r){void 0===r&&(r=!1);const o=e.getBoundingClientRect();return{x:o.left+t.scrollLeft-(r?0:Te(e,o)),y:o.top+t.scrollTop}}function Se(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=S(e),o=E(e),n=r.visualViewport;let a=o.clientWidth,i=o.clientHeight,l=0,s=0;if(n){a=n.width,i=n.height;const e=F();(!e||e&&"fixed"===t)&&(l=n.offsetLeft,s=n.offsetTop)}return{width:a,height:i,x:l,y:s}}(e,r);else if("document"===t)o=function(e){const t=E(e),r=W(e),o=e.ownerDocument.body,n=Z(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=Z(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let i=-r.scrollLeft+Te(e);const l=-r.scrollTop;return"rtl"===B(o).direction&&(i+=Z(t.clientWidth,o.clientWidth)-n),{width:n,height:a,x:i,y:l}}(E(e));else if(A(t))o=function(e,t){const r=Ce(e,!0,"fixed"===t),o=r.top+e.clientTop,n=r.left+e.clientLeft,a=N(e)?_e(e):ee(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:n*a.x,y:o*a.y}}(t,r);else{const r=Pe(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return be(o)}function Ee(e,t){const r=H(e);return!(r===t||!A(r)||V(r))&&("fixed"===B(r).position||Ee(r,t))}function je(e,t,r){const o=N(t),n=E(t),a="fixed"===r,i=Ce(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=ee(0);if(o||!o&&!a)if(("body"!==M(t)||I(n))&&(l=W(t)),o){const e=Ce(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else n&&(s.x=Te(n));const c=!n||o||a?ee(0):Me(n,l);return{x:i.left+l.scrollLeft-s.x-c.x,y:i.top+l.scrollTop-s.y-c.y,width:i.width,height:i.height}}function Ae(e){return"static"===B(e).position}function Ne(e,t){if(!N(e)||"fixed"===B(e).position)return null;if(t)return t(e);let r=e.offsetParent;return E(e)===r&&(r=r.ownerDocument.body),r}function Re(e,t){const r=S(e);if(L(e))return r;if(!N(e)){let t=H(e);for(;t&&!V(t);){if(A(t)&&!Ae(t))return t;t=H(t)}return r}let o=Ne(e,t);for(;o&&D(o)&&Ae(o);)o=Ne(o,t);return o&&V(o)&&Ae(o)&&!z(o)?r:o||function(e){let t=H(e);for(;N(t)&&!V(t);){if(z(t))return t;if(L(t))return null;t=H(t)}return null}(e)||r}const Ie={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:n}=e;const a="fixed"===n,i=E(o),l=!!t&&L(t.floating);if(o===i||l&&a)return r;let s={scrollLeft:0,scrollTop:0},c=ee(1);const u=ee(0),d=N(o);if((d||!d&&!a)&&(("body"!==M(o)||I(i))&&(s=W(o)),N(o))){const e=Ce(o);c=_e(o),u.x=e.x+o.clientLeft,u.y=e.y+o.clientTop}const f=!i||d||a?ee(0):Me(i,s,!0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:r.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:E,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:n}=e;const a=[..."clippingAncestors"===r?L(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let o=q(e,[],!1).filter((e=>A(e)&&"body"!==M(e))),n=null;const a="fixed"===B(e).position;let i=a?H(e):e;for(;A(i)&&!V(i);){const t=B(i),r=z(i);r||"fixed"!==t.position||(n=null),(a?!r&&!n:!r&&"static"===t.position&&n&&["absolute","fixed"].includes(n.position)||I(i)&&!r&&Ee(e,i))?o=o.filter((e=>e!==i)):n=t,i=H(i)}return t.set(e,o),o}(t,this._c):[].concat(r),o],i=a[0],l=a.reduce(((e,r)=>{const o=Se(t,r,n);return e.top=Z(o.top,e.top),e.right=G(o.right,e.right),e.bottom=G(o.bottom,e.bottom),e.left=Z(o.left,e.left),e}),Se(t,i,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Re,getElementRects:async function(e){const t=this.getOffsetParent||Re,r=this.getDimensions,o=await r(e.floating);return{reference:je(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=we(e);return{width:t,height:r}},getScale:_e,isElement:A,isRTL:function(e){return"rtl"===B(e).direction}};function De(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Le(e,t,r,o){void 0===o&&(o={});const{ancestorScroll:n=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,c=Oe(e),u=n||a?[...c?q(c):[],...q(t)]:[];u.forEach((e=>{n&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)}));const d=c&&l?function(e,t){let r,o=null;const n=E(e);function a(){var e;clearTimeout(r),null==(e=o)||e.disconnect(),o=null}return function i(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),a();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=c;if(l||t(),!f||!p)return;const h={rootMargin:-Q(d)+"px "+-Q(n.clientWidth-(u+f))+"px "+-Q(n.clientHeight-(d+p))+"px "+-Q(u)+"px",threshold:Z(0,G(1,s))||1};let b=!0;function g(t){const o=t[0].intersectionRatio;if(o!==s){if(!b)return i();o?i(!1,o):r=setTimeout((()=>{i(!1,1e-7)}),1e3)}1!==o||De(c,e.getBoundingClientRect())||i(),b=!1}try{o=new IntersectionObserver(g,{...h,root:n.ownerDocument})}catch(e){o=new IntersectionObserver(g,h)}o.observe(e)}(!0),a}(c,r):null;let f,p=-1,h=null;i&&(h=new ResizeObserver((e=>{let[o]=e;o&&o.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),r()})),c&&!s&&h.observe(c),h.observe(t));let b=s?Ce(e):null;return s&&function t(){const o=Ce(e);b&&!De(b,o)&&r(),b=o,f=requestAnimationFrame(t)}(),r(),()=>{var e;u.forEach((e=>{n&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(f)}}const ze=me,Fe=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:n,y:a,placement:i,middlewareData:l}=t,s=await async function(e,t){const{placement:r,platform:o,elements:n}=e,a=await(null==o.isRTL?void 0:o.isRTL(n.floating)),i=ae(r),l=ie(r),s="y"===ce(r),c=["left","top"].includes(i)?-1:1,u=a&&s?-1:1,d=ne(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof h&&(p="end"===l?-1*h:h),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return i===(null==(r=l.offset)?void 0:r.placement)&&null!=(o=l.arrow)&&o.alignmentOffset?{}:{x:n+s.x,y:a+s.y,data:{...s,placement:i}}}}},Ve=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,n;const{rects:a,middlewareData:i,placement:l,platform:s,elements:c}=t,{crossAxis:u=!1,alignment:d,allowedPlacements:f=K,autoAlignment:p=!0,...h}=ne(e,t),b=void 0!==d||f===K?function(e,t,r){return(e?[...r.filter((t=>ie(t)===e)),...r.filter((t=>ie(t)!==e))]:r.filter((e=>ae(e)===e))).filter((r=>!e||ie(r)===e||!!t&&fe(r)!==r))}(d||null,p,f):f,g=await me(t,h),m=(null==(r=i.autoPlacement)?void 0:r.index)||0,y=b[m];if(null==y)return{};const v=de(y,a,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==y)return{reset:{placement:b[0]}};const x=[g[ae(y)],g[v[0]],g[v[1]]],w=[...(null==(o=i.autoPlacement)?void 0:o.overflows)||[],{placement:y,overflows:x}],O=b[m+1];if(O)return{data:{index:m+1,overflows:w},reset:{placement:O}};const _=w.map((e=>{const t=ie(e.placement);return[e.placement,t&&u?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),k=(null==(n=_.filter((e=>e[2].slice(0,ie(e[0])?2:3).every((e=>e<=0))))[0])?void 0:n[0])||_[0][0];return k!==l?{data:{index:m+1,overflows:w},reset:{placement:k}}:{}}}},Be=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:n}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...s}=ne(e,t),c={x:r,y:o},u=await me(t,s),d=ce(ae(n)),f=le(d);let p=c[f],h=c[d];if(a){const e="y"===f?"bottom":"right";p=oe(p+u["y"===f?"top":"left"],p,p-u[e])}if(i){const e="y"===d?"bottom":"right";h=oe(h+u["y"===d?"top":"left"],h,h-u[e])}const b=l.fn({...t,[f]:p,[d]:h});return{...b,data:{x:b.x-r,y:b.y-o,enabled:{[f]:a,[d]:i}}}}}},We=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:n,middlewareData:a,rects:i,initialPlacement:l,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:b=!0,...g}=ne(e,t);if(null!=(r=a.arrow)&&r.alignmentOffset)return{};const m=ae(n),y=ce(l),v=ae(l)===l,x=await(null==s.isRTL?void 0:s.isRTL(c.floating)),w=f||(v||!b?[pe(l)]:function(e){const t=pe(e);return[fe(e),t,fe(t)]}(l)),O="none"!==h;!f&&O&&w.push(...function(e,t,r,o){const n=ie(e);let a=function(e,t,r){const o=["left","right"],n=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return r?t?n:o:t?o:n;case"left":case"right":return t?a:i;default:return[]}}(ae(e),"start"===r,o);return n&&(a=a.map((e=>e+"-"+n)),t&&(a=a.concat(a.map(fe)))),a}(l,b,h,x));const _=[l,...w],k=await me(t,g),P=[];let C=(null==(o=a.flip)?void 0:o.overflows)||[];if(u&&P.push(k[m]),d){const e=de(n,i,x);P.push(k[e[0]],k[e[1]])}if(C=[...C,{placement:n,overflows:P}],!P.every((e=>e<=0))){var T,M;const e=((null==(T=a.flip)?void 0:T.index)||0)+1,t=_[e];if(t)return{data:{index:e,overflows:C},reset:{placement:t}};let r=null==(M=C.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:M.placement;if(!r)switch(p){case"bestFit":{var S;const e=null==(S=C.filter((e=>{if(O){const t=ce(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:S[0];e&&(r=e);break}case"initialPlacement":r=l}if(n!==r)return{reset:{placement:r}}}return{}}}},He=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:n,rects:a,platform:i,elements:l}=t,{apply:s=()=>{},...c}=ne(e,t),u=await me(t,c),d=ae(n),f=ie(n),p="y"===ce(n),{width:h,height:b}=a.floating;let g,m;"top"===d||"bottom"===d?(g=d,m=f===(await(null==i.isRTL?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(m=d,g="end"===f?"top":"bottom");const y=b-u.top-u.bottom,v=h-u.left-u.right,x=G(b-u[g],y),w=G(h-u[m],v),O=!t.middlewareData.shift;let _=x,k=w;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(k=v),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(_=y),O&&!f){const e=Z(u.left,0),t=Z(u.right,0),r=Z(u.top,0),o=Z(u.bottom,0);p?k=h-2*(0!==e||0!==t?e+t:Z(u.left,u.right)):_=b-2*(0!==r||0!==o?r+o:Z(u.top,u.bottom))}await s({...t,availableWidth:k,availableHeight:_});const P=await i.getDimensions(l.floating);return h!==P.width||b!==P.height?{reset:{rects:!0}}:{}}}},Ue=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...n}=ne(e,t);switch(o){case"referenceHidden":{const e=ye(await me(t,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ve(e)}}}case"escaped":{const e=ye(await me(t,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:ve(e)}}}default:return{}}}}},qe=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:n,rects:a,platform:i,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=ne(e,t)||{};if(null==c)return{};const d=he(u),f={x:r,y:o},p=ue(n),h=se(p),b=await i.getDimensions(c),g="y"===p,m=g?"top":"left",y=g?"bottom":"right",v=g?"clientHeight":"clientWidth",x=a.reference[h]+a.reference[p]-f[p]-a.floating[h],w=f[p]-a.reference[p],O=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let _=O?O[v]:0;_&&await(null==i.isElement?void 0:i.isElement(O))||(_=l.floating[v]||a.floating[h]);const k=x/2-w/2,P=_/2-b[h]/2-1,C=G(d[m],P),T=G(d[y],P),M=C,S=_-b[h]-T,E=_/2-b[h]/2+k,j=oe(M,E,S),A=!s.arrow&&null!=ie(n)&&E!==j&&a.reference[h]/2-(E<M?C:T)-b[h]/2<0,N=A?E<M?E-M:E-S:0;return{[p]:f[p]+N,data:{[p]:j,centerOffset:E-j-N,...A&&{alignmentOffset:N}},reset:A}}}),$e=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:o,rects:n,platform:a,strategy:i}=t,{padding:l=2,x:s,y:c}=ne(e,t),u=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(o.reference))||[]),d=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),r=[];let o=null;for(let e=0;e<t.length;e++){const n=t[e];!o||n.y-o.y>o.height/2?r.push([n]):r[r.length-1].push(n),o=n}return r.map((e=>be(xe(e))))}(u),f=be(xe(u)),p=he(l),h=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=s&&null!=c)return d.find((e=>s>e.left-p.left&&s<e.right+p.right&&c>e.top-p.top&&c<e.bottom+p.bottom))||f;if(d.length>=2){if("y"===ce(r)){const e=d[0],t=d[d.length-1],o="top"===ae(r),n=e.top,a=t.bottom,i=o?e.left:t.left,l=o?e.right:t.right;return{top:n,bottom:a,left:i,right:l,width:l-i,height:a-n,x:i,y:n}}const e="left"===ae(r),t=Z(...d.map((e=>e.right))),o=G(...d.map((e=>e.left))),n=d.filter((r=>e?r.left===o:r.right===t)),a=n[0].top,i=n[n.length-1].bottom;return{top:a,bottom:i,left:o,right:t,width:t-o,height:i-a,x:o,y:a}}return f}},floating:o.floating,strategy:i});return n.reference.x!==h.reference.x||n.reference.y!==h.reference.y||n.reference.width!==h.reference.width||n.reference.height!==h.reference.height?{reset:{rects:h}}:{}}}},Ye=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:n,rects:a,middlewareData:i}=t,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=ne(e,t),u={x:r,y:o},d=ce(n),f=le(d);let p=u[f],h=u[d];const b=ne(l,t),g="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(s){const e="y"===f?"height":"width",t=a.reference[f]-a.floating[e]+g.mainAxis,r=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>r&&(p=r)}if(c){var m,y;const e="y"===f?"width":"height",t=["top","left"].includes(ae(n)),r=a.reference[d]-a.floating[e]+(t&&(null==(m=i.offset)?void 0:m[d])||0)+(t?0:g.crossAxis),o=a.reference[d]+a.reference[e]+(t?0:(null==(y=i.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);h<r?h=r:h>o&&(h=o)}return{[f]:p,[d]:h}}}},Xe=(e,t,r)=>{const o=new Map,n={platform:Ie,...r},a={...n.platform,_c:o};return(async(e,t,r)=>{const{placement:o="bottom",strategy:n="absolute",middleware:a=[],platform:i}=r,l=a.filter(Boolean),s=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:n}),{x:u,y:d}=ge(c,o,s),f=o,p={},h=0;for(let r=0;r<l.length;r++){const{name:a,fn:b}=l[r],{x:g,y:m,data:y,reset:v}=await b({x:u,y:d,initialPlacement:o,placement:f,strategy:n,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=m?m:d,p={...p,[a]:{...p[a],...y}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(f=v.placement),v.rects&&(c=!0===v.rects?await i.getElementRects({reference:e,floating:t,strategy:n}):v.rects),({x:u,y:d}=ge(c,f,s))),r=-1)}return{x:u,y:d,placement:f,strategy:n,middlewareData:p}})(e,t,{...n,platform:a})},Ke=e=>{const{element:t,padding:r}=e;return{name:"arrow",options:e,fn(e){return o=t,Object.prototype.hasOwnProperty.call(o,"current")?null!=t.current?qe({element:t.current,padding:r}).fn(e):{}:t?qe({element:t,padding:r}).fn(e):{};var o}}};var Ge="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function Ze(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,o,n;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;0!=o--;)if(!Ze(e[o],t[o]))return!1;return!0}if(n=Object.keys(e),r=n.length,r!==Object.keys(t).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(t,n[o]))return!1;for(o=r;0!=o--;){const r=n[o];if(!("_owner"===r&&e.$$typeof||Ze(e[r],t[r])))return!1}return!0}return e!=e&&t!=t}function Je(e){const t=o.useRef(e);return Ge((()=>{t.current=e})),t}var Qe="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;let et=!1,tt=0;const rt=()=>"floating-ui-"+tt++,ot=o["useId".toString()]||function(){const[e,t]=o.useState((()=>et?rt():void 0));return Qe((()=>{null==e&&t(rt())}),[]),o.useEffect((()=>{et||(et=!0)}),[]),e};function nt(){const e=new Map;return{emit(t,r){var o;null==(o=e.get(t))||o.forEach((e=>e(r)))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){e.set(t,(e.get(t)||[]).filter((e=>e!==r)))}}}const at=o.createContext(null),it=o.createContext(null),lt=()=>{var e;return(null==(e=o.useContext(at))?void 0:e.id)||null},st=()=>o.useContext(it),ct=e=>{const t=ot(),r=st(),o=lt(),n=e||o;return Qe((()=>{const e={id:t,parentId:n};return null==r||r.addNode(e),()=>{null==r||r.removeNode(e)}}),[r,t,n]),t},ut=e=>{let{children:t,id:r}=e;const n=lt();return o.createElement(at.Provider,{value:o.useMemo((()=>({id:r,parentId:n})),[r,n])},t)},dt=e=>{let{children:t}=e;const r=o.useRef([]),n=o.useCallback((e=>{r.current=[...r.current,e]}),[]),a=o.useCallback((e=>{r.current=r.current.filter((t=>t!==e))}),[]),i=o.useState((()=>nt()))[0];return o.createElement(it.Provider,{value:o.useMemo((()=>({nodesRef:r,addNode:n,removeNode:a,events:i})),[r,n,a,i])},t)};function ft(e){return(null==e?void 0:e.ownerDocument)||document}function pt(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function ht(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:r}=e;return t+"/"+r})).join(" "):navigator.userAgent}function bt(e){return ft(e).defaultView||window}function gt(e){return!!e&&e instanceof bt(e).Element}function mt(e){return!!e&&e instanceof bt(e).HTMLElement}function yt(e){if(0===e.mozInputSource&&e.isTrusted)return!0;const t=/Android/i;return(t.test(pt())||t.test(ht()))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType}function vt(e){return 0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"!==e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail}function xt(){return/apple/i.test(navigator.vendor)}function wt(){return pt().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function Ot(e,t){const r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}function _t(e){const t=(0,o.useRef)(e);return Qe((()=>{t.current=e})),t}const kt="data-floating-ui-safe-polygon";function Pt(e,t,r){return r&&!Ot(r)?0:"number"==typeof e?e:null==e?void 0:e[t]}const Ct=function(e,t){let{enabled:r=!0,delay:n=0,handleClose:a=null,mouseOnly:i=!1,restMs:l=0,move:s=!0}=void 0===t?{}:t;const{open:c,onOpenChange:u,dataRef:d,events:f,elements:{domReference:p,floating:h},refs:b}=e,g=st(),m=lt(),y=_t(a),v=_t(n),x=o.useRef(),w=o.useRef(),O=o.useRef(),_=o.useRef(),k=o.useRef(!0),P=o.useRef(!1),C=o.useRef((()=>{})),T=o.useCallback((()=>{var e;const t=null==(e=d.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[d]);o.useEffect((()=>{if(r)return f.on("dismiss",e),()=>{f.off("dismiss",e)};function e(){clearTimeout(w.current),clearTimeout(_.current),k.current=!0}}),[r,f]),o.useEffect((()=>{if(!r||!y.current||!c)return;function e(){T()&&u(!1)}const t=ft(h).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[h,c,u,r,y,d,T]);const M=o.useCallback((function(e){void 0===e&&(e=!0);const t=Pt(v.current,"close",x.current);t&&!O.current?(clearTimeout(w.current),w.current=setTimeout((()=>u(!1)),t)):e&&(clearTimeout(w.current),u(!1))}),[v,u]),S=o.useCallback((()=>{C.current(),O.current=void 0}),[]),E=o.useCallback((()=>{if(P.current){const e=ft(b.floating.current).body;e.style.pointerEvents="",e.removeAttribute(kt),P.current=!1}}),[b]);return o.useEffect((()=>{if(r&>(p)){const e=p;return c&&e.addEventListener("mouseleave",a),null==h||h.addEventListener("mouseleave",a),s&&e.addEventListener("mousemove",o,{once:!0}),e.addEventListener("mouseenter",o),e.addEventListener("mouseleave",n),()=>{c&&e.removeEventListener("mouseleave",a),null==h||h.removeEventListener("mouseleave",a),s&&e.removeEventListener("mousemove",o),e.removeEventListener("mouseenter",o),e.removeEventListener("mouseleave",n)}}function t(){return!!d.current.openEvent&&["click","mousedown"].includes(d.current.openEvent.type)}function o(e){if(clearTimeout(w.current),k.current=!1,i&&!Ot(x.current)||l>0&&0===Pt(v.current,"open"))return;d.current.openEvent=e;const t=Pt(v.current,"open",x.current);t?w.current=setTimeout((()=>{u(!0)}),t):u(!0)}function n(r){if(t())return;C.current();const o=ft(h);if(clearTimeout(_.current),y.current){clearTimeout(w.current),O.current=y.current({...e,tree:g,x:r.clientX,y:r.clientY,onClose(){E(),S(),M()}});const t=O.current;return o.addEventListener("mousemove",t),void(C.current=()=>{o.removeEventListener("mousemove",t)})}M()}function a(r){t()||null==y.current||y.current({...e,tree:g,x:r.clientX,y:r.clientY,onClose(){S(),M()}})(r)}}),[p,h,r,e,i,l,s,M,S,E,u,c,g,v,y,d]),Qe((()=>{var e;if(r&&c&&null!=(e=y.current)&&e.__options.blockPointerEvents&&T()){const e=ft(h).body;if(e.setAttribute(kt,""),e.style.pointerEvents="none",P.current=!0,gt(p)&&h){var t,o;const e=p,r=null==g||null==(t=g.nodesRef.current.find((e=>e.id===m)))||null==(o=t.context)?void 0:o.elements.floating;return r&&(r.style.pointerEvents=""),e.style.pointerEvents="auto",h.style.pointerEvents="auto",()=>{e.style.pointerEvents="",h.style.pointerEvents=""}}}}),[r,c,m,h,p,g,y,d,T]),Qe((()=>{c||(x.current=void 0,S(),E())}),[c,S,E]),o.useEffect((()=>()=>{S(),clearTimeout(w.current),clearTimeout(_.current),E()}),[r,S,E]),o.useMemo((()=>{if(!r)return{};function e(e){x.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(){c||0===l||(clearTimeout(_.current),_.current=setTimeout((()=>{k.current||u(!0)}),l))}},floating:{onMouseEnter(){clearTimeout(w.current)},onMouseLeave(){f.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),M(!1)}}}}),[f,r,l,c,u,M])},Tt=o.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),Mt=()=>o.useContext(Tt),St=e=>{let{children:t,delay:r,timeoutMs:n=0}=e;const[a,i]=o.useReducer(((e,t)=>({...e,...t})),{delay:r,timeoutMs:n,initialDelay:r,currentId:null,isInstantPhase:!1}),l=o.useRef(null),s=o.useCallback((e=>{i({currentId:e})}),[]);return Qe((()=>{a.currentId?null===l.current?l.current=a.currentId:i({isInstantPhase:!0}):(i({isInstantPhase:!1}),l.current=null)}),[a.currentId]),o.createElement(Tt.Provider,{value:o.useMemo((()=>({...a,setState:i,setCurrentId:s})),[a,i,s])},t)},Et=(e,t)=>{let{open:r,onOpenChange:n}=e,{id:a}=t;const{currentId:i,setCurrentId:l,initialDelay:s,setState:c,timeoutMs:u}=Mt();o.useEffect((()=>{i&&(c({delay:{open:1,close:Pt(s,"close")}}),i!==a&&n(!1))}),[a,n,c,i,s]),o.useEffect((()=>{function e(){n(!1),c({delay:s,currentId:null})}if(!r&&i===a){if(u){const t=window.setTimeout(e,u);return()=>{clearTimeout(t)}}e()}}),[r,c,i,a,n,s,u]),o.useEffect((()=>{r&&l(a)}),[r,l,a])};function jt(){return jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},jt.apply(this,arguments)}function At(e){let t=e.activeElement;for(;null!=(null==(r=t)||null==(o=r.shadowRoot)?void 0:o.activeElement);){var r,o;t=t.shadowRoot.activeElement}return t}function Nt(e,t){if(!e||!t)return!1;const r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&(o=r,"undefined"!=typeof ShadowRoot&&(o instanceof bt(o).ShadowRoot||o instanceof ShadowRoot))){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}var o;return!1}let Rt=0;function It(e,t){void 0===t&&(t={});const{preventScroll:r=!1,cancelPrevious:o=!0,sync:n=!1}=t;o&&cancelAnimationFrame(Rt);const a=()=>null==e?void 0:e.focus({preventScroll:r});n?a():Rt=requestAnimationFrame(a)}function Dt(e,t){let r=e.filter((e=>{var r;return e.parentId===t&&(null==(r=e.context)?void 0:r.open)}))||[],o=r;for(;o.length;)o=e.filter((e=>{var t;return null==(t=o)?void 0:t.some((t=>{var r;return e.parentId===t.id&&(null==(r=e.context)?void 0:r.open)}))}))||[],r=r.concat(o);return r}function Lt(e){return"composedPath"in e?e.composedPath()[0]:e.target}const zt="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function Ft(e){return mt(e)&&e.matches(zt)}function Vt(e){e.preventDefault(),e.stopPropagation()}const Bt=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function Wt(e,t){const r=P(e,Bt());"prev"===t&&r.reverse();const o=r.indexOf(At(ft(e)));return r.slice(o+1)[0]}function Ht(){return Wt(document.body,"next")}function Ut(){return Wt(document.body,"prev")}function qt(e,t){const r=t||e.currentTarget,o=e.relatedTarget;return!o||!Nt(r,o)}function $t(e){P(e,Bt()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function Yt(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const Xt=o["useInsertionEffect".toString()]||(e=>e());function Kt(e){const t=o.useRef((()=>{}));return Xt((()=>{t.current=e})),o.useCallback((function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return null==t.current?void 0:t.current(...r)}),[])}const Gt={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let Zt,Jt;function Qt(e){"Tab"===e.key&&(Zt=e.target,clearTimeout(Jt))}const er=o.forwardRef((function(e,t){const r=Kt(e.onFocus),[n,a]=o.useState();return Qe((()=>(xt()&&a("button"),document.addEventListener("keydown",Qt),()=>{document.removeEventListener("keydown",Qt)})),[]),o.createElement("span",jt({},e,{ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,"data-floating-ui-focus-guard":"",style:Gt,onFocus:e=>{xt()&&wt()&&!function(e){const t=Zt===e.relatedTarget;return Zt=e.relatedTarget,clearTimeout(Jt),t}(e)?(e.persist(),Jt=window.setTimeout((()=>{r(e)}),50)):r(e)}}))})),tr=o.createContext(null),rr=function(e){let{id:t,enabled:r=!0}=void 0===e?{}:e;const[n,a]=o.useState(null),i=ot(),l=nr();return Qe((()=>{if(!r)return;const e=t?document.getElementById(t):null;if(!e){const e=document.createElement("div");""!==t&&(e.id=t||i),e.setAttribute("data-floating-ui-portal",""),a(e);const r=(null==l?void 0:l.portalNode)||document.body;return r.appendChild(e),()=>{r.removeChild(e)}}e.setAttribute("data-floating-ui-portal",""),a(e)}),[t,l,i,r]),n},or=e=>{let{children:t,id:r,root:n=null,preserveTabOrder:a=!0}=e;const i=rr({id:r,enabled:!n}),[l,s]=o.useState(null),c=o.useRef(null),u=o.useRef(null),d=o.useRef(null),f=o.useRef(null),p=!!l&&!l.modal&&!(!n&&!i)&&a;return o.useEffect((()=>{if(i&&a&&(null==l||!l.modal))return i.addEventListener("focusin",e,!0),i.addEventListener("focusout",e,!0),()=>{i.removeEventListener("focusin",e,!0),i.removeEventListener("focusout",e,!0)};function e(e){i&&qt(e)&&("focusin"===e.type?Yt:$t)(i)}}),[i,a,null==l?void 0:l.modal]),o.createElement(tr.Provider,{value:o.useMemo((()=>({preserveTabOrder:a,beforeOutsideRef:c,afterOutsideRef:u,beforeInsideRef:d,afterInsideRef:f,portalNode:i,setFocusManagerState:s})),[a,i])},p&&i&&o.createElement(er,{"data-type":"outside",ref:c,onFocus:e=>{if(qt(e,i)){var t;null==(t=d.current)||t.focus()}else{const e=Ut()||(null==l?void 0:l.refs.domReference.current);null==e||e.focus()}}}),p&&i&&o.createElement("span",{"aria-owns":i.id,style:Gt}),n?(0,C.createPortal)(t,n):i?(0,C.createPortal)(t,i):null,p&&i&&o.createElement(er,{"data-type":"outside",ref:u,onFocus:e=>{if(qt(e,i)){var t;null==(t=f.current)||t.focus()}else{const e=Ht()||(null==l?void 0:l.refs.domReference.current);null==e||e.focus(),(null==l?void 0:l.closeOnFocusOut)&&(null==l||l.onOpenChange(!1))}}}))},nr=()=>o.useContext(tr),ar=o.forwardRef((function(e,t){return o.createElement("button",jt({},e,{type:"button",ref:t,tabIndex:-1,style:Gt}))}));function ir(e){let{context:t,children:r,order:n=["content"],guards:a=!0,initialFocus:i=0,returnFocus:l=!0,modal:s=!0,visuallyHiddenDismiss:u=!1,closeOnFocusOut:d=!0}=e;const{refs:f,nodeId:p,onOpenChange:h,events:b,dataRef:g,elements:{domReference:m,floating:y}}=t,v=_t(n),x=st(),w=nr(),[O,_]=o.useState(null),k="number"==typeof i&&i<0,C=o.useRef(null),T=o.useRef(null),M=o.useRef(!1),S=o.useRef(null),E=o.useRef(!1),j=null!=w,A=m&&"combobox"===m.getAttribute("role")&&Ft(m),N=o.useCallback((function(e){return void 0===e&&(e=y),e?P(e,Bt()):[]}),[y]),R=o.useCallback((e=>{const t=N(e);return v.current.map((e=>m&&"reference"===e?m:y&&"floating"===e?y:t)).filter(Boolean).flat()}),[m,y,v,N]);o.useEffect((()=>{if(!s)return;function e(e){if("Tab"===e.key){0!==N().length||A||Vt(e);const t=R(),r=Lt(e);"reference"===v.current[0]&&r===m&&(Vt(e),e.shiftKey?It(t[t.length-1]):It(t[1])),"floating"===v.current[1]&&r===y&&e.shiftKey&&(Vt(e),It(t[0]))}}const t=ft(y);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}}),[m,y,s,v,f,A,N,R]),o.useEffect((()=>{if(d)return y&&mt(m)?(m.addEventListener("focusout",t),m.addEventListener("pointerdown",e),!s&&y.addEventListener("focusout",t),()=>{m.removeEventListener("focusout",t),m.removeEventListener("pointerdown",e),!s&&y.removeEventListener("focusout",t)}):void 0;function e(){E.current=!0,setTimeout((()=>{E.current=!1}))}function t(e){const t=e.relatedTarget,r=!(Nt(m,t)||Nt(y,t)||Nt(t,y)||Nt(null==w?void 0:w.portalNode,t)||null!=t&&t.hasAttribute("data-floating-ui-focus-guard")||x&&(Dt(x.nodesRef.current,p).find((e=>{var r,o;return Nt(null==(r=e.context)?void 0:r.elements.floating,t)||Nt(null==(o=e.context)?void 0:o.elements.domReference,t)}))||function(e,t){var r;let o=[],n=null==(r=e.find((e=>e.id===t)))?void 0:r.parentId;for(;n;){const t=e.find((e=>e.id===n));n=null==t?void 0:t.parentId,t&&(o=o.concat(t))}return o}(x.nodesRef.current,p).find((e=>{var r,o;return(null==(r=e.context)?void 0:r.elements.floating)===t||(null==(o=e.context)?void 0:o.elements.domReference)===t}))));t&&r&&!E.current&&t!==S.current&&(M.current=!0,setTimeout((()=>h(!1))))}}),[m,y,s,p,x,w,h,d]),o.useEffect((()=>{var e;const t=Array.from((null==w||null==(e=w.portalNode)?void 0:e.querySelectorAll("[data-floating-ui-portal]"))||[]);if(y&&s){const e=[y,...t,...[C.current,T.current].filter(Boolean)],r=c(v.current.includes("reference")||A?e.concat(m||[]):e);return()=>{r()}}}),[m,y,s,v,w,A]),o.useEffect((()=>{if(s&&!a&&y){const e=[],t=Bt(),r=P(ft(y).body,t),o=R(),n=r.filter((e=>!o.includes(e)));return n.forEach(((t,r)=>{e[r]=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")})),()=>{n.forEach(((t,r)=>{const o=e[r];null==o?t.removeAttribute("tabindex"):t.setAttribute("tabindex",o)}))}}}),[y,s,a,R]),Qe((()=>{if(!y)return;const e=ft(y);let t=l,r=!1;const o=At(e),n=g.current;S.current=o;const a=R(y),s=("number"==typeof i?a[i]:i.current)||y;function c(e){if("escapeKey"===e.type&&f.domReference.current&&(S.current=f.domReference.current),["referencePress","escapeKey"].includes(e.type))return;const o=e.data.returnFocus;"object"==typeof o?(t=!0,r=o.preventScroll):t=o}return!k&&It(s,{preventScroll:s===y}),b.on("dismiss",c),()=>{var o;b.off("dismiss",c),Nt(y,At(e))&&f.domReference.current&&(S.current=f.domReference.current),t&&mt(S.current)&&!M.current&&(!f.domReference.current||E.current?It(S.current,{cancelPrevious:!1,preventScroll:r}):(n.__syncReturnFocus=!0,null==(o=S.current)||o.focus({preventScroll:r}),setTimeout((()=>{delete n.__syncReturnFocus}))))}}),[y,R,i,l,g,f,b,k]),Qe((()=>{if(w)return w.setFocusManagerState({...t,modal:s,closeOnFocusOut:d}),()=>{w.setFocusManagerState(null)}}),[w,s,d,t]),Qe((()=>{if(!k&&y&&(e(),"function"==typeof MutationObserver)){const t=new MutationObserver(e);return t.observe(y,{childList:!0,subtree:!0}),()=>{t.disconnect()}}function e(){_(N().length)}}),[y,N,k,f]);const I=a&&(j||s)&&!A;function D(e){return u&&s?o.createElement(ar,{ref:"start"===e?C:T,onClick:()=>h(!1)},"string"==typeof u?u:"Dismiss"):null}return o.createElement(o.Fragment,null,I&&o.createElement(er,{"data-type":"inside",ref:null==w?void 0:w.beforeInsideRef,onFocus:e=>{if(s){const e=R();It("reference"===n[0]?e[0]:e[e.length-1])}else if(null!=w&&w.preserveTabOrder&&w.portalNode)if(M.current=!1,qt(e,w.portalNode)){const e=Ht()||m;null==e||e.focus()}else{var t;null==(t=w.beforeOutsideRef.current)||t.focus()}}}),A?null:D("start"),o.cloneElement(r,0===O||n.includes("floating")?{tabIndex:0}:{}),D("end"),I&&o.createElement(er,{"data-type":"inside",ref:null==w?void 0:w.afterInsideRef,onFocus:e=>{if(s)It(R()[0]);else if(null!=w&&w.preserveTabOrder&&w.portalNode)if(M.current=!0,qt(e,w.portalNode)){const e=Ut()||m;null==e||e.focus()}else{var t;null==(t=w.afterOutsideRef.current)||t.focus()}}}))}const lr="data-floating-ui-scroll-lock",sr=o.forwardRef((function(e,t){let{lockScroll:r=!1,...n}=e;return Qe((()=>{var e,t;if(!r)return;if(document.body.hasAttribute(lr))return;document.body.setAttribute(lr,"");const o=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",n=window.innerWidth-document.documentElement.clientWidth;if(!/iP(hone|ad|od)|iOS/.test(pt()))return Object.assign(document.body.style,{overflow:"hidden",[o]:n+"px"}),()=>{document.body.removeAttribute(lr),Object.assign(document.body.style,{overflow:"",[o]:""})};const a=(null==(e=window.visualViewport)?void 0:e.offsetLeft)||0,i=(null==(t=window.visualViewport)?void 0:t.offsetTop)||0,l=window.pageXOffset,s=window.pageYOffset;return Object.assign(document.body.style,{position:"fixed",overflow:"hidden",top:-(s-Math.floor(i))+"px",left:-(l-Math.floor(a))+"px",right:"0",[o]:n+"px"}),()=>{Object.assign(document.body.style,{position:"",overflow:"",top:"",left:"",right:"",[o]:""}),document.body.removeAttribute(lr),window.scrollTo(l,s)}}),[r]),o.createElement("div",jt({ref:t},n,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...n.style}}))}));function cr(e){return mt(e.target)&&"BUTTON"===e.target.tagName}function ur(e){return Ft(e)}const dr=function(e,t){let{open:r,onOpenChange:n,dataRef:a,elements:{domReference:i}}=e,{enabled:l=!0,event:s="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:d=!0}=void 0===t?{}:t;const f=o.useRef();return o.useMemo((()=>l?{reference:{onPointerDown(e){f.current=e.pointerType},onMouseDown(e){0===e.button&&(Ot(f.current,!0)&&u||"click"!==s&&(r?!c||a.current.openEvent&&"mousedown"!==a.current.openEvent.type||n(!1):(e.preventDefault(),n(!0)),a.current.openEvent=e.nativeEvent))},onClick(e){a.current.__syncReturnFocus||("mousedown"===s&&f.current?f.current=void 0:Ot(f.current,!0)&&u||(r?!c||a.current.openEvent&&"click"!==a.current.openEvent.type||n(!1):n(!0),a.current.openEvent=e.nativeEvent))},onKeyDown(e){f.current=void 0,d&&(cr(e)||(" "!==e.key||ur(i)||e.preventDefault(),"Enter"===e.key&&(r?c&&n(!1):n(!0))))},onKeyUp(e){d&&(cr(e)||ur(i)||" "===e.key&&(r?c&&n(!1):n(!0)))}}}:{}),[l,a,s,u,d,i,c,r,n])};function fr(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return null!=r.target&&t.contains(r.target)}const pr={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},hr={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},br=function(e,t){let{open:r,onOpenChange:n,events:a,nodeId:i,elements:{reference:l,domReference:s,floating:c},dataRef:u}=e,{enabled:d=!0,escapeKey:f=!0,outsidePress:p=!0,outsidePressEvent:h="pointerdown",referencePress:b=!1,referencePressEvent:g="pointerdown",ancestorScroll:m=!1,bubbles:y=!0}=void 0===t?{}:t;const v=st(),x=null!=lt(),w=Kt("function"==typeof p?p:()=>!1),O="function"==typeof p?w:p,_=o.useRef(!1),{escapeKeyBubbles:k,outsidePressBubbles:P}=function(e){var t,r;return void 0===e&&(e=!0),{escapeKeyBubbles:"boolean"==typeof e?e:null==(t=e.escapeKey)||t,outsidePressBubbles:"boolean"==typeof e?e:null==(r=e.outsidePress)||r}}(y);return o.useEffect((()=>{if(!r||!d)return;function e(e){if("Escape"===e.key){const e=v?Dt(v.nodesRef.current,i):[];if(e.length>0){let t=!0;if(e.forEach((e=>{var r;null==(r=e.context)||!r.open||e.context.dataRef.current.__escapeKeyBubbles||(t=!1)})),!t)return}a.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),n(!1)}}function t(e){const t=_.current;if(_.current=!1,t)return;if("function"==typeof O&&!O(e))return;const r=Lt(e);if(mt(r)&&c){const t=c.ownerDocument.defaultView||window,o=r.scrollWidth>r.clientWidth,n=r.scrollHeight>r.clientHeight;let a=n&&e.offsetX>r.clientWidth;if(n&&"rtl"===t.getComputedStyle(r).direction&&(a=e.offsetX<=r.offsetWidth-r.clientWidth),a||o&&e.offsetY>r.clientHeight)return}const o=v&&Dt(v.nodesRef.current,i).some((t=>{var r;return fr(e,null==(r=t.context)?void 0:r.elements.floating)}));if(fr(e,c)||fr(e,s)||o)return;const l=v?Dt(v.nodesRef.current,i):[];if(l.length>0){let e=!0;if(l.forEach((t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}a.emit("dismiss",{type:"outsidePress",data:{returnFocus:x?{preventScroll:!0}:yt(e)||vt(e)}}),n(!1)}function o(){n(!1)}u.current.__escapeKeyBubbles=k,u.current.__outsidePressBubbles=P;const p=ft(c);f&&p.addEventListener("keydown",e),O&&p.addEventListener(h,t);let b=[];return m&&(gt(s)&&(b=q(s)),gt(c)&&(b=b.concat(q(c))),!gt(l)&&l&&l.contextElement&&(b=b.concat(q(l.contextElement)))),b=b.filter((e=>{var t;return e!==(null==(t=p.defaultView)?void 0:t.visualViewport)})),b.forEach((e=>{e.addEventListener("scroll",o,{passive:!0})})),()=>{f&&p.removeEventListener("keydown",e),O&&p.removeEventListener(h,t),b.forEach((e=>{e.removeEventListener("scroll",o)}))}}),[u,c,s,l,f,O,h,a,v,i,r,n,m,d,k,P,x]),o.useEffect((()=>{_.current=!1}),[O,h]),o.useMemo((()=>d?{reference:{[pr[g]]:()=>{b&&(a.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),n(!1))}},floating:{[hr[h]]:()=>{_.current=!0}}}:{}),[d,a,b,h,g,n])},gr=function(e,t){let{open:r,onOpenChange:n,dataRef:a,events:i,refs:l,elements:{floating:s,domReference:c}}=e,{enabled:u=!0,keyboardOnly:d=!0}=void 0===t?{}:t;const f=o.useRef(""),p=o.useRef(!1),h=o.useRef();return o.useEffect((()=>{if(!u)return;const e=ft(s).defaultView||window;function t(){!r&&mt(c)&&c===At(ft(c))&&(p.current=!0)}return e.addEventListener("blur",t),()=>{e.removeEventListener("blur",t)}}),[s,c,r,u]),o.useEffect((()=>{if(u)return i.on("dismiss",e),()=>{i.off("dismiss",e)};function e(e){"referencePress"!==e.type&&"escapeKey"!==e.type||(p.current=!0)}}),[i,u]),o.useEffect((()=>()=>{clearTimeout(h.current)}),[]),o.useMemo((()=>u?{reference:{onPointerDown(e){let{pointerType:t}=e;f.current=t,p.current=!(!t||!d)},onMouseLeave(){p.current=!1},onFocus(e){var t;p.current||"focus"===e.type&&"mousedown"===(null==(t=a.current.openEvent)?void 0:t.type)&&a.current.openEvent&&fr(a.current.openEvent,c)||(a.current.openEvent=e.nativeEvent,n(!0))},onBlur(e){p.current=!1;const t=e.relatedTarget,r=gt(t)&&t.hasAttribute("data-floating-ui-focus-guard")&&"outside"===t.getAttribute("data-type");h.current=setTimeout((()=>{Nt(l.floating.current,t)||Nt(c,t)||r||n(!1)}))}}}:{}),[u,d,c,l,a,n])};let mr=!1;const yr="ArrowUp",vr="ArrowDown",xr="ArrowLeft",wr="ArrowRight";function Or(e,t,r){return Math.floor(e/t)!==r}function _r(e,t){return t<0||t>=e.current.length}function kr(e,t){let{startingIndex:r=-1,decrement:o=!1,disabledIndices:n,amount:a=1}=void 0===t?{}:t;const i=e.current;let l=r;do{var s,c;l+=o?-a:a}while(l>=0&&l<=i.length-1&&(n?n.includes(l):null==i[l]||(null==(s=i[l])?void 0:s.hasAttribute("disabled"))||"true"===(null==(c=i[l])?void 0:c.getAttribute("aria-disabled"))));return l}function Pr(e,t,r){switch(e){case"vertical":return t;case"horizontal":return r;default:return t||r}}function Cr(e,t){return Pr(t,e===yr||e===vr,e===xr||e===wr)}function Tr(e,t,r){return Pr(t,e===vr,r?e===xr:e===wr)||"Enter"===e||" "==e||""===e}function Mr(e,t){return kr(e,{disabledIndices:t})}function Sr(e,t){return kr(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}const Er=function(e,t){let{open:r,onOpenChange:n,refs:a,elements:{domReference:i}}=e,{listRef:l,activeIndex:s,onNavigate:c=()=>{},enabled:u=!0,selectedIndex:d=null,allowEscape:f=!1,loop:p=!1,nested:h=!1,rtl:b=!1,virtual:g=!1,focusItemOnOpen:m="auto",focusItemOnHover:y=!0,openOnArrowKeyDown:v=!0,disabledIndices:x,orientation:w="vertical",cols:O=1,scrollItemIntoView:_=!0}=void 0===t?{listRef:{current:[]},activeIndex:null,onNavigate:()=>{}}:t;const k=lt(),P=st(),T=Kt(c),M=o.useRef(m),S=o.useRef(null!=d?d:-1),E=o.useRef(null),j=o.useRef(!0),A=o.useRef(T),N=o.useRef(r),R=o.useRef(!1),I=o.useRef(!1),D=_t(x),L=_t(r),z=_t(_),[F,V]=o.useState(),B=o.useCallback((function(e,t,r){void 0===r&&(r=!1);const o=e.current[t.current];g?V(null==o?void 0:o.id):It(o,{preventScroll:!0,sync:!(!wt()||!xt())&&(mr||R.current)}),requestAnimationFrame((()=>{const e=z.current;e&&o&&(r||!j.current)&&(null==o.scrollIntoView||o.scrollIntoView("boolean"==typeof e?{block:"nearest",inline:"nearest"}:e))}))}),[g,z]);Qe((()=>{document.createElement("div").focus({get preventScroll(){return mr=!0,!1}})}),[]),Qe((()=>{u&&(r?M.current&&null!=d&&(I.current=!0,T(d)):N.current&&(S.current=-1,A.current(null)))}),[u,r,d,T]),Qe((()=>{if(u&&r)if(null==s){if(R.current=!1,null!=d)return;N.current&&(S.current=-1,B(l,S)),!N.current&&M.current&&(null!=E.current||!0===M.current&&null==E.current)&&(S.current=null==E.current||Tr(E.current,w,b)||h?Mr(l,D.current):Sr(l,D.current),T(S.current))}else _r(l,s)||(S.current=s,B(l,S,I.current),I.current=!1)}),[u,r,s,d,h,l,w,b,T,B,D]),Qe((()=>{if(u&&N.current&&!r){var e,t;const r=null==P||null==(e=P.nodesRef.current.find((e=>e.id===k)))||null==(t=e.context)?void 0:t.elements.floating;r&&!Nt(r,At(ft(r)))&&r.focus({preventScroll:!0})}}),[u,r,P,k]),Qe((()=>{E.current=null,A.current=T,N.current=r}));const W=null!=s,H=o.useMemo((()=>{function e(e){if(!r)return;const t=l.current.indexOf(e);-1!==t&&T(t)}return{onFocus(t){let{currentTarget:r}=t;e(r)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...y&&{onMouseMove(t){let{currentTarget:r}=t;e(r)},onPointerLeave(){var e;j.current&&(S.current=-1,B(l,S),(0,C.flushSync)((()=>T(null))),g||null==(e=a.floating.current)||e.focus({preventScroll:!0}))}}}}),[r,a,B,y,l,T,g]);return o.useMemo((()=>{if(!u)return{};const e=D.current;function t(t){if(j.current=!1,R.current=!0,!L.current&&t.currentTarget===a.floating.current)return;if(h&&function(e,t,r){return Pr(t,r?e===wr:e===xr,e===yr)}(t.key,w,b))return Vt(t),n(!1),void(mt(i)&&i.focus());const o=S.current,s=Mr(l,e),c=Sr(l,e);if("Home"===t.key&&(S.current=s,T(S.current)),"End"===t.key&&(S.current=c,T(S.current)),O>1){const r=S.current;if(t.key===yr){if(Vt(t),-1===r)S.current=c;else if(S.current=kr(l,{startingIndex:r,amount:O,decrement:!0,disabledIndices:e}),p&&(r-O<s||S.current<0)){const e=r%O,t=c%O,o=c-(t-e);S.current=t===e?c:t>e?o:o-O}_r(l,S.current)&&(S.current=r),T(S.current)}if(t.key===vr&&(Vt(t),-1===r?S.current=s:(S.current=kr(l,{startingIndex:r,amount:O,disabledIndices:e}),p&&r+O>c&&(S.current=kr(l,{startingIndex:r%O-O,amount:O,disabledIndices:e}))),_r(l,S.current)&&(S.current=r),T(S.current)),"both"===w){const o=Math.floor(r/O);t.key===wr&&(Vt(t),r%O!=O-1?(S.current=kr(l,{startingIndex:r,disabledIndices:e}),p&&Or(S.current,O,o)&&(S.current=kr(l,{startingIndex:r-r%O-1,disabledIndices:e}))):p&&(S.current=kr(l,{startingIndex:r-r%O-1,disabledIndices:e})),Or(S.current,O,o)&&(S.current=r)),t.key===xr&&(Vt(t),r%O!=0?(S.current=kr(l,{startingIndex:r,disabledIndices:e,decrement:!0}),p&&Or(S.current,O,o)&&(S.current=kr(l,{startingIndex:r+(O-r%O),decrement:!0,disabledIndices:e}))):p&&(S.current=kr(l,{startingIndex:r+(O-r%O),decrement:!0,disabledIndices:e})),Or(S.current,O,o)&&(S.current=r));const n=Math.floor(c/O)===o;return _r(l,S.current)&&(S.current=p&&n?t.key===xr?c:kr(l,{startingIndex:r-r%O-1,disabledIndices:e}):r),void T(S.current)}}if(Cr(t.key,w)){if(Vt(t),r&&!g&&At(t.currentTarget.ownerDocument)===t.currentTarget)return S.current=Tr(t.key,w,b)?s:c,void T(S.current);Tr(t.key,w,b)?S.current=p?o>=c?f&&o!==l.current.length?-1:s:kr(l,{startingIndex:o,disabledIndices:e}):Math.min(c,kr(l,{startingIndex:o,disabledIndices:e})):S.current=p?o<=s?f&&-1!==o?l.current.length:c:kr(l,{startingIndex:o,decrement:!0,disabledIndices:e}):Math.max(s,kr(l,{startingIndex:o,decrement:!0,disabledIndices:e})),_r(l,S.current)?T(null):T(S.current)}}function o(e){"auto"===m&&yt(e.nativeEvent)&&(M.current=!0)}const s=g&&r&&W&&{"aria-activedescendant":F};return{reference:{...s,onKeyDown(o){j.current=!1;const a=0===o.key.indexOf("Arrow");if(g&&r)return t(o);(r||v||!a)&&((a||"Enter"===o.key||" "===o.key||""===o.key)&&(E.current=o.key),h?function(e,t,r){return Pr(t,r?e===xr:e===wr,e===vr)}(o.key,w,b)&&(Vt(o),r?(S.current=Mr(l,e),T(S.current)):n(!0)):Cr(o.key,w)&&(null!=d&&(S.current=d),Vt(o),!r&&v?n(!0):t(o),r&&T(S.current)))},onFocus(){r&&T(null)},onPointerDown:function(e){M.current=m,"auto"===m&&vt(e.nativeEvent)&&(M.current=!0)},onMouseDown:o,onClick:o},floating:{"aria-orientation":"both"===w?void 0:w,...s,onKeyDown:t,onPointerMove(){j.current=!0}},item:H}}),[i,a,F,D,L,l,u,w,b,g,r,W,h,d,v,f,O,p,m,T,n,H])};function jr(e){return o.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}),e)}const Ar=function(e,t){let{open:r}=e,{enabled:n=!0,role:a="dialog"}=void 0===t?{}:t;const i=ot(),l=ot();return o.useMemo((()=>{const e={id:i,role:a};return n?"tooltip"===a?{reference:{"aria-describedby":r?i:void 0},floating:e}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===a?"dialog":a,"aria-controls":r?i:void 0,..."listbox"===a&&{role:"combobox"},..."menu"===a&&{id:l}},floating:{...e,..."menu"===a&&{"aria-labelledby":l}}}:{}}),[n,a,r,i,l])},Nr=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((e,t)=>(t?"-":"")+e.toLowerCase()));function Rr(e,t){let{open:r,elements:{floating:n}}=e,{duration:a=250}=void 0===t?{}:t;const i=("number"==typeof a?a:a.close)||0,[l,s]=o.useState(!1),[c,u]=o.useState("unmounted"),d=function(e,t){const[r,n]=o.useState(e);return e&&!r&&n(!0),o.useEffect((()=>{if(!e){const e=setTimeout((()=>n(!1)),t);return()=>clearTimeout(e)}}),[e,t]),r}(r,i);return Qe((()=>{l&&!d&&u("unmounted")}),[l,d]),Qe((()=>{if(n){if(r){u("initial");const e=requestAnimationFrame((()=>{u("open")}));return()=>{cancelAnimationFrame(e)}}s(!0),u("close")}}),[r,n]),{isMounted:d,status:c}}function Ir(e,t){let{initial:r={opacity:0},open:n,close:a,common:i,duration:l=250}=void 0===t?{}:t;const s=e.placement,c=s.split("-")[0],[u,d]=o.useState({}),{isMounted:f,status:p}=Rr(e,{duration:l}),h=_t(r),b=_t(n),g=_t(a),m=_t(i),y="number"==typeof l,v=(y?l:l.open)||0,x=(y?l:l.close)||0;return Qe((()=>{const e={side:c,placement:s},t=h.current,r=g.current,o=b.current,n=m.current,a="function"==typeof t?t(e):t,i="function"==typeof r?r(e):r,l="function"==typeof n?n(e):n,u=("function"==typeof o?o(e):o)||Object.keys(a).reduce(((e,t)=>(e[t]="",e)),{});if("initial"===p&&d((e=>({transitionProperty:e.transitionProperty,...l,...a}))),"open"===p&&d({transitionProperty:Object.keys(u).map(Nr).join(","),transitionDuration:v+"ms",...l,...u}),"close"===p){const e=i||a;d({transitionProperty:Object.keys(e).map(Nr).join(","),transitionDuration:x+"ms",...l,...e})}}),[c,s,x,g,h,b,m,v,p]),{isMounted:f,styles:u}}const Dr=function(e,t){var r;let{open:n,dataRef:a}=e,{listRef:i,activeIndex:l,onMatch:s=()=>{},enabled:c=!0,findMatch:u=null,resetMs:d=1e3,ignoreKeys:f=[],selectedIndex:p=null}=void 0===t?{listRef:{current:[]},activeIndex:null}:t;const h=o.useRef(),b=o.useRef(""),g=o.useRef(null!=(r=null!=p?p:l)?r:-1),m=o.useRef(null),y=Kt(s),v=_t(u),x=_t(f);return Qe((()=>{n&&(clearTimeout(h.current),m.current=null,b.current="")}),[n]),Qe((()=>{var e;n&&""===b.current&&(g.current=null!=(e=null!=p?p:l)?e:-1)}),[n,p,l]),o.useMemo((()=>{if(!c)return{};function e(e){const t=Lt(e.nativeEvent);if(gt(t)&&At(ft(t))!==e.currentTarget&&t.closest('[role="dialog"],[role="menu"],[role="listbox"],[role="tree"],[role="grid"]')!==e.currentTarget)return;b.current.length>0&&" "!==b.current[0]&&(a.current.typing=!0," "===e.key&&Vt(e));const r=i.current;if(null==r||x.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;r.every((e=>{var t,r;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(r=e[1])?void 0:r.toLocaleLowerCase())}))&&b.current===e.key&&(b.current="",g.current=m.current),b.current+=e.key,clearTimeout(h.current),h.current=setTimeout((()=>{b.current="",g.current=m.current,a.current.typing=!1}),d);const o=g.current,n=[...r.slice((o||0)+1),...r.slice(0,(o||0)+1)],l=v.current?v.current(n,b.current):n.find((e=>0===(null==e?void 0:e.toLocaleLowerCase().indexOf(b.current.toLocaleLowerCase())))),s=l?r.indexOf(l):-1;-1!==s&&(y(s),m.current=s)}return{reference:{onKeyDown:e},floating:{onKeyDown:e}}}),[c,a,i,d,x,v,y])};function Lr(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const zr=e=>({name:"inner",options:e,async fn(t){const{listRef:r,overflowRef:o,onFallbackChange:n,offset:a=0,index:i=0,minItemsVisible:l=4,referenceOverflowThreshold:s=0,scrollRef:c,...u}=e,{rects:d,elements:{floating:f}}=t,p=r.current[i];if(!p)return{};const h={...t,...await Fe(-p.offsetTop-d.reference.height/2-p.offsetHeight/2-a).fn(t)},b=(null==c?void 0:c.current)||f,g=await ze(Lr(h,b.scrollHeight),u),m=await ze(h,{...u,elementContext:"reference"}),y=Math.max(0,g.top),v=h.y+y,x=Math.max(0,b.scrollHeight-y-Math.max(0,g.bottom));return b.style.maxHeight=x+"px",b.scrollTop=y,n&&(b.offsetHeight<p.offsetHeight*Math.min(l,r.current.length-1)-1||m.top>=-s||m.bottom>=-s?(0,C.flushSync)((()=>n(!0))):(0,C.flushSync)((()=>n(!1)))),o&&(o.current=await ze(Lr({...h,y:v},b.offsetHeight),u)),{y:v}}}),Fr=(e,t)=>{let{open:r,elements:n}=e,{enabled:a=!0,overflowRef:i,scrollRef:l,onChange:s}=t;const c=Kt(s),u=o.useRef(!1),d=o.useRef(null),f=o.useRef(null);return o.useEffect((()=>{if(!a)return;function e(e){if(e.ctrlKey||!t||null==i.current)return;const r=e.deltaY,o=i.current.top>=-.5,n=i.current.bottom>=-.5,a=t.scrollHeight-t.clientHeight,l=r<0?-1:1,s=r<0?"max":"min";t.scrollHeight<=t.clientHeight||(!o&&r>0||!n&&r<0?(e.preventDefault(),(0,C.flushSync)((()=>{c((e=>e+Math[s](r,a*l)))}))):/firefox/i.test(ht())&&(t.scrollTop+=r))}const t=(null==l?void 0:l.current)||n.floating;return r&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{d.current=t.scrollTop,null!=i.current&&(f.current={...i.current})})),()=>{d.current=null,f.current=null,t.removeEventListener("wheel",e)}):void 0}),[a,r,n.floating,i,l,c]),o.useMemo((()=>a?{floating:{onKeyDown(){u.current=!0},onWheel(){u.current=!1},onPointerMove(){u.current=!1},onScroll(){const e=(null==l?void 0:l.current)||n.floating;if(i.current&&e&&u.current){if(null!==d.current){const t=e.scrollTop-d.current;(i.current.bottom<-.5&&t<-1||i.current.top<-.5&&t>1)&&(0,C.flushSync)((()=>c((e=>e+t))))}requestAnimationFrame((()=>{d.current=e.scrollTop}))}}}}:{}),[a,i,n.floating,l,c])};function Vr(e){let t,{restMs:r=0,buffer:o=.5,blockPointerEvents:n=!1}=void 0===e?{}:e,a=!1,i=!1;const l=e=>{let{x:n,y:l,placement:s,elements:c,onClose:u,nodeId:d,tree:f}=e;return function(e){function p(){clearTimeout(t),u()}if(clearTimeout(t),!c.domReference||!c.floating||null==s||null==n||null==l)return;const{clientX:h,clientY:b}=e,g=[h,b],m=Lt(e),y="mouseleave"===e.type,v=Nt(c.floating,m),x=Nt(c.domReference,m),w=c.domReference.getBoundingClientRect(),O=c.floating.getBoundingClientRect(),_=s.split("-")[0],k=n>O.right-O.width/2,P=l>O.bottom-O.height/2,C=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(g,w);if(v&&(i=!0),x&&(i=!1),x&&!y)return void(i=!0);if(y&>(e.relatedTarget)&&Nt(c.floating,e.relatedTarget))return;if(f&&Dt(f.nodesRef.current,d).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===_&&l>=w.bottom-1||"bottom"===_&&l<=w.top+1||"left"===_&&n>=w.right-1||"right"===_&&n<=w.left+1)return p();let T=[];switch(_){case"top":T=[[O.left,w.top+1],[O.left,O.bottom-1],[O.right,O.bottom-1],[O.right,w.top+1]],a=h>=O.left&&h<=O.right&&b>=O.top&&b<=w.top+1;break;case"bottom":T=[[O.left,O.top+1],[O.left,w.bottom-1],[O.right,w.bottom-1],[O.right,O.top+1]],a=h>=O.left&&h<=O.right&&b>=w.bottom-1&&b<=O.bottom;break;case"left":T=[[O.right-1,O.bottom],[O.right-1,O.top],[w.left+1,O.top],[w.left+1,O.bottom]],a=h>=O.left&&h<=w.left+1&&b>=O.top&&b<=O.bottom;break;case"right":T=[[w.right-1,O.bottom],[w.right-1,O.top],[O.left+1,O.top],[O.left+1,O.bottom]],a=h>=w.right-1&&h<=O.right&&b>=O.top&&b<=O.bottom}const M=a?T:function(e){let[t,r]=e;const n=O.width>w.width,a=O.height>w.height;switch(_){case"top":return[[n?t+o/2:k?t+4*o:t-4*o,r+o+1],[n?t-o/2:k?t+4*o:t-4*o,r+o+1],[O.left,k||n?O.bottom-o:O.top],[O.right,k?n?O.bottom-o:O.top:O.bottom-o]];case"bottom":return[[n?t+o/2:k?t+4*o:t-4*o,r-o],[n?t-o/2:k?t+4*o:t-4*o,r-o],[O.left,k||n?O.top+o:O.bottom],[O.right,k?n?O.top+o:O.bottom:O.top+o]];case"left":{const e=[t+o+1,a?r+o/2:P?r+4*o:r-4*o],n=[t+o+1,a?r-o/2:P?r+4*o:r-4*o];return[[P||a?O.right-o:O.left,O.top],[P?a?O.right-o:O.left:O.right-o,O.bottom],e,n]}case"right":return[[t-o,a?r+o/2:P?r+4*o:r-4*o],[t-o,a?r-o/2:P?r+4*o:r-4*o],[P||a?O.left+o:O.right,O.top],[P?a?O.left+o:O.right:O.left+o,O.bottom]]}}([n,l]);return a?void 0:i&&!C?p():void(function(e,t){const[r,o]=e;let n=!1;const a=t.length;for(let e=0,i=a-1;e<a;i=e++){const[a,l]=t[e]||[0,0],[s,c]=t[i]||[0,0];l>=o!=c>=o&&r<=(s-a)*(o-l)/(c-l)+a&&(n=!n)}return n}([h,b],M)?r&&!i&&(t=setTimeout(p,r)):p())}};return l.__options={blockPointerEvents:n},l}function Br(e){void 0===e&&(e={});const{open:t=!1,onOpenChange:r,nodeId:n}=e,a=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,whileElementsMounted:i,open:l}=e,[s,c]=o.useState({x:null,y:null,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[u,d]=o.useState(n);Ze(u,n)||d(n);const f=o.useRef(null),p=o.useRef(null),h=o.useRef(s),b=Je(i),g=Je(a),[m,y]=o.useState(null),[v,x]=o.useState(null),w=o.useCallback((e=>{f.current!==e&&(f.current=e,y(e))}),[]),O=o.useCallback((e=>{p.current!==e&&(p.current=e,x(e))}),[]),_=o.useCallback((()=>{if(!f.current||!p.current)return;const e={placement:t,strategy:r,middleware:u};g.current&&(e.platform=g.current),Xe(f.current,p.current,e).then((e=>{const t={...e,isPositioned:!0};k.current&&!Ze(h.current,t)&&(h.current=t,C.flushSync((()=>{c(t)})))}))}),[u,t,r,g]);Ge((()=>{!1===l&&h.current.isPositioned&&(h.current.isPositioned=!1,c((e=>({...e,isPositioned:!1}))))}),[l]);const k=o.useRef(!1);Ge((()=>(k.current=!0,()=>{k.current=!1})),[]),Ge((()=>{if(m&&v){if(b.current)return b.current(m,v,_);_()}}),[m,v,_,b]);const P=o.useMemo((()=>({reference:f,floating:p,setReference:w,setFloating:O})),[w,O]),T=o.useMemo((()=>({reference:m,floating:v})),[m,v]);return o.useMemo((()=>({...s,update:_,refs:P,elements:T,reference:w,floating:O})),[s,_,P,T,w,O])}(e),i=st(),l=o.useRef(null),s=o.useRef({}),c=o.useState((()=>nt()))[0],[u,d]=o.useState(null),f=o.useCallback((e=>{const t=gt(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;a.refs.setReference(t)}),[a.refs]),p=o.useCallback((e=>{(gt(e)||null===e)&&(l.current=e,d(e)),(gt(a.refs.reference.current)||null===a.refs.reference.current||null!==e&&!gt(e))&&a.refs.setReference(e)}),[a.refs]),h=o.useMemo((()=>({...a.refs,setReference:p,setPositionReference:f,domReference:l})),[a.refs,p,f]),b=o.useMemo((()=>({...a.elements,domReference:u})),[a.elements,u]),g=Kt(r),m=o.useMemo((()=>({...a,refs:h,elements:b,dataRef:s,nodeId:n,events:c,open:t,onOpenChange:g})),[a,n,c,t,g,h,b]);return Qe((()=>{const e=null==i?void 0:i.nodesRef.current.find((e=>e.id===n));e&&(e.context=m)})),o.useMemo((()=>({...a,context:m,refs:h,reference:p,positionReference:f})),[a,h,m,p,f])}function Wr(e,t,r){const o=new Map;return{..."floating"===r&&{tabIndex:-1},...e,...t.map((e=>e?e[r]:null)).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[r,n]=t;var a;0===r.indexOf("on")?(o.has(r)||o.set(r,[]),"function"==typeof n&&(null==(a=o.get(r))||a.push(n),e[r]=function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];null==(e=o.get(r))||e.forEach((e=>e(...n)))})):e[r]=n})),e):e),{})}}const Hr=function(e){void 0===e&&(e=[]);const t=e,r=o.useCallback((t=>Wr(t,e,"reference")),t),n=o.useCallback((t=>Wr(t,e,"floating")),t),a=o.useCallback((t=>Wr(t,e,"item")),e.map((e=>null==e?void 0:e.item)));return o.useMemo((()=>({getReferenceProps:r,getFloatingProps:n,getItemProps:a})),[r,n,a])}},982:(e,t,r)=>{"use strict";function o(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r.d(t,{g:()=>Sr});const i=()=>{};let l={},s={},c=null,u={mark:i,measure:i};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(s=document),"undefined"!=typeof MutationObserver&&(c=MutationObserver),"undefined"!=typeof performance&&(u=performance)}catch(e){}const{userAgent:d=""}=l.navigator||{},f=l,p=s,h=c,b=u,g=(f.document,!!p.documentElement&&!!p.head&&"function"==typeof p.addEventListener&&"function"==typeof p.createElement),m=~d.indexOf("MSIE")||~d.indexOf("Trident/");var y={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},v=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],x="classic",w="duotone",O=[x,w,"sharp","sharp-duotone"],_=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),k=["fak","fa-kit","fakd","fa-kit-duotone"],P=["fak","fakd"],C={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},T=["fak","fa-kit","fakd","fa-kit-duotone"],M={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},S=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],E=[1,2,3,4,5,6,7,8,9,10],j=E.concat([11,12,13,14,15,16,17,18,19,20]),A=[...Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]}),"solid","regular","light","thin","duotone","brands","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",C.GROUP,C.SWAP_OPACITY,C.PRIMARY,C.SECONDARY].concat(E.map((e=>"".concat(e,"x")))).concat(j.map((e=>"w-".concat(e))));const N="___FONT_AWESOME___",R=16,I="svg-inline--fa",D="data-fa-i2svg",L="data-fa-pseudo-element",z="data-prefix",F="data-icon",V="fontawesome-i2svg",B=["HTML","HEAD","STYLE","SCRIPT"],W=(()=>{try{return!0}catch(e){return!1}})();function H(e){return new Proxy(e,{get:(e,t)=>t in e?e[t]:e[x]})}const U=a({},y);U[x]=a(a(a(a({},{"fa-duotone":"duotone"}),y[x]),{fak:"kit","fa-kit":"kit"}),{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"});const q=H(U),$=a({},{classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}});$[x]=a(a(a(a({},{duotone:"fad"}),$[x]),{kit:"fak"}),{"kit-duotone":"fakd"});const Y=H($),X=a({},M);X[x]=a(a({},X[x]),{fak:"fa-kit"});const K=H(X),G=a({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}});G[x]=a(a({},G[x]),{"fa-kit":"fak"}),H(G);const Z=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,J="fa-layers-text",Q=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,ee=(H(a({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}})),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),te="duotone-group",re="primary",oe="secondary",ne=["kit",...A],ae=f.FontAwesomeConfig||{};p&&"function"==typeof p.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((e=>{let[t,r]=e;const o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=p.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t));null!=o&&(ae[r]=o)}));const ie={styleDefault:"solid",familyDefault:x,cssPrefix:"fa",replacementClass:I,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ae.familyPrefix&&(ae.cssPrefix=ae.familyPrefix);const le=a(a({},ie),ae);le.autoReplaceSvg||(le.observeMutations=!1);const se={};Object.keys(ie).forEach((e=>{Object.defineProperty(se,e,{enumerable:!0,set:function(t){le[e]=t,ce.forEach((e=>e(se)))},get:function(){return le[e]}})})),Object.defineProperty(se,"familyPrefix",{enumerable:!0,set:function(e){le.cssPrefix=e,ce.forEach((e=>e(se)))},get:function(){return le.cssPrefix}}),f.FontAwesomeConfig=se;const ce=[],ue=R,de={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function fe(){let e=12,t="";for(;e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function pe(e){const t=[];for(let r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function he(e){return e.classList?pe(e.classList):(e.getAttribute("class")||"").split(" ").filter((e=>e))}function be(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function ge(e){return Object.keys(e||{}).reduce(((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";")),"")}function me(e){return e.size!==de.size||e.x!==de.x||e.y!==de.y||e.rotate!==de.rotate||e.flipX||e.flipY}function ye(){const e="fa",t=I,r=se.cssPrefix,o=se.replacementClass;let n=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n 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));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}';if(r!==e||o!==t){const a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");n=n.replace(a,".".concat(r,"-")).replace(i,"--".concat(r,"-")).replace(l,".".concat(o))}return n}let ve=!1;function xe(){se.autoAddCss&&!ve&&(function(e){if(!e||!g)return;const t=p.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const r=p.head.childNodes;let o=null;for(let e=r.length-1;e>-1;e--){const t=r[e],n=(t.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(n)>-1&&(o=t)}p.head.insertBefore(t,o)}(ye()),ve=!0)}var we={mixout:()=>({dom:{css:ye,insertCss:xe}}),hooks:()=>({beforeDOMElementCreation(){xe()},beforeI2svg(){xe()}})};const Oe=f||{};Oe[N]||(Oe[N]={}),Oe[N].styles||(Oe[N].styles={}),Oe[N].hooks||(Oe[N].hooks={}),Oe[N].shims||(Oe[N].shims=[]);var _e=Oe[N];const ke=[],Pe=function(){p.removeEventListener("DOMContentLoaded",Pe),Ce=1,ke.map((e=>e()))};let Ce=!1;function Te(e){const{tag:t,attributes:r={},children:o=[]}=e;return"string"==typeof e?be(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(((t,r)=>t+"".concat(r,'="').concat(be(e[r]),'" ')),"").trim()}(r),">").concat(o.map(Te).join(""),"</").concat(t,">")}function Me(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}g&&(Ce=(p.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(p.readyState),Ce||p.addEventListener("DOMContentLoaded",Pe));var Se=function(e,t,r,o){var n,a,i,l=Object.keys(e),s=l.length,c=void 0!==o?function(e,t){return function(r,o,n,a){return e.call(t,r,o,n,a)}}(t,o):t;for(void 0===r?(n=1,i=e[l[0]]):(n=0,i=r);n<s;n++)i=c(i,e[a=l[n]],a,e);return i};function Ee(e){const t=function(e){const t=[];let r=0;const o=e.length;for(;r<o;){const n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<o){const o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&n)<<10)+(1023&o)+65536):(t.push(n),r--)}else t.push(n)}return t}(e);return 1===t.length?t[0].toString(16):null}function je(e){return Object.keys(e).reduce(((t,r)=>{const o=e[r];return o.icon?t[o.iconName]=o.icon:t[r]=o,t}),{})}function Ae(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:o=!1}=r,n=je(t);"function"!=typeof _e.hooks.addPack||o?_e.styles[e]=a(a({},_e.styles[e]||{}),n):_e.hooks.addPack(e,je(t)),"fas"===e&&Ae("fa",t)}const{styles:Ne,shims:Re}=_e,Ie=Object.keys(K),De=Ie.reduce(((e,t)=>(e[t]=Object.keys(K[t]),e)),{});let Le=null,ze={},Fe={},Ve={},Be={},We={};const He=()=>{const e=e=>Se(Ne,((t,r,o)=>(t[o]=Se(r,e,{}),t)),{});ze=e(((e,t,r)=>(t[3]&&(e[t[3]]=r),t[2]&&t[2].filter((e=>"number"==typeof e)).forEach((t=>{e[t.toString(16)]=r})),e))),Fe=e(((e,t,r)=>(e[r]=r,t[2]&&t[2].filter((e=>"string"==typeof e)).forEach((t=>{e[t]=r})),e))),We=e(((e,t,r)=>{const o=t[2];return e[r]=r,o.forEach((t=>{e[t]=r})),e}));const t="far"in Ne||se.autoFetchSvg,r=Se(Re,((e,r)=>{const o=r[0];let n=r[1];const a=r[2];return"far"!==n||t||(n="fas"),"string"==typeof o&&(e.names[o]={prefix:n,iconName:a}),"number"==typeof o&&(e.unicodes[o.toString(16)]={prefix:n,iconName:a}),e}),{names:{},unicodes:{}});Ve=r.names,Be=r.unicodes,Le=Ke(se.styleDefault,{family:se.familyDefault})};var Ue;function qe(e,t){return(ze[e]||{})[t]}function $e(e,t){return(We[e]||{})[t]}function Ye(e){return Ve[e]||{prefix:null,iconName:null}}function Xe(){return Le}function Ke(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:r=x}=t,o=q[r][e];if(r===w&&!e)return"fad";const n=Y[r][e]||Y[r][o],a=e in _e.styles?e:null;return n||a||null}function Ge(e){return e.sort().filter(((e,t,r)=>r.indexOf(e)===t))}function Ze(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:r=!1}=t;let o=null;const n=S.concat(T),i=Ge(e.filter((e=>n.includes(e)))),l=Ge(e.filter((e=>!S.includes(e)))),s=i.filter((e=>(o=e,!v.includes(e)))),[c=null]=s,u=function(e){let t=x;const r=Ie.reduce(((e,t)=>(e[t]="".concat(se.cssPrefix,"-").concat(t),e)),{});return O.forEach((o=>{(e.includes(r[o])||e.some((e=>De[o].includes(e))))&&(t=o)})),t}(i),d=a(a({},function(e){let t=[],r=null;return e.forEach((e=>{const o=function(e,t){const r=t.split("-"),o=r[0],n=r.slice(1).join("-");return o!==e||""===n||(a=n,~ne.indexOf(a))?null:n;var a}(se.cssPrefix,e);o?r=o:e&&t.push(e)})),{iconName:r,rest:t}}(l)),{},{prefix:Ke(c,{family:u})});return a(a(a({},d),function(e){const{values:t,family:r,canonical:o,givenPrefix:n="",styles:a={},config:i={}}=e,l=r===w,s=t.includes("fa-duotone")||t.includes("fad"),c="duotone"===i.familyDefault,u="fad"===o.prefix||"fa-duotone"===o.prefix;if(!l&&(s||c||u)&&(o.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(o.prefix="fab"),!o.prefix&&Je.includes(r)&&(Object.keys(a).find((e=>Qe.includes(e)))||i.autoFetchSvg)){const e=_.get(r).defaultShortPrefixId;o.prefix=e,o.iconName=$e(o.prefix,o.iconName)||o.iconName}return"fa"!==o.prefix&&"fa"!==n||(o.prefix=Xe()||"fas"),o}({values:e,family:u,styles:Ne,config:se,canonical:d,givenPrefix:o})),function(e,t,r){let{prefix:o,iconName:n}=r;if(e||!o||!n)return{prefix:o,iconName:n};const a="fa"===t?Ye(n):{},i=$e(o,n);return n=a.iconName||i||n,o=a.prefix||o,"far"!==o||Ne.far||!Ne.fas||se.autoFetchSvg||(o="fas"),{prefix:o,iconName:n}}(r,o,d))}Ue=e=>{Le=Ke(e.styleDefault,{family:se.familyDefault})},ce.push(Ue),He();const Je=O.filter((e=>e!==x||e!==w)),Qe=Object.keys(M).filter((e=>e!==x)).map((e=>Object.keys(M[e]))).flat();let et=[],tt={};const rt={},ot=Object.keys(rt);function nt(e,t){for(var r=arguments.length,o=new Array(r>2?r-2:0),n=2;n<r;n++)o[n-2]=arguments[n];return(tt[e]||[]).forEach((e=>{t=e.apply(null,[t,...o])})),t}function at(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];(tt[e]||[]).forEach((e=>{e.apply(null,r)}))}function it(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return rt[e]?rt[e].apply(null,t):void 0}function lt(e){"fa"===e.prefix&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||Xe();if(t)return t=$e(r,t)||t,Me(st.definitions,r,t)||Me(_e.styles,r,t)}const st=new class{constructor(){this.definitions={}}add(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const o=t.reduce(this._pullDefinitions,{});Object.keys(o).forEach((e=>{this.definitions[e]=a(a({},this.definitions[e]||{}),o[e]),Ae(e,o[e]);const t=K[x][e];t&&Ae(t,o[e]),He()}))}reset(){this.definitions={}}_pullDefinitions(e,t){const r=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(r).map((t=>{const{prefix:o,iconName:n,icon:a}=r[t],i=a[2];e[o]||(e[o]={}),i.length>0&&i.forEach((t=>{"string"==typeof t&&(e[o][t]=a)})),e[o][n]=a})),e}},ct={i2svg:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g?(at("beforeI2svg",e),it("pseudoElements2svg",e),it("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;var r;!1===se.autoReplaceSvg&&(se.autoReplaceSvg=!0),se.observeMutations=!0,r=()=>{ft({autoReplaceSvgRoot:t}),at("watch",e)},g&&(Ce?setTimeout(r,0):ke.push(r))}},ut={icon:e=>{if(null===e)return null;if("object"==typeof e&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:$e(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){const t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],r=Ke(e[0]);return{prefix:r,iconName:$e(r,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(se.cssPrefix,"-"))>-1||e.match(Z))){const t=Ze(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Xe(),iconName:$e(t.prefix,t.iconName)||t.iconName}}if("string"==typeof e){const t=Xe();return{prefix:t,iconName:$e(t,e)||e}}}},dt={noAuto:()=>{se.autoReplaceSvg=!1,se.observeMutations=!1,at("noAuto")},config:se,dom:ct,parse:ut,library:st,findIconDefinition:lt,toHtml:Te},ft=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t=p}=e;(Object.keys(_e.styles).length>0||se.autoFetchSvg)&&g&&se.autoReplaceSvg&&dt.dom.i2svg({node:t})};function pt(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((e=>Te(e)))}}),Object.defineProperty(e,"node",{get:function(){if(!g)return;const t=p.createElement("div");return t.innerHTML=e.html,t.children}}),e}function ht(e){const{icons:{main:t,mask:r},prefix:o,iconName:n,transform:i,symbol:l,title:s,maskId:c,titleId:u,extra:d,watchable:f=!1}=e,{width:p,height:h}=r.found?r:t,b=P.includes(o),g=[se.replacementClass,n?"".concat(se.cssPrefix,"-").concat(n):""].filter((e=>-1===d.classes.indexOf(e))).filter((e=>""!==e||!!e)).concat(d.classes).join(" ");let m={children:[],attributes:a(a({},d.attributes),{},{"data-prefix":o,"data-icon":n,class:g,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(h)})};const y=b&&!~d.classes.indexOf("fa-fw")?{width:"".concat(p/h*16*.0625,"em")}:{};f&&(m.attributes[D]=""),s&&(m.children.push({tag:"title",attributes:{id:m.attributes["aria-labelledby"]||"title-".concat(u||fe())},children:[s]}),delete m.attributes.title);const v=a(a({},m),{},{prefix:o,iconName:n,main:t,mask:r,maskId:c,transform:i,symbol:l,styles:a(a({},y),d.styles)}),{children:x,attributes:w}=r.found&&t.found?it("generateAbstractMask",v)||{children:[],attributes:{}}:it("generateAbstractIcon",v)||{children:[],attributes:{}};return v.children=x,v.attributes=w,l?function(e){let{prefix:t,iconName:r,children:o,attributes:n,symbol:i}=e;const l=!0===i?"".concat(t,"-").concat(se.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:a(a({},n),{},{id:l}),children:o}]}]}(v):function(e){let{children:t,main:r,mask:o,attributes:n,styles:i,transform:l}=e;if(me(l)&&r.found&&!o.found){const{width:e,height:t}=r,o={x:e/t/2,y:.5};n.style=ge(a(a({},i),{},{"transform-origin":"".concat(o.x+l.x/16,"em ").concat(o.y+l.y/16,"em")}))}return[{tag:"svg",attributes:n,children:t}]}(v)}function bt(e){const{content:t,width:r,height:o,transform:n,title:i,extra:l,watchable:s=!1}=e,c=a(a(a({},l.attributes),i?{title:i}:{}),{},{class:l.classes.join(" ")});s&&(c[D]="");const u=a({},l.styles);me(n)&&(u.transform=function(e){let{transform:t,width:r=R,height:o=R,startCentered:n=!1}=e,a="";return a+=n&&m?"translate(".concat(t.x/ue-r/2,"em, ").concat(t.y/ue-o/2,"em) "):n?"translate(calc(-50% + ".concat(t.x/ue,"em), calc(-50% + ").concat(t.y/ue,"em)) "):"translate(".concat(t.x/ue,"em, ").concat(t.y/ue,"em) "),a+="scale(".concat(t.size/ue*(t.flipX?-1:1),", ").concat(t.size/ue*(t.flipY?-1:1),") "),a+="rotate(".concat(t.rotate,"deg) "),a}({transform:n,startCentered:!0,width:r,height:o}),u["-webkit-transform"]=u.transform);const d=ge(u);d.length>0&&(c.style=d);const f=[];return f.push({tag:"span",attributes:c,children:[t]}),i&&f.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),f}const{styles:gt}=_e;function mt(e){const t=e[0],r=e[1],[o]=e.slice(4);let n=null;return n=Array.isArray(o)?{tag:"g",attributes:{class:"".concat(se.cssPrefix,"-").concat(te)},children:[{tag:"path",attributes:{class:"".concat(se.cssPrefix,"-").concat(oe),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(se.cssPrefix,"-").concat(re),fill:"currentColor",d:o[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:t,height:r,icon:n}}const yt={found:!1,width:512,height:512};function vt(e,t){let r=t;return"fa"===t&&null!==se.styleDefault&&(t=Xe()),new Promise(((o,n)=>{if("fa"===r){const r=Ye(e)||{};e=r.iconName||e,t=r.prefix||t}if(e&&t&>[t]&>[t][e])return o(mt(gt[t][e]));!function(e,t){W||se.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),o(a(a({},yt),{},{icon:se.showMissingIcons&&e&&it("missingIconAbstract")||{}}))}))}const xt=()=>{},wt=se.measurePerformance&&b&&b.mark&&b.measure?b:{mark:xt,measure:xt},Ot='FA "6.7.2"';var _t=e=>(wt.mark("".concat(Ot," ").concat(e," begins")),()=>(e=>{wt.mark("".concat(Ot," ").concat(e," ends")),wt.measure("".concat(Ot," ").concat(e),"".concat(Ot," ").concat(e," begins"),"".concat(Ot," ").concat(e," ends"))})(e));const kt=()=>{};function Pt(e){return"string"==typeof(e.getAttribute?e.getAttribute(D):null)}function Ct(e){return p.createElementNS("http://www.w3.org/2000/svg",e)}function Tt(e){return p.createElement(e)}function Mt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:r=("svg"===e.tag?Ct:Tt)}=t;if("string"==typeof e)return p.createTextNode(e);const o=r(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){o.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){o.appendChild(Mt(e,{ceFn:r}))})),o}const St={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach((e=>{t.parentNode.insertBefore(Mt(e),t)})),null===t.getAttribute(D)&&se.keepOriginalSource){let e=p.createComment(function(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}(t));t.parentNode.replaceChild(e,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~he(t).indexOf(se.replacementClass))return St.replace(e);const o=new RegExp("".concat(se.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){const e=r[0].attributes.class.split(" ").reduce(((e,t)=>(t===se.replacementClass||t.match(o)?e.toSvg.push(t):e.toNode.push(t),e)),{toNode:[],toSvg:[]});r[0].attributes.class=e.toSvg.join(" "),0===e.toNode.length?t.removeAttribute("class"):t.setAttribute("class",e.toNode.join(" "))}const n=r.map((e=>Te(e))).join("\n");t.setAttribute(D,""),t.innerHTML=n}};function Et(e){e()}function jt(e,t){const r="function"==typeof t?t:kt;if(0===e.length)r();else{let t=Et;"async"===se.mutateApproach&&(t=f.requestAnimationFrame||Et),t((()=>{const t=!0===se.autoReplaceSvg?St.replace:St[se.autoReplaceSvg]||St.replace,o=_t("mutate");e.map(t),o(),r()}))}}let At=!1;function Nt(){At=!0}function Rt(){At=!1}let It=null;function Dt(e){if(!h)return;if(!se.observeMutations)return;const{treeCallback:t=kt,nodeCallback:r=kt,pseudoElementsCallback:o=kt,observeMutationsRoot:n=p}=e;It=new h((e=>{if(At)return;const n=Xe();pe(e).forEach((e=>{if("childList"===e.type&&e.addedNodes.length>0&&!Pt(e.addedNodes[0])&&(se.searchPseudoElements&&o(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&se.searchPseudoElements&&o(e.target.parentNode),"attributes"===e.type&&Pt(e.target)&&~ee.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){const t=e.getAttribute?e.getAttribute(z):null,r=e.getAttribute?e.getAttribute(F):null;return t&&r}(e.target)){const{prefix:t,iconName:r}=Ze(he(e.target));e.target.setAttribute(z,t||n),r&&e.target.setAttribute(F,r)}else(a=e.target)&&a.classList&&a.classList.contains&&a.classList.contains(se.replacementClass)&&r(e.target);var a}))})),g&&It.observe(n,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Lt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:r,prefix:o,rest:n}=function(e){const t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"";let n=Ze(he(e));return n.prefix||(n.prefix=Xe()),t&&r&&(n.prefix=t,n.iconName=r),n.iconName&&n.prefix||(n.prefix&&o.length>0&&(n.iconName=(a=n.prefix,i=e.innerText,(Fe[a]||{})[i]||qe(n.prefix,Ee(e.innerText)))),!n.iconName&&se.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(n.iconName=e.firstChild.data)),n;var a,i}(e),i=function(e){const t=pe(e.attributes).reduce(((e,t)=>("class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e)),{}),r=e.getAttribute("title"),o=e.getAttribute("data-fa-title-id");return se.autoA11y&&(r?t["aria-labelledby"]="".concat(se.replacementClass,"-title-").concat(o||fe()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),l=nt("parseNodeAttributes",{},e);let s=t.styleParser?function(e){const t=e.getAttribute("style");let r=[];return t&&(r=t.split(";").reduce(((e,t)=>{const r=t.split(":"),o=r[0],n=r.slice(1);return o&&n.length>0&&(e[o]=n.join(":").trim()),e}),{})),r}(e):[];return a({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:de,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:n,styles:s,attributes:i}},l)}const{styles:zt}=_e;function Ft(e){const t="nest"===se.autoReplaceSvg?Lt(e,{styleParser:!1}):Lt(e);return~t.extra.classes.indexOf(J)?it("generateLayersText",e,t):it("generateSvgReplacementMutation",e,t)}function Vt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!g)return Promise.resolve();const r=p.documentElement.classList,o=e=>r.add("".concat(V,"-").concat(e)),n=e=>r.remove("".concat(V,"-").concat(e)),a=se.autoFetchSvg?[...k,...S]:v.concat(Object.keys(zt));a.includes("fa")||a.push("fa");const i=[".".concat(J,":not([").concat(D,"])")].concat(a.map((e=>".".concat(e,":not([").concat(D,"])")))).join(", ");if(0===i.length)return Promise.resolve();let l=[];try{l=pe(e.querySelectorAll(i))}catch(e){}if(!(l.length>0))return Promise.resolve();o("pending"),n("complete");const s=_t("onTree"),c=l.reduce(((e,t)=>{try{const r=Ft(t);r&&e.push(r)}catch(e){W||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise(((e,r)=>{Promise.all(c).then((r=>{jt(r,(()=>{o("active"),o("complete"),n("pending"),"function"==typeof t&&t(),s(),e()}))})).catch((e=>{s(),r(e)}))}))}function Bt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Ft(e).then((e=>{e&&jt([e],t)}))}const Wt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:r=de,symbol:o=!1,mask:n=null,maskId:i=null,title:l=null,titleId:s=null,classes:c=[],attributes:u={},styles:d={}}=t;if(!e)return;const{prefix:f,iconName:p,icon:h}=e;return pt(a({type:"icon"},e),(()=>(at("beforeDOMElementCreation",{iconDefinition:e,params:t}),se.autoA11y&&(l?u["aria-labelledby"]="".concat(se.replacementClass,"-title-").concat(s||fe()):(u["aria-hidden"]="true",u.focusable="false")),ht({icons:{main:mt(h),mask:n?mt(n.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:p,transform:a(a({},de),r),symbol:o,title:l,maskId:i,titleId:s,extra:{attributes:u,styles:d,classes:c}}))))};var Ht={mixout(){return{icon:(e=Wt,function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=(t||{}).icon?t:lt(t||{});let{mask:n}=r;return n&&(n=(n||{}).icon?n:lt(n||{})),e(o,a(a({},r),{},{mask:n}))})};var e},hooks:()=>({mutationObserverCallbacks:e=>(e.treeCallback=Vt,e.nodeCallback=Bt,e)}),provides(e){e.i2svg=function(e){const{node:t=p,callback:r=()=>{}}=e;return Vt(t,r)},e.generateSvgReplacementMutation=function(e,t){const{iconName:r,title:o,titleId:n,prefix:a,transform:i,symbol:l,mask:s,maskId:c,extra:u}=t;return new Promise(((t,d)=>{Promise.all([vt(r,a),s.iconName?vt(s.iconName,s.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((s=>{let[d,f]=s;t([e,ht({icons:{main:d,mask:f},prefix:a,iconName:r,transform:i,symbol:l,maskId:c,title:o,titleId:n,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){let{children:t,attributes:r,main:o,transform:n,styles:a}=e;const i=ge(a);let l;return i.length>0&&(r.style=i),me(n)&&(l=it("generateAbstractTransformGrouping",{main:o,transform:n,containerWidth:o.width,iconWidth:o.width})),t.push(l||o.icon),{children:t,attributes:r}}}},Ut={mixout:()=>({layer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:r=[]}=t;return pt({type:"layer"},(()=>{at("beforeDOMElementCreation",{assembler:e,params:t});let o=[];return e((e=>{Array.isArray(e)?e.map((e=>{o=o.concat(e.abstract)})):o=o.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(se.cssPrefix,"-layers"),...r].join(" ")},children:o}]}))}})},qt={mixout:()=>({counter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:r=null,classes:o=[],attributes:n={},styles:i={}}=t;return pt({type:"counter",content:e},(()=>(at("beforeDOMElementCreation",{content:e,params:t}),function(e){const{content:t,title:r,extra:o}=e,n=a(a(a({},o.attributes),r?{title:r}:{}),{},{class:o.classes.join(" ")}),i=ge(o.styles);i.length>0&&(n.style=i);const l=[];return l.push({tag:"span",attributes:n,children:[t]}),r&&l.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),l}({content:e.toString(),title:r,extra:{attributes:n,styles:i,classes:["".concat(se.cssPrefix,"-layers-counter"),...o]}}))))}})},$t={mixout:()=>({text(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:r=de,title:o=null,classes:n=[],attributes:i={},styles:l={}}=t;return pt({type:"text",content:e},(()=>(at("beforeDOMElementCreation",{content:e,params:t}),bt({content:e,transform:a(a({},de),r),title:o,extra:{attributes:i,styles:l,classes:["".concat(se.cssPrefix,"-layers-text"),...n]}}))))}}),provides(e){e.generateLayersText=function(e,t){const{title:r,transform:o,extra:n}=t;let a=null,i=null;if(m){const t=parseInt(getComputedStyle(e).fontSize,10),r=e.getBoundingClientRect();a=r.width/t,i=r.height/t}return se.autoA11y&&!r&&(n.attributes["aria-hidden"]="true"),Promise.resolve([e,bt({content:e.innerHTML,width:a,height:i,transform:o,title:r,extra:n,watchable:!0})])}}};const Yt=new RegExp('"',"ug"),Xt=[1105920,1112319],Kt=a(a(a(a({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),Gt=Object.keys(Kt).reduce(((e,t)=>(e[t.toLowerCase()]=Kt[t],e)),{}),Zt=Object.keys(Gt).reduce(((e,t)=>{const r=Gt[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e}),{});function Jt(e,t){const r="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(((o,n)=>{if(null!==e.getAttribute(r))return o();const i=pe(e.children).filter((e=>e.getAttribute(L)===t))[0],l=f.getComputedStyle(e,t),s=l.getPropertyValue("font-family"),c=s.match(Q),u=l.getPropertyValue("font-weight"),d=l.getPropertyValue("content");if(i&&!c)return e.removeChild(i),o();if(c&&"none"!==d&&""!==d){const d=l.getPropertyValue("content");let f=function(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(t),n=isNaN(o)?"normal":o;return(Gt[r]||{})[n]||Zt[r]}(s,u);const{value:h,isSecondary:b}=function(e){const t=e.replace(Yt,""),r=function(e){const t=e.length;let r,o=e.charCodeAt(0);return o>=55296&&o<=56319&&t>1&&(r=e.charCodeAt(1),r>=56320&&r<=57343)?1024*(o-55296)+r-56320+65536:o}(t),o=r>=Xt[0]&&r<=Xt[1],n=2===t.length&&t[0]===t[1];return{value:Ee(n?t[0]:t),isSecondary:o||n}}(d),g=c[0].startsWith("FontAwesome");let m=qe(f,h),y=m;if(g){const e=function(e){const t=Be[e],r=qe("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}(h);e.iconName&&e.prefix&&(m=e.iconName,f=e.prefix)}if(!m||b||i&&i.getAttribute(z)===f&&i.getAttribute(F)===y)o();else{e.setAttribute(r,y),i&&e.removeChild(i);const l={iconName:null,title:null,titleId:null,prefix:null,transform:de,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},{extra:s}=l;s.attributes[L]=t,vt(m,f).then((n=>{const i=ht(a(a({},l),{},{icons:{main:n,mask:{prefix:null,iconName:null,rest:[]}},prefix:f,iconName:y,extra:s,watchable:!0})),c=p.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(c,e.firstChild):e.appendChild(c),c.outerHTML=i.map((e=>Te(e))).join("\n"),e.removeAttribute(r),o()})).catch(n)}}else o()}))}function Qt(e){return Promise.all([Jt(e,"::before"),Jt(e,"::after")])}function er(e){return!(e.parentNode===document.head||~B.indexOf(e.tagName.toUpperCase())||e.getAttribute(L)||e.parentNode&&"svg"===e.parentNode.tagName)}function tr(e){if(g)return new Promise(((t,r)=>{const o=pe(e.querySelectorAll("*")).filter(er).map(Qt),n=_t("searchPseudoElements");Nt(),Promise.all(o).then((()=>{n(),Rt(),t()})).catch((()=>{n(),Rt(),r()}))}))}var rr={hooks:()=>({mutationObserverCallbacks:e=>(e.pseudoElementsCallback=tr,e)}),provides(e){e.pseudoElements2svg=function(e){const{node:t=p}=e;se.searchPseudoElements&&tr(t)}}};let or=!1;var nr={mixout:()=>({dom:{unwatch(){Nt(),or=!0}}}),hooks:()=>({bootstrap(){Dt(nt("mutationObserverCallbacks",{}))},noAuto(){It&&It.disconnect()},watch(e){const{observeMutationsRoot:t}=e;or?Rt():Dt(nt("mutationObserverCallbacks",{observeMutationsRoot:t}))}})};const ar=e=>e.toLowerCase().split(" ").reduce(((e,t)=>{const r=t.toLowerCase().split("-"),o=r[0];let n=r.slice(1).join("-");if(o&&"h"===n)return e.flipX=!0,e;if(o&&"v"===n)return e.flipY=!0,e;if(n=parseFloat(n),isNaN(n))return e;switch(o){case"grow":e.size=e.size+n;break;case"shrink":e.size=e.size-n;break;case"left":e.x=e.x-n;break;case"right":e.x=e.x+n;break;case"up":e.y=e.y-n;break;case"down":e.y=e.y+n;break;case"rotate":e.rotate=e.rotate+n}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0});var ir={mixout:()=>({parse:{transform:e=>ar(e)}}),hooks:()=>({parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-transform");return r&&(e.transform=ar(r)),e}}),provides(e){e.generateAbstractTransformGrouping=function(e){let{main:t,transform:r,containerWidth:o,iconWidth:n}=e;const i={transform:"translate(".concat(o/2," 256)")},l="translate(".concat(32*r.x,", ").concat(32*r.y,") "),s="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),c="rotate(".concat(r.rotate," 0 0)"),u={outer:i,inner:{transform:"".concat(l," ").concat(s," ").concat(c)},path:{transform:"translate(".concat(n/2*-1," -256)")}};return{tag:"g",attributes:a({},u.outer),children:[{tag:"g",attributes:a({},u.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:a(a({},t.icon.attributes),u.path)}]}]}}}};const lr={x:0,y:0,width:"100%",height:"100%"};function sr(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var cr={hooks:()=>({parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-mask"),o=r?Ze(r.split(" ").map((e=>e.trim()))):{prefix:null,iconName:null,rest:[]};return o.prefix||(o.prefix=Xe()),e.mask=o,e.maskId=t.getAttribute("data-fa-mask-id"),e}}),provides(e){e.generateAbstractMask=function(e){let{children:t,attributes:r,main:o,mask:n,maskId:i,transform:l}=e;const{width:s,icon:c}=o,{width:u,icon:d}=n,f=function(e){let{transform:t,containerWidth:r,iconWidth:o}=e;const n={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)");return{outer:n,inner:{transform:"".concat(a," ").concat(i," ").concat(l)},path:{transform:"translate(".concat(o/2*-1," -256)")}}}({transform:l,containerWidth:u,iconWidth:s}),p={tag:"rect",attributes:a(a({},lr),{},{fill:"white"})},h=c.children?{children:c.children.map(sr)}:{},b={tag:"g",attributes:a({},f.inner),children:[sr(a({tag:c.tag,attributes:a(a({},c.attributes),f.path)},h))]},g={tag:"g",attributes:a({},f.outer),children:[b]},m="mask-".concat(i||fe()),y="clip-".concat(i||fe()),v={tag:"mask",attributes:a(a({},lr),{},{id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,g]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(w=d,"g"===w.tag?w.children:[w])},v]};var w;return t.push(x,{tag:"rect",attributes:a({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(m,")")},lr)}),{children:t,attributes:r}}}},ur={provides(e){let t=!1;f.matchMedia&&(t=f.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const e=[],r={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:a(a({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const n=a(a({},o),{},{attributeName:"opacity"}),i={tag:"circle",attributes:a(a({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:a(a({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:a(a({},n),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:a(a({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:a(a({},n),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:a(a({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:a(a({},n),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){let{mixoutsTo:r}=t;et=e,tt={},Object.keys(rt).forEach((e=>{-1===ot.indexOf(e)&&delete rt[e]})),et.forEach((e=>{const t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((e=>{"function"==typeof t[e]&&(r[e]=t[e]),"object"==typeof t[e]&&Object.keys(t[e]).forEach((o=>{r[e]||(r[e]={}),r[e][o]=t[e][o]}))})),e.hooks){const t=e.hooks();Object.keys(t).forEach((e=>{tt[e]||(tt[e]=[]),tt[e].push(t[e])}))}e.provides&&e.provides(rt)}))}([we,Ht,Ut,qt,$t,rr,nr,ir,cr,ur,{hooks:()=>({parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-symbol"),o=null!==r&&(""===r||r);return e.symbol=o,e}})}],{mixoutsTo:dt});const dr=dt.parse,fr=dt.icon;var pr=r(5556),hr=r.n(pr),br=r(1609),gr=r.n(br);function mr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function yr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mr(Object(r),!0).forEach((function(t){xr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function vr(e){return vr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vr(e)}function xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wr(e){return function(e){if(Array.isArray(e))return Or(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Or(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Or(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Or(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function _r(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var kr=["style"],Pr=!1;try{Pr=!0}catch(e){}function Cr(e){return e&&"object"===vr(e)&&e.prefix&&e.iconName&&e.icon?e:dr.icon?dr.icon(e):null===e?null:e&&"object"===vr(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Tr(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?xr({},e,t):{}}var Mr={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},Sr=gr().forwardRef((function(e,t){var r=yr(yr({},Mr),e),o=r.icon,n=r.mask,a=r.symbol,i=r.className,l=r.title,s=r.titleId,c=r.maskId,u=Cr(o),d=Tr("classes",[].concat(wr(function(e){var t,r=e.beat,o=e.fade,n=e.beatFade,a=e.bounce,i=e.shake,l=e.flash,s=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,b=e.listItem,g=e.flip,m=e.size,y=e.rotation,v=e.pull,x=(xr(t={"fa-beat":r,"fa-fade":o,"fa-beat-fade":n,"fa-bounce":a,"fa-shake":i,"fa-flash":l,"fa-spin":s,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":b,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(m),null!=m),xr(t,"fa-rotate-".concat(y),null!=y&&0!==y),xr(t,"fa-pull-".concat(v),null!=v),xr(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(x).map((function(e){return x[e]?e:null})).filter((function(e){return e}))}(r)),wr((i||"").split(" ")))),f=Tr("transform","string"==typeof r.transform?dr.transform(r.transform):r.transform),p=Tr("mask",Cr(n)),h=fr(u,yr(yr(yr(yr({},d),f),p),{},{symbol:a,title:l,titleId:s,maskId:c}));if(!h)return function(){var e;!Pr&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var b=h.abstract,g={ref:t};return Object.keys(r).forEach((function(e){Mr.hasOwnProperty(e)||(g[e]=r[e])})),Er(b[0],g)}));Sr.displayName="FontAwesomeIcon",Sr.propTypes={beat:hr().bool,border:hr().bool,beatFade:hr().bool,bounce:hr().bool,className:hr().string,fade:hr().bool,flash:hr().bool,mask:hr().oneOfType([hr().object,hr().array,hr().string]),maskId:hr().string,fixedWidth:hr().bool,inverse:hr().bool,flip:hr().oneOf([!0,!1,"horizontal","vertical","both"]),icon:hr().oneOfType([hr().object,hr().array,hr().string]),listItem:hr().bool,pull:hr().oneOf(["right","left"]),pulse:hr().bool,rotation:hr().oneOf([0,90,180,270]),shake:hr().bool,size:hr().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:hr().bool,spinPulse:hr().bool,spinReverse:hr().bool,symbol:hr().oneOfType([hr().bool,hr().string]),title:hr().string,titleId:hr().string,transform:hr().oneOfType([hr().string,hr().object]),swapOpacity:hr().bool};var Er=function e(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof r)return r;var n=(r.children||[]).map((function(r){return e(t,r)})),a=Object.keys(r.attributes||{}).reduce((function(e,t){var o=r.attributes[t];switch(t){case"class":e.attrs.className=o,delete r.attributes.class;break;case"style":e.attrs.style=o.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var r,o=t.indexOf(":"),n=_r(t.slice(0,o)),a=t.slice(o+1).trim();return n.startsWith("webkit")?e[(r=n,r.charAt(0).toUpperCase()+r.slice(1))]=a:e[n]=a,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=o:e.attrs[_r(t)]=o}return e}),{attrs:{}}),i=o.style,l=void 0===i?{}:i,s=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(o,kr);return a.attrs.style=yr(yr({},a.attrs.style),l),t.apply(void 0,[r.tag,yr(yr({},a.attrs),s)].concat(wr(n)))}.bind(null,gr().createElement)},3889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AccordionBody:function(){return h},default:function(){return b}});var o=p(r(1609)),n=r(3947),a=p(r(2485)),i=p(r(4744)),l=p(r(6851)),s=r(2029),c=r(5966),u=r(1768),d=r(3062);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.className,d=e.children,p=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),h=(0,c.useAccordion)(),b=h.open,g=h.animate,m=(0,u.useTheme)().accordion.styles.base;r=null!=r?r:"";var y=(0,s.twMerge)((0,a.default)((0,l.default)(m.body)),r),v=(0,i.default)({unmount:{height:"0px",transition:{duration:.2,times:[.4,0,.2,1]}},mount:{height:"auto",transition:{duration:.2,times:[.4,0,.2,1]}}},g);return o.default.createElement(n.LazyMotion,{features:n.domAnimation},o.default.createElement(n.m.div,{className:"overflow-hidden",initial:"unmount",exit:"unmount",animate:b?"mount":"unmount",variants:v},o.default.createElement(n.m.div,f({},p,{ref:t,className:y,initial:"unmount",exit:"unmount",animate:b?"mount":"unmount",variants:{unmount:{transition:{duration:.3,ease:"linear"}},mount:{transition:{duration:.3,ease:"linear"}}}}),d)))}));h.propTypes={className:d.propTypesClassName,children:d.propTypesChildren},h.displayName="MaterialTailwind.AccordionBody";var b=h},5966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AccordionContext:function(){return i},useAccordion:function(){return l},AccordionContextProvider:function(){return s}});var o,n=(o=r(1609))&&o.__esModule?o:{default:o},a=r(3062),i=n.default.createContext(null);function l(){var e=n.default.useContext(i);if(!e)throw new Error("useAccordion() must be used within an Accordion. It happens when you use AccordionHeader or AccordionBody components outside the Accordion component.");return e}i.displayName="MaterialTailwind.AccordionContext";var s=function(e){var t=e.value,r=e.children;return n.default.createElement(i.Provider,{value:t},r)};s.propTypes={value:a.propTypesValue,children:a.propTypesChildren},s.displayName="MaterialTailwind.AccordionContextProvider"},5480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AccordionHeader:function(){return f},default:function(){return p}});var o=d(r(1609)),n=d(r(2485)),a=r(2029),i=d(r(6851)),l=r(5966),s=r(1768),c=r(3062);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},u.apply(this,arguments)}function d(e){return e&&e.__esModule?e:{default:e}}var f=o.default.forwardRef((function(e,t){var r=e.className,c=e.children,d=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),f=(0,l.useAccordion)(),p=f.open,h=f.icon,b=f.disabled,g=(0,s.useTheme)().accordion.styles.base;r=null!=r?r:"";var m,y,v,x=(0,a.twMerge)((0,n.default)((0,i.default)(g.header.initial),(m={},v=p,(y=(0,i.default)(g.header.active))in m?Object.defineProperty(m,y,{value:v,enumerable:!0,configurable:!0,writable:!0}):m[y]=v,m)),r),w=(0,n.default)((0,i.default)(g.header.icon));return o.default.createElement("button",u({},d,{ref:t,type:"button",disabled:b,className:x}),c,o.default.createElement("span",{className:w},null!=h?h:p?o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},o.default.createElement("path",{fillRule:"evenodd",d:"M5 10a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1z",clipRule:"evenodd"})):o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},o.default.createElement("path",{fillRule:"evenodd",d:"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z",clipRule:"evenodd"}))))}));f.propTypes={className:c.propTypesClassName,children:c.propTypesChildren},f.displayName="MaterialTailwind.AccordionHeader";var p=f},1875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Accordion:function(){return h},AccordionHeader:function(){return u.AccordionHeader},AccordionBody:function(){return d.AccordionBody},useAccordion:function(){return s.useAccordion},default:function(){return b}});var o=p(r(1609)),n=p(r(2485)),a=r(2029),i=p(r(6851)),l=r(1768),s=r(5966),c=r(3062),u=r(5480),d=r(3889);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.open,c=e.icon,u=e.animate,d=e.className,p=e.disabled,h=e.children,b=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["open","icon","animate","className","disabled","children"]),g=(0,l.useTheme)().accordion,m=g.defaultProps,y=g.styles.base;c=null!=c?c:m.icon,u=null!=u?u:m.animate,p=null!=p?p:m.disabled,d=(0,a.twMerge)(m.className||"",d);var v,x,w,O=(0,a.twMerge)((0,n.default)((0,i.default)(y.container),(v={},x=(0,i.default)(y.disabled),w=p,x in v?Object.defineProperty(v,x,{value:w,enumerable:!0,configurable:!0,writable:!0}):v[x]=w,v)),d),_=o.default.useMemo((function(){return{open:r,icon:c,animate:u,disabled:p}}),[r,c,u,p]);return o.default.createElement(s.AccordionContextProvider,{value:_},o.default.createElement("div",f({},b,{ref:t,className:O}),h))}));h.propTypes={open:c.propTypesOpen,icon:c.propTypesIcon,animate:c.propTypesAnimate,disabled:c.propTypesDisabled,className:c.propTypesClassName,children:c.propTypesChildren},h.displayName="MaterialTailwind.Accordion";var b=Object.assign(h,{Header:u.AccordionHeader,Body:d.AccordionBody})},9871:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Alert:function(){return g},default:function(){return m}});var o=b(r(1609)),n=b(r(5556)),a=r(3947),i=b(r(2485)),l=b(r(4744)),s=r(2029),c=b(r(3087)),u=b(r(6851)),d=r(1768),f=r(2870),p=b(r(9306));function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},h.apply(this,arguments)}function b(e){return e&&e.__esModule?e:{default:e}}var g=o.default.forwardRef((function(e,t){var r=e.variant,n=e.color,f=e.icon,b=e.open,g=e.action,m=e.onClose,y=e.animate,v=e.className,x=e.children,w=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","color","icon","open","action","onClose","animate","className","children"]),O=(0,d.useTheme)().alert,_=O.defaultProps,k=O.valid,P=O.styles,C=P.base,T=P.variants;r=null!=r?r:_.variant,n=null!=n?n:_.color,y=null!=y?y:_.animate,b=null!=b?b:_.open,g=null!=g?g:_.action,m=null!=m?m:_.onClose,v=(0,s.twMerge)(_.className||"",v);var M=(0,u.default)(C.alert),S=(0,u.default)(C.action),E=(0,u.default)(T[(0,c.default)(k.variants,r,"filled")][(0,c.default)(k.colors,n,"gray")]),j=(0,s.twMerge)((0,i.default)(M,E),v),A=(0,i.default)(S),N=(0,l.default)({unmount:{opacity:0},mount:{opacity:1}},y),R=o.default.createElement("div",{className:"shrink-0"},f),I=a.AnimatePresence;return o.default.createElement(a.LazyMotion,{features:a.domAnimation},o.default.createElement(I,null,b&&o.default.createElement(a.m.div,h({},w,{ref:t,role:"alert",className:"".concat(j," flex"),initial:"unmount",exit:"unmount",animate:b?"mount":"unmount",variants:N}),f&&R,o.default.createElement("div",{className:"".concat(f?"ml-3":""," mr-12")},x),m&&!g&&o.default.createElement(p.default,{onClick:m,size:"sm",variant:"text",color:"outlined"===r||"ghost"===r?n:"white",className:A},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",strokeWidth:2},o.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))),g||null)))}));g.propTypes={variant:n.default.oneOf(f.propTypesVariant),color:n.default.oneOf(f.propTypesColor),icon:f.propTypesIcon,open:f.propTypesOpen,action:f.propTypesAction,onClose:f.propTypesOnClose,animate:f.propTypesAnimate,className:f.propTypesClassName,children:f.propTypesChildren},g.displayName="MaterialTailwind.Alert";var m=g},1498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Avatar:function(){return h},default:function(){return b}});var o=p(r(1609)),n=p(r(5556)),a=p(r(2485)),i=r(2029),l=p(r(3087)),s=p(r(6851)),c=r(1768),u=r(2271);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.variant,n=e.size,u=e.className,p=e.color,h=e.withBorder,b=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","size","className","color","withBorder"]),g=(0,c.useTheme)().avatar,m=g.valid,y=g.defaultProps,v=g.styles,x=v.base,w=v.variants,O=v.sizes,_=v.borderColor;r=null!=r?r:y.variant,n=null!=n?n:y.size,h=null!=h?h:y.withBorder,p=null!=p?p:y.color,u=(0,i.twMerge)(y.className||"",u);var k,P=(0,s.default)(w[(0,l.default)(m.variants,r,"rounded")]),C=(0,s.default)(O[(0,l.default)(m.sizes,n,"md")]),T=(0,s.default)(_[(0,l.default)(m.colors,p,"gray")]),M=(0,i.twMerge)((0,a.default)((0,s.default)(x.initial),P,C,(d(k={},(0,s.default)(x.withBorder),h),d(k,T,h),k)),u);return o.default.createElement("img",f({},b,{ref:t,className:M}))}));h.propTypes={variant:n.default.oneOf(u.propTypesVariant),size:n.default.oneOf(u.propTypesSize),className:u.propTypesClassName,withBorder:u.propTypesWithBorder,color:n.default.oneOf(u.propTypesColor)},h.displayName="MaterialTailwind.Avatar";var b=h},5506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Badge:function(){return b},default:function(){return g}});var o=h(r(1609)),n=h(r(5556)),a=h(r(4744)),i=h(r(2485)),l=r(2029),s=h(r(3087)),c=h(r(6851)),u=r(1768),d=r(4299);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},p.apply(this,arguments)}function h(e){return e&&e.__esModule?e:{default:e}}var b=o.default.forwardRef((function(e,t){var r,n=e.color,d=e.invisible,h=e.withBorder,b=e.overlap,g=e.placement,m=e.className,y=e.content,v=e.children,x=e.containerProps,w=e.containerRef,O=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["color","invisible","withBorder","overlap","placement","className","content","children","containerProps","containerRef"]),_=(0,u.useTheme)().badge,k=_.valid,P=_.defaultProps,C=_.styles,T=C.base,M=C.placements,S=C.colors;n=null!=n?n:P.color,d=null!=d?d:P.invisible,h=null!=h?h:P.withBorder,b=null!=b?b:P.overlap,g=null!=g?g:P.placement,m=(0,l.twMerge)(P.className||"",m),x=null!==(r=(0,a.default)(x,P.containerProps||{}))&&void 0!==r?r:P.containerProps;var E,j=(0,c.default)(T.badge.initial),A=(0,c.default)(T.badge.withBorder),N=(0,c.default)(T.badge.withContent),R=(0,c.default)(S[(0,s.default)(k.colors,n,"red")]),I=(0,c.default)(M[(0,s.default)(k.placements,g,"top-end")][(0,s.default)(k.overlaps,b,"square")]),D=(0,l.twMerge)((0,i.default)(j,I,R,(f(E={},A,h),f(E,N,y),E)),m),L=(0,l.twMerge)((0,i.default)((0,c.default)(T.container),null==x?void 0:x.className));return o.default.createElement("div",p({ref:w},x,{className:L}),v,!d&&o.default.createElement("span",p({},O,{ref:t,className:D}),y))}));b.propTypes={color:n.default.oneOf(d.propTypesColor),invisible:d.propTypesInvisible,withBorder:d.propTypesWithBorder,overlap:n.default.oneOf(d.propTypesOverlap),className:d.propTypesClassName,content:d.propTypesContent,children:d.propTypesChildren,placement:n.default.oneOf(d.propTypesPlacement),containerProps:d.propTypesContainerProps,containerRef:d.propTypesContainerRef},b.displayName="MaterialTailwind.Badge";var g=b},8839:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Breadcrumbs:function(){return p},default:function(){return h}});var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var o={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(1609)),n=d(r(2485)),a=r(2029),i=d(r(6851)),l=r(1768),s=r(4850);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},u.apply(this,arguments)}function d(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}var p=(0,o.forwardRef)((function(e,t){var r=e.separator,s=e.fullWidth,d=e.className,f=e.children,p=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["separator","fullWidth","className","children"]),h=(0,l.useTheme)().breadcrumbs,b=h.defaultProps,g=h.styles.base;r=null!=r?r:b.separator,s=null!=s?s:b.fullWidth,d=(0,a.twMerge)(b.className||"",d);var m=(0,n.default)((0,i.default)(g.root.initial),c({},(0,i.default)(g.root.fullWidth),s)),y=(0,a.twMerge)((0,n.default)((0,i.default)(g.list)),d),v=(0,n.default)((0,i.default)(g.item.initial)),x=(0,n.default)((0,i.default)(g.separator));return o.default.createElement("nav",{"aria-label":"breadcrumb",className:m},o.default.createElement("ol",u({},p,{ref:t,className:y}),o.Children.map(f,(function(e,t){var a;return(0,o.isValidElement)(e)?o.default.createElement("li",{className:(0,n.default)(v,c({},(0,i.default)(g.item.disabled),null==e||null===(a=e.props)||void 0===a?void 0:a.disabled))},e,t!==o.Children.count(f)-1&&o.default.createElement("span",{className:x},r)):null}))))}));p.propTypes={separator:s.propTypesSeparator,fullWidth:s.propTypesFullWidth,className:s.propTypesClassName,children:s.propTypesChildren},p.displayName="MaterialTailwind.Breadcrumbs";var h=p},3275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Button:function(){return b},default:function(){return g}});var o=h(r(1609)),n=h(r(5556)),a=h(r(4466)),i=h(r(2485)),l=r(2029),s=h(r(3087)),c=h(r(6851)),u=r(1768),d=h(r(6732)),f=r(2990);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},p.apply(this,arguments)}function h(e){return e&&e.__esModule?e:{default:e}}var b=o.default.forwardRef((function(e,t){var r=e.variant,n=e.size,f=e.color,h=e.fullWidth,b=e.ripple,g=e.className,m=e.children,y=e.loading,v=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","size","color","fullWidth","ripple","className","children","loading"]),x=(0,u.useTheme)().button,w=x.valid,O=x.defaultProps,_=x.styles,k=_.base,P=_.variants,C=_.sizes;r=null!=r?r:O.variant,n=null!=n?n:O.size,f=null!=f?f:O.color,h=null!=h?h:O.fullWidth,b=null!=b?b:O.ripple,g=(0,l.twMerge)(O.className||"",g);var T,M,S,E,j=void 0!==b&&new a.default,A=(0,c.default)(k.initial),N=(0,c.default)(P[(0,s.default)(w.variants,r,"filled")][(0,s.default)(w.colors,f,"gray")]),R=(0,c.default)(C[(0,s.default)(w.sizes,n,"md")]),I=(0,l.twMerge)((0,i.default)(A,R,N,(T={},S=h,(M=(0,c.default)(k.fullWidth))in T?Object.defineProperty(T,M,{value:S,enumerable:!0,configurable:!0,writable:!0}):T[M]=S,T),{"flex items-center gap-2":y,"gap-3":"lg"===n}),g),D=(0,l.twMerge)((0,i.default)({"w-4 h-4":!0,"w-5 h-5":"lg"===n}));return o.default.createElement("button",p({},v,{disabled:null!==(E=v.disabled)&&void 0!==E?E:y,ref:t,className:I,type:v.type||"button",onMouseDown:function(e){var t=null==v?void 0:v.onMouseDown;return b&&j.create(e,"filled"!==r&&"gradient"!==r||"white"===f?"dark":"light"),"function"==typeof t&&t(e)}}),y&&o.default.createElement(d.default,{className:D}),m)}));b.propTypes={variant:n.default.oneOf(f.propTypesVariant),size:n.default.oneOf(f.propTypesSize),color:n.default.oneOf(f.propTypesColor),fullWidth:f.propTypesFullWidth,ripple:f.propTypesRipple,className:f.propTypesClassName,children:f.propTypesChildren,loading:f.propTypesLoading},b.displayName="MaterialTailwind.Button";var g=b},6578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ButtonGroup:function(){return h},default:function(){return b}});var o=p(r(1609)),n=p(r(5556)),a=p(r(2485)),i=r(2029),l=p(r(3087)),s=p(r(6851)),c=r(1768),u=r(2990);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r,n=e.variant,u=e.size,p=e.color,h=e.fullWidth,b=e.ripple,g=e.className,m=e.children,y=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","size","color","fullWidth","ripple","className","children"]),v=(0,c.useTheme)().buttonGroup,x=v.defaultProps,w=v.styles,O=v.valid,_=w.base,k=w.dividerColor;n=null!=n?n:x.variant,u=null!=u?u:x.size,p=null!=p?p:x.color,b=null!=b?b:x.ripple,h=null!=h?h:x.fullWidth,g=(0,i.twMerge)(x.className||"",g);var P=(0,i.twMerge)((0,a.default)((0,s.default)(_.initial),(d(r={},(0,s.default)(_.fullWidth),h),d(r,"divide-x","outlined"!==n),d(r,(0,s.default)(k[(0,l.default)(O.colors,p,"gray")]),"outlined"!==n),r)),g);return o.default.createElement("div",f({},y,{ref:t,className:P}),o.default.Children.map(m,(function(e,t){var r;return o.default.isValidElement(e)&&o.default.cloneElement(e,{variant:n,size:u,color:p,ripple:b,fullWidth:h,className:(0,i.twMerge)((0,a.default)({"rounded-r-none":t!==o.default.Children.count(m)-1,"border-r-0":t!==o.default.Children.count(m)-1,"rounded-l-none":0!==t}),null===(r=e.props)||void 0===r?void 0:r.className)})})))}));h.propTypes={variant:n.default.oneOf(u.propTypesVariant),size:n.default.oneOf(u.propTypesSize),color:n.default.oneOf(u.propTypesColor),fullWidth:u.propTypesFullWidth,ripple:u.propTypesRipple,className:u.propTypesClassName,children:u.propTypesChildren},h.displayName="MaterialTailwind.ButtonGroup";var b=h},1179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{CardBody:function(){return d},default:function(){return f}});var o=u(r(1609)),n=u(r(2485)),a=r(2029),i=u(r(6851)),l=r(1768),s=r(9104);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},c.apply(this,arguments)}function u(e){return e&&e.__esModule?e:{default:e}}var d=o.default.forwardRef((function(e,t){var r=e.className,s=e.children,u=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),d=(0,l.useTheme)().cardBody,f=d.defaultProps,p=d.styles.base;r=(0,a.twMerge)(f.className||"",r);var h=(0,a.twMerge)((0,n.default)((0,i.default)(p)),r);return o.default.createElement("div",c({},u,{ref:t,className:h}),s)}));d.propTypes={className:s.propTypesClassName,children:s.propTypesChildren},d.displayName="MaterialTailwind.CardBody";var f=d},3096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{CardFooter:function(){return d},default:function(){return f}});var o=u(r(1609)),n=u(r(2485)),a=r(2029),i=u(r(6851)),l=r(1768),s=r(9104);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},c.apply(this,arguments)}function u(e){return e&&e.__esModule?e:{default:e}}var d=o.default.forwardRef((function(e,t){var r=e.divider,s=e.className,u=e.children,d=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["divider","className","children"]),f=(0,l.useTheme)().cardFooter,p=f.defaultProps,h=f.styles.base;r=null!=r?r:p.divider,s=(0,a.twMerge)(p.className||"",s);var b,g,m,y=(0,a.twMerge)((0,n.default)((0,i.default)(h.initial),(b={},m=r,(g=(0,i.default)(h.divider))in b?Object.defineProperty(b,g,{value:m,enumerable:!0,configurable:!0,writable:!0}):b[g]=m,b)),s);return o.default.createElement("div",c({},d,{ref:t,className:y}),u)}));d.propTypes={divider:s.propTypesDivider,className:s.propTypesClassName,children:s.propTypesChildren},d.displayName="MaterialTailwind.CardFooter";var f=d},9110:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{CardHeader:function(){return h},default:function(){return b}});var o=p(r(1609)),n=p(r(5556)),a=p(r(2485)),i=r(2029),l=p(r(3087)),s=p(r(6851)),c=r(1768),u=r(9104);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.variant,n=e.color,u=e.shadow,p=e.floated,h=e.className,b=e.children,g=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","color","shadow","floated","className","children"]),m=(0,c.useTheme)().cardHeader,y=m.defaultProps,v=m.styles,x=m.valid,w=v.base,O=v.variants;r=null!=r?r:y.variant,n=null!=n?n:y.color,u=null!=u?u:y.shadow,p=null!=p?p:y.floated,h=(0,i.twMerge)(y.className||"",h);var _=(0,s.default)(w.initial),k=(0,s.default)(O[(0,l.default)(x.variants,r,"filled")][(0,l.default)(x.colors,n,"white")]),P=(0,i.twMerge)((0,a.default)(_,k,d({},(0,s.default)(w.shadow),u),d({},(0,s.default)(w.floated),p)),h);return o.default.createElement("div",f({},g,{ref:t,className:P}),b)}));h.propTypes={variant:n.default.oneOf(u.propTypesVariant),color:n.default.oneOf(u.propTypesColor),shadow:u.propTypesShadow,floated:u.propTypesFloated,className:u.propTypesClassName,children:u.propTypesChildren},h.displayName="MaterialTailwind.CardHeader";var b=h},5273:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Card:function(){return g},CardHeader:function(){return u.CardHeader},CardBody:function(){return d.CardBody},CardFooter:function(){return f.CardFooter},default:function(){return m}});var o=b(r(1609)),n=b(r(5556)),a=b(r(2485)),i=r(2029),l=b(r(3087)),s=b(r(6851)),c=r(1768),u=r(9110),d=r(1179),f=r(3096),p=r(9104);function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},h.apply(this,arguments)}function b(e){return e&&e.__esModule?e:{default:e}}var g=o.default.forwardRef((function(e,t){var r=e.variant,n=e.color,u=e.shadow,d=e.className,f=e.children,p=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","color","shadow","className","children"]),b=(0,c.useTheme)().card,g=b.defaultProps,m=b.styles,y=b.valid,v=m.base,x=m.variants;r=null!=r?r:g.variant,n=null!=n?n:g.color,u=null!=u?u:g.shadow,d=(0,i.twMerge)(g.className||"",d);var w,O,_,k=(0,s.default)(v.initial),P=(0,s.default)(x[(0,l.default)(y.variants,r,"filled")][(0,l.default)(y.colors,n,"white")]),C=(0,i.twMerge)((0,a.default)(k,P,(w={},_=u,(O=(0,s.default)(v.shadow))in w?Object.defineProperty(w,O,{value:_,enumerable:!0,configurable:!0,writable:!0}):w[O]=_,w)),d);return o.default.createElement("div",h({},p,{ref:t,className:C}),f)}));g.propTypes={variant:n.default.oneOf(p.propTypesVariant),color:n.default.oneOf(p.propTypesColor),shadow:p.propTypesShadow,className:p.propTypesClassName,children:p.propTypesChildren},g.displayName="MaterialTailwind.Card";var m=Object.assign(g,{Header:u.CardHeader,Body:d.CardBody,Footer:f.CardFooter})},2725:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Carousel:function(){return h},default:function(){return b}});var o=p(r(1609)),n=r(3947),a=r(392),i=p(r(2485)),l=r(2029),s=p(r(6851)),c=r(1768),u=r(5964);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r,u,p=e.children,h=e.prevArrow,b=e.nextArrow,g=e.navigation,m=e.autoplay,y=e.autoplayDelay,v=e.transition,x=e.loop,w=e.className,O=e.slideRef,_=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["children","prevArrow","nextArrow","navigation","autoplay","autoplayDelay","transition","loop","className","slideRef"]),k=(0,c.useTheme)().carousel,P=k.defaultProps,C=k.styles.base,T=(0,n.useMotionValue)(0),M=o.default.useRef(null),S=(r=o.default.useState(0),u=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(r,u)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(r,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),E=S[0],j=S[1],A=o.default.Children.toArray(p);h=null!=h?h:P.prevArrow,b=null!=b?b:P.nextArrow,g=null!=g?g:P.navigation,m=null!=m?m:P.autoplay,y=null!=y?y:P.autoplayDelay,v=null!=v?v:P.transition,x=null!=x?x:P.loop,w=(0,l.twMerge)(P.className||"",w);var N=(0,l.twMerge)((0,i.default)((0,s.default)(C.carousel)),w),R=(0,l.twMerge)((0,i.default)((0,s.default)(C.slide))),I=o.default.useCallback((function(){var e;return-E*((null===(e=M.current)||void 0===e?void 0:e.clientWidth)||0)}),[E]),D=o.default.useCallback((function(){var e=x?0:E;j(E+1===A.length?e:E+1)}),[E,x,A.length]);o.default.useEffect((function(){return(0,n.animate)(T,I(),v).stop}),[I,E,T,v]),o.default.useEffect((function(){window.addEventListener("resize",(function(){(0,n.animate)(T,I(),v)}))}),[I,v,T]),o.default.useEffect((function(){if(m){var e=setInterval((function(){return D()}),y);return function(){return clearInterval(e)}}}),[m,D,y]);var L=(0,a.useMergeRefs)([M,t]);return o.default.createElement("div",f({},_,{ref:L,className:N}),A.map((function(e,t){return o.default.createElement(n.LazyMotion,{key:t,features:n.domAnimation},o.default.createElement(n.m.div,{ref:O,className:R,style:{x:T,left:"".concat(100*t,"%"),right:"".concat(100*t,"%")}},e))})),h&&h({loop:x,handlePrev:function(){var e=x?A.length-1:0;j(E-1<0?e:E-1)},activeIndex:E,firstIndex:0===E}),b&&b({loop:x,handleNext:D,activeIndex:E,lastIndex:E===A.length-1}),g&&g({setActiveIndex:j,activeIndex:E,length:A.length}))}));h.propTypes={className:u.propTypesClassName,children:u.propTypesChildren,nextArrow:u.propTypesNextArrow,prevArrow:u.propTypesPrevArrow,navigation:u.propTypesNavigation,autoplay:u.propTypesAutoplay,autoplayDelay:u.propTypesAutoplayDelay,transition:u.propTypesTransition,loop:u.propTypesLoop,slideRef:u.propTypesSlideRef},h.displayName="MaterialTailwind.Carousel";var b=h},5634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Checkbox:function(){return h},default:function(){return b}});var o=p(r(1609)),n=p(r(5556)),a=p(r(4466)),i=p(r(2485)),l=r(2029),s=p(r(3087)),c=p(r(6851)),u=r(1768),d=r(4987);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.color,n=e.label,d=e.icon,p=e.ripple,h=e.className,b=e.disabled,g=e.containerProps,m=e.labelProps,y=e.iconProps,v=e.inputRef,x=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["color","label","icon","ripple","className","disabled","containerProps","labelProps","iconProps","inputRef"]),w=(0,u.useTheme)().checkbox,O=w.defaultProps,_=w.valid,k=w.styles,P=k.base,C=k.colors,T=o.default.useId();r=null!=r?r:O.color,n=null!=n?n:O.label,d=null!=d?d:O.icon,p=null!=p?p:O.ripple,b=null!=b?b:O.disabled,g=null!=g?g:O.containerProps,m=null!=m?m:O.labelProps,y=null!=y?y:O.iconProps,h=(0,l.twMerge)(O.className||"",h);var M,S,E,j=void 0!==p&&new a.default,A=(0,i.default)((0,c.default)(P.root),(M={},E=b,(S=(0,c.default)(P.disabled))in M?Object.defineProperty(M,S,{value:E,enumerable:!0,configurable:!0,writable:!0}):M[S]=E,M)),N=(0,l.twMerge)((0,i.default)((0,c.default)(P.container)),null==g?void 0:g.className),R=(0,l.twMerge)((0,i.default)((0,c.default)(P.input),(0,c.default)(C[(0,s.default)(_.colors,r,"gray")])),h),I=(0,l.twMerge)((0,i.default)((0,c.default)(P.label)),null==m?void 0:m.className),D=(0,l.twMerge)((0,i.default)((0,c.default)(P.icon)),null==y?void 0:y.className);return o.default.createElement("div",{ref:t,className:A},o.default.createElement("label",f({},g,{className:N,htmlFor:x.id||T,onMouseDown:function(e){var t=null==g?void 0:g.onMouseDown;return p&&j.create(e,"dark"),"function"==typeof t&&t(e)}}),o.default.createElement("input",f({},x,{ref:v,type:"checkbox",disabled:b,className:R,id:x.id||T})),o.default.createElement("span",{className:D},d||o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor",stroke:"currentColor",strokeWidth:1},o.default.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})))),n&&o.default.createElement("label",f({},m,{className:I,htmlFor:x.id||T}),n))}));h.propTypes={color:n.default.oneOf(d.propTypesColor),label:d.propTypesLabel,icon:d.propTypesIcon,ripple:d.propTypesRipple,className:d.propTypesClassName,disabled:d.propTypesDisabled,containerProps:d.propTypesObject,labelProps:d.propTypesObject},h.displayName="MaterialTailwind.Checkbox";var b=h},4837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Chip:function(){return g},default:function(){return m}});var o=b(r(1609)),n=b(r(5556)),a=r(3947),i=b(r(2485)),l=b(r(4744)),s=r(2029),c=b(r(3087)),u=b(r(6851)),d=r(1768),f=r(1024),p=b(r(9306));function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},h.apply(this,arguments)}function b(e){return e&&e.__esModule?e:{default:e}}var g=o.default.forwardRef((function(e,t){var r=e.variant,n=e.size,f=e.color,b=e.icon,g=e.open,m=e.onClose,y=e.action,v=e.animate,x=e.className,w=e.value,O=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","size","color","icon","open","onClose","action","animate","className","value"]),_=(0,d.useTheme)().chip,k=_.defaultProps,P=_.valid,C=_.styles,T=C.base,M=C.variants,S=C.sizes;r=null!=r?r:k.variant,n=null!=n?n:k.size,f=null!=f?f:k.color,v=null!=v?v:k.animate,g=null!=g?g:k.open,y=null!=y?y:k.action,m=null!=m?m:k.onClose,x=(0,s.twMerge)(k.className||"",x);var E=(0,u.default)(T.chip),j=(0,u.default)(T.action),A=(0,u.default)(T.icon),N=(0,u.default)(M[(0,c.default)(P.variants,r,"filled")][(0,c.default)(P.colors,f,"gray")]),R=(0,u.default)(S[(0,c.default)(P.sizes,n,"md")].chip),I=(0,u.default)(S[(0,c.default)(P.sizes,n,"md")].action),D=(0,u.default)(S[(0,c.default)(P.sizes,n,"md")].icon),L=(0,s.twMerge)((0,i.default)(E,N,R),x),z=(0,i.default)(j,I),F=(0,i.default)(A,D),V=(0,i.default)({"ml-4":b&&"sm"===n,"ml-[18px]":b&&"md"===n,"ml-5":b&&"lg"===n,"mr-5":m}),B=(0,l.default)({unmount:{opacity:0},mount:{opacity:1}},v),W=o.default.createElement("div",{className:F},b),H=a.AnimatePresence;return o.default.createElement(a.LazyMotion,{features:a.domAnimation},o.default.createElement(H,null,g&&o.default.createElement(a.m.div,h({},O,{ref:t,className:L,initial:"unmount",exit:"unmount",animate:g?"mount":"unmount",variants:B}),b&&W,o.default.createElement("span",{className:V},w),m&&!y&&o.default.createElement(p.default,{onClick:m,size:"sm",variant:"text",color:"outlined"===r||"ghost"===r?f:"white",className:z},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:(0,i.default)({"h-3.5 w-3.5":"sm"===n,"h-4 w-4":"md"===n,"h-5 w-5":"lg"===n}),strokeWidth:2},o.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))),y||null)))}));g.propTypes={variant:n.default.oneOf(f.propTypesVariant),size:n.default.oneOf(f.propTypesSize),color:n.default.oneOf(f.propTypesColor),icon:f.propTypesIcon,open:f.propTypesOpen,onClose:f.propTypesOnClose,action:f.propTypesAction,animate:f.propTypesAnimate,className:f.propTypesClassName,value:f.propTypesValue},g.displayName="MaterialTailwind.Chip";var m=g},5908:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Collapse:function(){return h},default:function(){return b}});var o=p(r(1609)),n=r(3947),a=r(392),i=p(r(4744)),l=p(r(2485)),s=r(2029),c=p(r(6851)),u=r(1768),d=r(9165);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.open,d=e.animate,p=e.className,h=e.children,b=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["open","animate","className","children"]),g=o.default.useRef(null),m=(0,u.useTheme)().collapse.styles.base;d=null!=d?d:{},p=null!=p?p:"";var y=(0,s.twMerge)((0,l.default)((0,c.default)(m)),p),v=(0,i.default)({unmount:{height:"0px",transition:{duration:.3,times:[.4,0,.2,1]}},mount:{height:"auto",transition:{duration:.3,times:[.4,0,.2,1]}}},d),x=n.AnimatePresence,w=(0,a.useMergeRefs)([t,g]);return o.default.createElement(n.LazyMotion,{features:n.domAnimation},o.default.createElement(x,null,o.default.createElement(n.m.div,f({},b,{ref:w,className:y,initial:"unmount",exit:"unmount",animate:r?"mount":"unmount",variants:v}),h)))}));h.displayName="MaterialTailwind.Collapse",h.propTypes={open:d.propTypesOpen,animate:d.propTypesAnimate,className:d.propTypesClassName,children:d.propTypesChildren};var b=h},7431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DialogBody:function(){return d},default:function(){return f}});var o=u(r(1609)),n=u(r(2485)),a=r(2029),i=u(r(6851)),l=r(1768),s=r(1094);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},c.apply(this,arguments)}function u(e){return e&&e.__esModule?e:{default:e}}var d=o.default.forwardRef((function(e,t){var r=e.divider,s=e.className,u=e.children,d=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["divider","className","children"]),f=(0,l.useTheme)().dialogBody,p=f.defaultProps,h=f.styles.base;s=(0,a.twMerge)(p.className||"",s);var b,g,m,y=(0,a.twMerge)((0,n.default)((0,i.default)(h.initial),(b={},m=r,(g=(0,i.default)(h.divider))in b?Object.defineProperty(b,g,{value:m,enumerable:!0,configurable:!0,writable:!0}):b[g]=m,b)),s);return o.default.createElement("div",c({},d,{ref:t,className:y}),u)}));d.propTypes={divider:s.propTypesDivider,className:s.propTypesClassName,children:s.propTypesChildren},d.displayName="MaterialTailwind.DialogBody";var f=d},4092:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DialogFooter:function(){return d},default:function(){return f}});var o=u(r(1609)),n=u(r(2485)),a=r(2029),i=u(r(6851)),l=r(1768),s=r(1094);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},c.apply(this,arguments)}function u(e){return e&&e.__esModule?e:{default:e}}var d=o.default.forwardRef((function(e,t){var r=e.className,s=e.children,u=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),d=(0,l.useTheme)().dialogFooter,f=d.defaultProps,p=d.styles.base;r=(0,a.twMerge)(f.className||"",r);var h=(0,a.twMerge)((0,n.default)((0,i.default)(p)),r);return o.default.createElement("div",c({},u,{ref:t,className:h}),s)}));d.propTypes={className:s.propTypesClassName,children:s.propTypesChildren},d.displayName="MaterialTailwind.DialogFooter";var f=d},4442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DialogHeader:function(){return d},default:function(){return f}});var o=u(r(1609)),n=u(r(2485)),a=r(2029),i=u(r(6851)),l=r(1768),s=r(1094);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},c.apply(this,arguments)}function u(e){return e&&e.__esModule?e:{default:e}}var d=o.default.forwardRef((function(e,t){var r=e.className,s=e.children,u=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),d=(0,l.useTheme)().dialogHeader,f=d.defaultProps,p=d.styles.base;r=(0,a.twMerge)(f.className||"",r);var h=(0,a.twMerge)((0,n.default)((0,i.default)(p)),r);return o.default.createElement("div",c({},u,{ref:t,className:h}),s)}));d.propTypes={className:s.propTypesClassName,children:s.propTypesChildren},d.displayName="MaterialTailwind.DialogHeader";var f=d},2807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Dialog:function(){return x},DialogHeader:function(){return h.DialogHeader},DialogBody:function(){return b.DialogBody},DialogFooter:function(){return g.DialogFooter},default:function(){return w}});var o=v(r(1609)),n=v(r(5556)),a=r(392),i=r(3947),l=v(r(2485)),s=v(r(4744)),c=r(2029),u=v(r(3087)),d=v(r(6851)),f=r(1768),p=r(1094),h=r(4442),b=r(7431),g=r(4092);function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},y.apply(this,arguments)}function v(e){return e&&e.__esModule?e:{default:e}}var x=o.default.forwardRef((function(e,t){var r=e.open,n=e.handler,p=e.size,h=e.dismiss,b=e.animate,g=e.className,v=e.children,x=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["open","handler","size","dismiss","animate","className","children"]),w=(0,f.useTheme)().dialog,O=w.defaultProps,_=w.valid,k=w.styles,P=k.base,C=k.sizes;n=null!=n?n:void 0,p=null!=p?p:O.size,h=null!=h?h:O.dismiss,b=null!=b?b:O.animate,g=(0,c.twMerge)(O.className||"",g);var T,M,S=(0,l.default)((0,d.default)(P.backdrop)),E=(0,c.twMerge)((0,l.default)((0,d.default)(P.container),(0,d.default)(C[(0,u.default)(_.sizes,p,"md")])),g),j=(0,s.default)({unmount:{opacity:0,y:-50,transition:{duration:.3}},mount:{opacity:1,y:0,transition:{duration:.3}}},b),A=(0,a.useFloating)({open:r,onOpenChange:n}),N=A.floating,R=A.context,I=(0,a.useId)(),D="".concat(I,"-label"),L="".concat(I,"-description"),z=(0,a.useInteractions)([(0,a.useClick)(R),(0,a.useRole)(R),(0,a.useDismiss)(R,h)]).getFloatingProps,F=(0,a.useMergeRefs)([t,N]),V=i.AnimatePresence;return o.default.createElement(i.LazyMotion,{features:i.domAnimation},o.default.createElement(a.FloatingPortal,null,o.default.createElement(V,null,r&&o.default.createElement(a.FloatingOverlay,{style:{zIndex:9999},lockScroll:!0},o.default.createElement(a.FloatingFocusManager,{context:R},o.default.createElement(i.m.div,{className:"xxl"===p?"":S,initial:"unmount",exit:"unmount",animate:r?"mount":"unmount",variants:{unmount:{opacity:0,transition:{delay:.2}},mount:{opacity:1}},transition:{duration:.2}},o.default.createElement(i.m.div,y({},z((T=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){m(e,t,r[t])}))}return e}({},x),M=null!=(M={ref:F,className:E,"aria-labelledby":D,"aria-describedby":L})?M:{},Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(M)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(M)).forEach((function(e){Object.defineProperty(T,e,Object.getOwnPropertyDescriptor(M,e))})),T)),{initial:"unmount",exit:"unmount",animate:r?"mount":"unmount",variants:j}),v)))))))}));x.propTypes={open:p.propTypesOpen,handler:p.propTypesHandler,size:n.default.oneOf(p.propTypesSize),dismiss:p.propTypesDismiss,animate:p.propTypesAnimate,className:p.propTypesClassName,children:p.propTypesChildren},x.displayName="MaterialTailwind.Dialog";var w=Object.assign(x,{Header:h.DialogHeader,Body:b.DialogBody,Footer:g.DialogFooter})},1018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Drawer:function(){return g},default:function(){return m}});var o=b(r(1609)),n=b(r(5556)),a=r(3947),i=r(392),l=b(r(4744)),s=b(r(2485)),c=r(2029),u=b(r(6851)),d=r(1768),f=r(8675);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},h.apply(this,arguments)}function b(e){return e&&e.__esModule?e:{default:e}}var g=o.default.forwardRef((function(e,t){var r,n=e.open,f=e.size,b=e.overlay,g=e.children,m=e.placement,y=e.overlayProps,v=e.className,x=e.onClose,w=e.dismiss,O=e.transition,_=e.overlayRef,k=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["open","size","overlay","children","placement","overlayProps","className","onClose","dismiss","transition","overlayRef"]),P=(0,d.useTheme)().drawer,C=P.defaultProps,T=P.styles.base,M=(0,a.useAnimation)();f=null!=f?f:C.size,b=null!=b?b:C.overlay,m=null!=m?m:C.placement,y=null!=y?y:C.overlayProps,x=null!=x?x:C.onClose,w=null!==(r=(0,l.default)(C.dismiss,w||{}))&&void 0!==r?r:C.dismiss,O=null!=O?O:C.transition,v=(0,c.twMerge)(C.className||"",v);var S=(0,c.twMerge)((0,s.default)((0,u.default)(T.drawer),{"top-0 right-0":"right"===m,"bottom-0 left-0":"bottom"===m,"top-0 left-0":"top"===m||"left"===m}),v),E=(0,c.twMerge)((0,s.default)((0,u.default)(T.overlay)),null==y?void 0:y.className),j=(0,i.useFloating)({open:n,onOpenChange:x}).context,A=(0,i.useInteractions)([(0,i.useDismiss)(j,w)]).getFloatingProps;o.default.useEffect((function(){M.start(n?"open":"close")}),[n,M,m]);var N={open:{x:0,y:0},close:{x:"left"===m?-f:"right"===m?f:0,y:"top"===m?-f:"bottom"===m?f:0}};return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.LazyMotion,{features:a.domAnimation},o.default.createElement(a.AnimatePresence,null,b&&n&&o.default.createElement(a.m.div,{ref:_,className:E,initial:"unmount",exit:"unmount",animate:n?"mount":"unmount",variants:{unmount:{opacity:0,transition:{delay:.3}},mount:{opacity:1}},transition:{duration:.3}})),o.default.createElement(a.m.div,h({},A(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){p(e,t,r[t])}))}return e}({ref:t},k)),{className:S,style:{maxWidth:"left"===m||"right"===m?f:"100%",maxHeight:"top"===m||"bottom"===m?f:"100%",height:"left"===m||"right"===m?"100vh":"100%"},initial:"close",animate:M,variants:N,transition:O}),g)))}));g.propTypes={open:f.propTypesOpen,size:f.propTypesSize,overlay:f.propTypesOverlay,children:f.propTypesChildren,placement:n.default.oneOf(f.propTypesPlacement),overlayProps:f.propTypesOverlayProps,className:f.propTypesClassName,onClose:f.propTypesOnClose,dismiss:f.propTypesDismiss,transition:f.propTypesTransition,overlayRef:f.propTypesOverlayRef},g.displayName="MaterialTailwind.Drawer";var m=g},9306:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{IconButton:function(){return h},default:function(){return b}});var o=p(r(1609)),n=p(r(5556)),a=p(r(4466)),i=p(r(2485)),l=r(2029),s=p(r(3087)),c=p(r(6851)),u=r(1768),d=r(2990);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.variant,n=e.size,d=e.color,p=e.ripple,h=e.className,b=e.children,g=(e.fullWidth,function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","size","color","ripple","className","children","fullWidth"])),m=(0,u.useTheme)().iconButton,y=m.valid,v=m.defaultProps,x=m.styles,w=x.base,O=x.variants,_=x.sizes;r=null!=r?r:v.variant,n=null!=n?n:v.size,d=null!=d?d:v.color,p=null!=p?p:v.ripple,h=(0,l.twMerge)(v.className||"",h);var k=void 0!==p&&new a.default,P=(0,c.default)(w),C=(0,c.default)(O[(0,s.default)(y.variants,r,"filled")][(0,s.default)(y.colors,d,"gray")]),T=(0,c.default)(_[(0,s.default)(y.sizes,n,"md")]),M=(0,l.twMerge)((0,i.default)(P,T,C),h);return o.default.createElement("button",f({},g,{ref:t,className:M,type:g.type||"button",onMouseDown:function(e){var t=null==g?void 0:g.onMouseDown;return p&&k.create(e,"filled"!==r&&"gradient"!==r||"white"===d?"dark":"light"),"function"==typeof t&&t(e)}}),o.default.createElement("span",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform"},b))}));h.propTypes={variant:n.default.oneOf(d.propTypesVariant),size:n.default.oneOf(d.propTypesSize),color:n.default.oneOf(d.propTypesColor),ripple:d.propTypesRipple,className:d.propTypesClassName,children:d.propTypesChildren},h.displayName="MaterialTailwind.IconButton";var b=h},2541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Input:function(){return h},default:function(){return b}});var o=p(r(1609)),n=p(r(5556)),a=p(r(2485)),i=p(r(3087)),l=p(r(6851)),s=r(1768),c=r(1652),u=r(2029);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.variant,n=e.color,c=e.size,p=e.label,h=e.error,b=e.success,g=e.icon,m=e.containerProps,y=e.labelProps,v=e.className,x=e.shrink,w=e.inputRef,O=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","color","size","label","error","success","icon","containerProps","labelProps","className","shrink","inputRef"]),_=(0,s.useTheme)().input,k=_.defaultProps,P=_.valid,C=_.styles,T=C.base,M=C.variants;r=null!=r?r:k.variant,c=null!=c?c:k.size,n=null!=n?n:k.color,p=null!=p?p:k.label,y=null!=y?y:k.labelProps,m=null!=m?m:k.containerProps,x=null!=x?x:k.shrink,g=null!=g?g:k.icon,v=(0,u.twMerge)(k.className||"",v);var S=M[(0,i.default)(P.variants,r,"outlined")],E=S.sizes[(0,i.default)(P.sizes,c,"md")],j=(0,l.default)(S.error.input),A=(0,l.default)(S.success.input),N=(0,l.default)(S.shrink.input),R=(0,l.default)(S.colors.input[(0,i.default)(P.colors,n,"gray")]),I=(0,l.default)(S.error.label),D=(0,l.default)(S.success.label),L=(0,l.default)(S.shrink.label),z=(0,l.default)(S.colors.label[(0,i.default)(P.colors,n,"gray")]),F=(0,a.default)((0,l.default)(T.container),(0,l.default)(E.container),null==m?void 0:m.className),V=(0,a.default)((0,l.default)(T.input),(0,l.default)(S.base.input),(0,l.default)(E.input),d({},(0,l.default)(S.base.inputWithIcon),g),d({},R,!h&&!b),d({},j,h),d({},A,b),d({},N,x),v),B=(0,a.default)((0,l.default)(T.label),(0,l.default)(S.base.label),(0,l.default)(E.label),d({},z,!h&&!b),d({},I,h),d({},D,b),d({},L,x),null==y?void 0:y.className),W=(0,a.default)((0,l.default)(T.icon),(0,l.default)(S.base.icon),(0,l.default)(E.icon)),H=(0,a.default)((0,l.default)(T.asterisk));return o.default.createElement("div",f({},m,{ref:t,className:F}),g&&o.default.createElement("div",{className:W},g),o.default.createElement("input",f({},O,{ref:w,className:V,placeholder:(null==O?void 0:O.placeholder)||" "})),o.default.createElement("label",f({},y,{className:B}),p," ",O.required?o.default.createElement("span",{className:H},"*"):""))}));h.propTypes={variant:n.default.oneOf(c.propTypesVariant),size:n.default.oneOf(c.propTypesSize),color:n.default.oneOf(c.propTypesColor),label:c.propTypesLabel,error:c.propTypesError,success:c.propTypesSuccess,icon:c.propTypesIcon,labelProps:c.propTypesLabelProps,containerProps:c.propTypesContainerProps,shrink:c.propTypesShrink,className:c.propTypesClassName},h.displayName="MaterialTailwind.Input";var b=h},6964:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ListItem:function(){return b},ListItemPrefix:function(){return u.ListItemPrefix},ListItemSuffix:function(){return d.ListItemSuffix},default:function(){return g}});var o=h(r(1609)),n=r(1768),a=h(r(4466)),i=h(r(2485)),l=r(2029),s=h(r(6851)),c=r(7742),u=r(9712),d=r(7165);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},p.apply(this,arguments)}function h(e){return e&&e.__esModule?e:{default:e}}var b=o.default.forwardRef((function(e,t){var r,c=e.className,u=e.disabled,d=e.selected,h=e.ripple,b=e.children,g=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","disabled","selected","ripple","children"]),m=(0,n.useTheme)().list,y=m.defaultProps,v=m.styles.base,x=void 0!==(h=null!=h?h:y.ripple)&&new a.default,w=(0,l.twMerge)((0,i.default)((0,s.default)(v.item.initial),(f(r={},(0,s.default)(v.item.disabled),u),f(r,(0,s.default)(v.item.selected),d&&!u),r)),c);return o.default.createElement("div",p({},g,{ref:t,role:"button",tabIndex:0,className:w,onMouseDown:function(e){var t=null==g?void 0:g.onMouseDown;return h&&x.create(e,"dark"),"function"==typeof t&&t(e)}}),b)}));b.propTypes={className:c.propTypesClassName,selected:c.propTypesSelected,disabled:c.propTypesDisabled,ripple:c.propTypesRipple,children:c.propTypesChildren},b.displayName="MaterialTailwind.ListItem";var g=Object.assign(b,{Prefix:u.ListItemPrefix,Suffix:d.ListItemSuffix})},9712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ListItemPrefix:function(){return d},default:function(){return f}});var o=u(r(1609)),n=r(1768),a=u(r(2485)),i=r(2029),l=u(r(6851)),s=r(7742);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},c.apply(this,arguments)}function u(e){return e&&e.__esModule?e:{default:e}}var d=o.default.forwardRef((function(e,t){var r=e.className,s=e.children,u=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),d=(0,n.useTheme)().list.styles.base,f=(0,i.twMerge)((0,a.default)((0,l.default)(d.itemPrefix)),r);return o.default.createElement("div",c({},u,{ref:t,className:f}),s)}));d.propTypes={className:s.propTypesClassName,children:s.propTypesChildren},d.displayName="MaterialTailwind.ListItemPrefix";var f=d},7165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ListItemSuffix:function(){return d},default:function(){return f}});var o=u(r(1609)),n=r(1768),a=u(r(2485)),i=r(2029),l=u(r(6851)),s=r(7742);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},c.apply(this,arguments)}function u(e){return e&&e.__esModule?e:{default:e}}var d=o.default.forwardRef((function(e,t){var r=e.className,s=e.children,u=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),d=(0,n.useTheme)().list.styles.base,f=(0,i.twMerge)((0,a.default)((0,l.default)(d.itemSuffix)),r);return o.default.createElement("div",c({},u,{ref:t,className:f}),s)}));d.propTypes={className:s.propTypesClassName,children:s.propTypesChildren},d.displayName="MaterialTailwind.ListItemSuffix";var f=d},6651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{List:function(){return h},ListItem:function(){return c.ListItem},ListItemPrefix:function(){return u.ListItemPrefix},ListItemSuffix:function(){return d.ListItemSuffix},default:function(){return b}});var o=p(r(1609)),n=r(1768),a=p(r(2485)),i=r(2029),l=p(r(6851)),s=r(7742),c=r(6964),u=r(9712),d=r(7165);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.className,s=e.children,c=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),u=(0,n.useTheme)().list,d=u.defaultProps,p=u.styles.base;r=(0,i.twMerge)(d.className||"",r);var h=(0,i.twMerge)((0,a.default)((0,l.default)(p.list)),r);return o.default.createElement("nav",f({},c,{ref:t,className:h}),s)}));h.propTypes={className:s.propTypesClassName,children:s.propTypesChildren},h.displayName="MaterialTailwind.List";var b=Object.assign(h,{Item:c.ListItem,ItemPrefix:u.ListItemPrefix,ItemSuffix:d.ListItemSuffix})},1950:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MenuContext:function(){return i},useMenu:function(){return l},MenuContextProvider:function(){return s}});var o,n=(o=r(1609))&&o.__esModule?o:{default:o},a=r(1617),i=n.default.createContext(null);function l(){var e=n.default.useContext(i);if(!e)throw new Error("useMenu() must be used within a Menu. It happens when you use MenuCore, MenuHandler, MenuItem or MenuList components outside the Menu component.");return e}i.displayName="MaterialTailwind.MenuContext";var s=function(e){var t=e.value,r=e.children;return n.default.createElement(i.Provider,{value:t},r)};s.prototypes={value:a.propTypesContextValue,children:a.propTypesChildren},s.displayName="MaterialTailwind.MenuContextProvider"},8806:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MenuCore:function(){return p},default:function(){return h}});var o=d(r(1609)),n=d(r(5556)),a=r(392),i=d(r(4744)),l=r(1768),s=r(1950),c=r(1617);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var p=o.default.forwardRef((function(e,t){var r=e.open,n=e.handler,c=e.placement,u=e.offset,d=e.dismiss,p=e.animate,h=e.lockScroll,b=e.allowHover,g=e.children,m=(0,l.useTheme)().menu.defaultProps,y=f(o.default.useState(!1),2),v=y[0],x=y[1],w=f(o.default.useState(!1),2),O=w[0],_=w[1];r=null!=r?r:v,n=null!=n?n:x,c=null!=c?c:m.placement,u=null!=u?u:m.offset,d=null!=d?d:m.dismiss,p=null!=p?p:m.animate,h=null!=h?h:m.lockScroll;var k=(0,i.default)({unmount:{opacity:0,transformOrigin:"top",transform:"scale(0.95)",transition:{duration:.2,times:[.4,0,.2,1]}},mount:{opacity:1,transformOrigin:"top",transform:"scale(1)",transition:{duration:.2,times:[.4,0,.2,1]}}},p),P=f(o.default.useState(null),2),C=P[0],T=P[1],M=o.default.useRef([]),S=o.default.useRef(o.default.Children.map(g,(function(e){return o.default.isValidElement(e)?e.props.label:null}))),E=(0,a.useFloatingTree)(),j=(0,a.useFloatingNodeId)(),A=(0,a.useFloatingParentNodeId)(),N=null!=A,R=(0,a.useFloating)({open:r,nodeId:j,placement:c,onOpenChange:n,middleware:[(0,a.offset)(u),(0,a.flip)(),(0,a.shift)()],whileElementsMounted:a.autoUpdate}),I=R.x,D=R.y,L=R.strategy,z=R.refs,F=R.context,V=(0,a.useInteractions)([(0,a.useHover)(F,{handleClose:(0,a.safePolygon)({restMs:25,blockPointerEvents:!0}),enabled:b||N&&O,delay:{open:75}}),(0,a.useClick)(F,{toggle:!N||!O,event:"mousedown",ignoreMouse:N}),(0,a.useRole)(F,{role:"menu"}),(0,a.useDismiss)(F,d),(0,a.useListNavigation)(F,{listRef:M,activeIndex:C,nested:N,onNavigate:T}),(0,a.useTypeahead)(F,{listRef:S,onMatch:r?T:void 0,activeIndex:C})]),B=V.getReferenceProps,W=V.getFloatingProps,H=V.getItemProps;o.default.useEffect((function(){var e=function(){d.itemPress&&n(!1)},t=function(e){e.nodeId!==j&&e.parentId===A&&n(!1)};return null==E||E.events.on("click",e),null==E||E.events.on("menuopen",t),function(){null==E||E.events.off("click",e),null==E||E.events.off("menuopen",t)}}),[E,j,A,n,d]),o.default.useEffect((function(){r&&(null==E||E.events.emit("menuopen",{parentId:A,nodeId:j}))}),[E,r,j,A]),o.default.useEffect((function(){var e=function(e){"touch"!==e.pointerType&&_(!0)},t=function(){_(!1)};return window.addEventListener("pointermove",e,{once:!0,capture:!0}),window.addEventListener("keydown",t,!0),function(){window.removeEventListener("pointermove",e,{capture:!0}),window.removeEventListener("keydown",t,!0)}}),[O]);var U=(0,a.useMergeRefs)([z.setReference,t]),q=o.default.useMemo((function(){return{open:r,handler:n,setInternalOpen:x,strategy:L,x:I,y:D,reference:U,floating:z.setFloating,listItemsRef:M,getReferenceProps:B,getFloatingProps:W,getItemProps:H,appliedAnimation:k,lockScroll:h,context:F,activeIndex:C,tree:E,allowHover:b,internalAllowHover:O,nested:N,setActiveIndex:T}}),[r,n,x,L,I,D,U,z,B,W,H,k,h,F,C,E,b,O,N,T]);return o.default.createElement(s.MenuContextProvider,{value:q},o.default.createElement(a.FloatingNode,{id:j},g))}));p.propTypes={open:c.propTypesOpen,handler:c.propTypesHandler,placement:n.default.oneOf(c.propTypesPlacement),offset:c.propTypesOffset,dismiss:c.propTypesDismiss,animate:c.propTypesAnimate,lockScroll:c.propTypesLockScroll,children:c.propTypesChildren},p.displayName="MaterialTailwind.MenuCore";var h=p},1285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MenuHandler:function(){return u},default:function(){return d}});var o,n=(o=r(1609))&&o.__esModule?o:{default:o},a=r(392),i=r(1950),l=r(1617);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){s(e,t,r[t])}))}return e}var u=n.default.forwardRef((function(e,t){var r,o,l=e.children,s=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["children"]),u=(0,i.useMenu)(),d=u.getReferenceProps,f=u.reference,p=u.nested,h=(0,a.useMergeRefs)([t,f]);return n.default.cloneElement(l,c({},d(c((r=c({},s),o=null!=(o={ref:h,onClick:function(e){e.stopPropagation()}})?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))})),r),p&&{role:"menuitem"}))))}));u.propTypes={children:l.propTypesChildren},u.displayName="MaterialTailwind.MenuHandler";var d=u},9114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MenuItem:function(){return d},default:function(){return f}});var o=u(r(1609)),n=u(r(2485)),a=r(2029),i=u(r(6851)),l=r(1768),s=r(1617);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},c.apply(this,arguments)}function u(e){return e&&e.__esModule?e:{default:e}}var d=o.default.forwardRef((function(e,t){var r,s,u,d=e.className,f=void 0===d?"":d,p=e.disabled,h=void 0!==p&&p,b=e.children,g=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","disabled","children"]),m=(0,l.useTheme)().menu.styles.base,y=(0,a.twMerge)((0,n.default)((0,i.default)(m.item.initial),(r={},u=h,(s=(0,i.default)(m.item.disabled))in r?Object.defineProperty(r,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[s]=u,r)),f);return o.default.createElement("button",c({},g,{ref:t,role:"menuitem",className:y}),b)}));d.propTypes={className:s.propTypesClassName,disabled:s.propTypesDisabled,children:s.propTypesChildren},d.displayName="MaterialTailwind.MenuItem";var f=d},9369:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MenuList:function(){return h},default:function(){return b}});var o=p(r(1609)),n=r(392),a=r(3947),i=p(r(2485)),l=r(2029),s=p(r(6851)),c=r(1768),u=r(1950),d=r(1617);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.children,d=e.className,p=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["children","className"]),h=(0,c.useTheme)().menu.styles.base,b=(0,u.useMenu)(),g=b.open,m=b.handler,y=b.strategy,v=b.x,x=b.y,w=b.floating,O=b.listItemsRef,_=b.getFloatingProps,k=b.getItemProps,P=b.appliedAnimation,C=b.lockScroll,T=b.context,M=b.activeIndex,S=b.tree,E=b.allowHover,j=b.internalAllowHover,A=b.setActiveIndex,N=b.nested;d=null!=d?d:"";var R=(0,l.twMerge)((0,i.default)((0,s.default)(h.menu)),d),I=(0,n.useMergeRefs)([t,w]),D=a.AnimatePresence,L=o.default.createElement(a.m.div,f({},p,{ref:I,style:{position:y,top:null!=x?x:0,left:null!=v?v:0},className:R},_({onKeyDown:function(e){"Tab"===e.key&&(m(!1),e.shiftKey&&e.preventDefault())}}),{initial:"unmount",exit:"unmount",animate:g?"mount":"unmount",variants:P}),o.default.Children.map(r,(function(e,t){return o.default.isValidElement(e)&&o.default.cloneElement(e,k({tabIndex:M===t?0:-1,role:"menuitem",className:e.props.className,ref:function(e){O.current[t]=e},onClick:function(t){var r,o;e.props.onClick&&(null===(o=(r=e.props).onClick)||void 0===o||o.call(r,t)),null==S||S.events.emit("click")},onMouseEnter:function(){(E&&g||j&&g)&&A(t)}}))})));return o.default.createElement(a.LazyMotion,{features:a.domAnimation},o.default.createElement(n.FloatingPortal,null,o.default.createElement(D,null,g&&o.default.createElement(o.default.Fragment,null,C?o.default.createElement(n.FloatingOverlay,{lockScroll:!0},o.default.createElement(n.FloatingFocusManager,{context:T,modal:!N,initialFocus:N?-1:0,returnFocus:!N,visuallyHiddenDismiss:!0},L)):o.default.createElement(n.FloatingFocusManager,{context:T,modal:!N,initialFocus:N?-1:0,returnFocus:!N,visuallyHiddenDismiss:!0},L)))))}));h.propTypes={className:d.propTypesClassName,children:d.propTypesChildren},h.displayName="MaterialTailwind.MenuList";var b=h},2360:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Menu:function(){return f},MenuHandler:function(){return s.MenuHandler},MenuList:function(){return c.MenuList},MenuItem:function(){return u.MenuItem},useMenu:function(){return i.useMenu},default:function(){return p}});var o,n=(o=r(1609))&&o.__esModule?o:{default:o},a=r(392),i=r(1950),l=r(8806),s=r(1285),c=r(9369),u=r(9114);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},d.apply(this,arguments)}var f=n.default.forwardRef((function(e,t){var r=e.open,o=e.handler,i=e.placement,s=e.offset,c=e.dismiss,u=e.animate,f=e.lockScroll,p=e.allowHover,h=e.children,b={open:r,handler:o,placement:i,offset:s,dismiss:c,animate:u,lockScroll:f,allowHover:p};return null==(0,a.useFloatingParentNodeId)()?n.default.createElement(a.FloatingTree,null,n.default.createElement(l.MenuCore,d({ref:t},b),h)):n.default.createElement(l.MenuCore,d({ref:t},b),h)}));f.propTypes=l.MenuCore.propTypes,f.displayName="MaterialTailwind.Menu";var p=Object.assign(f,{Handler:s.MenuHandler,List:c.MenuList,Item:u.MenuItem})},6494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MobileNav:function(){return h},default:function(){return b}});var o=p(r(1609)),n=r(3947),a=r(392),i=p(r(4744)),l=p(r(2485)),s=r(2029),c=p(r(6851)),u=r(1768),d=r(4892);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r,d=e.open,p=e.animate,h=e.className,b=e.children,g=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["open","animate","className","children"]);console.error("<MobileNav /> will be deprecated in the future versions of @material-tailwind/react use <Collapse /> instead.\n \nMore details: https://www.material-tailwind.com/docs/react/collapse\n ");var m=o.default.useRef(null),y=(0,u.useTheme)().navbar.styles.base.mobileNav;p=null!=p?p:{},h=null!=h?h:"";var v=(0,s.twMerge)((0,l.default)((0,c.default)(y)),h),x={unmount:{height:0,opacity:0,transition:{duration:.3,times:"[0.4, 0, 0.2, 1]"}},mount:{opacity:1,height:"".concat(null===(r=m.current)||void 0===r?void 0:r.scrollHeight,"px"),transition:{duration:.3,times:"[0.4, 0, 0.2, 1]"}}},w=(0,i.default)(x,p),O=n.AnimatePresence,_=(0,a.useMergeRefs)([t,m]);return o.default.createElement(n.LazyMotion,{features:n.domAnimation},o.default.createElement(O,null,o.default.createElement(n.m.div,f({},g,{ref:_,className:v,initial:"unmount",exit:"unmount",animate:d?"mount":"unmount",variants:w}),b)))}));h.displayName="MaterialTailwind.MobileNav",h.propTypes={open:d.propTypesOpen,animate:d.propTypesAnimate,className:d.propTypesClassName,children:d.propTypesChildren};var b=h},8773:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Navbar:function(){return b},MobileNav:function(){return u.MobileNav},default:function(){return g}});var o=h(r(1609)),n=h(r(5556)),a=h(r(2485)),i=r(2029),l=h(r(3087)),s=h(r(6851)),c=r(1768),u=r(6494),d=r(4892);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},p.apply(this,arguments)}function h(e){return e&&e.__esModule?e:{default:e}}var b=o.default.forwardRef((function(e,t){var r,n=e.variant,u=e.color,d=e.shadow,h=e.blurred,b=e.fullWidth,g=e.className,m=e.children,y=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","color","shadow","blurred","fullWidth","className","children"]),v=(0,c.useTheme)().navbar,x=v.defaultProps,w=v.valid,O=v.styles,_=O.base,k=O.variants;n=null!=n?n:x.variant,u=null!=u?u:x.color,d=null!=d?d:x.shadow,h=null!=h?h:x.blurred,b=null!=b?b:x.fullWidth,g=(0,i.twMerge)(x.className||"",g);var P=(0,a.default)((0,s.default)(_.navbar.initial),(f(r={},(0,s.default)(_.navbar.shadow),d),f(r,(0,s.default)(_.navbar.blurred),h&&"white"===u),f(r,(0,s.default)(_.navbar.fullWidth),b),r)),C=(0,a.default)((0,s.default)(k[(0,l.default)(w.variants,n,"filled")][(0,l.default)(w.colors,u,"white")])),T=(0,i.twMerge)((0,a.default)(P,C),g);return o.default.createElement("nav",p({},y,{ref:t,className:T}),m)}));b.propTypes={variant:n.default.oneOf(d.propTypesVariant),color:n.default.oneOf(d.propTypesColor),shadow:d.propTypesShadow,blurred:d.propTypesBlurred,fullWidth:d.propTypesFullWidth,className:d.propTypesClassName,children:d.propTypesChildren},b.displayName="MaterialTailwind.Navbar";var g=Object.assign(b,{MobileNav:u.MobileNav})},3880:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PopoverContent:function(){return b},default:function(){return g}});var o=h(r(1609)),n=r(392),a=r(3947),i=h(r(2485)),l=r(2029),s=h(r(6851)),c=r(1768),u=r(1342),d=r(3265);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},p.apply(this,arguments)}function h(e){return e&&e.__esModule?e:{default:e}}var b=o.default.forwardRef((function(e,t){var r=e.children,d=e.className,h=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["children","className"]),b=(0,c.useTheme)().popover,g=b.defaultProps,m=b.styles.base,y=(0,u.usePopover)(),v=y.open,x=y.strategy,w=y.x,O=y.y,_=y.context,k=y.floating,P=y.getFloatingProps,C=y.appliedAnimation,T=y.labelId,M=y.descriptionId;d=(0,l.twMerge)(g.className||"",d);var S,E,j=(0,l.twMerge)((0,i.default)((0,s.default)(m)),d),A=(0,n.useMergeRefs)([t,k]),N=a.AnimatePresence;return o.default.createElement(a.LazyMotion,{features:a.domAnimation},o.default.createElement(n.FloatingPortal,null,o.default.createElement(N,null,v&&o.default.createElement(n.FloatingFocusManager,{context:_},o.default.createElement(a.m.div,p({},P((S=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){f(e,t,r[t])}))}return e}({},h),E=null!=(E={ref:A,className:j,style:{position:x,top:null!=O?O:"",left:null!=w?w:""},"aria-labelledby":T,"aria-describedby":M})?E:{},Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(E)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(E)).forEach((function(e){Object.defineProperty(S,e,Object.getOwnPropertyDescriptor(E,e))})),S)),{initial:"unmount",exit:"unmount",animate:v?"mount":"unmount",variants:C}),r)))))}));b.propTypes={className:d.propTypesClassName,children:d.propTypesChildren},b.displayName="MaterialTailwind.PopoverContent";var g=b},1342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PopoverContext:function(){return i},usePopover:function(){return l},PopoverContextProvider:function(){return s}});var o,n=(o=r(1609))&&o.__esModule?o:{default:o},a=r(3265),i=n.default.createContext(null);function l(){var e=n.default.useContext(i);if(!e)throw new Error("usePopover() must be used within a Popover. It happens when you use PopoverHandler or PopoverContent components outside the Popover component.");return e}i.displayName="MaterialTailwind.PopoverContext";var s=function(e){var t=e.value,r=e.children;return n.default.createElement(i.Provider,{value:t},r)};s.propTypes={value:a.propTypesContextValue,children:a.propTypesChildren},s.displayName="MaterialTailwind.PopoverContextProvider"},3493:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PopoverHandler:function(){return u},default:function(){return d}});var o,n=(o=r(1609))&&o.__esModule?o:{default:o},a=r(392),i=r(1342),l=r(3265);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){s(e,t,r[t])}))}return e}var u=n.default.forwardRef((function(e,t){var r,o,l=e.children,s=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["children"]),u=(0,i.usePopover)(),d=u.getReferenceProps,f=u.reference,p=(0,a.useMergeRefs)([t,f]);return n.default.cloneElement(l,c({},d((r=c({},s),o=null!=(o={ref:p})?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))})),r))))}));u.propTypes={children:l.propTypesChildren},u.displayName="MaterialTailwind.PopoverHandler";var d=u},9664:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Popover:function(){return h},PopoverHandler:function(){return u.PopoverHandler},PopoverContent:function(){return d.PopoverContent},usePopover:function(){return s.usePopover},default:function(){return b}});var o=p(r(1609)),n=p(r(5556)),a=r(392),i=p(r(4744)),l=r(1768),s=r(1342),c=r(3265),u=r(3493),d=r(3880);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function p(e){return e&&e.__esModule?e:{default:e}}var h=function(e){var t,r,n=e.open,c=e.handler,u=e.placement,d=e.offset,p=e.dismiss,h=e.animate,b=e.children,g=(0,l.useTheme)().popover.defaultProps,m=(t=o.default.useState(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(t,r)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),y=m[0],v=m[1];n=null!=n?n:y,c=null!=c?c:v,u=null!=u?u:g.placement,d=null!=d?d:g.offset,p=null!=p?p:g.dismiss,h=null!=h?h:g.animate;var x=(0,i.default)({unmount:{opacity:0},mount:{opacity:1}},h),w=(0,a.useFloating)({open:n,onOpenChange:c,middleware:[(0,a.offset)(d),(0,a.flip)(),(0,a.shift)()],placement:u}),O=w.x,_=w.y,k=w.reference,P=w.floating,C=w.strategy,T=w.refs,M=w.update,S=w.context,E=(0,a.useId)(),j="".concat(E,"-label"),A="".concat(E,"-description"),N=(0,a.useInteractions)([(0,a.useClick)(S),(0,a.useRole)(S),(0,a.useDismiss)(S,p)]),R=N.getReferenceProps,I=N.getFloatingProps;o.default.useEffect((function(){if(T.reference.current&&T.floating.current&&n)return(0,a.autoUpdate)(T.reference.current,T.floating.current,M)}),[n,M,T.reference,T.floating]);var D=o.default.useMemo((function(){return{open:n,strategy:C,x:O,y:_,context:S,reference:k,floating:P,getReferenceProps:R,getFloatingProps:I,appliedAnimation:x,labelId:j,descriptionId:A}}),[n,C,O,_,S,k,P,I,R,x,j,A]);return o.default.createElement(s.PopoverContextProvider,{value:D},b)};h.propTypes={open:c.propTypesOpen,handler:c.propTypesHandler,placement:n.default.oneOf(c.propTypesPlacement),offset:c.propTypesOffset,dismiss:c.propTypesDismiss,animate:c.propTypesAnimate,children:c.propTypesChildren},h.displayName="MaterialTailwind.Popover";var b=Object.assign(h,{Handler:u.PopoverHandler,Content:d.PopoverContent})},7984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Progress:function(){return p},default:function(){return h}});var o=f(r(1609)),n=f(r(5556)),a=f(r(2485)),i=r(2029),l=f(r(3087)),s=f(r(6851)),c=r(1768),u=r(869);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},d.apply(this,arguments)}function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.forwardRef((function(e,t){var r=e.variant,n=e.color,u=e.size,f=e.value,p=e.label,h=e.className,b=e.barProps,g=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","color","size","value","label","className","barProps"]),m=(0,c.useTheme)().progress,y=m.defaultProps,v=m.valid,x=m.styles,w=x.base,O=x.variants,_=x.sizes;r=null!=r?r:y.variant,n=null!=n?n:y.color,u=null!=u?u:y.size,p=null!=p?p:y.label,b=null!=b?b:y.barProps,h=(0,i.twMerge)(y.className||"",h);var k=(0,s.default)(O[(0,l.default)(v.variants,r,"filled")][(0,l.default)(v.colors,n,"gray")]),P=(0,s.default)(_[(0,l.default)(v.sizes,u,"md")].container.initial),C=(0,a.default)((0,s.default)(w.container.initial),P),T=(0,s.default)(_[(0,l.default)(v.sizes,u,"md")].container.withLabel),M=(0,a.default)((0,s.default)(w.container.withLabel),T),S=(0,s.default)(_[(0,l.default)(v.sizes,u,"md")].bar),E=(0,a.default)((0,s.default)(w.bar),S),j=(0,i.twMerge)((0,a.default)(C,function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},M,p)),h),A=(0,i.twMerge)((0,a.default)(E,k),null==b?void 0:b.className);return o.default.createElement("div",d({},g,{ref:t,className:j}),o.default.createElement("div",d({},b,{className:A,style:{width:"".concat(f,"%")}}),p&&"".concat(f,"% ").concat("string"==typeof p?p:"")))}));p.propTypes={variant:n.default.oneOf(u.propTypesVariant),color:n.default.oneOf(u.propTypesColor),size:n.default.oneOf(u.propTypesSize),value:u.propTypesValue,label:u.propTypesLabel,barProps:u.propTypesBarProps,className:u.propTypesClassName},p.displayName="MaterialTailwind.Progress";var h=p},6894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Radio:function(){return h},default:function(){return b}});var o=p(r(1609)),n=p(r(5556)),a=p(r(4466)),i=p(r(2485)),l=r(2029),s=p(r(3087)),c=p(r(6851)),u=r(1768),d=r(4987);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.color,n=e.label,d=e.icon,p=e.ripple,h=e.className,b=e.disabled,g=e.containerProps,m=e.labelProps,y=e.iconProps,v=e.inputRef,x=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["color","label","icon","ripple","className","disabled","containerProps","labelProps","iconProps","inputRef"]),w=(0,u.useTheme)().radio,O=w.defaultProps,_=w.valid,k=w.styles,P=k.base,C=k.colors,T=o.default.useId();r=null!=r?r:O.color,n=null!=n?n:O.label,d=null!=d?d:O.icon,p=null!=p?p:O.ripple,b=null!=b?b:O.disabled,g=null!=g?g:O.containerProps,m=null!=m?m:O.labelProps,y=null!=y?y:O.iconProps,h=(0,l.twMerge)(O.className||"",h);var M,S,E,j=void 0!==p&&new a.default,A=(0,i.default)((0,c.default)(P.root),(M={},E=b,(S=(0,c.default)(P.disabled))in M?Object.defineProperty(M,S,{value:E,enumerable:!0,configurable:!0,writable:!0}):M[S]=E,M)),N=(0,l.twMerge)((0,i.default)((0,c.default)(P.container)),null==g?void 0:g.className),R=(0,l.twMerge)((0,i.default)((0,c.default)(P.input),(0,c.default)(C[(0,s.default)(_.colors,r,"gray")])),h),I=(0,l.twMerge)((0,i.default)((0,c.default)(P.label)),null==m?void 0:m.className),D=(0,i.default)((0,i.default)((0,c.default)(P.icon)),C[(0,s.default)(_.colors,r,"gray")].color,null==y?void 0:y.className);return o.default.createElement("div",{ref:t,className:A},o.default.createElement("label",f({},g,{className:N,htmlFor:x.id||T,onMouseDown:function(e){var t=null==g?void 0:g.onMouseDown;return p&&j.create(e,"dark"),"function"==typeof t&&t(e)}}),o.default.createElement("input",f({},x,{ref:v,type:"radio",disabled:b,className:R,id:x.id||T})),o.default.createElement("span",{className:D},d||o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-3.5 w-3.5",viewBox:"0 0 16 16",fill:"currentColor"},o.default.createElement("circle",{"data-name":"ellipse",cx:"8",cy:"8",r:"8"})))),n&&o.default.createElement("label",f({},m,{className:I,htmlFor:x.id||T}),n))}));h.propTypes={color:n.default.oneOf(d.propTypesColor),label:d.propTypesLabel,icon:d.propTypesIcon,ripple:d.propTypesRipple,className:d.propTypesClassName,disabled:d.propTypesDisabled,containerProps:d.propTypesObject,labelProps:d.propTypesObject},h.displayName="MaterialTailwind.Radio";var b=h},9674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Rating:function(){return m},default:function(){return y}});var o=p(r(1609)),n=p(r(5556)),a=p(r(2485)),i=r(2029),l=p(r(3087)),s=p(r(6851)),c=r(1768),u=r(1891);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}var m=o.default.forwardRef((function(e,t){var r,n,u=e.count,d=e.value,p=e.ratedIcon,g=e.unratedIcon,m=e.ratedColor,y=e.unratedColor,v=e.className,x=e.onChange,w=e.readonly,O=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["count","value","ratedIcon","unratedIcon","ratedColor","unratedColor","className","onChange","readonly"]),_=(0,c.useTheme)().rating,k=_.valid,P=_.defaultProps,C=_.styles,T=C.base,M=C.colors;u=null!=u?u:P.count,d=null!=d?d:P.value,p=null!=(p=null!=p?p:P.ratedIcon)?p:P.ratedIcon,g=null!=g?g:P.unratedIcon,m=null!=m?m:P.ratedColor,y=null!=y?y:P.unratedColor,x=null!=x?x:P.onChange,w=null!=w?w:P.readonly,v=(0,i.twMerge)(P.className||"",v);var S=h(o.default.useState((function(){return b(Array(d).fill("rated")).concat(b(Array(u-d).fill("un_rated")))})),2),E=S[0],j=S[1],A=h(o.default.useState((function(){return b(Array(u).fill("un_rated"))})),2),N=A[0],R=A[1],I=h(o.default.useState(!1),2),D=I[0],L=I[1],z=(0,s.default)(M[(0,l.default)(k.colors,m,"yellow")]),F=(0,s.default)(M[(0,l.default)(k.colors,y,"blue-gray")]),V=(0,i.twMerge)((0,a.default)((0,s.default)(T.rating),v)),B=(0,s.default)(T.icon),W=p,H=g,U=o.default.isValidElement(p)&&o.default.cloneElement(W,{className:(0,i.twMerge)((0,a.default)(B,z,null==W||null===(r=W.props)||void 0===r?void 0:r.className))}),q=o.default.isValidElement(p)&&o.default.cloneElement(H,{className:(0,i.twMerge)((0,a.default)(B,F,null==H||null===(n=H.props)||void 0===n?void 0:n.className))}),$=!o.default.isValidElement(p)&&o.default.createElement(p,{className:(0,i.twMerge)((0,a.default)(B,z))}),Y=!o.default.isValidElement(p)&&o.default.createElement(g,{className:(0,i.twMerge)((0,a.default)(B,F))});return o.default.createElement("div",f({},O,{ref:t,className:V}),(D?N:E).map((function(e,t){return o.default.createElement("span",{key:t,onClick:function(){if(!w){var e=E.map((function(e,r){return r<=t?"rated":"un_rated"}));j(e),x&&"function"==typeof x&&x(e.filter((function(e){return"rated"===e})).length)}},onMouseEnter:function(){if(!w){var e=N.map((function(e,r){return r<=t?"rated":"un_rated"}));L(!0),R(e)}},onMouseLeave:function(){return!w&&L(!1)}},o.default.isValidElement("rated"===e?p:g)?"rated"===e?U:q:"rated"===e?$:Y)})))}));m.propTypes={count:u.propTypesCount,value:u.propTypesValue,ratedIcon:u.propTypesRatedIcon,unratedIcon:u.propTypesUnratedIcon,ratedColor:n.default.oneOf(u.propTypesColor),unratedColor:n.default.oneOf(u.propTypesColor),className:u.propTypesClassName,onChange:u.propTypesOnChange,readonly:u.propTypesReadonly},m.displayName="MaterialTailwind.Rating";var y=m},8928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SelectContext:function(){return l},useSelect:function(){return s},usePrevious:function(){return c},SelectContextProvider:function(){return u}});var o,n=(o=r(1609))&&o.__esModule?o:{default:o},a=r(3947),i=r(8354),l=n.default.createContext(null);function s(){var e=n.default.useContext(l);if(null===e)throw new Error("useSelect() must be used within a Select. It happens when you use SelectOption component outside the Select component.");return e}function c(e){var t=n.default.useRef();return(0,a.useIsomorphicLayoutEffect)((function(){t.current=e}),[e]),t.current}l.displayName="MaterialTailwind.SelectContext";var u=function(e){var t=e.value,r=e.children;return n.default.createElement(l.Provider,{value:t},r)};u.propTypes={value:i.propTypesContextValue,children:i.propTypesChildren},u.displayName="MaterialTailwind.SelectContextProvider"},6909:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SelectOption:function(){return p},default:function(){return h}});var o=f(r(1609)),n=f(r(2485)),a=r(2029),i=f(r(6851)),l=r(1768),s=r(8928),c=r(8354);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},d.apply(this,arguments)}function f(e){return e&&e.__esModule?e:{default:e}}var p=function(e){var t,r=function(){P(b),M(p),T(!1),E(null)},c=function(e){("Enter"===e.key||" "===e.key&&!A.current.typing)&&(e.preventDefault(),r())},f=e.value,p=void 0===f?"":f,h=e.index,b=void 0===h?0:h,g=e.disabled,m=void 0!==g&&g,y=e.className,v=void 0===y?"":y,x=e.children,w=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["value","index","disabled","className","children"]),O=(0,l.useTheme)().select.styles.base,_=(0,s.useSelect)(),k=_.selectedIndex,P=_.setSelectedIndex,C=_.listRef,T=_.setOpen,M=_.onChange,S=_.activeIndex,E=_.setActiveIndex,j=_.getItemProps,A=_.dataRef,N=(0,i.default)(O.option.initial),R=(0,i.default)(O.option.active),I=(0,i.default)(O.option.disabled),D=(0,a.twMerge)((0,n.default)(N,(u(t={},R,k===b),u(t,I,m),t)),null!=v?v:"");return o.default.createElement("li",d({},w,{role:"option",ref:function(e){return C.current[b]=e},className:D,disabled:m,tabIndex:S===b?0:1,"aria-selected":S===b&&k===b,"data-selected":k===b},j({onClick:function(e){var t=null==w?void 0:w.onClick;"function"==typeof t&&(t(e),r()),r()},onKeyDown:function(e){var t=null==w?void 0:w.onKeyDown;"function"==typeof t&&(t(e),c(e)),c(e)}})),x)};p.propTypes={value:c.propTypesValue,index:c.propTypesIndex,disabled:c.propTypesDisabled,className:c.propTypesClassName,children:c.propTypesChildren},p.displayName="MaterialTailwind.SelectOption";var h=p},8435:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Select:function(){return k},Option:function(){return b.SelectOption},useSelect:function(){return p.useSelect},usePrevious:function(){return p.usePrevious},default:function(){return P}});var o=v(r(1609)),n=v(r(5556)),a=r(392),i=r(3947),l=v(r(2485)),s=r(2029),c=v(r(4744)),u=v(r(3087)),d=v(r(6851)),f=r(1768),p=r(8928),h=r(8354),b=r(6909);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},y.apply(this,arguments)}function v(e){return e&&e.__esModule?e:{default:e}}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){m(e,t,r[t])}))}return e}function w(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(e,t)||_(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){if(e){if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}var k=o.default.forwardRef((function(e,t){var r,n,h=e.variant,b=e.color,v=e.size,k=e.label,P=e.error,C=e.success,T=e.arrow,M=e.value,S=e.onChange,E=e.selected,j=e.offset,A=e.dismiss,N=e.animate,R=e.lockScroll,I=e.labelProps,D=e.menuProps,L=e.className,z=e.disabled,F=e.name,V=e.children,B=e.containerProps,W=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","color","size","label","error","success","arrow","value","onChange","selected","offset","dismiss","animate","lockScroll","labelProps","menuProps","className","disabled","name","children","containerProps"]),H=(0,f.useTheme)().select,U=H.defaultProps,q=H.valid,$=H.styles,Y=$.base,X=$.variants,K=O(o.default.useState("close"),2),G=K[0],Z=K[1];h=null!=h?h:U.variant,b=null!=b?b:U.color,v=null!=v?v:U.size,k=null!=k?k:U.label,P=null!=P?P:U.error,C=null!=C?C:U.success,T=null!=T?T:U.arrow,M=null!=M?M:U.value,S=null!=S?S:U.onChange,E=null!=E?E:U.selected,j=null!=j?j:U.offset,A=null!=A?A:U.dismiss,N=null!=N?N:U.animate,I=null!=I?I:U.labelProps,D=null!=D?D:U.menuProps,B=null!==(n=(0,c.default)(B,(null==U?void 0:U.containerProps)||{}))&&void 0!==n?n:U.containerProps,L=(0,s.twMerge)(U.className||"",L),V=Array.isArray(V)?V:[V];var J,Q,ee=o.default.useRef([]),te=o.default.useRef(function(e){if(Array.isArray(e))return g(e)}(Q=null!==(J=o.default.Children.map(V,(function(e){var t=e.props;return null==t?void 0:t.value})))&&void 0!==J?J:[])||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(Q)||_(Q)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),re=O(o.default.useState(!1),2),oe=re[0],ne=re[1],ae=O(o.default.useState(null),2),ie=ae[0],le=ae[1],se=O(o.default.useState(0),2),ce=se[0],ue=se[1],de=O(o.default.useState(!1),2),fe=de[0],pe=de[1],he=(0,p.usePrevious)(ie),be=(0,a.useFloating)({placement:"bottom-start",open:oe,onOpenChange:ne,whileElementsMounted:a.autoUpdate,middleware:[(0,a.offset)(5),(0,a.flip)({padding:10}),(0,a.size)({apply:function(e){var t,r,o=e.rects,n=e.elements;Object.assign(null==n||null===(t=n.floating)||void 0===t?void 0:t.style,{width:"".concat(null==o||null===(r=o.reference)||void 0===r?void 0:r.width,"px"),zIndex:99})},padding:20})]}),ge=be.x,me=be.y,ye=be.strategy,ve=be.refs,xe=be.context;o.default.useEffect((function(){ue(Math.max(0,te.current.indexOf(M)+1))}),[M]);var we=ve.floating,Oe=(0,a.useInteractions)([(0,a.useClick)(xe),(0,a.useRole)(xe,{role:"listbox"}),(0,a.useDismiss)(xe,x({},A)),(0,a.useListNavigation)(xe,{listRef:ee,activeIndex:ie,selectedIndex:ce,onNavigate:le,loop:!0}),(0,a.useTypeahead)(xe,{listRef:te,activeIndex:ie,selectedIndex:ce,onMatch:oe?le:ue})]),_e=Oe.getReferenceProps,ke=Oe.getFloatingProps,Pe=Oe.getItemProps;(0,i.useIsomorphicLayoutEffect)((function(){var e=we.current;if(oe&&fe&&e){var t=null!=ie?ee.current[ie]:null!=ce?ee.current[ce]:null;if(t&&null!=he){var r,o,n=null!==(o=null===(r=ee.current[he])||void 0===r?void 0:r.offsetHeight)&&void 0!==o?o:0,a=e.offsetHeight,i=t.offsetTop,l=i+n;i<e.scrollTop?e.scrollTop-=e.scrollTop-i+5:l>a+e.scrollTop&&(e.scrollTop+=l-a-e.scrollTop+5)}}}),[oe,fe,he,ie]);var Ce=o.default.useMemo((function(){return{selectedIndex:ce,setSelectedIndex:ue,listRef:ee,setOpen:ne,onChange:S||function(){},activeIndex:ie,setActiveIndex:le,getItemProps:Pe,dataRef:xe.dataRef}}),[ce,S,ie,Pe,xe.dataRef]);o.default.useEffect((function(){Z(oe?"open":!oe&&ce||!oe&&M?"withValue":"close")}),[oe,M,ce,E]);var Te,Me,Se=X[(0,u.default)(q.variants,h,"outlined")],Ee=Se.sizes[(0,u.default)(q.sizes,v,"md")],je=Se.error.select,Ae=Se.success.select,Ne=Se.colors.select[(0,u.default)(q.colors,b,"gray")],Re=Se.error.label,Ie=Se.success.label,De=Se.colors.label[(0,u.default)(q.colors,b,"gray")],Le=Se.states[G],ze=(0,l.default)((0,d.default)(Y.container),(0,d.default)(Ee.container),null==B?void 0:B.className),Fe=(0,s.twMerge)((0,l.default)((0,d.default)(Y.select),(0,d.default)(Se.base.select),(0,d.default)(Le.select),(0,d.default)(Ee.select),m({},(0,d.default)(Ne[G]),!P&&!C),m({},(0,d.default)(je.initial),P),m({},(0,d.default)(je.states[G]),P),m({},(0,d.default)(Ae.initial),C),m({},(0,d.default)(Ae.states[G]),C)),L),Ve=(0,s.twMerge)((0,l.default)((0,d.default)(Y.label),(0,d.default)(Se.base.label),(0,d.default)(Le.label),(0,d.default)(Ee.label.initial),(0,d.default)(Ee.label.states[G]),m({},(0,d.default)(De[G]),!P&&!C),m({},(0,d.default)(Re.initial),P),m({},(0,d.default)(Re.states[G]),P),m({},(0,d.default)(Ie.initial),C),m({},(0,d.default)(Ie.states[G]),C)),null!==(Te=I.className)&&void 0!==Te?Te:""),Be=(0,l.default)((0,d.default)(Y.arrow.initial),m({},(0,d.default)(Y.arrow.active),oe)),We=(0,s.twMerge)((0,l.default)((0,d.default)(Y.menu)),null!==(Me=D.className)&&void 0!==Me?Me:""),He=(0,l.default)("absolute top-2/4 -translate-y-2/4","outlined"===h?"left-3 pt-0.5":"left-0 pt-3"),Ue=(0,c.default)({unmount:{opacity:0,transformOrigin:"top",transform:"scale(0.95)",transition:{duration:.2,times:[.4,0,.2,1]}},mount:{opacity:1,transformOrigin:"top",transform:"scale(1)",transition:{duration:.2,times:[.4,0,.2,1]}}},N),qe=i.AnimatePresence;o.default.useEffect((function(){M&&!S&&console.error("Warning: You provided a `value` prop to a select component without an `onChange` handler. This will render a read-only select. If the field should be mutable use `onChange` handler with `value` together.")}),[M,S]);var $e=o.default.createElement(a.FloatingFocusManager,{context:xe,modal:!1},o.default.createElement(i.m.ul,y({},ke(w(x({},D),{ref:ve.setFloating,role:"listbox",className:We,style:{position:ye,top:null!=me?me:0,left:null!=ge?ge:0,overflow:"auto"},onPointerEnter:function(e){var t=null==D?void 0:D.onPointerEnter;"function"==typeof t&&(t(e),pe(!1)),pe(!1)},onPointerMove:function(e){var t=null==D?void 0:D.onPointerMove;"function"==typeof t&&(t(e),pe(!1)),pe(!1)},onKeyDown:function(e){var t=null==D?void 0:D.onKeyDown;"function"==typeof t&&(t(e),pe(!0)),pe(!0)}})),{initial:"unmount",exit:"unmount",animate:oe?"mount":"unmount",variants:Ue}),o.default.Children.map(V,(function(e,t){var r;return o.default.isValidElement(e)&&o.default.cloneElement(e,w(x({},e.props),{index:(null===(r=e.props)||void 0===r?void 0:r.index)||t+1,id:"material-tailwind-select-".concat(t)}))}))));return o.default.createElement(p.SelectContextProvider,{value:Ce},o.default.createElement("div",y({},B,{ref:t,className:ze}),o.default.createElement("button",y({type:"button"},_e(w(x({},W),{ref:ve.setReference,className:Fe,disabled:z,name:F}))),"function"==typeof E?o.default.createElement("span",{className:He},E(V[ce-1],ce-1)):M&&!S?o.default.createElement("span",{className:He},M):o.default.createElement("span",y({},null===(r=V[ce-1])||void 0===r?void 0:r.props,{className:He})),o.default.createElement("div",{className:Be},null!=T?T:o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},o.default.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})))),o.default.createElement("label",y({},I,{className:Ve}),k),o.default.createElement(i.LazyMotion,{features:i.domAnimation},o.default.createElement(qe,null,oe&&o.default.createElement(o.default.Fragment,null,R?o.default.createElement(a.FloatingOverlay,{lockScroll:!0},$e):$e)))))}));k.propTypes={variant:n.default.oneOf(h.propTypesVariant),color:n.default.oneOf(h.propTypesColor),size:n.default.oneOf(h.propTypesSize),label:h.propTypesLabel,error:h.propTypesError,success:h.propTypesSuccess,arrow:h.propTypesArrow,value:h.propTypesValue,onChange:h.propTypesOnChange,selected:h.propTypesSelected,offset:h.propTypesOffset,dismiss:h.propTypesDismiss,animate:h.propTypesAnimate,lockScroll:h.propTypesLockScroll,labelProps:h.propTypesLabelProps,menuProps:h.propTypesMenuProps,className:h.propTypesClassName,disabled:h.propTypesDisabled,name:h.propTypesName,children:h.propTypesChildren,containerProps:h.propTypesContainerProps},k.displayName="MaterialTailwind.Select";var P=Object.assign(k,{Option:b.SelectOption})},9026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Slider:function(){return b},default:function(){return g}});var o=h(r(1609)),n=h(r(5556)),a=h(r(4744)),i=h(r(2485)),l=r(2029),s=h(r(3087)),c=h(r(6851)),u=r(1768),d=r(3831);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},p.apply(this,arguments)}function h(e){return e&&e.__esModule?e:{default:e}}var b=o.default.forwardRef((function(e,t){var r,n,d,h,b,g,m=e.color,y=e.size,v=e.className,x=e.trackClassName,w=e.thumbClassName,O=e.barClassName,_=e.value,k=e.defaultValue,P=e.onChange,C=e.min,T=e.max,M=e.step,S=e.inputRef,E=e.inputProps,j=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["color","size","className","trackClassName","thumbClassName","barClassName","value","defaultValue","onChange","min","max","step","inputRef","inputProps"]),A=(0,u.useTheme)().slider,N=A.valid,R=A.defaultProps,I=A.styles,D=I.base,L=I.sizes,z=I.colors,F=(b=o.default.useState(k||0),g=2,function(e){if(Array.isArray(e))return e}(b)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(b,g)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(b,g)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),V=F[0],B=F[1];o.default.useMemo((function(){k&&B(k)}),[k]),m=null!=m?m:R.color,y=null!=y?y:R.size,C=null!=C?C:R.min,T=null!=T?T:R.max,M=null!=M?M:R.step,v=(0,l.twMerge)(R.className||"",v),w=null!==(r=(0,i.default)(R.thumbClassName,w))&&void 0!==r?r:R.thumbClassName,x=null!==(n=(0,i.default)(R.trackClassName,x))&&void 0!==n?n:R.trackClassName,O=null!==(d=(0,i.default)(R.barClassName,O))&&void 0!==d?d:R.barClassName,E=null!==(h=(0,a.default)(E,(null==R?void 0:R.inputProps)||{}))&&void 0!==h?h:R.inputProps;var W=(0,l.twMerge)((0,i.default)((0,c.default)(D.container),(0,c.default)(z[(0,s.default)(N.colors,m,"gray")]),(0,c.default)(L[(0,s.default)(N.sizes,y,"md")].container),v)),H=(0,l.twMerge)((0,i.default)((0,c.default)(D.bar),O)),U=(0,i.default)((0,c.default)(D.track),(0,c.default)(L[(0,s.default)(N.sizes,y,"md")].track)),q=(0,i.default)((0,c.default)(D.thumb),(0,c.default)(L[(0,s.default)(N.sizes,y,"md")].thumb)),$=(0,i.default)((0,c.default)(D.slider),(0,l.twMerge)(U,x),(0,l.twMerge)(q,w));return o.default.createElement("div",p({},j,{ref:t,className:W}),o.default.createElement("label",{className:H,style:{width:"".concat(_||V,"%")}}),o.default.createElement("input",p({ref:S,type:"range",max:T,min:C,step:M,className:$},_?{value:_}:null,{defaultValue:k,onChange:function(e){return P?P(e):B(Number(e.target.value))}})))}));b.propTypes={color:n.default.oneOf(d.propTypesColor),size:n.default.oneOf(d.propTypesSize),className:d.propTypesClassName,trackClassName:d.propTypesTrackClassName,thumbClassName:d.propTypesThumbClassName,barClassName:d.propTypesBarClassName,defaultValue:d.propTypesDefaultValue,value:d.propTypesValue,onChange:d.propTypesOnChange,min:d.propTypesMin,max:d.propTypesMax,step:d.propTypesStep,inputRef:d.propTypesInputRef,inputProps:d.propTypesInputProps},b.displayName="MaterialTailwind.Slider";var g=b},8907:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SpeedDialAction:function(){return u},default:function(){return d}});var o=c(r(1609)),n=r(1768),a=r(2029),i=c(r(6851)),l=r(3849);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},s.apply(this,arguments)}function c(e){return e&&e.__esModule?e:{default:e}}var u=o.default.forwardRef((function(e,t){var r=e.className,l=e.children,c=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),u=(0,n.useTheme)().speedDialAction.styles,d=(0,a.twMerge)((0,i.default)(u),r);return o.default.createElement("button",s({},c,{ref:t,className:d}),l)}));u.propTypes={children:l.propTypesChildren,className:l.propTypesClassName},u.displayName="SpeedDialAction";var d=u},508:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SpeedDialContent:function(){return p},default:function(){return h}});var o=f(r(1609)),n=r(3947),a=r(392),i=r(2780),l=r(1768),s=r(2029),c=f(r(6851)),u=r(3849);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},d.apply(this,arguments)}function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.forwardRef((function(e,t){var r=e.children,u=e.className,f=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["children","className"]),p=(0,l.useTheme)().speedDialContent.styles,h=(0,i.useSpeedDial)(),b=h.x,g=h.y,m=h.refs,y=h.open,v=h.strategy,x=h.getFloatingProps,w=h.animation,O=(0,a.useMergeRefs)([t,m.setFloating]),_=(0,s.twMerge)((0,c.default)(p),u),k=n.AnimatePresence;return o.default.createElement(n.LazyMotion,{features:n.domAnimation},o.default.createElement(k,null,y&&o.default.createElement("div",d({},f,{ref:O,className:_,style:{position:v,top:null!=g?g:0,left:null!=b?b:0}},x()),o.default.Children.map(r,(function(e){return o.default.createElement(n.m.div,{initial:"unmount",exit:"unmount",animate:y?"mount":"unmount",variants:w},e)})))))}));p.propTypes={children:u.propTypesChildren,className:u.propTypesClassName},p.displayName="MaterialTailwind.SpeedDialContent";var h=p},8457:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SpeedDialHandler:function(){return d},default:function(){return f}});var o,n=(o=r(1609))&&o.__esModule?o:{default:o},a=r(392),i=r(2780),l=r(2029),s=r(3849);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){c(e,t,r[t])}))}return e}var d=n.default.forwardRef((function(e,t){var r,o,s,c=e.children,d=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["children"]),f=(0,i.useSpeedDial)(),p=f.getReferenceProps,h=f.refs,b=(0,a.useMergeRefs)([t,h.setReference]);return n.default.cloneElement(c,u({},p((o=u({},d),s=null!=(s={ref:b,className:(0,l.twMerge)(null==c||null===(r=c.props)||void 0===r?void 0:r.className,null==d?void 0:d.className)})?s:{},Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(s)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(s)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(s,e))})),o))))}));d.propTypes={children:s.propTypesChildren},d.displayName="MaterialTailwind.SpeedDialHandler";var f=d},2780:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SpeedDialContext:function(){return p},useSpeedDial:function(){return h},SpeedDial:function(){return b},SpeedDialHandler:function(){return s.default},SpeedDialContent:function(){return c.default},SpeedDialAction:function(){return u.default},default:function(){return g}});var o=f(r(1609)),n=r(392),a=r(1768),i=f(r(4744)),l=r(3849),s=f(r(8457)),c=f(r(508)),u=f(r(8907));function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.createContext(null);function h(){var e=o.default.useContext(p);if(!e)throw new Error("useSpeedDial must be used within a <SpeedDial />.");return e}function b(e){var t,r,l=e.open,s=e.handler,c=e.placement,u=e.offset,f=e.dismiss,h=e.animate,b=e.children,g=(0,a.useTheme)().speedDial.defaultProps,m=(t=o.default.useState(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(t,r)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),y=m[0],v=m[1];l=null!=l?l:y,s=null!=s?s:v,c=null!=c?c:g.placement,u=null!=u?u:g.offset,f=null!=f?f:g.dismiss,h=null!=h?h:g.animate;var x=(0,i.default)({unmount:{opacity:0,transform:"scale(0.5)",transition:{duration:.2,times:[.4,0,.2,1]}},mount:{opacity:1,transform:"scale(1)",transition:{duration:.2,times:[.4,0,.2,1]}}},h),w=(0,n.useFloatingNodeId)(),O=(0,n.useFloating)({open:l,nodeId:w,placement:c,onOpenChange:s,whileElementsMounted:n.autoUpdate,middleware:[(0,n.offset)(u),(0,n.flip)(),(0,n.shift)()]}),_=O.x,k=O.y,P=O.strategy,C=O.refs,T=O.context,M=(0,n.useInteractions)([(0,n.useHover)(T,{handleClose:(0,n.safePolygon)()}),(0,n.useDismiss)(T,f)]),S=M.getReferenceProps,E=M.getFloatingProps,j=o.default.useMemo((function(){return{x:_,y:k,strategy:P,refs:C,open:l,context:T,getReferenceProps:S,getFloatingProps:E,animation:x}}),[T,E,S,C,P,_,k,l,x]);return o.default.createElement(p.Provider,{value:j},o.default.createElement("div",{className:"group"},o.default.createElement(n.FloatingNode,{id:w},b)))}b.propTypes={open:l.propTypesOpen,handler:l.propTypesHanlder,placement:l.propTypesPlacement,offset:l.propTypesOffset,dismiss:l.propTypesDismiss,className:l.propTypesClassName,children:l.propTypesChildren,animate:l.propTypesAnimate},b.displayName="MaterialTailwind.SpeedDial";var g=Object.assign(b,{Handler:s.default,Content:c.default,Action:u.default})},6732:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Spinner:function(){return h},default:function(){return b}});var o=f(r(5556)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var o={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(1609)),a=f(r(2485)),i=r(2029),l=f(r(3087)),s=f(r(6851)),c=r(1768),u=r(3874);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},d.apply(this,arguments)}function f(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}var h=(0,n.forwardRef)((function(e,t){var r=e.color,o=e.className,u=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["color","className"]),f=(0,c.useTheme)().spinner,p=f.defaultProps,h=f.valid,b=f.styles,g=b.base,m=b.colors;r=null!=r?r:p.color,o=(0,i.twMerge)(p.className||"",o);var y,v,x=(0,s.default)(m[(0,l.default)(h.colors,r,"gray")]),w=(0,i.twMerge)((0,a.default)((0,s.default)(g)),o);return n.default.createElement("svg",d({},u,{ref:t,className:w,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:null!==(y=null==u?void 0:u.width)&&void 0!==y?y:24,height:null!==(v=null==u?void 0:u.height)&&void 0!==v?v:24}),n.default.createElement("path",{d:"M32 3C35.8083 3 39.5794 3.75011 43.0978 5.20749C46.6163 6.66488 49.8132 8.80101 52.5061 11.4939C55.199 14.1868 57.3351 17.3837 58.7925 20.9022C60.2499 24.4206 61 28.1917 61 32C61 35.8083 60.2499 39.5794 58.7925 43.0978C57.3351 46.6163 55.199 49.8132 52.5061 52.5061C49.8132 55.199 46.6163 57.3351 43.0978 58.7925C39.5794 60.2499 35.8083 61 32 61C28.1917 61 24.4206 60.2499 20.9022 58.7925C17.3837 57.3351 14.1868 55.199 11.4939 52.5061C8.801 49.8132 6.66487 46.6163 5.20749 43.0978C3.7501 39.5794 3 35.8083 3 32C3 28.1917 3.75011 24.4206 5.2075 20.9022C6.66489 17.3837 8.80101 14.1868 11.4939 11.4939C14.1868 8.80099 17.3838 6.66487 20.9022 5.20749C24.4206 3.7501 28.1917 3 32 3L32 3Z",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),n.default.createElement("path",{d:"M32 3C36.5778 3 41.0906 4.08374 45.1692 6.16256C49.2477 8.24138 52.7762 11.2562 55.466 14.9605C58.1558 18.6647 59.9304 22.9531 60.6448 27.4748C61.3591 31.9965 60.9928 36.6232 59.5759 40.9762",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round",className:x}))}));h.propTypes={color:o.default.oneOf(u.propTypesColor),className:u.propTypesClassName},h.displayName="MaterialTailwind.Spinner";var b=h},1432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Step:function(){return u},default:function(){return d}});var o=c(r(1609)),n=r(2029),a=c(r(6851)),i=r(1768),l=r(3069);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},s.apply(this,arguments)}function c(e){return e&&e.__esModule?e:{default:e}}var u=o.default.forwardRef((function(e,t){var r=e.className,l=(e.activeClassName,e.completedClassName,e.children),c=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","activeClassName","completedClassName","children"]),u=(0,i.useTheme)().step.styles.base,d=(0,n.twMerge)((0,a.default)(u.initial),r);return o.default.createElement("div",s({},c,{ref:t,className:d}),l)}));u.propTypes={className:l.propTypesClassName,activeClassName:l.propTypesClassName,completedClassName:l.propTypesClassName,children:l.propTypesChildren},u.displayName="MaterialTailwind.Step";var d=u},5212:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Stepper:function(){return h},Step:function(){return s.default},default:function(){return b}});var o=p(r(1609)),n=r(392),a=r(2029),i=p(r(6851)),l=r(1768),s=p(r(1432)),c=r(3069);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r,s,c=e.activeStep,p=e.isFirstStep,h=e.isLastStep,b=e.className,g=e.lineClassName,m=e.activeLineClassName,y=e.children,v=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["activeStep","isFirstStep","isLastStep","className","lineClassName","activeLineClassName","children"]),x=(0,l.useTheme)(),w=x.stepper,O=x.step,_=w.styles.base,k=O.styles.base,P=o.default.useRef(null),C=(r=o.default.useState(0),s=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(r,s)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(r,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),T=C[0],M=C[1],S=0===c,E=Array.isArray(y)&&c===y.length-1,j=Array.isArray(y)&&c>y.length-1;o.default.useEffect((function(){if(P.current){var e=y,t=P.current.getBoundingClientRect().width/(e.length-1);M(t)}}),[y]);var A=o.default.useMemo((function(){if(!j)return T*c}),[c,j,T]),N=((0,n.useMergeRefs)([t,P]),(0,a.twMerge)((0,i.default)(_.stepper),b)),R=(0,a.twMerge)((0,i.default)(_.line.initial),g),I=(0,a.twMerge)(R,(0,i.default)(_.line.active),m),D=(0,i.default)(k.active),L=(0,i.default)(k.completed);return o.default.useEffect((function(){h&&"function"==typeof h&&h(E),p&&"function"==typeof p&&p(S)}),[p,S,h,E]),o.default.createElement("div",f({},v,{ref:P,className:N}),o.default.createElement("div",{className:R}),o.default.createElement("div",{className:I,style:{width:"".concat(A,"px")}}),Array.isArray(y)?y.map((function(e,t){var r,n,i,l;return o.default.cloneElement(e,(i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){d(e,t,r[t])}))}return e}({key:t},e.props),l=null!=(l={className:(0,a.twMerge)(e.props.className,t===c?(0,a.twMerge)(D,null===(r=e.props)||void 0===r?void 0:r.activeClassName):t<c?(0,a.twMerge)(L,null===(n=e.props)||void 0===n?void 0:n.completedClassName):"")})?l:{},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(l)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(l)).forEach((function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(l,e))})),i))})):y)}));h.propTypes={activeStep:c.propTypesActiveStep,isFirstStep:c.propTypesIsFirstStep,isLastStep:c.propTypesIsLastStep,className:c.propTypesClassName,lineClassName:c.propTypesClassName,activeLineClassName:c.propTypesClassName,children:c.propTypesChildren},h.displayName="MaterialTailwind.Stepper";var b=Object.assign(h,{Step:s.default})},5395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Switch:function(){return h},default:function(){return b}});var o=p(r(1609)),n=p(r(5556)),a=p(r(4466)),i=p(r(2485)),l=r(2029),s=p(r(3087)),c=p(r(6851)),u=r(1768),d=r(4987);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.color,n=e.label,d=e.ripple,p=e.className,h=e.disabled,b=e.containerProps,g=e.circleProps,m=e.labelProps,y=e.inputRef,v=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["color","label","ripple","className","disabled","containerProps","circleProps","labelProps","inputRef"]),x=(0,u.useTheme)().switch,w=x.defaultProps,O=x.valid,_=x.styles,k=_.base,P=_.colors,C=o.default.useId();r=null!=r?r:w.color,d=null!=d?d:w.ripple,h=null!=h?h:w.disabled,b=null!=b?b:w.containerProps,m=null!=m?m:w.labelProps,g=null!=g?g:w.circleProps,p=(0,l.twMerge)(w.className||"",p);var T,M,S,E=void 0!==d&&new a.default,j=(0,i.default)((0,c.default)(k.root),(T={},S=h,(M=(0,c.default)(k.disabled))in T?Object.defineProperty(T,M,{value:S,enumerable:!0,configurable:!0,writable:!0}):T[M]=S,T)),A=(0,l.twMerge)((0,i.default)((0,c.default)(k.container)),null==b?void 0:b.className),N=(0,l.twMerge)((0,i.default)((0,c.default)(k.input),(0,c.default)(P[(0,s.default)(O.colors,r,"gray")])),p),R=(0,l.twMerge)((0,i.default)((0,c.default)(k.circle),P[(0,s.default)(O.colors,r,"gray")].circle,P[(0,s.default)(O.colors,r,"gray")].before),null==g?void 0:g.className),I=(0,i.default)((0,c.default)(k.ripple)),D=(0,l.twMerge)((0,i.default)((0,c.default)(k.label)),null==m?void 0:m.className);return o.default.createElement("div",{ref:t,className:j},o.default.createElement("div",f({},b,{className:A}),o.default.createElement("input",f({},v,{ref:y,type:"checkbox",disabled:h,id:v.id||C,className:N})),o.default.createElement("label",f({},g,{htmlFor:v.id||C,className:R}),d&&o.default.createElement("div",{className:I,onMouseDown:function(e){var t=null==b?void 0:b.onMouseDown;return d&&E.create(e,"dark"),"function"==typeof t&&t(e)}}))),n&&o.default.createElement("label",f({},m,{htmlFor:v.id||C,className:D}),n))}));h.propTypes={color:n.default.oneOf(d.propTypesColor),label:d.propTypesLabel,ripple:d.propTypesRipple,className:d.propTypesClassName,disabled:d.propTypesDisabled,containerProps:d.propTypesObject,labelProps:d.propTypesObject,circleProps:d.propTypesObject},h.displayName="MaterialTailwind.Switch";var b=h},196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Tab:function(){return h},default:function(){return b}});var o=p(r(1609)),n=r(3947),a=p(r(2485)),i=r(2029),l=p(r(6851)),s=r(1768),c=r(724),u=r(194);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r,u=e.value,p=e.className,h=e.activeClassName,b=e.disabled,g=e.children,m=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["value","className","activeClassName","disabled","children"]),y=(0,s.useTheme)().tab,v=y.defaultProps,x=y.styles.base,w=(0,c.useTabs)(),O=w.state,_=w.dispatch,k=O.id,P=O.active,C=O.indicatorProps;b=null!=b?b:v.disabled,p=(0,i.twMerge)(v.className||"",p),h=(0,i.twMerge)(v.activeClassName||"",h);var T,M=(0,i.twMerge)((0,a.default)((0,l.default)(x.tab.initial),(d(r={},(0,l.default)(x.tab.disabled),b),d(r,h,P===u),r)),p),S=(0,i.twMerge)((0,a.default)((0,l.default)(x.indicator)),null!==(T=null==C?void 0:C.className)&&void 0!==T?T:"");return o.default.createElement("li",f({},m,{ref:t,role:"tab",className:M,onClick:function(e){var t=null==m?void 0:m.onClick;"function"==typeof t&&((0,c.setActive)(_,u),(0,c.setIsInitial)(_,!1),t(e)),(0,c.setIsInitial)(_,!1),(0,c.setActive)(_,u)},"data-value":u}),o.default.createElement("div",{className:"z-20 text-inherit"},g),P===u&&o.default.createElement(n.motion.div,f({},C,{transition:{duration:.5},className:S,layoutId:k})))}));h.propTypes={value:u.propTypesValue,className:u.propTypesClassName,disabled:u.propTypesDisabled,children:u.propTypesChildren},h.displayName="MaterialTailwind.Tab";var b=h},7116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{TabPanel:function(){return p},default:function(){return h}});var o=f(r(1609)),n=r(3947),a=f(r(2485)),i=r(2029),l=f(r(6851)),s=r(1768),c=r(724),u=r(194);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},d.apply(this,arguments)}function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.forwardRef((function(e,t){var r=e.value,u=e.className,f=e.children,p=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["value","className","children"]),h=(0,s.useTheme)().tabPanel,b=h.defaultProps,g=h.styles.base,m=(0,c.useTabs)().state,y=m.active,v=m.appliedAnimation,x=m.isInitial;u=(0,i.twMerge)(b.className||"",u);var w=(0,i.twMerge)((0,a.default)((0,l.default)(g)),u),O=n.AnimatePresence;return o.default.createElement(n.LazyMotion,{features:n.domAnimation},o.default.createElement(O,{exitBeforeEnter:!0},o.default.createElement(n.m.div,d({},p,{ref:t,role:"tabpanel",className:w,initial:"unmount",exit:"unmount",animate:y===r?"mount":x?"initial":"unmount",variants:v,"data-value":r}),f)))}));p.propTypes={value:u.propTypesValue,className:u.propTypesClassName,children:u.propTypesChildren},p.displayName="MaterialTailwind.TabPanel";var h=p},9407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{TabsBody:function(){return h},default:function(){return b}});var o=p(r(1609)),n=r(3947),a=p(r(4744)),i=p(r(2485)),l=r(2029),s=p(r(6851)),c=r(1768),u=r(724),d=r(194);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.animate,d=e.className,p=e.children,h=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["animate","className","children"]),b=(0,c.useTheme)().tabsBody,g=b.defaultProps,m=b.styles.base,y=(0,u.useTabs)().dispatch;r=null!=r?r:g.animate,d=(0,l.twMerge)(g.className||"",d);var v=(0,l.twMerge)((0,i.default)((0,s.default)(m)),d),x=o.default.useMemo((function(){return{initial:{opacity:0,position:"absolute",top:"0",left:"0",zIndex:1,transition:{duration:0}},unmount:{opacity:0,position:"absolute",top:"0",left:"0",zIndex:1,transition:{duration:.5,times:[.4,0,.2,1]}},mount:{opacity:1,position:"relative",zIndex:2,transition:{duration:.5,times:[.4,0,.2,1]}}}}),[]),w=o.default.useMemo((function(){return(0,a.default)(x,r)}),[r,x]);return(0,n.useIsomorphicLayoutEffect)((function(){(0,u.setAnimation)(y,w)}),[w,y]),o.default.createElement("div",f({},h,{ref:t,className:v}),p)}));h.propTypes={animate:d.propTypesAnimate,className:d.propTypesClassName,children:d.propTypesChildren},h.displayName="MaterialTailwind.TabsBody";var b=h},724:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{TabsContext:function(){return d},useTabs:function(){return f},TabsContextProvider:function(){return p},setId:function(){return h},setActive:function(){return b},setAnimation:function(){return g},setIndicator:function(){return m},setIsInitial:function(){return y},setOrientation:function(){return v}});var o,n=(o=r(1609))&&o.__esModule?o:{default:o},a=r(194);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){l(e,t,r[t])}))}return e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function u(e,t){switch(t.type){case"SET_ID":return c(s({},e),{id:t.value});case"SET_ACTIVE":return c(s({},e),{active:t.value});case"SET_ANIMATION":return c(s({},e),{appliedAnimation:t.value});case"SET_INDICATOR":return c(s({},e),{indicatorProps:t.value});case"SET_IS_INITIAL":return c(s({},e),{isInitial:t.value});case"SET_ORIENTATION":return c(s({},e),{orientation:t.value});default:throw new Error("Unhandled action type: ".concat(t.type))}}var d=n.default.createContext(null);function f(){var e=n.default.useContext(d);if(!e)throw new Error("useTabs() must be used within a Tabs. It happens when you use TabsHeader, TabsBody, Tab or TabPanel outside the Tabs component.");return e}d.displayName="MaterialTailwind.TabsContext";var p=function(e){var t,r,o=e.id,a=e.value,l=e.orientation,s=e.children,c=n.default.useMemo((function(){return{id:null!=o?o:"indicator",active:a,orientation:l,isInitial:!0,appliedAnimation:{initial:{},unmount:{},mount:{}},indicatorProps:void 0}}),[o,a,l]),f=(t=n.default.useReducer(u,c),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(t,r)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),p=f[0],h=f[1],b=n.default.useMemo((function(){return{state:p,dispatch:h}}),[p]);return n.default.createElement(d.Provider,{value:b},s)},h=function(e,t){return e({type:"SET_ID",value:t})},b=function(e,t){return e({type:"SET_ACTIVE",value:t})},g=function(e,t){return e({type:"SET_ANIMATION",value:t})},m=function(e,t){return e({type:"SET_INDICATOR",value:t})},y=function(e,t){return e({type:"SET_IS_INITIAL",value:t})},v=function(e,t){return e({type:"SET_ORIENTATION",value:t})};p.propTypes={id:a.propTypesId,value:a.propTypesValue,orientation:a.propTypesOrientation,children:a.propTypesChildren},p.displayName="MaterialTailwind.TabsContextProvider"},7202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{TabsHeader:function(){return f},default:function(){return p}});var o=d(r(1609)),n=d(r(2485)),a=r(2029),i=d(r(6851)),l=r(1768),s=r(724),c=r(194);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},u.apply(this,arguments)}function d(e){return e&&e.__esModule?e:{default:e}}var f=o.default.forwardRef((function(e,t){var r=e.indicatorProps,c=e.className,d=e.children,f=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["indicatorProps","className","children"]),p=(0,l.useTheme)().tabsHeader,h=p.defaultProps,b=p.styles,g=(0,s.useTabs)(),m=g.state,y=g.dispatch,v=m.orientation;o.default.useEffect((function(){(0,s.setIndicator)(y,r)}),[y,r]),c=(0,a.twMerge)(h.className||"",c);var x,w,O,_=(0,a.twMerge)((0,n.default)((0,i.default)(b.base),(x={},O=v,(w=b[v]&&(0,i.default)(b[v]))in x?Object.defineProperty(x,w,{value:O,enumerable:!0,configurable:!0,writable:!0}):x[w]=O,x)),c);return o.default.createElement("nav",null,o.default.createElement("ul",u({},f,{ref:t,role:"tablist",className:_}),d))}));f.propTypes={indicatorProps:c.propTypesIndicator,className:c.propTypesClassName,children:c.propTypesChildren},f.displayName="MaterialTailwind.TabsHeader";var p=f},7099:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Tabs:function(){return g},Tab:function(){return c.Tab},TabsBody:function(){return u.TabsBody},TabsHeader:function(){return d.TabsHeader},TabPanel:function(){return f.TabPanel},useTabs:function(){return s.useTabs},default:function(){return m}});var o=b(r(1609)),n=b(r(2485)),a=r(2029),i=b(r(6851)),l=r(1768),s=r(724),c=r(196),u=r(9407),d=r(7202),f=r(7116),p=r(194);function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},h.apply(this,arguments)}function b(e){return e&&e.__esModule?e:{default:e}}var g=o.default.forwardRef((function(e,t){var r=e.value,c=e.className,u=e.orientation,d=e.children,f=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["value","className","orientation","children"]),p=(0,l.useTheme)().tabs,b=p.defaultProps,g=p.styles,m=o.default.useId();u=null!=u?u:b.orientation,c=(0,a.twMerge)(b.className||"",c);var y=(0,a.twMerge)((0,n.default)((0,i.default)(g.base),function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},g[u]&&(0,i.default)(g[u]),u)),c);return o.default.createElement(s.TabsContextProvider,{id:m,value:r,orientation:u},o.default.createElement("div",h({},f,{ref:t,className:y}),d))}));g.propTypes={id:p.propTypesId,value:p.propTypesValue,className:p.propTypesClassName,orientation:p.propTypesOrientation,children:p.propTypesChildren},g.displayName="MaterialTailwind.Tabs";var m=Object.assign(g,{Tab:c.Tab,Body:u.TabsBody,Header:d.TabsHeader,Panel:f.TabPanel})},2361:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Textarea:function(){return h},default:function(){return b}});var o=p(r(1609)),n=p(r(5556)),a=p(r(2485)),i=p(r(3087)),l=p(r(6851)),s=r(1768),c=r(1652),u=r(2029);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}function p(e){return e&&e.__esModule?e:{default:e}}var h=o.default.forwardRef((function(e,t){var r=e.variant,n=e.color,c=e.size,p=e.label,h=e.error,b=e.success,g=e.resize,m=e.labelProps,y=e.containerProps,v=e.shrink,x=e.className,w=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","color","size","label","error","success","resize","labelProps","containerProps","shrink","className"]),O=(0,s.useTheme)().textarea,_=O.defaultProps,k=O.valid,P=O.styles,C=P.base,T=P.variants;r=null!=r?r:_.variant,c=null!=c?c:_.size,n=null!=n?n:_.color,p=null!=p?p:_.label,m=null!=m?m:_.labelProps,y=null!=y?y:_.containerProps,v=null!=v?v:_.shrink,x=(0,u.twMerge)(_.className||"",x);var M=T[(0,i.default)(k.variants,r,"outlined")],S=(0,l.default)(M.error.textarea),E=(0,l.default)(M.success.textarea),j=(0,l.default)(M.shrink.textarea),A=(0,l.default)(M.colors.textarea[(0,i.default)(k.colors,n,"gray")]),N=(0,l.default)(M.error.label),R=(0,l.default)(M.success.label),I=(0,l.default)(M.shrink.label),D=(0,l.default)(M.colors.label[(0,i.default)(k.colors,n,"gray")]),L=(0,a.default)((0,l.default)(C.container),null==y?void 0:y.className),z=(0,a.default)((0,l.default)(C.textarea),(0,l.default)(M.base.textarea),(0,l.default)(M.sizes[(0,i.default)(k.sizes,c,"md")].textarea),d({},A,!h&&!b),d({},S,h),d({},E,b),d({},j,v),g?"":"!resize-none",x),F=(0,a.default)((0,l.default)(C.label),(0,l.default)(M.base.label),(0,l.default)(M.sizes[(0,i.default)(k.sizes,c,"md")].label),d({},D,!h&&!b),d({},N,h),d({},R,b),d({},I,v),null==m?void 0:m.className),V=(0,a.default)((0,l.default)(C.asterisk));return o.default.createElement("div",{ref:t,className:L},o.default.createElement("textarea",f({},w,{className:z,placeholder:(null==w?void 0:w.placeholder)||" "})),o.default.createElement("label",{className:F},p," ",w.required?o.default.createElement("span",{className:V},"*"):""))}));h.propTypes={variant:n.default.oneOf(c.propTypesVariant),size:n.default.oneOf(c.propTypesSize),color:n.default.oneOf(c.propTypesColor),label:c.propTypesLabel,error:c.propTypesError,success:c.propTypesSuccess,resize:c.propTypesResize,labelProps:c.propTypesLabelProps,containerProps:c.propTypesContainerProps,shrink:c.propTypesShrink,className:c.propTypesClassName},h.displayName="MaterialTailwind.Textarea";var b=h},8641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{TimelineHeader:function(){return f},default:function(){return p}});var o=d(r(1609)),n=r(2029),a=d(r(6851)),i=r(1768),l=r(2362),s=r(1077);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},u.apply(this,arguments)}function d(e){return e&&e.__esModule?e:{default:e}}var f=o.default.forwardRef((function(e,t){var r,s,d=e.className,f=e.children,p=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),h=(0,i.useTheme)().timelineBody.styles.base,b=(r=(0,l.useTimelineItem)(),s=1,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(r,s)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(r,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],g=(0,n.twMerge)((0,a.default)(h),d);return o.default.createElement("div",u({},p,{ref:t,className:g}),o.default.createElement("span",{className:"pointer-events-none invisible h-full flex-shrink-0",style:{width:"".concat(b,"px")}}),o.default.createElement("div",null,f))}));f.propTypes={children:s.propTypeChildren,className:s.propTypeClassName},f.displayName="MaterialTailwind.TimelineHeader";var p=f},6854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{TimelineConnector:function(){return f},default:function(){return p}});var o=d(r(1609)),n=r(2029),a=d(r(6851)),i=r(1768),l=r(2362),s=r(1077);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},u.apply(this,arguments)}function d(e){return e&&e.__esModule?e:{default:e}}var f=o.default.forwardRef((function(e,t){var r,s,d,f=e.className,p=e.children,h=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),b=(0,i.useTheme)().timelineConnector.styles.base,g=(s=(0,l.useTimelineItem)(),d=1,function(e){if(Array.isArray(e))return e}(s)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(s,d)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(s,d)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],m=(0,a.default)(b.line),y=(0,n.twMerge)((0,a.default)(b.container),f);return o.default.createElement("span",u({},h,{ref:t,className:y,style:{top:"".concat(g,"px"),width:"".concat(g,"px"),opacity:g?1:0,height:"calc(100% - ".concat(g,"px)")}}),p&&o.default.isValidElement(p)?o.default.cloneElement(p,{className:(0,n.twMerge)(m,null===(r=p.props)||void 0===r?void 0:r.className)}):o.default.createElement("span",{className:m}))}));f.propTypes={children:s.propTypeChildren,className:s.propTypeClassName},f.displayName="MaterialTailwind.TimelineConnector";var p=f},5e3:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{TimelineHeader:function(){return u},default:function(){return d}});var o=c(r(1609)),n=r(2029),a=c(r(6851)),i=r(1768),l=r(1077);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},s.apply(this,arguments)}function c(e){return e&&e.__esModule?e:{default:e}}var u=o.default.forwardRef((function(e,t){var r=e.className,l=e.children,c=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),u=(0,i.useTheme)().timelineHeader.styles.base,d=(0,n.twMerge)((0,a.default)(u),r);return o.default.createElement("div",s({},c,{ref:t,className:d}),l)}));u.propTypes={children:l.propTypeChildren,className:l.propTypeClassName},u.displayName="MaterialTailwind.TimelineHeader";var d=u},2764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{TimelineIcon:function(){return b},default:function(){return g}});var o=h(r(1609)),n=h(r(5556)),a=r(392),i=r(2029),l=h(r(3087)),s=h(r(6851)),c=r(1768),u=r(2362),d=r(1077);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},p.apply(this,arguments)}function h(e){return e&&e.__esModule?e:{default:e}}var b=o.default.forwardRef((function(e,t){var r,n,d=e.color,h=e.variant,b=e.className,g=e.children,m=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["color","variant","className","children"]),y=(0,c.useTheme)().timelineIcon,v=y.styles,x=y.valid,w=v.base,O=v.variants,_=(r=(0,u.useTimelineItem)(),n=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(r,n)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1],k=o.default.useRef(null),P=(0,a.useMergeRefs)([t,k]);o.default.useEffect((function(){var e=k.current;if(e){var t=e.getBoundingClientRect().width;return _(t),function(){_(0)}}}),[_,b,g]);var C=(0,s.default)(O[(0,l.default)(x.variants,h,"filled")][(0,l.default)(x.colors,d,"gray")]),T=(0,i.twMerge)((0,s.default)(w),C,b);return o.default.createElement("span",p({ref:P},m,{className:T}),g)}));b.propTypes={children:d.propTypeChildren,className:d.propTypeClassName,color:n.default.oneOf(d.propTypeColor),variant:n.default.oneOf(d.propTypeVariant)},b.displayName="MaterialTailwind.TimelineIcon";var g=b},2362:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{useTimelineItem:function(){return f},TimelineItem:function(){return p},default:function(){return h}});var o=u(r(1609)),n=r(2029),a=u(r(6851)),i=r(1768),l=r(1077);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},c.apply(this,arguments)}function u(e){return e&&e.__esModule?e:{default:e}}var d=o.default.createContext(0);function f(){var e=o.default.useContext(d);if(!e)throw new Error("useTimelineItemContext() must be used within a TimelineItem. It happens when you use TimelineIcon, TimelineConnector or TimelineBody components outside the TimelineItem component.");return e}d.displayName="MaterialTailwind.TimelineItemContext";var p=o.default.forwardRef((function(e,t){var r,l,u=e.className,f=e.children,p=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),h=(0,i.useTheme)().timelineItem.styles.base,b=(r=o.default.useState(0),l=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(r,l)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(r,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=b[0],m=b[1],y=o.default.useMemo((function(){return[g,m]}),[g,m]),v=(0,n.twMerge)((0,a.default)(h),u);return o.default.createElement(d.Provider,{value:y},o.default.createElement("li",c({ref:t},p,{className:v}),f))}));p.propTypes={className:l.propTypeClassName,children:l.propTypeChildren.isRequired},p.displayName="MaterialTailwind.TimelineItem";var h=p},4583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Timeline:function(){return b},TimelineItem:function(){return s.default},TimelineIcon:function(){return c.default},TimelineBody:function(){return u.default},TimelineHeader:function(){return d.default},TimelineConnector:function(){return f.default},default:function(){return g}});var o=h(r(1609)),n=r(2029),a=h(r(6851)),i=r(1768),l=r(1077),s=h(r(2362)),c=h(r(2764)),u=h(r(8641)),d=h(r(5e3)),f=h(r(6854));function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},p.apply(this,arguments)}function h(e){return e&&e.__esModule?e:{default:e}}var b=o.default.forwardRef((function(e,t){var r=e.className,l=e.children,s=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","children"]),c=(0,i.useTheme)().timeline.styles.base,u=(0,n.twMerge)((0,a.default)(c),r);return o.default.createElement("ul",p({ref:t},s,{className:u}),l)}));b.propTypes={className:l.propTypeClassName,children:l.propTypeChildren},b.displayName="MaterialTailwind.Timeline";var g=Object.assign(b,{Item:s.default,Icon:c.default,Header:d.default,Body:u.default,Connector:f.default})},242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Tooltip:function(){return v},default:function(){return x}});var o=g(r(1609)),n=g(r(5556)),a=r(392),i=r(3947),l=g(r(2485)),s=r(2029),c=g(r(4744)),u=g(r(6851)),d=r(1768),f=r(3265);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},b.apply(this,arguments)}function g(e){return e&&e.__esModule?e:{default:e}}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){h(e,t,r[t])}))}return e}function y(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var v=o.default.forwardRef((function(e,t){var r,n,f=e.open,h=e.handler,g=e.content,v=e.interactive,x=e.placement,w=e.offset,O=e.dismiss,_=e.animate,k=e.className,P=e.children,C=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["open","handler","content","interactive","placement","offset","dismiss","animate","className","children"]),T=(0,d.useTheme)().tooltip,M=T.defaultProps,S=T.styles.base,E=(r=o.default.useState(!1),n=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,n=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw n}}return a}}(r,n)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),j=E[0],A=E[1];f=null!=f?f:j,h=null!=h?h:A,v=null!=v?v:M.interactive,x=null!=x?x:M.placement,w=null!=w?w:M.offset,O=null!=O?O:M.dismiss,_=null!=_?_:M.animate,k=(0,s.twMerge)(M.className||"",k);var N=(0,s.twMerge)((0,l.default)((0,u.default)(S)),k),R=(0,c.default)({unmount:{opacity:0},mount:{opacity:1}},_),I=(0,a.useFloating)({open:f,onOpenChange:h,middleware:[(0,a.offset)(w),(0,a.flip)(),(0,a.shift)()],placement:x}),D=I.x,L=I.y,z=I.reference,F=I.floating,V=I.strategy,B=I.refs,W=I.update,H=I.context,U=(0,a.useInteractions)([(0,a.useClick)(H,{enabled:v}),(0,a.useFocus)(H),(0,a.useHover)(H),(0,a.useRole)(H,{role:"tooltip"}),(0,a.useDismiss)(H,O)]),q=U.getReferenceProps,$=U.getFloatingProps;o.default.useEffect((function(){if(B.reference.current&&B.floating.current&&f)return(0,a.autoUpdate)(B.reference.current,B.floating.current,W)}),[f,W,B.reference,B.floating]);var Y=(0,a.useMergeRefs)([t,F]),X=(0,a.useMergeRefs)([t,z]),K=i.AnimatePresence;return o.default.createElement(o.default.Fragment,null,"string"==typeof P?o.default.createElement("span",b({},q({ref:X})),P):o.default.cloneElement(P,m({},q(y(m({},null==P?void 0:P.props),{ref:X})))),o.default.createElement(i.LazyMotion,{features:i.domAnimation},o.default.createElement(a.FloatingPortal,null,o.default.createElement(K,null,f&&o.default.createElement(i.m.div,b({},$(y(m({},C),{ref:Y,className:N,style:{position:V,top:null!=L?L:"",left:null!=D?D:""}})),{initial:"unmount",exit:"unmount",animate:f?"mount":"unmount",variants:R}),g)))))}));v.propTypes={open:f.propTypesOpen,handler:f.propTypesHandler,content:f.propTypesContent,interactive:f.propTypesInteractive,placement:n.default.oneOf(f.propTypesPlacement),offset:f.propTypesOffset,dismiss:f.propTypesDismiss,animate:f.propTypesAnimate,className:f.propTypesClassName,children:f.propTypesChildren},v.displayName="MaterialTailwind.Tooltip";var x=v},2542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Typography:function(){return b},default:function(){return g}});var o=f(r(1609)),n=f(r(5556)),a=f(r(2485)),i=r(2029),l=f(r(3087)),s=f(r(6851)),c=r(1768),u=r(8647);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){return e&&e.__esModule?e:{default:e}}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){d(e,t,r[t])}))}return e}function h(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var b=o.default.forwardRef((function(e,t){var r=e.variant,n=e.color,u=e.textGradient,f=e.as,b=e.className,g=e.children,m=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["variant","color","textGradient","as","className","children"]),y=(0,c.useTheme)().typography,v=y.defaultProps,x=y.valid,w=y.styles,O=w.variants,_=w.colors,k=w.textGradient;r=null!=r?r:v.variant,n=null!=n?n:v.color,u=u||v.textGradient,f=null!=f?f:void 0,b=(0,i.twMerge)(v.className||"",b);var P,C=(0,s.default)(O[(0,l.default)(x.variants,r,"paragraph")]),T=_[(0,l.default)(x.colors,n,"inherit")],M=(0,s.default)(k),S=(0,i.twMerge)((0,a.default)(C,d({},T.color,!u),d({},M,u),d({},T.gradient,u)),b);switch(r){case"h1":P=o.default.createElement(f||"h1",h(p({},m),{ref:t,className:S}),g);break;case"h2":P=o.default.createElement(f||"h2",h(p({},m),{ref:t,className:S}),g);break;case"h3":P=o.default.createElement(f||"h3",h(p({},m),{ref:t,className:S}),g);break;case"h4":P=o.default.createElement(f||"h4",h(p({},m),{ref:t,className:S}),g);break;case"h5":P=o.default.createElement(f||"h5",h(p({},m),{ref:t,className:S}),g);break;case"h6":P=o.default.createElement(f||"h6",h(p({},m),{ref:t,className:S}),g);break;default:P=o.default.createElement(f||"p",h(p({},m),{ref:t,className:S}),g)}return P}));b.propTypes={variant:n.default.oneOf(u.propTypesVariant),color:n.default.oneOf(u.propTypesColor),as:u.propTypesAs,textGradient:u.propTypesTextGradient,className:u.propTypesClassName,children:u.propTypesChildren},b.displayName="MaterialTailwind.Typography";var g=b},1768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MaterialTailwindTheme:function(){return u},ThemeProvider:function(){return d},useTheme:function(){return f}});var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var o={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(1609)),n=s(r(5556)),a=s(r(4744)),i=s(r(8715)),l=s(r(788));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}var u=(0,o.createContext)(i.default);function d(e){var t=e.value,r=void 0===t?i.default:t,n=e.children,s=(0,a.default)(i.default,r,{arrayMerge:l.default});return o.default.createElement(u.Provider,{value:s},n)}u.displayName="MaterialTailwindThemeProvider";var f=function(){return(0,o.useContext)(u)};d.propTypes={value:n.default.instanceOf(Object),children:n.default.node.isRequired}},5533:(e,t,r)=>{"use strict";function o(e,t){return Object.keys(e).forEach((function(r){"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})),e}Object.defineProperty(t,"__esModule",{value:!0}),o(r(1875),t),o(r(9871),t),o(r(1498),t),o(r(8839),t),o(r(3275),t),o(r(5273),t),o(r(5634),t),o(r(4837),t),o(r(2807),t),o(r(9306),t),o(r(2541),t),o(r(2360),t),o(r(8773),t),o(r(9664),t),o(r(7984),t),o(r(6894),t),o(r(8435),t),o(r(5395),t),o(r(7099),t),o(r(2361),t),o(r(242),t),o(r(2542),t),o(r(5908),t),o(r(6651),t),o(r(6578),t),o(r(2725),t),o(r(1018),t),o(r(5506),t),o(r(9674),t),o(r(9026),t),o(r(6732),t),o(r(4583),t),o(r(5212),t),o(r(2780),t),o(r(1768),t),o(r(8715),t)},9301:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{accordion:function(){return r},default:function(){return o}});var r={defaultProps:{icon:void 0,className:"",animate:{unmount:{},mount:{}},disabled:!1},styles:{base:{container:{display:"block",position:"relative",width:"w-full"},header:{initial:{display:"flex",justifyContent:"justify-between",alignItems:"items-center",width:"w-full",py:"py-4",borderWidth:"border-b border-b-blue-gray-100",color:"text-blue-gray-700",fontSmoothing:"antialiased",fontFamily:"font-sans",fontSize:"text-xl",textAlign:"text-left",fontWeight:"font-semibold",lineHeight:"leading-snug",userSelect:"select-none",hover:"hover:text-blue-gray-900",transition:"transition-colors"},active:{color:"text-blue-gray-900"},icon:{ml:"ml-4"}},body:{display:"block",width:"w-full",py:"py-4",color:"text-gray-700",fontSmoothing:"antialiased",fontFamily:"font-sans",fontSize:"text-sm",fontWeight:"font-light",lineHeight:"leading-normal"},disabled:{pointerEvents:"pointer-events-none",opacity:"opacity-50"}}}},o=r},4427:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{backgroud:"bg-blue-gray-500",color:"text-white"},gray:{backgroud:"bg-gray-900",color:"text-white"},brown:{backgroud:"bg-brown-500",color:"text-white"},"deep-orange":{backgroud:"bg-deep-orange-500",color:"text-white"},orange:{backgroud:"bg-orange-500",color:"text-white"},amber:{backgroud:"bg-amber-500",color:"text-black"},yellow:{backgroud:"bg-yellow-500",color:"text-black"},lime:{backgroud:"bg-lime-500",color:"text-black"},"light-green":{backgroud:"bg-light-green-500",color:"text-white"},green:{backgroud:"bg-green-500",color:"text-white"},teal:{backgroud:"bg-teal-500",color:"text-white"},cyan:{backgroud:"bg-cyan-500",color:"text-white"},"light-blue":{backgroud:"bg-light-blue-500",color:"text-white"},blue:{backgroud:"bg-blue-500",color:"text-white"},indigo:{backgroud:"bg-indigo-500",color:"text-white"},"deep-purple":{backgroud:"bg-deep-purple-500",color:"text-white"},purple:{backgroud:"bg-purple-500",color:"text-white"},pink:{backgroud:"bg-pink-500",color:"text-white"},red:{backgroud:"bg-red-500",color:"text-white"}}},2256:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{backgroud:"bg-blue-gray-500/20",color:"text-blue-gray-900"},gray:{backgroud:"bg-gray-900/10",color:"text-gray-900"},brown:{backgroud:"bg-brown-500/20",color:"text-brown-900"},"deep-orange":{backgroud:"bg-deep-orange-500/20",color:"text-deep-orange-900"},orange:{backgroud:"bg-orange-500/20",color:"text-orange-900"},amber:{backgroud:"bg-amber-500/20",color:"text-amber-900"},yellow:{backgroud:"bg-yellow-500/20",color:"text-yellow-900"},lime:{backgroud:"bg-lime-500/20",color:"text-lime-900"},"light-green":{backgroud:"bg-light-green-500/20",color:"text-light-green-900"},green:{backgroud:"bg-green-500/20",color:"text-green-900"},teal:{backgroud:"bg-teal-500/20",color:"text-teal-900"},cyan:{backgroud:"bg-cyan-500/20",color:"text-cyan-900"},"light-blue":{backgroud:"bg-light-blue-500/20",color:"text-light-blue-900"},blue:{backgroud:"bg-blue-500/20",color:"text-blue-900"},indigo:{backgroud:"bg-indigo-500/20",color:"text-indigo-900"},"deep-purple":{backgroud:"bg-deep-purple-500/20",color:"text-deep-purple-900"},purple:{backgroud:"bg-purple-500/20",color:"text-purple-900"},pink:{backgroud:"bg-pink-500/20",color:"text-pink-900"},red:{backgroud:"bg-red-500/20",color:"text-red-900"}}},7027:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{backgroud:"bg-gradient-to-tr from-blue-gray-600 to-blue-gray-400",color:"text-white"},gray:{backgroud:"bg-gradient-to-tr from-gray-900 to-gray-800",color:"text-white"},brown:{backgroud:"bg-gradient-to-tr from-brown-600 to-brown-400",color:"text-white"},"deep-orange":{backgroud:"bg-gradient-to-tr from-deep-orange-600 to-deep-orange-400",color:"text-white"},orange:{backgroud:"bg-gradient-to-tr from-orange-600 to-orange-400",color:"text-white"},amber:{backgroud:"bg-gradient-to-tr from-amber-600 to-amber-400",color:"text-black"},yellow:{backgroud:"bg-gradient-to-tr from-yellow-600 to-yellow-400",color:"text-black"},lime:{backgroud:"bg-gradient-to-tr from-lime-600 to-lime-400",color:"text-black"},"light-green":{backgroud:"bg-gradient-to-tr from-light-green-600 to-light-green-400",color:"text-white"},green:{backgroud:"bg-gradient-to-tr from-green-600 to-green-400",color:"text-white"},teal:{backgroud:"bg-gradient-to-tr from-teal-600 to-teal-400",color:"text-white"},cyan:{backgroud:"bg-gradient-to-tr from-cyan-600 to-cyan-400",color:"text-white"},"light-blue":{backgroud:"bg-gradient-to-tr from-light-blue-600 to-light-blue-400",color:"text-white"},blue:{backgroud:"bg-gradient-to-tr from-blue-600 to-blue-400",color:"text-white"},indigo:{backgroud:"bg-gradient-to-tr from-indigo-600 to-indigo-400",color:"text-white"},"deep-purple":{backgroud:"bg-gradient-to-tr from-deep-purple-600 to-deep-purple-400",color:"text-white"},purple:{backgroud:"bg-gradient-to-tr from-purple-600 to-purple-400",color:"text-white"},pink:{backgroud:"bg-gradient-to-tr from-pink-600 to-pink-400",color:"text-white"},red:{backgroud:"bg-gradient-to-tr from-red-600 to-red-400",color:"text-white"}}},1493:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{border:"border border-blue-gray-500",color:"text-blue-gray-700"},gray:{border:"border border-gray-900",color:"text-gray-900"},brown:{border:"border border-brown-500",color:"text-brown-700"},"deep-orange":{border:"border border-deep-orange-500",color:"text-deep-orange-700"},orange:{border:"border border-orange-500",color:"text-orange-700"},amber:{border:"border border-amber-500",color:"text-amber-700"},yellow:{border:"border border-yellow-500",color:"text-yellow-700"},lime:{border:"border border-lime-500",color:"text-lime-700"},"light-green":{border:"border border-light-green-500",color:"text-light-green-700"},green:{border:"border border-green-500",color:"text-green-700"},teal:{border:"border border-teal-500",color:"text-teal-700"},cyan:{border:"border border-cyan-500",color:"text-cyan-700"},"light-blue":{border:"border border-light-blue-500",color:"text-light-blue-700"},blue:{border:"border border-blue-500",color:"text-blue-700"},indigo:{border:"border border-indigo-500",color:"text-indigo-700"},"deep-purple":{border:"border border-deep-purple-500",color:"text-deep-purple-700"},purple:{border:"border border-purple-500",color:"text-purple-700"},pink:{border:"border border-pink-500",color:"text-pink-700"},red:{border:"border border-red-500",color:"text-red-700"}}},6453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{alert:function(){return c},default:function(){return u}});var o=s(r(4427)),n=s(r(7027)),a=s(r(1493)),i=s(r(2256)),l=r(2870);function s(e){return e&&e.__esModule?e:{default:e}}var c={defaultProps:{variant:"filled",color:"gray",icon:void 0,open:!0,action:void 0,onClose:void 0,animate:{unmount:{},mount:{}},className:""},valid:{variants:l.propTypesVariant,colors:l.propTypesColor},styles:{base:{alert:{position:"relative",display:"block",width:"w-full",fontFamily:"font-sans",fontSize:"text-base",fontWeight:"font-regular",px:"px-4",py:"py-4",borderRadius:"rounded-lg"},action:{position:"!absolute",top:"top-3",right:"right-3"}},variants:{filled:o.default,gradient:n.default,outlined:a.default,ghost:i.default}}},u=c},1998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={white:{borderColor:"border-white"},"blue-gray":{borderColor:"border-blue-gray-500"},gray:{borderColor:"border-gray-900"},brown:{borderColor:"border-brown-500"},"deep-orange":{borderColor:"border-deep-orange-500"},orange:{borderColor:"border-orange-500"},amber:{borderColor:"border-amber-500"},yellow:{borderColor:"border-yellow-500"},lime:{borderColor:"border-lime-500"},"light-green":{borderColor:"border-light-green-500"},green:{borderColor:"border-green-500"},teal:{borderColor:"border-teal-500"},cyan:{borderColor:"border-cyan-500"},"light-blue":{borderColor:"border-light-blue-500"},blue:{borderColor:"border-blue-500"},indigo:{borderColor:"border-indigo-500"},"deep-purple":{borderColor:"border-deep-purple-500"},purple:{borderColor:"border-purple-500"},pink:{borderColor:"border-pink-500"},red:{borderColor:"border-red-500"}}},4856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{avatar:function(){return i},default:function(){return l}});var o,n=r(2271),a=(o=r(1998))&&o.__esModule?o:{default:o},i={defaultProps:{variant:"circular",size:"md",className:"",withBorder:!1,color:"gray"},valid:{variants:n.propTypesVariant,sizes:n.propTypesSize,colors:n.propTypesColor},styles:{base:{initial:{display:"inline-block",position:"relative",objectFit:"object-cover",objectPosition:"object-center"},withBorder:{border:"border-2"}},sizes:{xs:{width:"w-6",height:"h-6",borderRadius:"rounded-md"},sm:{width:"w-9",height:"h-9",borderRadius:"rounded-md"},md:{width:"w-12",height:"h-12",borderRadius:"rounded-lg"},lg:{width:"w-[58px]",height:"h-[58px]",borderRadius:"rounded-lg"},xl:{width:"w-[74px]",height:"h-[74px]",borderRadius:"rounded-xl"},xxl:{width:"w-[110px]",height:"h-[110px]",borderRadius:"rounded-2xl"}},variants:{rounded:{},square:{borderRadius:"!rounded-none"},circular:{borderRadius:"!rounded-full"}},borderColor:a.default}},l=i},5071:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={white:{backgroud:"bg-white",color:"text-blue-gray-900"},"blue-gray":{backgroud:"bg-blue-gray-500",color:"text-white"},gray:{backgroud:"bg-gray-500",color:"text-white"},brown:{backgroud:"bg-brown-500",color:"text-white"},"deep-orange":{backgroud:"bg-deep-orange-500",color:"text-white"},orange:{backgroud:"bg-orange-500",color:"text-white"},amber:{backgroud:"bg-amber-500",color:"text-black"},yellow:{backgroud:"bg-yellow-500",color:"text-black"},lime:{backgroud:"bg-lime-500",color:"text-black"},"light-green":{backgroud:"bg-light-green-500",color:"text-white"},green:{backgroud:"bg-green-500",color:"text-white"},teal:{backgroud:"bg-teal-500",color:"text-white"},cyan:{backgroud:"bg-cyan-500",color:"text-white"},"light-blue":{backgroud:"bg-light-blue-500",color:"text-white"},blue:{backgroud:"bg-blue-500",color:"text-white"},indigo:{backgroud:"bg-indigo-500",color:"text-white"},"deep-purple":{backgroud:"bg-deep-purple-500",color:"text-white"},purple:{backgroud:"bg-purple-500",color:"text-white"},pink:{backgroud:"bg-pink-500",color:"text-white"},red:{backgroud:"bg-red-500",color:"text-white"}}},8196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{badge:function(){return i},default:function(){return l}});var o,n=r(4299),a=(o=r(5071))&&o.__esModule?o:{default:o},i={defaultProps:{color:"red",invisible:!1,withBorder:!1,overlap:"square",content:void 0,placement:"top-end",className:void 0,containerProps:void 0},valid:{colors:n.propTypesColor,overlaps:n.propTypesOverlap,placements:n.propTypesPlacement},styles:{base:{container:{position:"relative",display:"inline-flex"},badge:{initial:{position:"absolute",minWidth:"min-w-[12px]",minHeight:"min-h-[12px]",borderRadius:"rounded-full",paddingY:"py-1",paddingX:"px-1",fontSize:"text-xs",fontWeight:"font-medium",content:"content-['']",lineHeight:"leading-none",display:"grid",placeItems:"place-items-center"},withBorder:{borderWidth:"border-2",borderColor:"border-white"},withContent:{minWidth:"min-w-[24px]",minHeight:"min-h-[24px]"}}},placements:{"top-start":{square:{top:"top-[4%]",left:"left-[2%]",translateX:"-translate-x-2/4",translateY:"-translate-y-2/4"},circular:{top:"top-[14%]",left:"left-[14%]",translateX:"-translate-x-2/4",translateY:"-translate-y-2/4"}},"top-end":{square:{top:"top-[4%]",right:"right-[2%]",translateX:"translate-x-2/4",translateY:"-translate-y-2/4"},circular:{top:"top-[14%]",right:"right-[14%]",translateX:"translate-x-2/4",translateY:"-translate-y-2/4"}},"bottom-start":{square:{bottom:"bottom-[4%]",left:"left-[2%]",translateX:"-translate-x-2/4",translateY:"translate-y-2/4"},circular:{bottom:"bottom-[14%]",left:"left-[14%]",translateX:"-translate-x-2/4",translateY:"translate-y-2/4"}},"bottom-end":{square:{bottom:"bottom-[4%]",right:"right-[2%]",translateX:"translate-x-2/4",translateY:"translate-y-2/4"},circular:{bottom:"bottom-[14%]",right:"right-[14%]",translateX:"translate-x-2/4",translateY:"translate-y-2/4"}}},colors:a.default}},l=i},4881:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{breadcrumbs:function(){return r},default:function(){return o}});var r={defaultProps:{className:"",fullWidth:!1,separator:"/"},styles:{base:{root:{initial:{width:"w-max"},fullWidth:{display:"block",width:"w-full"}},list:{display:"flex",flexWrap:"flex-wrap",alignItems:"items-center",width:"w-full",bg:"bg-blue-gray-50",bgOpacity:"bg-opacity-60",py:"py-2",px:"px-4",borderRadius:"rounded-md"},item:{initial:{display:"flex",alignItems:"items-center",color:"text-blue-gray-900",fontSmoothing:"antialiased",fontFamily:"font-sans",fontSize:"text-sm",fontWeight:"font-normal",lineHeight:"leading-normal",cursor:"cursor-pointer",transition:"transition-colors duration-300",hover:"hover:text-light-blue-500"},disabled:{pointerEvents:"pointer-events-none"}},separator:{color:"text-blue-gray-500",fontSize:"text-sm",fontSmoothing:"antialiased",fontFamily:"font-sans",fontWeight:"font-normal",lineHeight:"leading-normal",px:"mx-2",pointerEvents:"pointer-events-none",userSelcet:"select-none"}}}},o=r},7709:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={white:{background:"bg-white",color:"text-blue-gray-900",shadow:"shadow-md shadow-blue-gray-500/10",hover:"hover:shadow-lg hover:shadow-blue-gray-500/20",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},black:{background:"bg-gray-900",color:"text-white",shadow:"shadow-md shadow-gray-900/10",hover:"hover:shadow-lg hover:shadow-gray-900/20",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},"blue-gray":{background:"bg-blue-gray-500",color:"text-white",shadow:"shadow-md shadow-blue-gray-500/20",hover:"hover:shadow-lg hover:shadow-blue-gray-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},gray:{background:"bg-gray-900",color:"text-white",shadow:"shadow-md shadow-gray-900/10",hover:"hover:shadow-lg hover:shadow-gray-900/20",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},brown:{background:"bg-brown-500",color:"text-white",shadow:"shadow-md shadow-brown-500/20",hover:"hover:shadow-lg hover:shadow-brown-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},"deep-orange":{background:"bg-deep-orange-500",color:"text-white",shadow:"shadow-md shadow-deep-orange-500/20",hover:"hover:shadow-lg hover:shadow-deep-orange-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},orange:{background:"bg-orange-500",color:"text-white",shadow:"shadow-md shadow-orange-500/20",hover:"hover:shadow-lg hover:shadow-orange-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},amber:{background:"bg-amber-500",color:"text-black",shadow:"shadow-md shadow-amber-500/20",hover:"hover:shadow-lg hover:shadow-amber-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},yellow:{background:"bg-yellow-500",color:"text-black",shadow:"shadow-md shadow-yellow-500/20",hover:"hover:shadow-lg hover:shadow-yellow-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},lime:{background:"bg-lime-500",color:"text-black",shadow:"shadow-md shadow-lime-500/20",hover:"hover:shadow-lg hover:shadow-lime-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},"light-green":{background:"bg-light-green-500",color:"text-white",shadow:"shadow-md shadow-light-green-500/20",hover:"hover:shadow-lg hover:shadow-light-green-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},green:{background:"bg-green-500",color:"text-white",shadow:"shadow-md shadow-green-500/20",hover:"hover:shadow-lg hover:shadow-green-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},teal:{background:"bg-teal-500",color:"text-white",shadow:"shadow-md shadow-teal-500/20",hover:"hover:shadow-lg hover:shadow-teal-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},cyan:{background:"bg-cyan-500",color:"text-white",shadow:"shadow-md shadow-cyan-500/20",hover:"hover:shadow-lg hover:shadow-cyan-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},"light-blue":{background:"bg-light-blue-500",color:"text-white",shadow:"shadow-md shadow-light-blue-500/20",hover:"hover:shadow-lg hover:shadow-light-blue-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},blue:{background:"bg-blue-500",color:"text-white",shadow:"shadow-md shadow-blue-500/20",hover:"hover:shadow-lg hover:shadow-blue-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},indigo:{background:"bg-indigo-500",color:"text-white",shadow:"shadow-md shadow-indigo-500/20",hover:"hover:shadow-lg hover:shadow-indigo-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},"deep-purple":{background:"bg-deep-purple-500",color:"text-white",shadow:"shadow-md shadow-deep-purple-500/20",hover:"hover:shadow-lg hover:shadow-deep-purple-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},purple:{background:"bg-purple-500",color:"text-white",shadow:"shadow-md shadow-purple-500/20",hover:"hover:shadow-lg hover:shadow-purple-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},pink:{background:"bg-pink-500",color:"text-white",shadow:"shadow-md shadow-pink-500/20",hover:"hover:shadow-lg hover:shadow-pink-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},red:{background:"bg-red-500",color:"text-white",shadow:"shadow-md shadow-red-500/20",hover:"hover:shadow-lg hover:shadow-red-500/40",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"}}},3653:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={white:{background:"bg-white",color:"text-blue-gray-900",shadow:"shadow-md shadow-blue-gray-500/10",hover:"hover:shadow-lg hover:shadow-blue-gray-500/20",focus:"focus:opacity-[0.85] focus:shadow-none",active:"active:opacity-[0.85] active:shadow-none"},black:{background:"bg-gradient-to-tr from-gray-900 to-gray-800",color:"text-white",shadow:"shadow-md shadow-gray-900/10",hover:"hover:shadow-lg hover:shadow-gray-900/20",active:"active:opacity-[0.85]"},"blue-gray":{background:"bg-gradient-to-tr from-blue-gray-600 to-blue-gray-400",color:"text-white",shadow:"shadow-md shadow-blue-gray-500/20",hover:"hover:shadow-lg hover:shadow-blue-gray-500/40",active:"active:opacity-[0.85]"},gray:{background:"bg-gradient-to-tr from-gray-900 to-gray-800",color:"text-white",shadow:"shadow-md shadow-gray-900/10",hover:"hover:shadow-lg hover:shadow-gray-900/20",active:"active:opacity-[0.85]"},brown:{background:"bg-gradient-to-tr from-brown-600 to-brown-400",color:"text-white",shadow:"shadow-md shadow-brown-500/20",hover:"hover:shadow-lg hover:shadow-brown-500/40",active:"active:opacity-[0.85]"},"deep-orange":{background:"bg-gradient-to-tr from-deep-orange-600 to-deep-orange-400",color:"text-white",shadow:"shadow-md shadow-deep-orange-500/20",hover:"hover:shadow-lg hover:shadow-deep-orange-500/40",active:"active:opacity-[0.85]"},orange:{background:"bg-gradient-to-tr from-orange-600 to-orange-400",color:"text-white",shadow:"shadow-md shadow-orange-500/20",hover:"hover:shadow-lg hover:shadow-orange-500/40",active:"active:opacity-[0.85]"},amber:{background:"bg-gradient-to-tr from-amber-600 to-amber-400",color:"text-black",shadow:"shadow-md shadow-amber-500/20",hover:"hover:shadow-lg hover:shadow-amber-500/40",active:"active:opacity-[0.85]"},yellow:{background:"bg-gradient-to-tr from-yellow-600 to-yellow-400",color:"text-black",shadow:"shadow-md shadow-yellow-500/20",hover:"hover:shadow-lg hover:shadow-yellow-500/40",active:"active:opacity-[0.85]"},lime:{background:"bg-gradient-to-tr from-lime-600 to-lime-400",color:"text-black",shadow:"shadow-md shadow-lime-500/20",hover:"hover:shadow-lg hover:shadow-lime-500/40",active:"active:opacity-[0.85]"},"light-green":{background:"bg-gradient-to-tr from-light-green-600 to-light-green-400",color:"text-white",shadow:"shadow-md shadow-light-green-500/20",hover:"hover:shadow-lg hover:shadow-light-green-500/40",active:"active:opacity-[0.85]"},green:{background:"bg-gradient-to-tr from-green-600 to-green-400",color:"text-white",shadow:"shadow-md shadow-green-500/20",hover:"hover:shadow-lg hover:shadow-green-500/40",active:"active:opacity-[0.85]"},teal:{background:"bg-gradient-to-tr from-teal-600 to-teal-400",color:"text-white",shadow:"shadow-md shadow-teal-500/20",hover:"hover:shadow-lg hover:shadow-teal-500/40",active:"active:opacity-[0.85]"},cyan:{background:"bg-gradient-to-tr from-cyan-600 to-cyan-400",color:"text-white",shadow:"shadow-md shadow-cyan-500/20",hover:"hover:shadow-lg hover:shadow-cyan-500/40",active:"active:opacity-[0.85]"},"light-blue":{background:"bg-gradient-to-tr from-light-blue-600 to-light-blue-400",color:"text-white",shadow:"shadow-md shadow-light-blue-500/20",hover:"hover:shadow-lg hover:shadow-light-blue-500/40",active:"active:opacity-[0.85]"},blue:{background:"bg-gradient-to-tr from-blue-600 to-blue-400",color:"text-white",shadow:"shadow-md shadow-blue-500/20",hover:"hover:shadow-lg hover:shadow-blue-500/40",active:"active:opacity-[0.85]"},indigo:{background:"bg-gradient-to-tr from-indigo-600 to-indigo-400",color:"text-white",shadow:"shadow-md shadow-indigo-500/20",hover:"hover:shadow-lg hover:shadow-indigo-500/40",active:"active:opacity-[0.85]"},"deep-purple":{background:"bg-gradient-to-tr from-deep-purple-600 to-deep-purple-400",color:"text-white",shadow:"shadow-md shadow-deep-purple-500/20",hover:"hover:shadow-lg hover:shadow-deep-purple-500/40",active:"active:opacity-[0.85]"},purple:{background:"bg-gradient-to-tr from-purple-600 to-purple-400",color:"text-white",shadow:"shadow-md shadow-purple-500/20",hover:"hover:shadow-lg hover:shadow-purple-500/40",active:"active:opacity-[0.85]"},pink:{background:"bg-gradient-to-tr from-pink-600 to-pink-400",color:"text-white",shadow:"shadow-md shadow-pink-500/20",hover:"hover:shadow-lg hover:shadow-pink-500/40",active:"active:opacity-[0.85]"},red:{background:"bg-gradient-to-tr from-red-600 to-red-400",color:"text-white",shadow:"shadow-md shadow-red-500/20",hover:"hover:shadow-lg hover:shadow-red-500/40",active:"active:opacity-[0.85]"}}},8683:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={white:{border:"border border-white",color:"text-white",hover:"hover:opacity-75",focus:"focus:ring focus:ring-white/50",active:"active:opacity-[0.85]"},black:{border:"border border-gray-900",color:"text-gray-900",hover:"hover:opacity-75",focus:"focus:ring focus:ring-gray-300",active:"active:opacity-[0.85]"},"blue-gray":{border:"border border-blue-gray-500",color:"text-blue-gray-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-blue-gray-200",active:"active:opacity-[0.85]"},gray:{border:"border border-gray-900",color:"text-gray-900",hover:"hover:opacity-75",focus:"focus:ring focus:ring-gray-300",active:"active:opacity-[0.85]"},brown:{border:"border border-brown-500",color:"text-brown-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-brown-200",active:"active:opacity-[0.85]"},"deep-orange":{border:"border border-deep-orange-500",color:"text-deep-orange-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-deep-orange-200",active:"active:opacity-[0.85]"},orange:{border:"border border-orange-500",color:"text-orange-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-orange-200",active:"active:opacity-[0.85]"},amber:{border:"border border-amber-500",color:"text-amber-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-amber-200",active:"active:opacity-[0.85]"},yellow:{border:"border border-yellow-500",color:"text-yellow-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-yellow-200",active:"active:opacity-[0.85]"},lime:{border:"border border-lime-500",color:"text-lime-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-lime-200",active:"active:opacity-[0.85]"},"light-green":{border:"border border-light-green-500",color:"text-light-green-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-light-green-200",active:"active:opacity-[0.85]"},green:{border:"border border-green-500",color:"text-green-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-green-200",active:"active:opacity-[0.85]"},teal:{border:"border border-teal-500",color:"text-teal-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-teal-200",active:"active:opacity-[0.85]"},cyan:{border:"border border-cyan-500",color:"text-cyan-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-cyan-200",active:"active:opacity-[0.85]"},"light-blue":{border:"border border-light-blue-500",color:"text-light-blue-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-light-blue-200",active:"active:opacity-[0.85]"},blue:{border:"border border-blue-500",color:"text-blue-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-blue-200",active:"active:opacity-[0.85]"},indigo:{border:"border border-indigo-500",color:"text-indigo-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-indigo-200",active:"active:opacity-[0.85]"},"deep-purple":{border:"border border-deep-purple-500",color:"text-deep-purple-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-deep-purple-200",active:"active:opacity-[0.85]"},purple:{border:"border border-purple-500",color:"text-purple-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-purple-200",active:"active:opacity-[0.85]"},pink:{border:"border border-pink-500",color:"text-pink-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-pink-200",active:"active:opacity-[0.85]"},red:{border:"border border-red-500",color:"text-red-500",hover:"hover:opacity-75",focus:"focus:ring focus:ring-red-200",active:"active:opacity-[0.85]"}}},8950:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={white:{color:"text-white",hover:"hover:bg-white/10",active:"active:bg-white/30"},black:{color:"text-gray-900",hover:"hover:bg-gray-900/10",active:"active:bg-gray-900/20"},"blue-gray":{color:"text-blue-gray-500",hover:"hover:bg-blue-gray-500/10",active:"active:bg-blue-gray-500/30"},gray:{color:"text-gray-900",hover:"hover:bg-gray-900/10",active:"active:bg-gray-900/20"},brown:{color:"text-brown-500",hover:"hover:bg-brown-500/10",active:"active:bg-brown-500/30"},"deep-orange":{color:"text-deep-orange-500",hover:"hover:bg-deep-orange-500/10",active:"active:bg-deep-orange-500/30"},orange:{color:"text-orange-500",hover:"hover:bg-orange-500/10",active:"active:bg-orange-500/30"},amber:{color:"text-amber-500",hover:"hover:bg-amber-500/10",active:"active:bg-amber-500/30"},yellow:{color:"text-yellow-500",hover:"hover:bg-yellow-500/10",active:"active:bg-yellow-500/30"},lime:{color:"text-lime-500",hover:"hover:bg-lime-500/10",active:"active:bg-lime-500/30"},"light-green":{color:"text-light-green-500",hover:"hover:bg-light-green-500/10",active:"active:bg-light-green-500/30"},green:{color:"text-green-500",hover:"hover:bg-green-500/10",active:"active:bg-green-500/30"},teal:{color:"text-teal-500",hover:"hover:bg-teal-500/10",active:"active:bg-teal-500/30"},cyan:{color:"text-cyan-500",hover:"hover:bg-cyan-500/10",active:"active:bg-cyan-500/30"},"light-blue":{color:"text-light-blue-500",hover:"hover:bg-light-blue-500/10",active:"active:bg-light-blue-500/30"},blue:{color:"text-blue-500",hover:"hover:bg-blue-500/10",active:"active:bg-blue-500/30"},indigo:{color:"text-indigo-500",hover:"hover:bg-indigo-500/10",active:"active:bg-indigo-500/30"},"deep-purple":{color:"text-deep-purple-500",hover:"hover:bg-deep-purple-500/10",active:"active:bg-deep-purple-500/30"},purple:{color:"text-purple-500",hover:"hover:bg-purple-500/10",active:"active:bg-purple-500/30"},pink:{color:"text-pink-500",hover:"hover:bg-pink-500/10",active:"active:bg-pink-500/30"},red:{color:"text-red-500",hover:"hover:bg-red-500/10",active:"active:bg-red-500/30"}}},3197:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{button:function(){return c},default:function(){return u}});var o=s(r(7709)),n=s(r(3653)),a=s(r(8683)),i=s(r(8950)),l=r(2990);function s(e){return e&&e.__esModule?e:{default:e}}var c={defaultProps:{variant:"filled",size:"md",color:"gray",fullWidth:!1,ripple:!0,className:""},valid:{variants:l.propTypesVariant,sizes:l.propTypesSize,colors:l.propTypesColor},styles:{base:{initial:{verticalAlign:"align-middle",userSelect:"select-none",fontFamily:"font-sans",fontWeight:"font-bold",textAlign:"text-center",textTransform:"uppercase",transition:"transition-all",disabled:"disabled:opacity-50 disabled:shadow-none disabled:pointer-events-none"},fullWidth:{display:"block",width:"w-full"}},sizes:{sm:{fontSize:"text-xs",py:"py-2",px:"px-4",borderRadius:"rounded-lg"},md:{fontSize:"text-xs",py:"py-3",px:"px-6",borderRadius:"rounded-lg"},lg:{fontSize:"text-sm",py:"py-3.5",px:"px-7",borderRadius:"rounded-lg"}},variants:{filled:o.default,gradient:n.default,outlined:a.default,text:i.default}}},u=c},9735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={white:{divideColor:"divide-blue-gray-50"},black:{divideColor:"divide-gray-800"},"blue-gray":{divideColor:"divide-blue-gray-600"},gray:{divideColor:"divide-gray-800"},brown:{divideColor:"divide-brown-600"},"deep-orange":{divideColor:"divide-deep-orange-600"},orange:{divideColor:"divide-orange-600"},amber:{divideColor:"divide-amber-600"},yellow:{divideColor:"divide-yellow-600"},lime:{divideColor:"divide-lime-600"},"light-green":{divideColor:"divide-light-green-600"},green:{divideColor:"divide-green-600"},teal:{divideColor:"divide-teal-600"},cyan:{divideColor:"divide-cyan-600"},"light-blue":{divideColor:"divide-light-blue-600"},blue:{divideColor:"divide-blue-600"},indigo:{divideColor:"divide-indigo-600"},"deep-purple":{divideColor:"divide-deep-purple-600"},purple:{divideColor:"divide-purple-600"},pink:{divideColor:"divide-pink-600"},red:{divideColor:"divide-red-600"}}},5588:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{buttonGroup:function(){return i},default:function(){return l}});var o,n=(o=r(9735))&&o.__esModule?o:{default:o},a=r(2990),i={defaultProps:{variant:"filled",size:"md",color:"gray",fullWidth:!1,ripple:!0,className:""},valid:{variants:a.propTypesVariant,sizes:a.propTypesSize,colors:a.propTypesColor},styles:{base:{initial:{display:"flex",flexDirection:"row"},fullWidth:{width:"w-full"}},dividerColor:n.default}},l=i},3961:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cardBody:function(){return r},default:function(){return o}});var r={defaultProps:{className:""},styles:{base:{p:"p-6"}}},o=r},4217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={transparent:{backgroud:"bg-transparent",color:"text-gray-700",shadow:"shadow-none"},white:{backgroud:"bg-white",color:"text-gray-700"},"blue-gray":{backgroud:"bg-blue-gray-500",color:"text-white",shadow:"shadow-blue-gray-500/40"},gray:{backgroud:"bg-gray-900",color:"text-white",shadow:"shadow-gray-900/20"},brown:{backgroud:"bg-brown-500",color:"text-white",shadow:"shadow-brown-500/40"},"deep-orange":{backgroud:"bg-deep-orange-500",color:"text-white",shadow:"shadow-deep-orange-500/40"},orange:{backgroud:"bg-orange-500",color:"text-white",shadow:"shadow-orange-500/40"},amber:{backgroud:"bg-amber-500",color:"text-gray-700",shadow:"shadow-amber-500/40"},yellow:{backgroud:"bg-yellow-500",color:"text-gray-700",shadow:"shadow-yellow-500/40"},lime:{backgroud:"bg-lime-500",color:"text-gray-700",shadow:"shadow-lime-500/40"},"light-green":{backgroud:"bg-light-green-500",color:"text-white",shadow:"shadow-light-green-500/40"},green:{backgroud:"bg-green-500",color:"text-white",shadow:"shadow-green-500/40"},teal:{backgroud:"bg-teal-500",color:"text-white",shadow:"shadow-teal-500/40"},cyan:{backgroud:"bg-cyan-500",color:"text-white",shadow:"shadow-cyan-500/40"},"light-blue":{backgroud:"bg-light-blue-500",color:"text-white",shadow:"shadow-light-blue-500/40"},blue:{backgroud:"bg-blue-500",color:"text-white",shadow:"shadow-blue-500/40"},indigo:{backgroud:"bg-indigo-500",color:"text-white",shadow:"shadow-indigo-500/40"},"deep-purple":{backgroud:"bg-deep-purple-500",color:"text-white",shadow:"shadow-deep-purple-500/40"},purple:{backgroud:"bg-purple-500",color:"text-white",shadow:"shadow-purple-500/40"},pink:{backgroud:"bg-pink-500",color:"text-white",shadow:"shadow-pink-500/40"},red:{backgroud:"bg-red-500",color:"text-white",shadow:"shadow-red-500/40"}}},6102:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cardFooter:function(){return r},default:function(){return o}});var r={defaultProps:{className:""},styles:{base:{initial:{p:"p-6"},divider:{borderWidth:"border-t",borderColor:"border-blue-gray-50"}}}},o=r},3521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={transparent:{backgroud:"bg-transparent",color:"text-gray-700",shadow:"shadow-none"},white:{backgroud:"bg-white",color:"text-gray-700"},"blue-gray":{backgroud:"bg-gradient-to-tr from-blue-gray-600 to-blue-gray-400",color:"text-white",shadow:"shadow-blue-gray-500/40"},gray:{backgroud:"bg-gradient-to-tr from-gray-900 to-gray-800",color:"text-white",shadow:"shadow-gray-900/20"},brown:{backgroud:"bg-gradient-to-tr from-brown-600 to-brown-400",color:"text-white",shadow:"shadow-brown-500/40"},"deep-orange":{backgroud:"bg-gradient-to-tr from-deep-orange-600 to-deep-orange-400",color:"text-white",shadow:"shadow-deep-orange-500/40"},orange:{backgroud:"bg-gradient-to-tr from-orange-600 to-orange-400",color:"text-white",shadow:"shadow-orange-500/40"},amber:{backgroud:"bg-gradient-to-tr from-amber-600 to-amber-400",color:"text-gray-700",shadow:"shadow-amber-500/40"},yellow:{backgroud:"bg-gradient-to-tr from-yellow-600 to-yellow-400",color:"text-gray-700",shadow:"shadow-yellow-500/40"},lime:{backgroud:"bg-gradient-to-tr from-lime-600 to-lime-400",color:"text-gray-700",shadow:"shadow-lime-500/40"},"light-green":{backgroud:"bg-gradient-to-tr from-light-green-600 to-light-green-400",color:"text-white",shadow:"shadow-light-green-500/40"},green:{backgroud:"bg-gradient-to-tr from-green-600 to-green-400",color:"text-white",shadow:"shadow-green-500/40"},teal:{backgroud:"bg-gradient-to-tr from-teal-600 to-teal-400",color:"text-white",shadow:"shadow-teal-500/40"},cyan:{backgroud:"bg-gradient-to-tr from-cyan-600 to-cyan-400",color:"text-white",shadow:"shadow-cyan-500/40"},"light-blue":{backgroud:"bg-gradient-to-tr from-light-blue-600 to-light-blue-400",color:"text-white",shadow:"shadow-light-blue-500/40"},blue:{backgroud:"bg-gradient-to-tr from-blue-600 to-blue-400",color:"text-white",shadow:"shadow-blue-500/40"},indigo:{backgroud:"bg-gradient-to-tr from-indigo-600 to-indigo-400",color:"text-white",shadow:"shadow-indigo-500/40"},"deep-purple":{backgroud:"bg-gradient-to-tr from-deep-purple-600 to-deep-purple-400",color:"text-white",shadow:"shadow-deep-purple-500/40"},purple:{backgroud:"bg-gradient-to-tr from-purple-600 to-purple-400",color:"text-white",shadow:"shadow-purple-500/40"},pink:{backgroud:"bg-gradient-to-tr from-pink-600 to-pink-400",color:"text-white",shadow:"shadow-pink-500/40"},red:{backgroud:"bg-gradient-to-tr from-red-600 to-red-400",color:"text-white",shadow:"shadow-red-500/40"}}},6896:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var o=i(r(4217)),n=i(r(3521)),a=r(9104);function i(e){return e&&e.__esModule?e:{default:e}}var l={defaultProps:{variant:"filled",color:"white",shadow:!0,floated:!0,className:""},valid:{variants:a.propTypesVariant,colors:a.propTypesColor},styles:{base:{initial:{position:"relative",backgroundClip:"bg-clip-border",mt:"mt-4",mx:"mx-4",borderRadius:"rounded-xl",overflow:"overflow-hidden"},shadow:{boxShadow:"shadow-lg"},floated:{mt:"-mt-6"}},variants:{filled:o.default,gradient:n.default}}}},247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var o=i(r(4217)),n=i(r(3521)),a=r(9104);function i(e){return e&&e.__esModule?e:{default:e}}var l={defaultProps:{variant:"filled",color:"white",shadow:!0,className:""},valid:{variants:a.propTypesVariant,colors:a.propTypesColor},styles:{base:{initial:{position:"relative",display:"flex",flexDirection:"flex-col",backgroundClip:"bg-clip-border",borderRadius:"rounded-xl"},shadow:{boxShadow:"shadow-md"}},variants:{filled:o.default,gradient:n.default}}}},6307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{carousel:function(){return a},default:function(){return i}});var o,n=(o=r(1609))&&o.__esModule?o:{default:o},a={defaultProps:{prevArrow:function(e){var t=e.loop,r=e.handlePrev,o=e.firstIndex;return n.default.createElement("button",{onClick:r,disabled:!t&&o,className:"!absolute top-2/4 left-4 -translate-y-2/4 rounded-full select-none transition-all disabled:opacity-50 disabled:shadow-none disabled:pointer-events-none w-12 max-w-[48px] h-12 max-h-[48px] text-white hover:bg-white/10 active:bg-white/30 grid place-items-center"},n.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3,className:"-ml-1 h-7 w-7"},n.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})))},nextArrow:function(e){var t=e.loop,r=e.handleNext,o=e.lastIndex;return n.default.createElement("button",{onClick:r,disabled:!t&&o,className:"!absolute top-2/4 right-4 -translate-y-2/4 rounded-full select-none transition-all disabled:opacity-50 disabled:shadow-none disabled:pointer-events-none w-12 max-w-[48px] h-12 max-h-[48px] text-white hover:bg-white/10 active:bg-white/30 grid place-items-center"},n.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3,className:"ml-1 h-7 w-7"},n.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})))},navigation:function(e){var t=e.setActiveIndex,r=e.activeIndex,o=e.length;return n.default.createElement("div",{className:"absolute bottom-4 left-2/4 z-50 flex -translate-x-2/4 gap-2"},new Array(o).fill("").map((function(e,o){return n.default.createElement("span",{key:o,className:"block h-3 w-3 cursor-pointer rounded-full transition-colors content-[''] ".concat(r===o?"bg-white":"bg-white/50"),onClick:function(){return t(o)}})})))},autoplay:!1,autoplayDelay:5e3,transition:{type:"tween",duration:.5},loop:!1,className:""},styles:{base:{carousel:{position:"relative",width:"w-full",height:"h-full",overflowX:"overflow-x-hidden",display:"flex"},slide:{width:"w-full",height:"h-full",display:"inline-block",flex:"flex-none"}}}},i=a},8063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{background:"checked:bg-blue-gray-500",border:"checked:border-blue-gray-500",before:"checked:before:bg-blue-gray-500"},gray:{background:"checked:bg-gray-900",border:"checked:border-gray-900",before:"checked:before:bg-gray-900"},brown:{background:"checked:bg-brown-500",border:"checked:border-brown-500",before:"checked:before:bg-brown-500"},"deep-orange":{background:"checked:bg-deep-orange-500",border:"checked:border-deep-orange-500",before:"checked:before:bg-deep-orange-500"},orange:{background:"checked:bg-orange-500",border:"checked:border-orange-500",before:"checked:before:bg-orange-500"},amber:{background:"checked:bg-amber-500",border:"checked:border-amber-500",before:"checked:before:bg-amber-500"},yellow:{background:"checked:bg-yellow-500",border:"checked:border-yellow-500",before:"checked:before:bg-yellow-500"},lime:{background:"checked:bg-lime-500",border:"checked:border-lime-500",before:"checked:before:bg-lime-500"},"light-green":{background:"checked:bg-light-green-500",border:"checked:border-light-green-500",before:"checked:before:bg-light-green-500"},green:{background:"checked:bg-green-500",border:"checked:border-green-500",before:"checked:before:bg-green-500"},teal:{background:"checked:bg-teal-500",border:"checked:border-teal-500",before:"checked:before:bg-teal-500"},cyan:{background:"checked:bg-cyan-500",border:"checked:border-cyan-500",before:"checked:before:bg-cyan-500"},"light-blue":{background:"checked:bg-light-blue-500",border:"checked:border-light-blue-500",before:"checked:before:bg-light-blue-500"},blue:{background:"checked:bg-blue-500",border:"checked:border-blue-500",before:"checked:before:bg-blue-500"},indigo:{background:"checked:bg-indigo-500",border:"checked:border-indigo-500",before:"checked:before:bg-indigo-500"},"deep-purple":{background:"checked:bg-deep-purple-500",border:"checked:border-deep-purple-500",before:"checked:before:bg-deep-purple-500"},purple:{background:"checked:bg-purple-500",border:"checked:border-purple-500",before:"checked:before:bg-purple-500"},pink:{background:"checked:bg-pink-500",border:"checked:border-pink-500",before:"checked:before:bg-pink-500"},red:{background:"checked:bg-red-500",border:"checked:border-red-500",before:"checked:before:bg-red-500"}}},8036:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{checkbox:function(){return a},default:function(){return i}});var o,n=(o=r(8063))&&o.__esModule?o:{default:o},a={defaultProps:{color:"gray",label:void 0,icon:void 0,ripple:!0,className:"",disabled:!1,containerProps:void 0,labelProps:void 0,iconProps:void 0},valid:{colors:r(4987).propTypesColor},styles:{base:{root:{display:"inline-flex",alignItems:"items-center"},container:{position:"relative",display:"flex",alignItems:"items-center",cursor:"cursor-pointer",p:"p-3",borderRadius:"rounded-full"},input:{peer:"peer",position:"relative",appearance:"appearance-none",width:"w-5",height:"h-5",borderWidth:"border",borderRadius:"rounded-md",borderColor:"border-blue-gray-200",cursor:"cursor-pointer",transition:"transition-all",before:{content:"before:content['']",display:"before:block",bg:"before:bg-blue-gray-500",width:"before:w-12",height:"before:h-12",borderRadius:"before:rounded-full",position:"before:absolute",top:"before:top-2/4",left:"before:left-2/4",transform:"before:-translate-y-2/4 before:-translate-x-2/4",opacity:"before:opacity-0 hover:before:opacity-10",transition:"before:transition-opacity"}},label:{color:"text-gray-700",fontWeight:"font-light",userSelect:"select-none",cursor:"cursor-pointer",mt:"mt-px"},icon:{color:"text-white",position:"absolute",top:"top-2/4",left:"left-2/4",translate:"-translate-y-2/4 -translate-x-2/4",pointerEvents:"pointer-events-none",opacity:"opacity-0 peer-checked:opacity-100",transition:"transition-opacity"},disabled:{opacity:"opacity-50",pointerEvents:"pointer-events-none"}},colors:n.default}},i=a},3861:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{backgroud:"bg-blue-gray-500",color:"text-white"},gray:{backgroud:"bg-gray-900",color:"text-white"},brown:{backgroud:"bg-brown-500",color:"text-white"},"deep-orange":{backgroud:"bg-deep-orange-500",color:"text-white"},orange:{backgroud:"bg-orange-500",color:"text-white"},amber:{backgroud:"bg-amber-500",color:"text-black"},yellow:{backgroud:"bg-yellow-500",color:"text-black"},lime:{backgroud:"bg-lime-500",color:"text-black"},"light-green":{backgroud:"bg-light-green-500",color:"text-white"},green:{backgroud:"bg-green-500",color:"text-white"},teal:{backgroud:"bg-teal-500",color:"text-white"},cyan:{backgroud:"bg-cyan-500",color:"text-white"},"light-blue":{backgroud:"bg-light-blue-500",color:"text-white"},blue:{backgroud:"bg-blue-500",color:"text-white"},indigo:{backgroud:"bg-indigo-500",color:"text-white"},"deep-purple":{backgroud:"bg-deep-purple-500",color:"text-white"},purple:{backgroud:"bg-purple-500",color:"text-white"},pink:{backgroud:"bg-pink-500",color:"text-white"},red:{backgroud:"bg-red-500",color:"text-white"}}},7102:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{backgroud:"bg-blue-gray-500/20",color:"text-blue-gray-900"},gray:{backgroud:"bg-gray-900/10",color:"text-gray-900"},brown:{backgroud:"bg-brown-500/20",color:"text-brown-900"},"deep-orange":{backgroud:"bg-deep-orange-500/20",color:"text-deep-orange-900"},orange:{backgroud:"bg-orange-500/20",color:"text-orange-900"},amber:{backgroud:"bg-amber-500/20",color:"text-amber-900"},yellow:{backgroud:"bg-yellow-500/20",color:"text-yellow-900"},lime:{backgroud:"bg-lime-500/20",color:"text-lime-900"},"light-green":{backgroud:"bg-light-green-500/20",color:"text-light-green-900"},green:{backgroud:"bg-green-500/20",color:"text-green-900"},teal:{backgroud:"bg-teal-500/20",color:"text-teal-900"},cyan:{backgroud:"bg-cyan-500/20",color:"text-cyan-900"},"light-blue":{backgroud:"bg-light-blue-500/20",color:"text-light-blue-900"},blue:{backgroud:"bg-blue-500/20",color:"text-blue-900"},indigo:{backgroud:"bg-indigo-500/20",color:"text-indigo-900"},"deep-purple":{backgroud:"bg-deep-purple-500/20",color:"text-deep-purple-900"},purple:{backgroud:"bg-purple-500/20",color:"text-purple-900"},pink:{backgroud:"bg-pink-500/20",color:"text-pink-900"},red:{backgroud:"bg-red-500/20",color:"text-red-900"}}},3053:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{backgroud:"bg-gradient-to-tr from-blue-gray-600 to-blue-gray-400",color:"text-white"},gray:{backgroud:"bg-gradient-to-tr from-gray-900 to-gray-800",color:"text-white"},brown:{backgroud:"bg-gradient-to-tr from-brown-600 to-brown-400",color:"text-white"},"deep-orange":{backgroud:"bg-gradient-to-tr from-deep-orange-600 to-deep-orange-400",color:"text-white"},orange:{backgroud:"bg-gradient-to-tr from-orange-600 to-orange-400",color:"text-white"},amber:{backgroud:"bg-gradient-to-tr from-amber-600 to-amber-400",color:"text-black"},yellow:{backgroud:"bg-gradient-to-tr from-yellow-600 to-yellow-400",color:"text-black"},lime:{backgroud:"bg-gradient-to-tr from-lime-600 to-lime-400",color:"text-black"},"light-green":{backgroud:"bg-gradient-to-tr from-light-green-600 to-light-green-400",color:"text-white"},green:{backgroud:"bg-gradient-to-tr from-green-600 to-green-400",color:"text-white"},teal:{backgroud:"bg-gradient-to-tr from-teal-600 to-teal-400",color:"text-white"},cyan:{backgroud:"bg-gradient-to-tr from-cyan-600 to-cyan-400",color:"text-white"},"light-blue":{backgroud:"bg-gradient-to-tr from-light-blue-600 to-light-blue-400",color:"text-white"},blue:{backgroud:"bg-gradient-to-tr from-blue-600 to-blue-400",color:"text-white"},indigo:{backgroud:"bg-gradient-to-tr from-indigo-600 to-indigo-400",color:"text-white"},"deep-purple":{backgroud:"bg-gradient-to-tr from-deep-purple-600 to-deep-purple-400",color:"text-white"},purple:{backgroud:"bg-gradient-to-tr from-purple-600 to-purple-400",color:"text-white"},pink:{backgroud:"bg-gradient-to-tr from-pink-600 to-pink-400",color:"text-white"},red:{backgroud:"bg-gradient-to-tr from-red-600 to-red-400",color:"text-white"}}},3107:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{border:"border border-blue-gray-500",color:"text-blue-gray-700"},gray:{border:"border border-gray-900",color:"text-gray-700"},brown:{border:"border border-brown-500",color:"text-brown-700"},"deep-orange":{border:"border border-deep-orange-500",color:"text-deep-orange-700"},orange:{border:"border border-orange-500",color:"text-orange-700"},amber:{border:"border border-amber-500",color:"text-amber-700"},yellow:{border:"border border-yellow-500",color:"text-yellow-700"},lime:{border:"border border-lime-500",color:"text-lime-700"},"light-green":{border:"border border-light-green-500",color:"text-light-green-700"},green:{border:"border border-green-500",color:"text-green-700"},teal:{border:"border border-teal-500",color:"text-teal-700"},cyan:{border:"border border-cyan-500",color:"text-cyan-700"},"light-blue":{border:"border border-light-blue-500",color:"text-light-blue-700"},blue:{border:"border border-blue-500",color:"text-blue-700"},indigo:{border:"border border-indigo-500",color:"text-indigo-700"},"deep-purple":{border:"border border-deep-purple-500",color:"text-deep-purple-700"},purple:{border:"border border-purple-500",color:"text-purple-700"},pink:{border:"border border-pink-500",color:"text-pink-700"},red:{border:"border border-red-500",color:"text-red-700"}}},2391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{chip:function(){return c},default:function(){return u}});var o=s(r(3861)),n=s(r(3053)),a=s(r(3107)),i=s(r(7102)),l=r(1024);function s(e){return e&&e.__esModule?e:{default:e}}var c={defaultProps:{variant:"filled",size:"md",color:"gray",icon:void 0,open:!0,onClose:void 0,action:void 0,animate:{unmount:{},mount:{}},className:""},valid:{variants:l.propTypesVariant,sizes:l.propTypesSize,colors:l.propTypesColor},styles:{base:{chip:{position:"relative",display:"grid",placeItems:"items-center",fontFamily:"font-sans",fontWeight:"font-bold",textTransform:"uppercase",lineHeight:"leading-none",whiteSpace:"whitespace-nowrap",userSelect:"select-none"},action:{position:"!absolute",top:"top-2/4",right:"right-1",translate:"-translate-y-2/4",mx:"mx-px",rounded:"rounded-md"},icon:{position:"absolute",top:"top-2/4",translate:"-translate-y-2/4"}},sizes:{sm:{chip:{py:"py-1",px:"px-2",fontSize:"text-xs",borderRadius:"rounded-md"},action:{width:"w-4",height:"h-4"},icon:{width:"w-4",height:"h-4",left:"left-1"}},md:{chip:{py:"py-1.5",px:"px-3",fontSize:"text-xs",borderRadius:"rounded-lg"},action:{width:"w-5",height:"h-5"},icon:{width:"w-5",height:"h-5",left:"left-1.5"}},lg:{chip:{py:"py-2",px:"px-4",fontSize:"text-xs",borderRadius:"rounded-lg"},action:{width:"w-6",height:"h-6"},icon:{width:"w-6",height:"h-6",left:"left-1.5"}}},variants:{filled:o.default,gradient:n.default,outlined:a.default,ghost:i.default}}},u=c},8902:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{collapse:function(){return r},default:function(){return o}});var r={defaultProps:{animate:{unmount:{},mount:{}},className:""},styles:{base:{display:"block",width:"w-full",basis:"basis-full",overflow:"overflow-hidden"}}},o=r},6021:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{dialogBody:function(){return r},default:function(){return o}});var r={defaultProps:{className:"",divider:!1},styles:{base:{initial:{position:"relative",p:"p-4",color:"text-blue-gray-500",fontSmoothing:"antialiased",fontFamily:"font-sans",fontSize:"text-base",fontWeight:"font-light",lineHeight:"leading-relaxed"},divider:{borderTop:"border-t",borderTopColor:"border-t-blue-gray-100",borderBottom:"border-b",borderBottomColor:"border-b-blue-gray-100"}}}},o=r},9290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{dialogFooter:function(){return r},default:function(){return o}});var r={defaultProps:{className:""},styles:{base:{display:"flex",alignItems:"items-center",justifyContent:"justify-end",flexShrink:"shrink-0",flexWrap:"flex-wrap",p:"p-4",color:"text-blue-gray-500"}}},o=r},7268:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{dialogHeader:function(){return r},default:function(){return o}});var r={defaultProps:{className:""},styles:{base:{display:"flex",alignItems:"items-center",flexShrink:"shrink-0",p:"p-4",color:"text-blue-gray-900",fontSmoothing:"antialiased",fontFamily:"font-sans",fontSize:"text-2xl",fontWeight:"font-semibold",lineHeight:"leading-snug"}}},o=r},3013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{dialog:function(){return o},default:function(){return n}});var o={defaultProps:{size:"md",dismiss:{},animate:{unmount:{},mount:{}},className:""},valid:{sizes:r(1094).propTypesSize},styles:{base:{backdrop:{display:"grid",placeItems:"place-items-center",position:"fixed",top:0,left:0,width:"w-screen",height:"h-screen",backgroundColor:"bg-black",backgroundOpacity:"bg-opacity-60",backdropFilter:"backdrop-blur-sm"},container:{position:"relative",bg:"bg-white",m:"m-4",borderRadius:"rounded-lg",boxShadow:"shadow-2xl",color:"text-blue-gray-500",fontSmoothing:"antialiased",fontFamily:"font-sans",fontSize:"text-base",fontWeight:"font-light",lineHeight:"leading-relaxed"}},sizes:{xs:{width:"w-full md:w-3/5 lg:w-2/5 2xl:w-1/4",minWidth:"min-w-[80%] md:min-w-[60%] lg:min-w-[40%] 2xl:min-w-[25%]",maxWidth:"max-w-[80%] md:max-w-[60%] lg:max-w-[40%] 2xl:max-w-[25%]"},sm:{width:"w-full md:w-2/3 lg:w-2/4 2xl:w-1/3",minWidth:"min-w-[80%] md:min-w-[66.666667%] lg:min-w-[50%] 2xl:min-w-[33.333333%]",maxWidth:"max-w-[80%] md:max-w-[66.666667%] lg:max-w-[50%] 2xl:max-w-[33.333333%]"},md:{width:"w-full md:w-3/4 lg:w-3/5 2xl:w-2/5",minWidth:"min-w-[90%] md:min-w-[75%] lg:min-w-[60%] 2xl:min-w-[40%]",maxWidth:"max-w-[90%] md:max-w-[75%] lg:max-w-[60%] 2xl:max-w-[40%]"},lg:{width:"w-full md:w-5/6 lg:w-3/4 2xl:w-3/5",minWidth:"min-w-[90%] md:min-w-[83.333333%] lg:min-w-[75%] 2xl:min-w-[60%]",maxWidth:"max-w-[90%] md:max-w-[83.333333%] lg:max-w-[75%] 2xl:max-w-[60%]"},xl:{width:"w-full md:w-5/6 2xl:w-3/4",minWidth:"min-w-[95%] md:min-w-[83.333333%] 2xl:min-w-[75%]",maxWidth:"max-w-[95%] md:max-w-[83.333333%] 2xl:max-w-[75%]"},xxl:{display:"flex",flexDirection:"flex-col",width:"w-screen",minWidth:"min-w-[100vw]",maxWidth:"max-w-[100vw]",height:"h-screen",minHeight:"min-h-[100vh]",maxHeight:"max-h-[100vh]",m:"m-0",borderRadius:"rounded-none"}}}},n=o},1244:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{drawer:function(){return r},default:function(){return o}});var r={defaultProps:{size:300,overlay:!0,placement:"left",overlayProps:void 0,className:"",dismiss:void 0,onClose:void 0,transition:{type:"tween",duration:.3}},styles:{base:{drawer:{position:"fixed",zIndex:"z-[9999]",pointerEvents:"pointer-events-auto",backgroundColor:"bg-white",boxSizing:"box-border",width:"w-full",boxShadow:"shadow-2xl shadow-blue-gray-900/10"},overlay:{position:"absolute",inset:"inset-0",width:"w-full",height:"h-full",pointerEvents:"pointer-events-auto",zIndex:"z-[9995]",backgroundColor:"bg-black",backgroundOpacity:"bg-opacity-60",backdropBlur:"backdrop-blur-sm"}}}},o=r},6184:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{iconButton:function(){return c},default:function(){return u}});var o=s(r(7709)),n=s(r(3653)),a=s(r(8683)),i=s(r(8950)),l=r(2990);function s(e){return e&&e.__esModule?e:{default:e}}var c={defaultProps:{variant:"filled",size:"md",color:"gray",fullWidth:!1,ripple:!0,className:""},valid:{variants:l.propTypesVariant,sizes:l.propTypesSize,colors:l.propTypesColor},styles:{base:{position:"relative",verticalAlign:"align-middle",userSelect:"select-none",fontFamily:"font-sans",fontWeight:"font-medium",textAlign:"text-center",textTransform:"uppercase",transition:"transition-all",disabled:"disabled:opacity-50 disabled:shadow-none disabled:pointer-events-none"},sizes:{sm:{width:"w-8",maxWidth:"max-w-[32px]",height:"h-8",maxHeight:"max-h-[32px]",borderRadius:"rounded-lg",fontSize:"text-xs"},md:{width:"w-10",maxWidth:"max-w-[40px]",height:"h-10",maxHeight:"max-h-[40px]",borderRadius:"rounded-lg",fontSize:"text-xs"},lg:{width:"w-12",maxWidth:"max-w-[48px]",height:"h-12",maxHeight:"max-h-[48px]",borderRadius:"rounded-lg",fontSize:"text-sm"}},variants:{filled:o.default,gradient:n.default,outlined:a.default,text:i.default}}},u=c},8651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{input:function(){return s},default:function(){return c}});var o=l(r(6270)),n=l(r(3033)),a=l(r(8798)),i=r(1652);function l(e){return e&&e.__esModule?e:{default:e}}var s={defaultProps:{variant:"outlined",size:"md",color:"gray",label:"",error:!1,success:!1,icon:void 0,labelProps:void 0,containerProps:void 0,shrink:!1,className:""},valid:{variants:i.propTypesVariant,sizes:i.propTypesSize,colors:i.propTypesColor},styles:{base:{container:{position:"relative",width:"w-full",minWidth:"min-w-[200px]"},input:{peer:"peer",width:"w-full",height:"h-full",bg:"bg-transparent",color:"text-blue-gray-700",fontFamily:"font-sans",fontWeight:"font-normal",outline:"outline outline-0 focus:outline-0",disabled:"disabled:bg-blue-gray-50 disabled:border-0 disabled:cursor-not-allowed",transition:"transition-all"},label:{display:"flex",width:"w-full",height:"h-full",userSelect:"select-none",pointerEvents:"pointer-events-none",position:"absolute",left:"left-0",fontWeight:"font-normal",overflow:"!overflow-visible",textOverflow:"truncate",color:"peer-placeholder-shown:text-blue-gray-500",lineHeight:"leading-tight peer-focus:leading-tight",disabled:"peer-disabled:text-transparent peer-disabled:peer-placeholder-shown:text-blue-gray-500",transition:"transition-all"},icon:{display:"grid",placeItems:"place-items-center",position:"absolute",color:"text-blue-gray-500"},asterisk:{display:"inline-block",color:"text-red-500",ml:"ml-0.5"}},variants:{outlined:o.default,standard:n.default,static:a.default}}},c=s},6270:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var o=i(r(5360)),n=i(r(9248)),a=i(r(4312));function i(e){return e&&e.__esModule?e:{default:e}}var l={base:{input:{borderWidth:"placeholder-shown:border",borderColor:"placeholder-shown:border-blue-gray-200 placeholder-shown:border-t-blue-gray-200",floated:{borderWidth:"border focus:border-2",borderColor:"border-t-transparent focus:border-t-transparent"},placeholder:"placeholder:opacity-0 focus:placeholder:opacity-100"},inputWithIcon:{pr:"!pr-9"},icon:{top:"top-2/4",right:"right-3",transform:"-translate-y-2/4"},label:o.default},sizes:{md:{container:{height:"h-10"},input:{fontSize:"text-sm",px:"px-3",py:"py-2.5",borderRadius:"rounded-[7px]"},label:{lineHeight:"peer-placeholder-shown:leading-[3.75]"},icon:{width:"w-5",height:"h-5"}},lg:{container:{height:"h-11"},input:{fontSize:"text-sm",px:"px-3",py:"py-3",borderRadius:"rounded-md"},label:{lineHeight:"peer-placeholder-shown:leading-[4.1]"},icon:{width:"w-6",height:"h-6"}}},colors:{input:n.default,label:a.default},error:{input:{borderColor:"border-red-500 placeholder-shown:border-t-red-500 placeholder-shown:border-red-500",borderColorFocused:"focus:border-red-500"},label:{color:"text-red-500 peer-focus:text-red-500 peer-placeholder-shown:text-red-500",before:"before:border-red-500 peer-focus:before:border-red-500",after:"after:border-red-500 peer-focus:after:border-red-500"}},success:{input:{borderColor:"border-green-500 placeholder-shown:border-t-green-500 placeholder-shown:border-green-500",borderColorFocused:"focus:border-green-500"},label:{color:"text-green-500 peer-focus:text-green-500 peer-placeholder-shown:text-green-500",before:"before:border-green-500 peer-focus:before:border-green-500",after:"after:border-green-500 peer-focus:after:border-green-500"}},shrink:{input:{borderTop:"!border-t-transparent"},label:{fontSize:"!text-[11px]",lineHeight:"!leading-tight",borderColor:"before:!border-blue-gray-200 after:!border-blue-gray-200"}}}},9248:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={black:{color:"text-black",borderColor:"border-black",borderColorFocused:"focus:border-black"},white:{color:"!text-white",borderColor:"border-white",borderColorFocused:"focus:border-white"},"blue-gray":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-blue-gray-500"},gray:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-gray-900"},brown:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-brown-500"},"deep-orange":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-deep-orange-500"},orange:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-orange-500"},amber:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-amber-500"},yellow:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-yellow-500"},lime:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-lime-500"},"light-green":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-light-green-500"},green:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-green-500"},teal:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-teal-500"},cyan:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-cyan-500"},"light-blue":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-light-blue-500"},blue:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-blue-500"},indigo:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-indigo-500"},"deep-purple":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-deep-purple-500"},purple:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-purple-500"},pink:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-pink-500"},red:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-red-500"}}},5360:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={position:"-top-1.5",fontSize:"peer-placeholder-shown:text-sm",floated:{fontSize:"text-[11px] peer-focus:text-[11px]"},before:{content:"before:content[' ']",display:"before:block",boxSizing:"before:box-border",width:"before:w-2.5",height:"before:h-1.5",mt:"before:mt-[6.5px]",mr:"before:mr-1",borderColor:"peer-placeholder-shown:before:border-transparent",borderRadius:"before:rounded-tl-md",floated:{bt:"before:border-t peer-focus:before:border-t-2",bl:"before:border-l peer-focus:before:border-l-2"},pointerEvents:"before:pointer-events-none",transition:"before:transition-all",disabled:"peer-disabled:before:border-transparent"},after:{content:"after:content[' ']",display:"after:block",flexGrow:"after:flex-grow",boxSizing:"after:box-border",width:"after:w-2.5",height:"after:h-1.5",mt:"after:mt-[6.5px]",ml:"after:ml-1",borderColor:"peer-placeholder-shown:after:border-transparent",borderRadius:"after:rounded-tr-md",floated:{bt:"after:border-t peer-focus:after:border-t-2",br:"after:border-r peer-focus:after:border-r-2"},pointerEvents:"after:pointer-events-none",transition:"after:transition-all",disabled:"peer-disabled:after:border-transparent"}}},4312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={black:{color:"!text-black peer-focus:text-black",before:"before:border-black peer-focus:before:!border-black",after:"after:border-black peer-focus:after:!border-black"},white:{color:"!text-white peer-focus:text-white",before:"before:border-white peer-focus:before:!border-white",after:"after:border-white peer-focus:after:!border-white"},"blue-gray":{color:"text-blue-gray-400 peer-focus:text-blue-gray-500",before:"before:border-blue-gray-200 peer-focus:before:!border-blue-gray-500",after:"after:border-blue-gray-200 peer-focus:after:!border-blue-gray-500"},gray:{color:"text-gray-500 peer-focus:text-gray-900",before:"before:border-blue-gray-200 peer-focus:before:!border-gray-900",after:"after:border-blue-gray-200 peer-focus:after:!border-gray-900"},brown:{color:"text-blue-gray-400 peer-focus:text-brown-500",before:"before:border-blue-gray-200 peer-focus:before:!border-brown-500",after:"after:border-blue-gray-200 peer-focus:after:!border-brown-500"},"deep-orange":{color:"text-blue-gray-400 peer-focus:text-deep-orange-500",before:"before:border-blue-gray-200 peer-focus:before:!border-deep-orange-500",after:"after:border-blue-gray-200 peer-focus:after:!border-deep-orange-500"},orange:{color:"text-blue-gray-400 peer-focus:text-orange-500",before:"before:border-blue-gray-200 peer-focus:before:!border-orange-500",after:"after:border-blue-gray-200 peer-focus:after:!border-orange-500"},amber:{color:"text-blue-gray-400 peer-focus:text-amber-500",before:"before:border-blue-gray-200 peer-focus:before:!border-amber-500",after:"after:border-blue-gray-200 peer-focus:after:!border-amber-500"},yellow:{color:"text-blue-gray-400 peer-focus:text-yellow-500",before:"before:border-blue-gray-200 peer-focus:before:!border-yellow-500",after:"after:border-blue-gray-200 peer-focus:after:!border-yellow-500"},lime:{color:"text-blue-gray-400 peer-focus:text-lime-500",before:"before:border-blue-gray-200 peer-focus:before:!border-lime-500",after:"after:border-blue-gray-200 peer-focus:after:!border-lime-500"},"light-green":{color:"text-blue-gray-400 peer-focus:text-light-green-500",before:"before:border-blue-gray-200 peer-focus:before:!border-light-green-500",after:"after:border-blue-gray-200 peer-focus:after:!border-light-green-500"},green:{color:"text-blue-gray-400 peer-focus:text-green-500",before:"before:border-blue-gray-200 peer-focus:before:!border-green-500",after:"after:border-blue-gray-200 peer-focus:after:!border-green-500"},teal:{color:"text-blue-gray-400 peer-focus:text-teal-500",before:"before:border-blue-gray-200 peer-focus:before:!border-teal-500",after:"after:border-blue-gray-200 peer-focus:after:!border-teal-500"},cyan:{color:"text-blue-gray-400 peer-focus:text-cyan-500",before:"before:border-blue-gray-200 peer-focus:before:!border-cyan-500",after:"after:border-blue-gray-200 peer-focus:after:!border-cyan-500"},"light-blue":{color:"text-blue-gray-400 peer-focus:text-light-blue-500",before:"before:border-blue-gray-200 peer-focus:before:!border-light-blue-500",after:"after:border-blue-gray-200 peer-focus:after:!border-light-blue-500"},blue:{color:"text-blue-gray-400 peer-focus:text-blue-500",before:"before:border-blue-gray-200 peer-focus:before:!border-blue-500",after:"after:border-blue-gray-200 peer-focus:after:!border-blue-500"},indigo:{color:"text-blue-gray-400 peer-focus:text-indigo-500",before:"before:border-blue-gray-200 peer-focus:before:!border-indigo-500",after:"after:border-blue-gray-200 peer-focus:after:!border-indigo-500"},"deep-purple":{color:"text-blue-gray-400 peer-focus:text-deep-purple-500",before:"before:border-blue-gray-200 peer-focus:before:!border-deep-purple-500",after:"after:border-blue-gray-200 peer-focus:after:!border-deep-purple-500"},purple:{color:"text-blue-gray-400 peer-focus:text-purple-500",before:"before:border-blue-gray-200 peer-focus:before:!border-purple-500",after:"after:border-blue-gray-200 peer-focus:after:!border-purple-500"},pink:{color:"text-blue-gray-400 peer-focus:text-pink-500",before:"before:border-blue-gray-200 peer-focus:before:!border-pink-500",after:"after:border-blue-gray-200 peer-focus:after:!border-pink-500"},red:{color:"text-blue-gray-400 peer-focus:text-red-500",before:"before:border-blue-gray-200 peer-focus:before:!border-red-500",after:"after:border-blue-gray-200 peer-focus:after:!border-red-500"}}},3033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var o=i(r(7300)),n=i(r(7868)),a=i(r(3332));function i(e){return e&&e.__esModule?e:{default:e}}var l={base:{input:{borderWidth:"border-b",borderColor:"placeholder-shown:border-blue-gray-200",placeholder:"placeholder:opacity-0 focus:placeholder:opacity-100"},inputWithIcon:{pr:"!pr-7"},icon:{top:"top-2/4",right:"right-0",transform:"-translate-y-1/4"},label:o.default},sizes:{md:{container:{height:"h-11"},input:{fontSize:"text-sm",pt:"pt-4",pb:"pb-1.5"},label:{lineHeight:"peer-placeholder-shown:leading-[4.25]"},icon:{width:"w-5",height:"h-5"}},lg:{container:{height:"h-12"},input:{fontSize:"text-sm",px:"px-px",pt:"pt-5",pb:"pb-2"},label:{lineHeight:"peer-placeholder-shown:leading-[4.875]"},icon:{width:"w-6",height:"h-6"}}},colors:{input:n.default,label:a.default},error:{input:{borderColor:"border-red-500 placeholder-shown:border-red-500",borderColorFocused:"focus:border-red-500"},label:{color:"text-red-500 peer-focus:text-red-500 peer-placeholder-shown:text-red-500",after:"after:border-red-500 peer-focus:after:border-red-500"}},success:{input:{borderColor:"border-green-500 placeholder-shown:border-green-500",borderColorFocused:"focus:border-green-500"},label:{color:"text-green-500 peer-focus:text-green-500 peer-placeholder-shown:text-green-500",after:"after:border-green-500 peer-focus:after:border-green-500"}},shrink:{input:{},label:{fontSize:"!text-[11px]",lineHeight:"!leading-tight"}}}},7868:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={black:{color:"text-black",borderColor:"border-black",borderColorFocused:"focus:border-black"},white:{color:"!text-white",borderColor:"border-white",borderColorFocused:"focus:border-white"},"blue-gray":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-blue-gray-900"},gray:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-gray-500"},brown:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-brown-500"},"deep-orange":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-deep-orange-500"},orange:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-orange-500"},amber:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-amber-500"},yellow:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-yellow-500"},lime:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-lime-500"},"light-green":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-light-green-500"},green:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-green-500"},teal:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-teal-500"},cyan:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-cyan-500"},"light-blue":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-light-blue-500"},blue:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-blue-500"},indigo:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-indigo-500"},"deep-purple":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-deep-purple-500"},purple:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-purple-500"},pink:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-pink-500"},red:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-red-500"}}},7300:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={position:"-top-1.5",fontSize:"peer-placeholder-shown:text-sm",floated:{fontSize:"text-[11px] peer-focus:text-[11px]"},after:{content:"after:content['']",display:"after:block",width:"after:w-full",position:"after:absolute",bottom:"after:-bottom-1.5",left:"left-0",borderWidth:"after:border-b-2",scale:"after:scale-x-0",floated:{scale:"peer-focus:after:scale-x-100"},transition:"after:transition-transform after:duration-300"}}},3332:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={black:{color:"!text-black peer-focus:text-black",after:"after:border-black peer-focus:after:border-black"},white:{color:"!text-white peer-focus:text-white",after:"after:border-white peer-focus:after:border-white"},"blue-gray":{color:"text-blue-gray-500 peer-focus:text-blue-gray-500",after:"after:border-blue-gray-500 peer-focus:after:border-blue-gray-500"},gray:{color:"text-gray-500 peer-focus:text-gray-900",after:"after:border-gray-500 peer-focus:after:border-gray-900"},brown:{color:"text-blue-gray-500 peer-focus:text-brown-500",after:"after:border-brown-500 peer-focus:after:border-brown-500"},"deep-orange":{color:"text-blue-gray-500 peer-focus:text-deep-orange-500",after:"after:border-deep-orange-500 peer-focus:after:border-deep-orange-500"},orange:{color:"text-blue-gray-500 peer-focus:text-orange-500",after:"after:border-orange-500 peer-focus:after:border-orange-500"},amber:{color:"text-blue-gray-500 peer-focus:text-amber-500",after:"after:border-amber-500 peer-focus:after:border-amber-500"},yellow:{color:"text-blue-gray-500 peer-focus:text-yellow-500",after:"after:border-yellow-500 peer-focus:after:border-yellow-500"},lime:{color:"text-blue-gray-500 peer-focus:text-lime-500",after:"after:border-lime-500 peer-focus:after:border-lime-500"},"light-green":{color:"text-blue-gray-500 peer-focus:text-light-green-500",after:"after:border-light-green-500 peer-focus:after:border-light-green-500"},green:{color:"text-blue-gray-500 peer-focus:text-green-500",after:"after:border-green-500 peer-focus:after:border-green-500"},teal:{color:"text-blue-gray-500 peer-focus:text-teal-500",after:"after:border-teal-500 peer-focus:after:border-teal-500"},cyan:{color:"text-blue-gray-500 peer-focus:text-cyan-500",after:"after:border-cyan-500 peer-focus:after:border-cyan-500"},"light-blue":{color:"text-blue-gray-500 peer-focus:text-light-blue-500",after:"after:border-light-blue-500 peer-focus:after:border-light-blue-500"},blue:{color:"text-blue-gray-500 peer-focus:text-blue-500",after:"after:border-blue-500 peer-focus:after:border-blue-500"},indigo:{color:"text-blue-gray-500 peer-focus:text-indigo-500",after:"after:border-indigo-500 peer-focus:after:border-indigo-500"},"deep-purple":{color:"text-blue-gray-500 peer-focus:text-deep-purple-500",after:"after:border-deep-purple-500 peer-focus:after:border-deep-purple-500"},purple:{color:"text-blue-gray-500 peer-focus:text-purple-500",after:"after:border-purple-500 peer-focus:after:border-purple-500"},pink:{color:"text-blue-gray-500 peer-focus:text-pink-500",after:"after:border-pink-500 peer-focus:after:border-pink-500"},red:{color:"text-blue-gray-500 peer-focus:text-red-500",after:"after:border-red-500 peer-focus:after:border-red-500"}}},8798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var o=i(r(1704)),n=i(r(7448)),a=i(r(9520));function i(e){return e&&e.__esModule?e:{default:e}}var l={base:{input:{borderWidth:"border-b",borderColor:"placeholder-shown:border-blue-gray-200"},inputWithIcon:{pr:"!pr-7"},icon:{top:"top-2/4",right:"right-0",transform:"-translate-y-1/4"},label:o.default},sizes:{md:{container:{height:"h-11"},input:{fontSize:"text-sm",pt:"pt-4",pb:"pb-1.5"},label:{lineHeight:"peer-placeholder-shown:leading-tight"},icon:{width:"w-5",height:"h-5"}},lg:{container:{height:"h-12"},input:{fontSize:"text-sm",px:"px-px",pt:"pt-5",pb:"pb-2"},label:{lineHeight:"peer-placeholder-shown:leading-tight"},icon:{width:"w-6",height:"h-6"}}},colors:{input:n.default,label:a.default},error:{input:{borderColor:"border-red-500 placeholder-shown:border-red-500",borderColorFocused:"focus:border-red-500"},label:{color:"text-red-500 peer-focus:text-red-500 peer-placeholder-shown:text-red-500",after:"after:border-red-500 peer-focus:after:border-red-500"}},success:{input:{borderColor:"border-green-500 placeholder-shown:border-green-500",borderColorFocused:"focus:border-green-500"},label:{color:"text-green-500 peer-focus:text-green-500 peer-placeholder-shown:text-green-500",after:"after:border-green-500 peer-focus:after:border-green-500"}},shrink:{input:{},label:{}}}},7448:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={black:{color:"text-black",borderColor:"border-black",borderColorFocused:"focus:border-black"},white:{color:"!text-white",borderColor:"border-white",borderColorFocused:"focus:border-white"},"blue-gray":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-blue-gray-500"},gray:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-gray-900"},brown:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-brown-500"},"deep-orange":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-deep-orange-500"},orange:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-orange-500"},amber:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-amber-500"},yellow:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-yellow-500"},lime:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-lime-500"},"light-green":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-light-green-500"},green:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-green-500"},teal:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-teal-500"},cyan:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-cyan-500"},"light-blue":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-light-blue-500"},blue:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-blue-500"},indigo:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-indigo-500"},"deep-purple":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-deep-purple-500"},purple:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-purple-500"},pink:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-pink-500"},red:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-red-500"}}},1704:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={position:"-top-2.5",fontSize:"text-sm peer-focus:text-sm",after:{content:"after:content[' ']",display:"after:block",width:"after:w-full",position:"after:absolute",bottom:"after:-bottom-2.5",left:"left-0",borderWidth:"after:border-b-2",scale:"after:scale-x-0",floated:{scale:"peer-focus:after:scale-x-100"},transition:"after:transition-transform after:duration-300"}}},9520:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={black:{color:"!text-black peer-focus:!text-black",after:"after:border-black peer-focus:after:border-black"},white:{color:"!text-white peer-focus:!text-white",after:"after:border-white peer-focus:after:border-white"},"blue-gray":{color:"text-blue-gray-500 peer-focus:text-blue-gray-500",after:"after:border-blue-gray-500 peer-focus:after:border-blue-gray-500"},gray:{color:"text-gray-500 peer-focus:text-gray-900",after:"after:border-gray-500 peer-focus:after:border-gray-900"},brown:{color:"text-blue-gray-500 peer-focus:text-brown-500",after:"after:border-brown-500 peer-focus:after:border-brown-500"},"deep-orange":{color:"text-blue-gray-500 peer-focus:text-deep-orange-500",after:"after:border-deep-orange-500 peer-focus:after:border-deep-orange-500"},orange:{color:"text-blue-gray-500 peer-focus:text-orange-500",after:"after:border-orange-500 peer-focus:after:border-orange-500"},amber:{color:"text-blue-gray-500 peer-focus:text-amber-500",after:"after:border-amber-500 peer-focus:after:border-amber-500"},yellow:{color:"text-blue-gray-500 peer-focus:text-yellow-500",after:"after:border-yellow-500 peer-focus:after:border-yellow-500"},lime:{color:"text-blue-gray-500 peer-focus:text-lime-500",after:"after:border-lime-500 peer-focus:after:border-lime-500"},"light-green":{color:"text-blue-gray-500 peer-focus:text-light-green-500",after:"after:border-light-green-500 peer-focus:after:border-light-green-500"},green:{color:"text-blue-gray-500 peer-focus:text-green-500",after:"after:border-green-500 peer-focus:after:border-green-500"},teal:{color:"text-blue-gray-500 peer-focus:text-teal-500",after:"after:border-teal-500 peer-focus:after:border-teal-500"},cyan:{color:"text-blue-gray-500 peer-focus:text-cyan-500",after:"after:border-cyan-500 peer-focus:after:border-cyan-500"},"light-blue":{color:"text-blue-gray-500 peer-focus:text-light-blue-500",after:"after:border-light-blue-500 peer-focus:after:border-light-blue-500"},blue:{color:"text-blue-gray-500 peer-focus:text-blue-500",after:"after:border-blue-500 peer-focus:after:border-blue-500"},indigo:{color:"text-blue-gray-500 peer-focus:text-indigo-500",after:"after:border-indigo-500 peer-focus:after:border-indigo-500"},"deep-purple":{color:"text-blue-gray-500 peer-focus:text-deep-purple-500",after:"after:border-deep-purple-500 peer-focus:after:border-deep-purple-500"},purple:{color:"text-blue-gray-500 peer-focus:text-purple-500",after:"after:border-purple-500 peer-focus:after:border-purple-500"},pink:{color:"text-blue-gray-500 peer-focus:text-pink-500",after:"after:border-pink-500 peer-focus:after:border-pink-500"},red:{color:"text-blue-gray-500 peer-focus:text-red-500",after:"after:border-red-500 peer-focus:after:border-red-500"}}},7581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{list:function(){return r},default:function(){return o}});var r={defaultProps:{ripple:!0,className:""},styles:{base:{list:{display:"flex",flexDirection:"flex-col",gap:"gap-1",minWidth:"min-w-[240px]",p:"p-2",fontFamily:"font-sans",fontSize:"text-base",fontWeight:"font-normal",color:"text-blue-gray-700"},item:{initial:{display:"flex",alignItems:"items-center",width:"w-full",padding:"p-3",borderRadius:"rounded-lg",textAlign:"text-start",lightHeight:"leading-tight",transition:"transition-all",bg:"hover:bg-blue-gray-50 hover:bg-opacity-80 focus:bg-blue-gray-50 focus:bg-opacity-80 active:bg-blue-gray-50 active:bg-opacity-80",color:"hover:text-blue-gray-900 focus:text-blue-gray-900 active:text-blue-gray-900",outline:"outline-none"},selected:{bg:"bg-blue-gray-50/50",color:"text-blue-gray-700"},disabled:{opacity:"opacity-50",cursor:"cursor-not-allowed",pointerEvents:"pointer-events-none",userSelect:"select-none",bg:"hover:bg-transparent focus:bg-transparent active:bg-transparent",color:"hover:text-blue-gray-500 focus:text-blue-gray-500 active:text-blue-gray-500"}},itemPrefix:{display:"grid",placeItems:"place-items-center",marginRight:"mr-4"},itemSuffix:{display:"grid",placeItems:"place-items-center",marginRight:"ml-auto justify-self-end"}}}},o=r},9834:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{menu:function(){return r},default:function(){return o}});var r={defaultProps:{placement:"bottom",offset:5,dismiss:{itemPress:!0},animate:{unmount:{},mount:{}},lockScroll:!1},styles:{base:{menu:{bg:"bg-white",minWidth:"min-w-[180px]",p:"p-3",border:"border border-blue-gray-50",borderRadius:"rounded-md",boxShadow:"shadow-lg shadow-blue-gray-500/10",fontFamily:"font-sans",fontSize:"text-sm",fontWeight:"font-normal",color:"text-blue-gray-500",overflow:"overflow-auto",outline:"focus:outline-none",zIndex:"z-[999]"},item:{initial:{display:"block",width:"w-full",pt:"pt-[9px]",pb:"pb-2",px:"px-3",borderRadius:"rounded-md",textAlign:"text-start",lightHeight:"leading-tight",cursor:"cursor-pointer",userSelect:"select-none",transition:"transition-all",bg:"hover:bg-blue-gray-50 hover:bg-opacity-80 focus:bg-blue-gray-50 focus:bg-opacity-80 active:bg-blue-gray-50 active:bg-opacity-80",color:"hover:text-blue-gray-900 focus:text-blue-gray-900 active:text-blue-gray-900",outline:"outline-none"},disabled:{opacity:"opacity-50",cursor:"cursor-not-allowed",pointerEvents:"pointer-events-none",userSelect:"select-none",bg:"hover:bg-transparent focus:bg-transparent active:bg-transparent",color:"hover:text-blue-gray-500 focus:text-blue-gray-500 active:text-blue-gray-500"}}}}},o=r},5427:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{navbar:function(){return l},default:function(){return s}});var o=i(r(4713)),n=i(r(9393)),a=r(4892);function i(e){return e&&e.__esModule?e:{default:e}}var l={defaultProps:{variant:"filled",color:"white",shadow:!0,blurred:!0,fullWidth:!1,className:""},valid:{variants:a.propTypesVariant,colors:a.propTypesColor},styles:{base:{navbar:{initial:{display:"block",width:"w-full",maxWidth:"max-w-screen-2xl",borderRadius:"rounded-xl",py:"py-4",px:"px-8"},shadow:{boxShadow:"shadow-md"},blurred:{backdropFilter:"backdrop-saturate-200 backdrop-blur-2xl",bgOpacity:"bg-opacity-80",borderWidth:"border",borderColor:"border-white/80"},fullWidth:{width:"w-full",maxWidth:"max-w-full",rounded:"rounded-none",px:"px-4"}},mobileNav:{display:"block",width:"w-full",basis:"basis-full",overflow:"overflow-hidden"}},variants:{filled:o.default,gradient:n.default}}},s=l},4713:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={transparent:{background:"bg-transparent",color:"text-white",boxShadow:"shadow-none"},white:{background:"bg-white",color:"text-white"},"blue-gray":{background:"bg-blue-gray-500",color:"text-white"},gray:{background:"bg-gray-500",color:"text-white"},brown:{background:"bg-brown-500",color:"text-white"},"deep-orange":{background:"bg-deep-orange-500",color:"text-white"},orange:{background:"bg-orange-500",color:"text-white"},amber:{background:"bg-amber-500",color:"text-black"},yellow:{background:"bg-yellow-500",color:"text-black"},lime:{background:"bg-lime-500",color:"text-black"},"light-green":{background:"bg-light-green-500",color:"text-white"},green:{background:"bg-green-500",color:"text-white"},teal:{background:"bg-teal-500",color:"text-white"},cyan:{background:"bg-cyan-500",color:"text-white"},"light-blue":{background:"bg-light-blue-500",color:"text-white"},blue:{background:"bg-blue-500",color:"text-white"},indigo:{background:"bg-indigo-500",color:"text-white"},"deep-purple":{background:"bg-deep-purple-500",color:"text-white"},purple:{background:"bg-purple-500",color:"text-white"},pink:{background:"bg-pink-500",color:"text-white"},red:{background:"bg-red-500",color:"text-white"}}},9393:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={transparent:{background:"bg-transparent",color:"text-blue-gray-900",boxShadow:"shadow-none"},white:{background:"bg-white",color:"text-blue-gray-900"},"blue-gray":{background:"bg-gradient-to-tr from-blue-gray-600 to-blue-gray-400",color:"text-white"},gray:{background:"bg-gradient-to-tr from-gray-600 to-gray-400",color:"text-white"},brown:{background:"bg-gradient-to-tr from-brown-600 to-brown-400",color:"text-white"},"deep-orange":{background:"bg-gradient-to-tr from-deep-orange-600 to-deep-orange-400",color:"text-white"},orange:{background:"bg-gradient-to-tr from-orange-600 to-orange-400",color:"text-white"},amber:{background:"bg-gradient-to-tr from-amber-600 to-amber-400",color:"text-black"},yellow:{background:"bg-gradient-to-tr from-yellow-600 to-yellow-400",color:"text-black"},lime:{background:"bg-gradient-to-tr from-lime-600 to-lime-400",color:"text-black"},"light-green":{background:"bg-gradient-to-tr from-light-green-600 to-light-green-400",color:"text-white"},green:{background:"bg-gradient-to-tr from-green-600 to-green-400",color:"text-white"},teal:{background:"bg-gradient-to-tr from-teal-600 to-teal-400",color:"text-white"},cyan:{background:"bg-gradient-to-tr from-cyan-600 to-cyan-400",color:"text-white"},"light-blue":{background:"bg-gradient-to-tr from-light-blue-600 to-light-blue-400",color:"text-white"},blue:{background:"bg-gradient-to-tr from-blue-600 to-blue-400",color:"text-white"},indigo:{background:"bg-gradient-to-tr from-indigo-600 to-indigo-400",color:"text-white"},"deep-purple":{background:"bg-gradient-to-tr from-deep-purple-600 to-deep-purple-400",color:"text-white"},purple:{background:"bg-gradient-to-tr from-purple-600 to-purple-400",color:"text-white"},pink:{background:"bg-gradient-to-tr from-pink-600 to-pink-400",color:"text-white"},red:{background:"bg-gradient-to-tr from-red-600 to-red-400",color:"text-white"}}},8154:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{popover:function(){return r},default:function(){return o}});var r={defaultProps:{placement:"top",offset:5,dismiss:{},animate:{unmount:{},mount:{}},className:""},styles:{base:{bg:"bg-white",p:"p-4",border:"border border-blue-gray-50",borderRadius:"rounded-lg",boxShadow:"shadow-lg shadow-blue-gray-500/10",fontFamily:"font-sans",fontSize:"text-sm",fontWeight:"font-normal",color:"text-blue-gray-500",outline:"focus:outline-none",overflowWrap:"break-words",whiteSpace:"whitespace-normal"}}},o=r},9374:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{progress:function(){return l},default:function(){return s}});var o=i(r(5887)),n=i(r(9127)),a=r(869);function i(e){return e&&e.__esModule?e:{default:e}}var l={defaultProps:{variant:"filled",color:"gray",size:"md",value:0,label:!1,className:"",barProps:{}},valid:{variants:a.propTypesVariant,colors:a.propTypesColor,sizes:a.propTypesSize},styles:{base:{container:{initial:{display:"flex",justifyContent:"flex-start",bg:"bg-blue-gray-50",overflow:"overflow-hidden",width:"w-full",fontFamily:"font-sans",borderRadius:"rounded-full",fontSize:"text-xs",fontWeight:"font-medium"},withLabel:{}},bar:{display:"flex",justifyContent:"justify-center",alignItems:"items-center",height:"h-full",overflow:"overflow-hidden",wordBreak:"break-all",borderRadius:"rounded-full"}},sizes:{sm:{container:{initial:{height:"h-1.5"},withLabel:{height:"h-3.5"}},bar:{}},md:{container:{initial:{height:"h-2.5"},withLabel:{height:"h-4"}},bar:{}},lg:{container:{initial:{height:"h-3.5"},withLabel:{height:"h-5"}},bar:{}}},variants:{filled:o.default,gradient:n.default}}},s=l},5887:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{backgroud:"bg-blue-gray-500",color:"text-white"},gray:{backgroud:"bg-gray-900",color:"text-white"},brown:{backgroud:"bg-brown-500",color:"text-white"},"deep-orange":{backgroud:"bg-deep-orange-500",color:"text-white"},orange:{backgroud:"bg-orange-500",color:"text-white"},amber:{backgroud:"bg-amber-500",color:"text-black"},yellow:{backgroud:"bg-yellow-500",color:"text-black"},lime:{backgroud:"bg-lime-500",color:"text-black"},"light-green":{backgroud:"bg-light-green-500",color:"text-white"},green:{backgroud:"bg-green-500",color:"text-white"},teal:{backgroud:"bg-teal-500",color:"text-white"},cyan:{backgroud:"bg-cyan-500",color:"text-white"},"light-blue":{backgroud:"bg-light-blue-500",color:"text-white"},blue:{backgroud:"bg-blue-500",color:"text-white"},indigo:{backgroud:"bg-indigo-500",color:"text-white"},"deep-purple":{backgroud:"bg-deep-purple-500",color:"text-white"},purple:{backgroud:"bg-purple-500",color:"text-white"},pink:{backgroud:"bg-pink-500",color:"text-white"},red:{backgroud:"bg-red-500",color:"text-white"}}},9127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{backgroud:"bg-gradient-to-tr from-blue-gray-600 to-blue-gray-400",color:"text-white"},gray:{backgroud:"bg-gradient-to-tr from-gray-900 to-gray-800",color:"text-white"},brown:{backgroud:"bg-gradient-to-tr from-brown-600 to-brown-400",color:"text-white"},"deep-orange":{backgroud:"bg-gradient-to-tr from-deep-orange-600 to-deep-orange-400",color:"text-white"},orange:{backgroud:"bg-gradient-to-tr from-orange-600 to-orange-400",color:"text-white"},amber:{backgroud:"bg-gradient-to-tr from-amber-600 to-amber-400",color:"text-black"},yellow:{backgroud:"bg-gradient-to-tr from-yellow-600 to-yellow-400",color:"text-black"},lime:{backgroud:"bg-gradient-to-tr from-lime-600 to-lime-400",color:"text-black"},"light-green":{backgroud:"bg-gradient-to-tr from-light-green-600 to-light-green-400",color:"text-white"},green:{backgroud:"bg-gradient-to-tr from-green-600 to-green-400",color:"text-white"},teal:{backgroud:"bg-gradient-to-tr from-teal-600 to-teal-400",color:"text-white"},cyan:{backgroud:"bg-gradient-to-tr from-cyan-600 to-cyan-400",color:"text-white"},"light-blue":{backgroud:"bg-gradient-to-tr from-light-blue-600 to-light-blue-400",color:"text-white"},blue:{backgroud:"bg-gradient-to-tr from-blue-600 to-blue-400",color:"text-white"},indigo:{backgroud:"bg-gradient-to-tr from-indigo-600 to-indigo-400",color:"text-white"},"deep-purple":{backgroud:"bg-gradient-to-tr from-deep-purple-600 to-deep-purple-400",color:"text-white"},purple:{backgroud:"bg-gradient-to-tr from-purple-600 to-purple-400",color:"text-white"},pink:{backgroud:"bg-gradient-to-tr from-pink-600 to-pink-400",color:"text-white"},red:{backgroud:"bg-gradient-to-tr from-red-600 to-red-400",color:"text-white"}}},7288:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{radio:function(){return a},default:function(){return i}});var o,n=(o=r(3263))&&o.__esModule?o:{default:o},a={defaultProps:{color:"gray",label:void 0,icon:void 0,ripple:!0,className:"",disabled:!1,containerProps:void 0,labelProps:void 0,iconProps:void 0},valid:{colors:r(4987).propTypesColor},styles:{base:{root:{display:"inline-flex",alignItems:"items-center"},container:{position:"relative",display:"flex",alignItems:"items-center",cursor:"cursor-pointer",p:"p-3",borderRadius:"rounded-full"},input:{peer:"peer",position:"relative",appearance:"appearance-none",width:"w-5",height:"h-5",borderWidth:"border",borderRadius:"rounded-full",borderColor:"border-blue-gray-200",cursor:"cursor-pointer",transition:"transition-all",before:{content:"before:content['']",display:"before:block",bg:"before:bg-blue-gray-500",width:"before:w-12",height:"before:h-12",borderRadius:"before:rounded-full",position:"before:absolute",top:"before:top-2/4",left:"before:left-2/4",transform:"before:-translate-y-2/4 before:-translate-x-2/4",opacity:"before:opacity-0 hover:before:opacity-10",transition:"before:transition-opacity"}},label:{color:"text-gray-700",fontWeight:"font-light",userSelect:"select-none",cursor:"cursor-pointer",mt:"mt-px"},icon:{position:"absolute",top:"top-2/4",left:"left-2/4",translate:"-translate-y-2/4 -translate-x-2/4",pointerEvents:"pointer-events-none",opacity:"opacity-0 peer-checked:opacity-100",transition:"transition-opacity"},disabled:{opacity:"opacity-50",pointerEvents:"pointer-events-none"}},colors:n.default}},i=a},3263:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{color:"text-blue-gray-500",border:"checked:border-blue-gray-500",before:"checked:before:bg-blue-gray-500"},gray:{color:"text-gray-900",border:"checked:border-gray-900",before:"checked:before:bg-gray-900"},brown:{color:"text-brown-500",border:"checked:border-brown-500",before:"checked:before:bg-brown-500"},"deep-orange":{color:"text-deep-orange-500",border:"checked:border-deep-orange-500",before:"checked:before:bg-deep-orange-500"},orange:{color:"text-orange-500",border:"checked:border-orange-500",before:"checked:before:bg-orange-500"},amber:{color:"text-amber-500",border:"checked:border-amber-500",before:"checked:before:bg-amber-500"},yellow:{color:"text-yellow-500",border:"checked:border-yellow-500",before:"checked:before:bg-yellow-500"},lime:{color:"text-lime-500",border:"checked:border-lime-500",before:"checked:before:bg-lime-500"},"light-green":{color:"text-light-green-500",border:"checked:border-light-green-500",before:"checked:before:bg-light-green-500"},green:{color:"text-green-500",border:"checked:border-green-500",before:"checked:before:bg-green-500"},teal:{color:"text-teal-500",border:"checked:border-teal-500",before:"checked:before:bg-teal-500"},cyan:{color:"text-cyan-500",border:"checked:border-cyan-500",before:"checked:before:bg-cyan-500"},"light-blue":{color:"text-light-blue-500",border:"checked:border-light-blue-500",before:"checked:before:bg-light-blue-500"},blue:{color:"text-blue-500",border:"checked:border-blue-500",before:"checked:before:bg-blue-500"},indigo:{color:"text-indigo-500",border:"checked:border-indigo-500",before:"checked:before:bg-indigo-500"},"deep-purple":{color:"text-deep-purple-500",border:"checked:border-deep-purple-500",before:"checked:before:bg-deep-purple-500"},purple:{color:"text-purple-500",border:"checked:border-purple-500",before:"checked:before:bg-purple-500"},pink:{color:"text-pink-500",border:"checked:border-pink-500",before:"checked:before:bg-pink-500"},red:{color:"text-red-500",border:"checked:border-red-500",before:"checked:before:bg-red-500"}}},7548:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{rating:function(){return l},default:function(){return s}});var o=i(r(1609)),n=r(1891),a=i(r(2383));function i(e){return e&&e.__esModule?e:{default:e}}var l={defaultProps:{count:5,value:0,ratedIcon:o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-6 h-6"},o.default.createElement("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z",clipRule:"evenodd"})),unratedIcon:o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6"},o.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z"})),ratedColor:"yellow",unratedColor:"blue-gray",className:void 0,onChange:void 0,readonly:!1},valid:{colors:n.propTypesColor},styles:{base:{rating:{display:"inline-flex",alignItems:"items-center"},icon:{width:"w-5",height:"h-5",color:"text-inherit",cursor:"cursor-pointer"}},colors:a.default}},s=l},2383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={white:{color:"text-white"},"blue-gray":{color:"text-blue-gray-500"},gray:{color:"text-gray-500"},brown:{color:"text-brown-500"},"deep-orange":{color:"text-deep-orange-500"},orange:{color:"text-orange-500"},amber:{color:"text-amber-500"},yellow:{color:"text-yellow-700"},lime:{color:"text-lime-500"},"light-green":{color:"text-light-green-500"},green:{color:"text-green-500"},teal:{color:"text-teal-500"},cyan:{color:"text-cyan-500"},"light-blue":{color:"text-light-blue-500"},blue:{color:"text-blue-500"},indigo:{color:"text-indigo-500"},"deep-purple":{color:"text-deep-purple-500"},purple:{color:"text-purple-500"},pink:{color:"text-pink-500"},red:{color:"text-red-500"}}},5121:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{select:function(){return s},default:function(){return c}});var o=l(r(144)),n=l(r(2023)),a=l(r(9808)),i=r(8354);function l(e){return e&&e.__esModule?e:{default:e}}var s={defaultProps:{variant:"outlined",color:"gray",size:"md",label:"",error:!1,success:!1,arrow:void 0,value:void 0,onChange:void 0,selected:void 0,offset:5,dismiss:{},animate:{unmount:{},mount:{}},autoHeight:!1,lockScroll:!1,labelProps:{},menuProps:{},className:"",disabled:!1,containerProps:void 0},valid:{variants:i.propTypesVariant,sizes:i.propTypesSize,colors:i.propTypesColor},styles:{base:{container:{position:"relative",width:"w-full",minWidth:"min-w-[200px]"},select:{peer:"peer",width:"w-full",height:"h-full",bg:"bg-transparent",color:"text-blue-gray-700",fontFamily:"font-sans",fontWeight:"font-normal",textAlign:"text-left",outline:"outline outline-0 focus:outline-0",disabled:"disabled:bg-blue-gray-50 disabled:border-0 disabled:cursor-not-allowed",transition:"transition-all"},arrow:{initial:{display:"grid",placeItems:"place-items-center",position:"absolute",top:"top-2/4",right:"right-2",pt:"pt-px",width:"w-5",height:"h-5",color:"text-blue-gray-400",transform:"rotate-0 -translate-y-2/4",transition:"transition-all"},active:{transform:"rotate-180",mt:"mt-px"}},label:{display:"flex",width:"w-full",height:"h-full",userSelect:"select-none",pointerEvents:"pointer-events-none",position:"absolute",left:"left-0",fontWeight:"font-normal",transition:"transition-all"},menu:{width:"w-full",maxHeight:"max-h-96",bg:"bg-white",p:"p-3",border:"border border-blue-gray-50",borderRadius:"rounded-md",boxShadow:"shadow-lg shadow-blue-gray-500/10",fontFamily:"font-sans",fontSize:"text-sm",fontWeight:"font-normal",color:"text-blue-gray-500",overflow:"overflow-auto",outline:"focus:outline-none"},option:{initial:{pt:"pt-[9px]",pb:"pb-2",px:"px-3",borderRadius:"rounded-md",lightHeight:"leading-tight",cursor:"cursor-pointer",userSelect:"select-none",background:"hover:bg-blue-gray-50 focus:bg-blue-gray-50",opacity:"hover:bg-opacity-80 focus:bg-opacity-80",color:"hover:text-blue-gray-900 focus:text-blue-gray-900",outline:"outline outline-0",transition:"transition-all"},active:{bg:"bg-blue-gray-50 bg-opacity-80",color:"text-blue-gray-900"},disabled:{opacity:"opacity-50",cursor:"cursor-not-allowed",userSelect:"select-none",pointerEvents:"pointer-events-none"}}},variants:{outlined:o.default,standard:n.default,static:a.default}}},c=s},144:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var o=i(r(4056)),n=i(r(24)),a=i(r(496));function i(e){return e&&e.__esModule?e:{default:e}}var l={base:{select:{},label:o.default},sizes:{md:{container:{height:"h-10"},select:{fontSize:"text-sm",px:"px-3",py:"py-2.5",borderRadius:"rounded-[7px]"},label:{initial:{},states:{close:{lineHeight:"leading-[3.75]"},open:{lineHeight:"leading-tight"},withValue:{lineHeight:"leading-tight"}}}},lg:{container:{height:"h-11"},select:{fontSize:"text-sm",px:"px-3",py:"py-3",borderRadius:"rounded-[7px]"},label:{initial:{},states:{close:{lineHeight:"leading-[4.1]"},open:{lineHeight:"leading-tight"},withValue:{lineHeight:"leading-tight"}}}}},colors:{select:n.default,label:a.default},states:{close:{select:{borderWidth:"border"},label:{fontSize:"text-sm",disabled:"peer-disabled:text-blue-gray-400",before:{bt:"before:border-t-transparent",bl:"before:border-l-transparent"},after:{bt:"after:border-t-transparent",br:"after:border-r-transparent"}}},open:{select:{borderWidth:"border-2",borderColor:"border-t-transparent"},label:{fontSize:"text-[11px]",disabled:"peer-disabled:text-transparent",before:{bt:"before:border-t-2",bl:"before:border-l-2"},after:{bt:"after:border-t-2",br:"after:border-r-2"}}},withValue:{select:{borderWidth:"border",borderColor:"border-t-transparent"},label:{fontSize:"text-[11px]",disabled:"peer-disabled:text-transparent",before:{bt:"before:border-t",bl:"before:border-l"},after:{bt:"after:border-t",br:"after:border-r"}}}},error:{select:{initial:{},states:{close:{borderColor:"border-red-500"},open:{borderColor:"border-red-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-red-500",borderTopColor:"border-t-transparent"}}},label:{initial:{},states:{close:{color:"text-red-500",before:"before:border-red-500",after:"after:border-red-500"},open:{color:"text-red-500",before:"before:border-red-500",after:"after:border-red-500"},withValue:{color:"text-red-500",before:"before:border-red-500",after:"after:border-red-500"}}}},success:{select:{initial:{},states:{close:{borderColor:"border-green-500"},open:{borderColor:"border-green-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-green-500",borderTopColor:"border-t-transparent"}}},label:{initial:{},states:{close:{color:"text-green-500",before:"before:border-green-500",after:"after:border-green-500"},open:{color:"text-green-500",before:"before:border-green-500",after:"after:border-green-500"},withValue:{color:"text-green-500",before:"before:border-green-500",after:"after:border-green-500"}}}}}},24:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-blue-gray-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},gray:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-gray-900",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},brown:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-brown-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},"deep-orange":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-deep-orange-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},orange:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-orange-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},amber:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-amber-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},yellow:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-yellow-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},lime:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-lime-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},"light-green":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-light-green-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},green:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-green-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},teal:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-teal-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},cyan:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-cyan-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},"light-blue":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-light-blue-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},blue:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-blue-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},indigo:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-indigo-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},"deep-purple":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-deep-purple-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},purple:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-purple-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},pink:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-pink-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}},red:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-red-500",borderTopColor:"border-t-transparent"},withValue:{borderColor:"border-blue-gray-200",borderTopColor:"border-t-transparent"}}}},4056:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={position:"-top-1.5",before:{content:"before:content[' ']",display:"before:block",boxSizing:"before:box-border",width:"before:w-2.5",height:"before:h-1.5",mt:"before:mt-[6.5px]",mr:"before:mr-1",borderRadius:"before:rounded-tl-md",pointerEvents:"before:pointer-events-none",transition:"before:transition-all",disabled:"peer-disabled:before:border-transparent"},after:{content:"after:content[' ']",display:"after:block",flexGrow:"after:flex-grow",boxSizing:"after:box-border",width:"after:w-2.5",height:"after:h-1.5",mt:"after:mt-[6.5px]",ml:"after:ml-1",borderRadius:"after:rounded-tr-md",pointerEvents:"after:pointer-events-none",transition:"after:transition-all",disabled:"peer-disabled:after:border-transparent"}}},496:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-blue-gray-500",before:"before:border-blue-gray-500",after:"after:border-blue-gray-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},gray:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-gray-900",before:"before:border-gray-900",after:"after:border-gray-900"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},brown:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-brown-500",before:"before:border-brown-500",after:"after:border-brown-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},"deep-orange":{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-deep-orange-500",before:"before:border-deep-orange-500",after:"after:border-deep-orange-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},orange:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-orange-500",before:"before:border-orange-500",after:"after:border-orange-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},amber:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-amber-500",before:"before:border-amber-500",after:"after:border-amber-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},yellow:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-yellow-500",before:"before:border-yellow-500",after:"after:border-yellow-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},lime:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-lime-500",before:"before:border-lime-500",after:"after:border-lime-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},"light-green":{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-light-green-500",before:"before:border-light-green-500",after:"after:border-light-green-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},green:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-green-500",before:"before:border-green-500",after:"after:border-green-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},teal:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-teal-500",before:"before:border-teal-500",after:"after:border-teal-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},cyan:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-cyan-500",before:"before:border-cyan-500",after:"after:border-cyan-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},"light-blue":{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-light-blue-500",before:"before:border-light-blue-500",after:"after:border-light-blue-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},blue:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-blue-500",before:"before:border-blue-500",after:"after:border-blue-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},indigo:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-indigo-500",before:"before:border-indigo-500",after:"after:border-indigo-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},"deep-purple":{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-deep-purple-500",before:"before:border-deep-purple-500",after:"after:border-deep-purple-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},purple:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-purple-500",before:"before:border-purple-500",after:"after:border-purple-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},pink:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-pink-500",before:"before:border-pink-500",after:"after:border-pink-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}},red:{close:{color:"text-blue-gray-400",before:"before:border-transparent",after:"after:border-transparent"},open:{color:"text-red-500",before:"before:border-red-500",after:"after:border-red-500"},withValue:{color:"text-blue-gray-400",before:"before:border-blue-gray-200",after:"after:border-blue-gray-200"}}}},2023:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var o=i(r(3978)),n=i(r(150)),a=i(r(1006));function i(e){return e&&e.__esModule?e:{default:e}}var l={base:{select:{},label:o.default},sizes:{md:{container:{height:"h-11"},select:{fontSize:"text-sm",pt:"pt-4",pb:"pb-1.5"},label:{initial:{},states:{close:{lineHeight:"leading-[4.25]"},open:{lineHeight:"leading-tight"},withValue:{lineHeight:"leading-tight"}}}},lg:{container:{height:"h-12"},select:{fontSize:"text-sm",px:"px-px",pt:"pt-5",pb:"pb-2"},label:{initial:{},states:{close:{lineHeight:"leading-[4.875]"},open:{lineHeight:"leading-tight"},withValue:{lineHeight:"leading-tight"}}}}},colors:{select:n.default,label:a.default},states:{close:{select:{borderWidth:"border-b"},label:{fontSize:"text-sm",disabled:"peer-disabled:text-blue-gray-400",after:{transform:"after:scale-x-0"}}},open:{select:{borderWidth:"border-b"},label:{fontSize:"text-[11px]",disabled:"peer-disabled:text-transparent",after:{transform:"after:scale-x-100"}}},withValue:{select:{borderWidth:"border-b"},label:{fontSize:"text-[11px]",disabled:"peer-disabled:text-transparent",after:{transform:"after:scale-x-0"}}}},error:{select:{initial:{},states:{close:{borderColor:"border-red-500"},open:{borderColor:"border-red-500"},withValue:{borderColor:"border-red-500"}}},label:{initial:{},states:{close:{color:"text-red-500",after:"after:border-red-500"},open:{color:"text-red-500",after:"after:border-red-500"},withValue:{color:"text-red-500",after:"after:border-red-500"}}}},success:{select:{initial:{},states:{close:{borderColor:"border-green-500"},open:{borderColor:"border-green-500"},withValue:{borderColor:"border-green-500"}}},label:{initial:{},states:{close:{color:"text-green-500",after:"after:border-green-500"},open:{color:"text-green-500",after:"after:border-green-500"},withValue:{color:"text-green-500",after:"after:border-green-500"}}}}}},150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-blue-gray-500"},withValue:{borderColor:"border-blue-gray-200"}},gray:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-gray-900"},withValue:{borderColor:"border-blue-gray-200"}},brown:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-brown-500"},withValue:{borderColor:"border-blue-gray-200"}},"deep-orange":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-deep-orange-500"},withValue:{borderColor:"border-blue-gray-200"}},orange:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-orange-500"},withValue:{borderColor:"border-blue-gray-200"}},amber:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-amber-500"},withValue:{borderColor:"border-blue-gray-200"}},yellow:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-yellow-500"},withValue:{borderColor:"border-blue-gray-200"}},lime:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-lime-500"},withValue:{borderColor:"border-blue-gray-200"}},"light-green":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-light-green-500"},withValue:{borderColor:"border-blue-gray-200"}},green:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-green-500"},withValue:{borderColor:"border-blue-gray-200"}},teal:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-teal-500"},withValue:{borderColor:"border-blue-gray-200"}},cyan:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-cyan-500"},withValue:{borderColor:"border-blue-gray-200"}},"light-blue":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-light-blue-500"},withValue:{borderColor:"border-blue-gray-200"}},blue:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-blue-500"},withValue:{borderColor:"border-blue-gray-200"}},indigo:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-indigo-500"},withValue:{borderColor:"border-blue-gray-200"}},"deep-purple":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-deep-purple-500"},withValue:{borderColor:"border-blue-gray-200"}},purple:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-purple-500"},withValue:{borderColor:"border-blue-gray-200"}},pink:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-pink-500"},withValue:{borderColor:"border-blue-gray-200"}},red:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-red-500"},withValue:{borderColor:"border-blue-gray-200"}}}},3978:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={position:"-top-1.5",after:{content:"after:content[' ']",display:"after:block",width:"after:w-full",position:"after:absolute",bottom:"after:-bottom-1.5",left:"left-0",borderWidth:"after:border-b-2",transition:"after:transition-transform after:duration-300"}}},1006:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{close:{color:"text-blue-gray-500",after:"after:border-blue-gray-500"},open:{color:"text-blue-gray-500",after:"after:border-blue-gray-500"},withValue:{color:"text-blue-gray-500",after:"after:border-blue-gray-50"}},gray:{close:{color:"text-blue-gray-500",after:"after:border-gray-500"},open:{color:"text-gray-900",after:"after:border-gray-900"},withValue:{color:"text-blue-gray-500",after:"after:border-gray-500"}},brown:{close:{color:"text-blue-gray-500",after:"after:border-brown-500"},open:{color:"text-brown-500",after:"after:border-brown-500"},withValue:{color:"text-blue-gray-500",after:"after:border-brown-500"}},"deep-orange":{close:{color:"text-blue-gray-500",after:"after:border-deep-orange-500"},open:{color:"text-deep-orange-500",after:"after:border-deep-orange-500"},withValue:{color:"text-blue-gray-500",after:"after:border-deep-orange-500"}},orange:{close:{color:"text-blue-gray-500",after:"after:border-orange-500"},open:{color:"text-orange-500",after:"after:border-orange-500"},withValue:{color:"text-blue-gray-500",after:"after:border-orange-500"}},amber:{close:{color:"text-blue-gray-500",after:"after:border-amber-500"},open:{color:"text-amber-500",after:"after:border-amber-500"},withValue:{color:"text-blue-gray-500",after:"after:border-amber-500"}},yellow:{close:{color:"text-blue-gray-500",after:"after:border-yellow-500"},open:{color:"text-yellow-500",after:"after:border-yellow-500"},withValue:{color:"text-blue-gray-500",after:"after:border-yellow-500"}},lime:{close:{color:"text-blue-gray-500",after:"after:border-lime-500"},open:{color:"text-lime-500",after:"after:border-lime-500"},withValue:{color:"text-blue-gray-500",after:"after:border-lime-500"}},"light-green":{close:{color:"text-blue-gray-500",after:"after:border-light-green-500"},open:{color:"text-light-green-500",after:"after:border-light-green-500"},withValue:{color:"text-blue-gray-500",after:"after:border-light-green-500"}},green:{close:{color:"text-blue-gray-500",after:"after:border-green-500"},open:{color:"text-green-500",after:"after:border-green-500"},withValue:{color:"text-blue-gray-500",after:"after:border-green-500"}},teal:{close:{color:"text-blue-gray-500",after:"after:border-teal-500"},open:{color:"text-teal-500",after:"after:border-teal-500"},withValue:{color:"text-blue-gray-500",after:"after:border-teal-500"}},cyan:{close:{color:"text-blue-gray-500",after:"after:border-cyan-500"},open:{color:"text-cyan-500",after:"after:border-cyan-500"},withValue:{color:"text-blue-gray-500",after:"after:border-cyan-500"}},"light-blue":{close:{color:"text-blue-gray-500",after:"after:border-light-blue-500"},open:{color:"text-light-blue-500",after:"after:border-light-blue-500"},withValue:{color:"text-blue-gray-500",after:"after:border-light-blue-500"}},blue:{close:{color:"text-blue-gray-500",after:"after:border-blue-500"},open:{color:"text-blue-500",after:"after:border-blue-500"},withValue:{color:"text-blue-gray-500",after:"after:border-blue-500"}},indigo:{close:{color:"text-blue-gray-500",after:"after:border-indigo-500"},open:{color:"text-indigo-500",after:"after:border-indigo-500"},withValue:{color:"text-blue-gray-500",after:"after:border-indigo-500"}},"deep-purple":{close:{color:"text-blue-gray-500",after:"after:border-deep-purple-500"},open:{color:"text-deep-purple-500",after:"after:border-deep-purple-500"},withValue:{color:"text-blue-gray-500",after:"after:border-deep-purple-500"}},purple:{close:{color:"text-blue-gray-500",after:"after:border-purple-500"},open:{color:"text-purple-500",after:"after:border-purple-500"},withValue:{color:"text-blue-gray-500",after:"after:border-purple-500"}},pink:{close:{color:"text-blue-gray-500",after:"after:border-pink-500"},open:{color:"text-pink-500",after:"after:border-pink-500"},withValue:{color:"text-blue-gray-500",after:"after:border-pink-500"}},red:{close:{color:"text-blue-gray-500",after:"after:border-red-500"},open:{color:"text-red-500",after:"after:border-red-500"},withValue:{color:"text-blue-gray-500",after:"after:border-red-500"}}}},9808:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var o=i(r(9408)),n=i(r(752)),a=i(r(2475));function i(e){return e&&e.__esModule?e:{default:e}}var l={base:{select:{},label:o.default},sizes:{md:{container:{height:"h-11"},select:{fontSize:"text-sm",pt:"pt-4",pb:"pb-1.5"},label:{initial:{},states:{close:{lineHeight:"leading-tight"},open:{lineHeight:"leading-tight"},withValue:{lineHeight:"leading-tight"}}}},lg:{container:{height:"h-12"},select:{fontSize:"text-sm",px:"px-px",pt:"pt-5",pb:"pb-2"},label:{initial:{},states:{close:{lineHeight:"leading-tight"},open:{lineHeight:"leading-tight"},withValue:{lineHeight:"leading-tight"}}}}},colors:{select:n.default,label:a.default},states:{close:{select:{borderWidth:"border-b"},label:{fontSize:"text-sm",disabled:"peer-disabled:text-blue-gray-400",after:{transform:"after:scale-x-0"}}},open:{select:{borderWidth:"border-b"},label:{fontSize:"text-sm",disabled:"peer-disabled:text-transparent",after:{transform:"after:scale-x-100"}}},withValue:{select:{borderWidth:"border-b"},label:{fontSize:"text-sm",disabled:"peer-disabled:text-transparent",after:{transform:"after:scale-x-0"}}}},error:{select:{initial:{},states:{close:{borderColor:"border-red-500"},open:{borderColor:"border-red-500"},withValue:{borderColor:"border-red-500"}}},label:{initial:{},states:{close:{color:"text-red-500",after:"after:border-red-500"},open:{color:"text-red-500",after:"after:border-red-500"},withValue:{color:"text-red-500",after:"after:border-red-500"}}}},success:{select:{initial:{},states:{close:{borderColor:"border-green-500"},open:{borderColor:"border-green-500"},withValue:{borderColor:"border-green-500"}}},label:{initial:{},states:{close:{color:"text-green-500",after:"after:border-green-500"},open:{color:"text-green-500",after:"after:border-green-500"},withValue:{color:"text-green-500",after:"after:border-green-500"}}}}}},752:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-blue-gray-500"},withValue:{borderColor:"border-blue-gray-200"}},gray:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-gray-900"},withValue:{borderColor:"border-blue-gray-200"}},brown:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-brown-500"},withValue:{borderColor:"border-blue-gray-200"}},"deep-orange":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-deep-orange-500"},withValue:{borderColor:"border-blue-gray-200"}},orange:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-orange-500"},withValue:{borderColor:"border-blue-gray-200"}},amber:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-amber-500"},withValue:{borderColor:"border-blue-gray-200"}},yellow:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-yellow-500"},withValue:{borderColor:"border-blue-gray-200"}},lime:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-lime-500"},withValue:{borderColor:"border-blue-gray-200"}},"light-green":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-light-green-500"},withValue:{borderColor:"border-blue-gray-200"}},green:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-green-500"},withValue:{borderColor:"border-blue-gray-200"}},teal:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-teal-500"},withValue:{borderColor:"border-blue-gray-200"}},cyan:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-cyan-500"},withValue:{borderColor:"border-blue-gray-200"}},"light-blue":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-light-blue-500"},withValue:{borderColor:"border-blue-gray-200"}},blue:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-blue-500"},withValue:{borderColor:"border-blue-gray-200"}},indigo:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-indigo-500"},withValue:{borderColor:"border-blue-gray-200"}},"deep-purple":{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-deep-purple-500"},withValue:{borderColor:"border-blue-gray-200"}},purple:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-purple-500"},withValue:{borderColor:"border-blue-gray-200"}},pink:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-pink-500"},withValue:{borderColor:"border-blue-gray-200"}},red:{close:{borderColor:"border-blue-gray-200"},open:{borderColor:"border-red-500"},withValue:{borderColor:"border-blue-gray-200"}}}},9408:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={position:"-top-2.5",after:{content:"after:content[' ']",display:"after:block",width:"after:w-full",position:"after:absolute",bottom:"after:-bottom-2.5",left:"left-0",borderWidth:"after:border-b-2",transition:"after:transition-transform after:duration-300"}}},2475:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{close:{color:"text-blue-gray-500",after:"after:border-blue-gray-500"},open:{color:"text-blue-gray-500",after:"after:border-blue-gray-500"},withValue:{color:"text-blue-gray-500",after:"after:border-blue-gray-50"}},gray:{close:{color:"text-blue-gray-500",after:"after:border-gray-500"},open:{color:"text-gray-900",after:"after:border-gray-900"},withValue:{color:"text-blue-gray-500",after:"after:border-gray-500"}},brown:{close:{color:"text-blue-gray-500",after:"after:border-brown-500"},open:{color:"text-brown-500",after:"after:border-brown-500"},withValue:{color:"text-blue-gray-500",after:"after:border-brown-500"}},"deep-orange":{close:{color:"text-blue-gray-500",after:"after:border-deep-orange-500"},open:{color:"text-deep-orange-500",after:"after:border-deep-orange-500"},withValue:{color:"text-blue-gray-500",after:"after:border-deep-orange-500"}},orange:{close:{color:"text-blue-gray-500",after:"after:border-orange-500"},open:{color:"text-orange-500",after:"after:border-orange-500"},withValue:{color:"text-blue-gray-500",after:"after:border-orange-500"}},amber:{close:{color:"text-blue-gray-500",after:"after:border-amber-500"},open:{color:"text-amber-500",after:"after:border-amber-500"},withValue:{color:"text-blue-gray-500",after:"after:border-amber-500"}},yellow:{close:{color:"text-blue-gray-500",after:"after:border-yellow-500"},open:{color:"text-yellow-500",after:"after:border-yellow-500"},withValue:{color:"text-blue-gray-500",after:"after:border-yellow-500"}},lime:{close:{color:"text-blue-gray-500",after:"after:border-lime-500"},open:{color:"text-lime-500",after:"after:border-lime-500"},withValue:{color:"text-blue-gray-500",after:"after:border-lime-500"}},"light-green":{close:{color:"text-blue-gray-500",after:"after:border-light-green-500"},open:{color:"text-light-green-500",after:"after:border-light-green-500"},withValue:{color:"text-blue-gray-500",after:"after:border-light-green-500"}},green:{close:{color:"text-blue-gray-500",after:"after:border-green-500"},open:{color:"text-green-500",after:"after:border-green-500"},withValue:{color:"text-blue-gray-500",after:"after:border-green-500"}},teal:{close:{color:"text-blue-gray-500",after:"after:border-teal-500"},open:{color:"text-teal-500",after:"after:border-teal-500"},withValue:{color:"text-blue-gray-500",after:"after:border-teal-500"}},cyan:{close:{color:"text-blue-gray-500",after:"after:border-cyan-500"},open:{color:"text-cyan-500",after:"after:border-cyan-500"},withValue:{color:"text-blue-gray-500",after:"after:border-cyan-500"}},"light-blue":{close:{color:"text-blue-gray-500",after:"after:border-light-blue-500"},open:{color:"text-light-blue-500",after:"after:border-light-blue-500"},withValue:{color:"text-blue-gray-500",after:"after:border-light-blue-500"}},blue:{close:{color:"text-blue-gray-500",after:"after:border-blue-500"},open:{color:"text-blue-500",after:"after:border-blue-500"},withValue:{color:"text-blue-gray-500",after:"after:border-blue-500"}},indigo:{close:{color:"text-blue-gray-500",after:"after:border-indigo-500"},open:{color:"text-indigo-500",after:"after:border-indigo-500"},withValue:{color:"text-blue-gray-500",after:"after:border-indigo-500"}},"deep-purple":{close:{color:"text-blue-gray-500",after:"after:border-deep-purple-500"},open:{color:"text-deep-purple-500",after:"after:border-deep-purple-500"},withValue:{color:"text-blue-gray-500",after:"after:border-deep-purple-500"}},purple:{close:{color:"text-blue-gray-500",after:"after:border-purple-500"},open:{color:"text-purple-500",after:"after:border-purple-500"},withValue:{color:"text-blue-gray-500",after:"after:border-purple-500"}},pink:{close:{color:"text-blue-gray-500",after:"after:border-pink-500"},open:{color:"text-pink-500",after:"after:border-pink-500"},withValue:{color:"text-blue-gray-500",after:"after:border-pink-500"}},red:{close:{color:"text-blue-gray-500",after:"after:border-red-500"},open:{color:"text-red-500",after:"after:border-red-500"},withValue:{color:"text-blue-gray-500",after:"after:border-red-500"}}}},160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{slider:function(){return i},default:function(){return l}});var o,n=r(3831),a=(o=r(8288))&&o.__esModule?o:{default:o},i={defaultProps:{color:"gray",size:"md",min:void 0,max:void 0,step:"any",className:"",trackClassName:"",thumbClassName:"",barClassName:"",inputProps:void 0},valid:{sizes:n.propTypesSize,colors:n.propTypesColor},styles:{base:{container:{position:"relative",width:"w-full",minWidth:"min-w-[200px]"},slider:{width:"w-full",position:"absolute",inset:"inset-0",backgroundColor:"bg-transparent",cursor:"cursor-pointer",outline:"focus:outline-none focus:outline-0",appearance:"appearance-none [-webkit-appearance:none]"},track:{height:"[&::-webkit-slider-runnable-track]:h-full [&::-moz-range-track]:h-full",borderRadius:"[&::-webkit-slider-runnable-track]:rounded-full [&::-moz-range-track]:rounded-full",backgroundColor:"[&::-webkit-slider-runnable-track]:bg-blue-gray-100 [&::-moz-range-track]:bg-blue-gray-100"},thumb:{appearance:"[&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:[-webkit-appearance:none] [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:[-webkit-appearance:none]",borderRadius:"[&::-moz-range-thumb]:rounded-full [&::-webkit-slider-thumb]:rounded-full",border:"[&::-moz-range-thumb]:border-0 [&::-webkit-slider-thumb]:border-0",ringWidth:"[&::-moz-range-thumb]:ring-2 [&::-webkit-slider-thumb]:ring-2",ringColor:"[&::-moz-range-thumb]:ring-current [&::-webkit-slider-thumb]:ring-current",backgroundColor:"[&::-moz-range-thumb]:bg-white [&::-webkit-slider-thumb]:bg-white",position:"[&::-moz-range-thumb]:relative [&::-webkit-slider-thumb]:relative",zIndex:"[&::-moz-range-thumb]:z-20 [&::-webkit-slider-thumb]:z-20"},bar:{position:"absolute",inset:"inset-0",zIndex:"z-10",borderRadius:"rounded-l-full",height:"h-full",pointerEvents:"pointer-events-none",backgroundColor:"bg-current"}},sizes:{sm:{container:{height:"h-1"},thumb:{width:"[&::-moz-range-thumb]:w-2.5 [&::-webkit-slider-thumb]:w-2.5",height:"[&::-moz-range-thumb]:h-2.5 [&::-webkit-slider-thumb]:h-2.5",marginTop:"[&::-moz-range-thumb]:-mt-[3px] [&::-webkit-slider-thumb]:-mt-[3px]"},slider:{},track:{},bar:{}},md:{container:{height:"h-2"},thumb:{width:"[&::-moz-range-thumb]:w-3.5 [&::-webkit-slider-thumb]:w-3.5",height:"[&::-moz-range-thumb]:h-3.5 [&::-webkit-slider-thumb]:h-3.5",marginTop:"[&::-moz-range-thumb]:-mt-[3px] [&::-webkit-slider-thumb]:-mt-[3px]"},slider:{},track:{},bar:{}},lg:{container:{height:"h-3"},thumb:{width:"[&::-moz-range-thumb]:w-5 [&::-webkit-slider-thumb]:w-5",height:"[&::-moz-range-thumb]:h-5 [&::-webkit-slider-thumb]:h-5",marginTop:"[&::-moz-range-thumb]:-mt-1 [&::-webkit-slider-thumb]:-mt-1"},slider:{},track:{},bar:{}}},colors:a.default}},l=i},8288:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{color:"text-blue-gray-500"},gray:{color:"text-gray-900"},brown:{color:"text-brown-500"},"deep-orange":{color:"text-deep-orange-500"},orange:{color:"text-orange-500"},amber:{color:"text-amber-500"},yellow:{color:"text-yellow-500"},lime:{color:"text-lime-500"},"light-green":{color:"text-light-green-500"},green:{color:"text-green-500"},teal:{color:"text-teal-500"},cyan:{color:"text-cyan-500"},"light-blue":{color:"text-light-blue-500"},blue:{color:"text-blue-500"},indigo:{color:"text-indigo-500"},"deep-purple":{color:"text-deep-purple-500"},purple:{color:"text-purple-500"},pink:{color:"text-pink-500"},red:{color:"text-red-500"}}},3570:(e,t,r)=>{"use strict";function o(e,t){return Object.keys(e).forEach((function(r){"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})),e}Object.defineProperty(t,"__esModule",{value:!0}),o(r(9471),t),o(r(2017),t),o(r(4597),t)},9471:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{speedDial:function(){return r},default:function(){return o}});var r={defaultProps:{offset:5,placement:"top",dismiss:void 0,animate:{unmount:{},mount:{}}}},o=r},4597:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{speedDialAction:function(){return r},default:function(){return o}});var r={styles:{display:"flex",flexDirection:"flex-col",alignItems:"items-center",justifyContent:"justify-center",gap:"gap-1",padding:"p-1",margin:"m-0.5",borderWidth:"border",minWidth:"min-w-[48px]",fontFamily:"font-normal",minHeight:"min-h-[48px]",backgroundColor:"bg-white",borderRadius:"rounded-full",borderColor:"border-blue-gray-50",scale:"hover:scale-110 focus:scale-110 active:scale-100",transition:"transition-transform duration-300 ease-in-out"}},o=r},2017:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{speedDialContent:function(){return r},default:function(){return o}});var r={styles:{padding:"p-0.5",width:"w-max",display:"flex",flexDirection:"flex-col",alignItems:"items-center",gap:"gap-1"}},o=r},4398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{spinner:function(){return i},default:function(){return l}});var o,n=r(3874),a=(o=r(560))&&o.__esModule?o:{default:o},i={defaultProps:{color:"gray",className:""},valid:{colors:n.propTypesColor},styles:{base:{color:"text-gray-300",animation:"animate-spin"},colors:a.default}},l=i},560:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={white:{color:"text-white"},"blue-gray":{color:"text-blue-gray-500"},gray:{color:"text-gray-900"},brown:{color:"text-brown-500"},"deep-orange":{color:"text-deep-orange-500"},orange:{color:"text-orange-500"},amber:{color:"text-amber-500"},yellow:{color:"text-yellow-500"},lime:{color:"text-lime-500"},"light-green":{color:"text-light-green-500"},green:{color:"text-green-500"},teal:{color:"text-teal-500"},cyan:{color:"text-cyan-500"},"light-blue":{color:"text-light-blue-500"},blue:{color:"text-blue-500"},indigo:{color:"text-indigo-500"},"deep-purple":{color:"text-deep-purple-500"},purple:{color:"text-purple-500"},pink:{color:"text-pink-500"},red:{color:"text-red-500"}}},2230:(e,t,r)=>{"use strict";function o(e,t){return Object.keys(e).forEach((function(r){"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})),e}Object.defineProperty(t,"__esModule",{value:!0}),o(r(7342),t),o(r(4883),t)},7342:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{step:function(){return r},default:function(){return o}});var r={styles:{base:{initial:{position:"relative",zIndex:"z-10",display:"grid",placeItems:"place-items-center",width:"w-10",height:"h-10",borderRadius:"rounded-full",backgroundColor:"bg-gray-300",color:"text-gray-900",fontWeight:"font-bold",transition:"transition-all duration-300"},active:{backgroundColor:"bg-gray-900",color:"text-white"},completed:{backgroundColor:"bg-gray-900",color:"text-white"}}}},o=r},4883:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{stepper:function(){return r},default:function(){return o}});var r={styles:{base:{stepper:{width:"w-full",position:"relative",display:"flex",alignItems:"items-center",justifyContent:"justify-between"},line:{initial:{position:"absolute",left:"left-0",top:"top-2/4",height:"h-0.5",width:"w-full",transform:"-translate-y-2/4",backgroundColor:"bg-gray-300"},active:{backgroundColor:"bg-gray-900",transition:"transition-all",duration:"duration-500"}}}}},o=r},9101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{switchButton:function(){return a},default:function(){return i}});var o,n=(o=r(2073))&&o.__esModule?o:{default:o},a={defaultProps:{color:"gray",label:"",ripple:!0,className:"",disabled:!1,containerProps:void 0,labelProps:void 0,circleProps:void 0},valid:{colors:r(4987).propTypesColor},styles:{base:{root:{display:"inline-flex",alignItems:"items-center"},container:{position:"relative",display:"inline-block",width:"w-8",height:"h-4",cursor:"cursor-pointer",borderRadius:"rounded-full"},input:{peer:"peer",appearance:"appearance-none",width:"w-8",height:"h-4",position:"absolute",background:"bg-blue-gray-100",borderRadius:"rounded-full",cursor:"cursor-pointer",transition:"transition-colors duration-300"},circle:{bg:"bg-white",width:"w-5",height:"h-5",borderWidth:"border",borderColor:"border-blue-gray-100",borderRadius:"rounded-full",boxShadow:"shadow-md",position:"absolute",top:"top-2/4",left:"-left-1",transform:"-translate-y-2/4 peer-checked:translate-x-full",transition:"transition-all duration-300",cursor:"cursor-pointer",before:{content:"before:content['']",display:"before:block",bg:"before:bg-blue-gray-500",width:"before:w-10",height:"before:h-10",borderRadius:"before:rounded-full",position:"before:absolute",top:"before:top-2/4",left:"before:left-2/4",transform:"before:-translate-y-2/4 before:-translate-x-2/4",transition:"before:transition-opacity",opacity:"before:opacity-0 hover:before:opacity-10"}},ripple:{display:"inline-block",top:"top-2/4",left:"left-2/4",transform:"-translate-x-2/4 -translate-y-2/4",p:"p-5",borderRadius:"rounded-full"},label:{color:"text-gray-700",fontWeight:"font-light",userSelect:"select-none",cursor:"cursor-pointer",mt:"mt-px",ml:"ml-3",mb:"mb-0"},disabled:{opacity:"opacity-50",pointerEvents:"pointer-events-none"}},colors:n.default}},i=a},2073:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={"blue-gray":{input:"checked:bg-blue-gray-500",circle:"peer-checked:border-blue-gray-500",before:"peer-checked:before:bg-blue-gray-500"},gray:{input:"checked:bg-gray-900",circle:"peer-checked:border-gray-900",before:"peer-checked:before:bg-gray-900"},brown:{input:"checked:bg-brown-500",circle:"peer-checked:border-brown-500",before:"peer-checked:before:bg-brown-500"},"deep-orange":{input:"checked:bg-deep-orange-500",circle:"peer-checked:border-deep-orange-500",before:"peer-checked:before:bg-deep-orange-500"},orange:{input:"checked:bg-orange-500",circle:"peer-checked:border-orange-500",before:"peer-checked:before:bg-orange-500"},amber:{input:"checked:bg-amber-500",circle:"peer-checked:border-amber-500",before:"peer-checked:before:bg-amber-500"},yellow:{input:"checked:bg-yellow-500",circle:"peer-checked:border-yellow-500",before:"peer-checked:before:bg-yellow-500"},lime:{input:"checked:bg-lime-500",circle:"peer-checked:border-lime-500",before:"peer-checked:before:bg-lime-500"},"light-green":{input:"checked:bg-light-green-500",circle:"peer-checked:border-light-green-500",before:"peer-checked:before:bg-light-green-500"},green:{input:"checked:bg-green-500",circle:"peer-checked:border-green-500",before:"peer-checked:before:bg-green-500"},teal:{input:"checked:bg-teal-500",circle:"peer-checked:border-teal-500",before:"peer-checked:before:bg-teal-500"},cyan:{input:"checked:bg-cyan-500",circle:"peer-checked:border-cyan-500",before:"peer-checked:before:bg-cyan-500"},"light-blue":{input:"checked:bg-light-blue-500",circle:"peer-checked:border-light-blue-500",before:"peer-checked:before:bg-light-blue-500"},blue:{input:"checked:bg-blue-500",circle:"peer-checked:border-blue-500",before:"peer-checked:before:bg-blue-500"},indigo:{input:"checked:bg-indigo-500",circle:"peer-checked:border-indigo-500",before:"peer-checked:before:bg-indigo-500"},"deep-purple":{input:"checked:bg-deep-purple-500",circle:"peer-checked:border-deep-purple-500",before:"peer-checked:before:bg-deep-purple-500"},purple:{input:"checked:bg-purple-500",circle:"peer-checked:border-purple-500",before:"peer-checked:before:bg-purple-500"},pink:{input:"checked:bg-pink-500",circle:"peer-checked:border-pink-500",before:"peer-checked:before:bg-pink-500"},red:{input:"checked:bg-red-500",circle:"peer-checked:border-red-500",before:"peer-checked:before:bg-red-500"}}},7713:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{tabs:function(){return r},default:function(){return o}});var r={defaultProps:{className:"",orientation:"horizontal"},styles:{base:{overflow:"overflow-hidden"},horizontal:{display:"block"},vertical:{display:"flex"}}},o=r},4890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{tab:function(){return r},default:function(){return o}});var r={defaultProps:{className:"",activeClassName:"",disabled:!1},styles:{base:{tab:{initial:{display:"flex",alignItems:"items-center",justifyContent:"justify-center",textAlign:"text-center",width:"w-full",height:"h-full",position:"relative",bg:"bg-transparent",py:"py-1",px:"px-2",color:"text-blue-gray-900",fontSmoothing:"antialiased",fontFamily:"font-sans",fontSize:"text-base",fontWeight:"font-normal",lineHeight:"leading-relaxed",userSelect:"select-none",cursor:"cursor-pointer"},disabled:{opacity:"opacity-50",cursor:"cursor-not-allowed",pointerEvents:"pointer-events-none",userSelect:"select-none"}},indicator:{position:"absolute",inset:"inset-0",zIndex:"z-10",height:"h-full",bg:"bg-white",borderRadius:"rounded-md",boxShadow:"shadow"}}}},o=r},2618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{tabPanel:function(){return r},default:function(){return o}});var r={defaultProps:{className:""},styles:{base:{width:"w-full",height:"h-max",color:"text-gray-700",p:"p-4",fontSmoothing:"antialiased",fontFamily:"font-sans",fontSize:"text-base",fontWeight:"font-light",lineHeight:"leading-relaxed"}}},o=r},9573:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{tabsBody:function(){return r},default:function(){return o}});var r={defaultProps:{animate:{unmount:{},mount:{}},className:""},styles:{base:{display:"block",width:"w-full",position:"relative",bg:"bg-transparent",overflow:"overflow-hidden"}}},o=r},6308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{tabsHeader:function(){return r},default:function(){return o}});var r={defaultProps:{className:""},styles:{base:{display:"flex",position:"relative",bg:"bg-blue-gray-50",bgOpacity:"bg-opacity-60",borderRadius:"rounded-lg",p:"p-1"},horizontal:{flexDirection:"flex-row"},vertical:{flexDirection:"flex-col"}}},o=r},6555:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{textarea:function(){return s},default:function(){return c}});var o=l(r(8664)),n=l(r(8607)),a=l(r(1480)),i=r(1652);function l(e){return e&&e.__esModule?e:{default:e}}var s={defaultProps:{variant:"outlined",size:"md",color:"gray",label:"",error:!1,success:!1,resize:!0,labelProps:void 0,containerProps:void 0,shrink:!1,className:""},valid:{variants:i.propTypesVariant,sizes:i.propTypesSize,colors:i.propTypesColor},styles:{base:{container:{position:"relative",width:"w-full",minWidth:"min-w-[200px]"},textarea:{peer:"peer",width:"w-full",height:"h-full",minHeight:"min-h-[100px]",bg:"bg-transparent",color:"text-blue-gray-700",fontFamily:"font-sans",fontWeight:"font-normal",outline:"outline outline-0 focus:outline-0",resize:"resize-y",disabled:"disabled:bg-blue-gray-50 disabled:border-0 disabled:resize-none disabled:cursor-not-allowed",transition:"transition-all"},label:{display:"flex",width:"w-full",height:"h-full",userSelect:"select-none",pointerEvents:"pointer-events-none",position:"absolute",left:"left-0",fontWeight:"font-normal",color:"peer-placeholder-shown:text-blue-gray-500",lineHeight:"leading-tight peer-focus:leading-tight",disabled:"peer-disabled:text-transparent peer-disabled:peer-placeholder-shown:text-blue-gray-500",transition:"transition-all"},asterisk:{display:"inline-block",color:"text-red-500",ml:"ml-0.5"}},variants:{outlined:o.default,standard:n.default,static:a.default}}},c=s},8664:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var o=i(r(7378)),n=i(r(9486)),a=i(r(9302));function i(e){return e&&e.__esModule?e:{default:e}}var l={base:{textarea:{borderWidth:"placeholder-shown:border",borderColor:"placeholder-shown:border-blue-gray-200 placeholder-shown:border-t-blue-gray-200",floated:{borderWidth:"border focus:border-2",borderColor:"border-t-transparent focus:border-t-transparent"}},label:o.default},sizes:{md:{container:{height:"h-10"},textarea:{fontSize:"text-sm",px:"px-3",py:"py-2.5",borderRadius:"rounded-[7px]"},label:{lineHeight:"peer-placeholder-shown:leading-[3.75]"}},lg:{container:{height:"h-11"},textarea:{fontSize:"text-sm",px:"px-3",py:"py-3",borderRadius:"rounded-md"},label:{lineHeight:"peer-placeholder-shown:leading-[4.1]"}}},colors:{textarea:n.default,label:a.default},error:{textarea:{borderColor:"border-red-500 placeholder-shown:border-t-red-500 placeholder-shown:border-red-500",borderColorFocused:"focus:border-red-500"},label:{color:"text-red-500 peer-focus:text-red-500 peer-placeholder-shown:text-red-500",before:"before:border-red-500 peer-focus:before:border-red-500",after:"after:border-red-500 peer-focus:after:border-red-500"}},success:{textarea:{borderColor:"border-green-500 placeholder-shown:border-t-green-500 placeholder-shown:border-green-500",borderColorFocused:"focus:border-green-500"},label:{color:"text-green-500 peer-focus:text-green-500 peer-placeholder-shown:text-green-500",before:"before:border-green-500 peer-focus:before:border-green-500",after:"after:border-green-500 peer-focus:after:border-green-500"}},shrink:{textarea:{borderTop:"!border-t-transparent"},label:{fontSize:"!text-[11px]",lineHeight:"!leading-tight",borderColor:"before:!border-blue-gray-200 after:!border-blue-gray-200"}}}},9486:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={black:{color:"!text-black",borderColor:"!border-black",borderColorFocused:"focus:!border-black"},white:{color:"!text-white",borderColor:"!border-white",borderColorFocused:"focus:!border-white"},"blue-gray":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-blue-gray-500"},gray:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-gray-900"},brown:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-brown-500"},"deep-orange":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-deep-orange-500"},orange:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-orange-500"},amber:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-amber-500"},yellow:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-yellow-500"},lime:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-lime-500"},"light-green":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-light-green-500"},green:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-green-500"},teal:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-teal-500"},cyan:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-cyan-500"},"light-blue":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-light-blue-500"},blue:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-blue-500"},indigo:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-indigo-500"},"deep-purple":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-deep-purple-500"},purple:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-purple-500"},pink:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-pink-500"},red:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-red-500"}}},7378:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={position:"-top-1.5",fontSize:"peer-placeholder-shown:text-sm",floated:{fontSize:"text-[11px] peer-focus:text-[11px]"},before:{content:"before:content[' ']",display:"before:block",boxSizing:"before:box-border",width:"before:w-2.5",height:"before:h-1.5",mt:"before:mt-[6.5px]",mr:"before:mr-1",borderColor:"peer-placeholder-shown:before:border-transparent",borderRadius:"before:rounded-tl-md",floated:{bt:"before:border-t peer-focus:before:border-t-2",bl:"before:border-l peer-focus:before:border-l-2"},pointerEvents:"before:pointer-events-none",transition:"before:transition-all",disabled:"peer-disabled:before:border-transparent"},after:{content:"after:content[' ']",display:"after:block",flexGrow:"after:flex-grow",boxSizing:"after:box-border",width:"after:w-2.5",height:"after:h-1.5",mt:"after:mt-[6.5px]",ml:"after:ml-1",borderColor:"peer-placeholder-shown:after:border-transparent",borderRadius:"after:rounded-tr-md",floated:{bt:"after:border-t peer-focus:after:border-t-2",br:"after:border-r peer-focus:after:border-r-2"},pointerEvents:"after:pointer-events-none",transition:"after:transition-all",disabled:"peer-disabled:after:border-transparent"}}},9302:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={black:{color:"!text-black peer-focus:!text-black",before:"before:!border-black peer-focus:before:!border-black",after:"after:!border-black peer-focus:after:!border-black"},white:{color:"!text-white peer-focus:!text-white",before:"before:!border-white peer-focus:before:!border-white",after:"after:!border-white peer-focus:after:!border-white"},"blue-gray":{color:"text-blue-gray-400 peer-focus:text-blue-gray-500",before:"before:border-blue-gray-200 peer-focus:before:!border-blue-gray-500",after:"after:border-blue-gray-200 peer-focus:after:!border-blue-gray-500"},gray:{color:"text-blue-gray-400 peer-focus:text-gray-900",before:"before:border-blue-gray-200 peer-focus:before:!border-gray-900",after:"after:border-blue-gray-200 peer-focus:after:!border-gray-900"},brown:{color:"text-blue-gray-400 peer-focus:text-brown-500",before:"before:border-blue-gray-200 peer-focus:before:!border-brown-500",after:"after:border-blue-gray-200 peer-focus:after:!border-brown-500"},"deep-orange":{color:"text-blue-gray-400 peer-focus:text-deep-orange-500",before:"before:border-blue-gray-200 peer-focus:before:!border-deep-orange-500",after:"after:border-blue-gray-200 peer-focus:after:!border-deep-orange-500"},orange:{color:"text-blue-gray-400 peer-focus:text-orange-500",before:"before:border-blue-gray-200 peer-focus:before:!border-orange-500",after:"after:border-blue-gray-200 peer-focus:after:!border-orange-500"},amber:{color:"text-blue-gray-400 peer-focus:text-amber-500",before:"before:border-blue-gray-200 peer-focus:before:!border-amber-500",after:"after:border-blue-gray-200 peer-focus:after:!border-amber-500"},yellow:{color:"text-blue-gray-400 peer-focus:text-yellow-500",before:"before:border-blue-gray-200 peer-focus:before:!border-yellow-500",after:"after:border-blue-gray-200 peer-focus:after:!border-yellow-500"},lime:{color:"text-blue-gray-400 peer-focus:text-lime-500",before:"before:border-blue-gray-200 peer-focus:before:!border-lime-500",after:"after:border-blue-gray-200 peer-focus:after:!border-lime-500"},"light-green":{color:"text-blue-gray-400 peer-focus:text-light-green-500",before:"before:border-blue-gray-200 peer-focus:before:!border-light-green-500",after:"after:border-blue-gray-200 peer-focus:after:!border-light-green-500"},green:{color:"text-blue-gray-400 peer-focus:text-green-500",before:"before:border-blue-gray-200 peer-focus:before:!border-green-500",after:"after:border-blue-gray-200 peer-focus:after:!border-green-500"},teal:{color:"text-blue-gray-400 peer-focus:text-teal-500",before:"before:border-blue-gray-200 peer-focus:before:!border-teal-500",after:"after:border-blue-gray-200 peer-focus:after:!border-teal-500"},cyan:{color:"text-blue-gray-400 peer-focus:text-cyan-500",before:"before:border-blue-gray-200 peer-focus:before:!border-cyan-500",after:"after:border-blue-gray-200 peer-focus:after:!border-cyan-500"},"light-blue":{color:"text-blue-gray-400 peer-focus:text-light-blue-500",before:"before:border-blue-gray-200 peer-focus:before:!border-light-blue-500",after:"after:border-blue-gray-200 peer-focus:after:!border-light-blue-500"},blue:{color:"text-blue-gray-400 peer-focus:text-blue-500",before:"before:border-blue-gray-200 peer-focus:before:!border-blue-500",after:"after:border-blue-gray-200 peer-focus:after:!border-blue-500"},indigo:{color:"text-blue-gray-400 peer-focus:text-indigo-500",before:"before:border-blue-gray-200 peer-focus:before:!border-indigo-500",after:"after:border-blue-gray-200 peer-focus:after:!border-indigo-500"},"deep-purple":{color:"text-blue-gray-400 peer-focus:text-deep-purple-500",before:"before:border-blue-gray-200 peer-focus:before:!border-deep-purple-500",after:"after:border-blue-gray-200 peer-focus:after:!border-deep-purple-500"},purple:{color:"text-blue-gray-400 peer-focus:text-purple-500",before:"before:border-blue-gray-200 peer-focus:before:!border-purple-500",after:"after:border-blue-gray-200 peer-focus:after:!border-purple-500"},pink:{color:"text-blue-gray-400 peer-focus:text-pink-500",before:"before:border-blue-gray-200 peer-focus:before:!border-pink-500",after:"after:border-blue-gray-200 peer-focus:after:!border-pink-500"},red:{color:"text-blue-gray-400 peer-focus:text-red-500",before:"before:border-blue-gray-200 peer-focus:before:!border-red-500",after:"after:border-blue-gray-200 peer-focus:after:!border-red-500"}}},8607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var o=i(r(7700)),n=i(r(1484)),a=i(r(5092));function i(e){return e&&e.__esModule?e:{default:e}}var l={base:{textarea:{borderWidth:"border-b",borderColor:"placeholder-shown:border-blue-gray-200"},label:o.default},sizes:{md:{container:{height:"h-11"},textarea:{fontSize:"text-sm",pt:"pt-4",pb:"pb-1.5",mt:"mt-1.5"},label:{lineHeight:"peer-placeholder-shown:leading-[4.25]"}},lg:{container:{height:"h-12"},textarea:{fontSize:"text-sm",px:"px-px",pt:"pt-5",pb:"pb-2"},label:{lineHeight:"peer-placeholder-shown:leading-[4.875]"}}},colors:{textarea:n.default,label:a.default},error:{textarea:{borderColor:"border-red-500 placeholder-shown:border-red-500",borderColorFocused:"focus:border-red-500"},label:{color:"text-red-500 peer-focus:text-red-500 peer-placeholder-shown:text-red-500",after:"after:border-red-500 peer-focus:after:border-red-500"}},success:{textarea:{borderColor:"border-green-500 placeholder-shown:border-green-500",borderColorFocused:"focus:border-green-500"},label:{color:"text-green-500 peer-focus:text-green-500 peer-placeholder-shown:text-green-500",after:"after:border-green-500 peer-focus:after:border-green-500"}},shrink:{textarea:{},label:{fontSize:"!text-[11px]",lineHeight:"!leading-tight"}}}},1484:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={black:{color:"!text-black",borderColor:"!border-black",borderColorFocused:"focus:!border-black"},white:{color:"!text-white",borderColor:"!border-white",borderColorFocused:"focus:!border-white"},"blue-gray":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-blue-gray-500"},gray:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-gray-900"},brown:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-brown-500"},"deep-orange":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-deep-orange-500"},orange:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-orange-500"},amber:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-amber-500"},yellow:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-yellow-500"},lime:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-lime-500"},"light-green":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-light-green-500"},green:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-green-500"},teal:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-teal-500"},cyan:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-cyan-500"},"light-blue":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-light-blue-500"},blue:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-blue-500"},indigo:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-indigo-500"},"deep-purple":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-deep-purple-500"},purple:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-purple-500"},pink:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-pink-500"},red:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-red-500"}}},7700:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={position:"-top-1.5",fontSize:"peer-placeholder-shown:text-sm",floated:{fontSize:"text-[11px] peer-focus:text-[11px]"},after:{content:"after:content[' ']",display:"after:block",width:"after:w-full",position:"after:absolute",bottom:"after:-bottom-0",left:"left-0",borderWidth:"after:border-b-2",scale:"after:scale-x-0",floated:{scale:"peer-focus:after:scale-x-100"},transition:"after:transition-transform after:duration-300"}}},5092:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={black:{color:"!text-black peer-focus:!text-black",after:"after:!border-black peer-focus:after:!border-black"},white:{color:"!text-white peer-focus:!text-white",after:"after:!border-white peer-focus:after:!border-white"},"blue-gray":{color:"text-blue-gray-500 peer-focus:text-blue-gray-500",after:"after:border-blue-gray-500 peer-focus:after:!border-blue-gray-500"},gray:{color:"text-gray-500 peer-focus:text-gray-900",after:"after:border-gray-500 peer-focus:after:!border-gray-900"},brown:{color:"text-blue-gray-500 peer-focus:text-brown-500",after:"after:border-brown-500 peer-focus:after:!border-brown-500"},"deep-orange":{color:"text-blue-gray-500 peer-focus:text-deep-orange-500",after:"after:border-deep-orange-500 peer-focus:after:!border-deep-orange-500"},orange:{color:"text-blue-gray-500 peer-focus:text-orange-500",after:"after:border-orange-500 peer-focus:after:!border-orange-500"},amber:{color:"text-blue-gray-500 peer-focus:text-amber-500",after:"after:border-amber-500 peer-focus:after:!border-amber-500"},yellow:{color:"text-blue-gray-500 peer-focus:text-yellow-500",after:"after:border-yellow-500 peer-focus:after:!border-yellow-500"},lime:{color:"text-blue-gray-500 peer-focus:text-lime-500",after:"after:border-lime-500 peer-focus:after:!border-lime-500"},"light-green":{color:"text-blue-gray-500 peer-focus:text-light-green-500",after:"after:border-light-green-500 peer-focus:after:!border-light-green-500"},green:{color:"text-blue-gray-500 peer-focus:text-green-500",after:"after:border-green-500 peer-focus:after:!border-green-500"},teal:{color:"text-blue-gray-500 peer-focus:text-teal-500",after:"after:border-teal-500 peer-focus:after:!border-teal-500"},cyan:{color:"text-blue-gray-500 peer-focus:text-cyan-500",after:"after:border-cyan-500 peer-focus:after:!border-cyan-500"},"light-blue":{color:"text-blue-gray-500 peer-focus:text-light-blue-500",after:"after:border-light-blue-500 peer-focus:after:!border-light-blue-500"},blue:{color:"text-blue-gray-500 peer-focus:text-blue-500",after:"after:border-blue-500 peer-focus:after:!border-blue-500"},indigo:{color:"text-blue-gray-500 peer-focus:text-indigo-500",after:"after:border-indigo-500 peer-focus:after:!border-indigo-500"},"deep-purple":{color:"text-blue-gray-500 peer-focus:text-deep-purple-500",after:"after:border-deep-purple-500 peer-focus:after:!border-deep-purple-500"},purple:{color:"text-blue-gray-500 peer-focus:text-purple-500",after:"after:border-purple-500 peer-focus:after:!border-purple-500"},pink:{color:"text-blue-gray-500 peer-focus:text-pink-500",after:"after:border-pink-500 peer-focus:after:!border-pink-500"},red:{color:"text-blue-gray-500 peer-focus:text-red-500",after:"after:border-red-500 peer-focus:after:!border-red-500"}}},1480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var o=i(r(6586)),n=i(r(7446)),a=i(r(9422));function i(e){return e&&e.__esModule?e:{default:e}}var l={base:{textarea:{borderWidth:"border-b",borderColor:"placeholder-shown:border-blue-gray-200"},label:o.default},sizes:{md:{container:{height:"h-11"},textarea:{fontSize:"text-sm",pt:"pt-4",pb:"pb-1.5",mt:"mt-1.5"},label:{lineHeight:"peer-placeholder-shown:leading-tight"}},lg:{container:{height:"h-12"},textarea:{fontSize:"text-sm",px:"px-px",pt:"pt-5",pb:"pb-2"},label:{lineHeight:"peer-placeholder-shown:leading-tight"}}},colors:{textarea:n.default,label:a.default},error:{textarea:{borderColor:"border-red-500 placeholder-shown:border-red-500",borderColorFocused:"focus:border-red-500"},label:{color:"text-red-500 peer-focus:text-red-500 peer-placeholder-shown:text-red-500",after:"after:border-red-500 peer-focus:after:border-red-500"}},success:{textarea:{borderColor:"border-green-500 placeholder-shown:border-green-500",borderColorFocused:"focus:border-green-500"},label:{color:"text-green-500 peer-focus:text-green-500 peer-placeholder-shown:text-green-500",after:"after:border-green-500 peer-focus:after:border-green-500"}},shrink:{textarea:{},label:{}}}},7446:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={black:{color:"!text-black",borderColor:"!border-black",borderColorFocused:"focus:!border-black"},white:{color:"!text-white",borderColor:"!border-white",borderColorFocused:"focus:!border-white"},"blue-gray":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-blue-gray-500"},gray:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-gray-900"},brown:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-brown-500"},"deep-orange":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-deep-orange-500"},orange:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-orange-500"},amber:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-amber-500"},yellow:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-yellow-500"},lime:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-lime-500"},"light-green":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-light-green-500"},green:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-green-500"},teal:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-teal-500"},cyan:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-cyan-500"},"light-blue":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-light-blue-500"},blue:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-blue-500"},indigo:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-indigo-500"},"deep-purple":{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-deep-purple-500"},purple:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-purple-500"},pink:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-pink-500"},red:{borderColor:"border-blue-gray-200",borderColorFocused:"focus:border-red-500"}}},6586:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={position:"-top-2.5",fontSize:"text-sm peer-focus:text-sm",after:{content:"after:content[' ']",display:"after:block",width:"after:w-full",position:"after:absolute",bottom:"after:-bottom-1",left:"left-0",borderWidth:"after:border-b-2",scale:"after:scale-x-0",floated:{scale:"peer-focus:after:scale-x-100"},transition:"after:transition-transform after:duration-300"}}},9422:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={black:{color:"!text-black peer-focus:!text-black",after:"after:!border-black peer-focus:after:!border-black"},white:{color:"!text-white peer-focus:!text-white",after:"after:!border-white peer-focus:after:!border-white"},"blue-gray":{color:"text-blue-gray-500 peer-focus:text-blue-gray-500",after:"after:border-blue-gray-500 peer-focus:after:border-blue-gray-500"},gray:{color:"text-gray-500 peer-focus:text-gray-900",after:"after:border-gray-500 peer-focus:after:border-gray-900"},brown:{color:"text-blue-gray-500 peer-focus:text-brown-500",after:"after:border-brown-500 peer-focus:after:border-brown-500"},"deep-orange":{color:"text-blue-gray-500 peer-focus:text-deep-orange-500",after:"after:border-deep-orange-500 peer-focus:after:border-deep-orange-500"},orange:{color:"text-blue-gray-500 peer-focus:text-orange-500",after:"after:border-orange-500 peer-focus:after:border-orange-500"},amber:{color:"text-blue-gray-500 peer-focus:text-amber-500",after:"after:border-amber-500 peer-focus:after:border-amber-500"},yellow:{color:"text-blue-gray-500 peer-focus:text-yellow-500",after:"after:border-yellow-500 peer-focus:after:border-yellow-500"},lime:{color:"text-blue-gray-500 peer-focus:text-lime-500",after:"after:border-lime-500 peer-focus:after:border-lime-500"},"light-green":{color:"text-blue-gray-500 peer-focus:text-light-green-500",after:"after:border-light-green-500 peer-focus:after:border-light-green-500"},green:{color:"text-blue-gray-500 peer-focus:text-green-500",after:"after:border-green-500 peer-focus:after:border-green-500"},teal:{color:"text-blue-gray-500 peer-focus:text-teal-500",after:"after:border-teal-500 peer-focus:after:border-teal-500"},cyan:{color:"text-blue-gray-500 peer-focus:text-cyan-500",after:"after:border-cyan-500 peer-focus:after:border-cyan-500"},"light-blue":{color:"text-blue-gray-500 peer-focus:text-light-blue-500",after:"after:border-light-blue-500 peer-focus:after:border-light-blue-500"},blue:{color:"text-blue-gray-500 peer-focus:text-blue-500",after:"after:border-blue-500 peer-focus:after:border-blue-500"},indigo:{color:"text-blue-gray-500 peer-focus:text-indigo-500",after:"after:border-indigo-500 peer-focus:after:border-indigo-500"},"deep-purple":{color:"text-blue-gray-500 peer-focus:text-deep-purple-500",after:"after:border-deep-purple-500 peer-focus:after:border-deep-purple-500"},purple:{color:"text-blue-gray-500 peer-focus:text-purple-500",after:"after:border-purple-500 peer-focus:after:border-purple-500"},pink:{color:"text-blue-gray-500 peer-focus:text-pink-500",after:"after:border-pink-500 peer-focus:after:border-pink-500"},red:{color:"text-blue-gray-500 peer-focus:text-red-500",after:"after:border-red-500 peer-focus:after:border-red-500"}}},8478:(e,t,r)=>{"use strict";function o(e,t){return Object.keys(e).forEach((function(r){"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})),e}Object.defineProperty(t,"__esModule",{value:!0}),o(r(5043),t),o(r(5984),t),o(r(206),t),o(r(1706),t),o(r(7063),t),o(r(5924),t)},5043:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{timeline:function(){return r},default:function(){return o}});var r={styles:{base:{display:"w-full",position:"flex",flexDirection:"flex-col"}}},o=r},7063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{timelineBody:function(){return r},default:function(){return o}});var r={styles:{base:{display:"flex",gap:"gap-4"}}},o=r},5924:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{timelineConnector:function(){return r},default:function(){return o}});var r={styles:{base:{container:{position:"absolute",left:"left-0",display:"grid",justifyContent:"justify-center",backgroundColor:"bg-transparent",transition:"transition-opacity duration-200"},line:{width:"w-0.5",height:"h-full",backgroundColor:"bg-blue-gray-100"}}}},o=r},1706:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{timelineHeader:function(){return r},default:function(){return o}});var r={styles:{base:{display:"flex",alignItems:"items-center",gap:"gap-4"}}},o=r},206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{timelineIcon:function(){return c},default:function(){return u}});var o=s(r(9754)),n=s(r(7081)),a=s(r(4935)),i=s(r(1745)),l=r(1077);function s(e){return e&&e.__esModule?e:{default:e}}var c={defaultProps:{color:"gray",variant:"filled"},valid:{colors:l.propTypeColor,variants:l.propTypeVariant},styles:{base:{width:"w-max",height:"w-max",padding:"p-1.5",position:"relative",zIndex:"z-[2]",flexShrink:"flex-shrink-0",borderRadius:"rounded-full",overflow:"overflow-hidden"},variants:{ghost:o.default,filled:n.default,outlined:a.default,gradient:i.default}}},u=c},7081:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={transparent:{backgroud:"bg-transparent",color:"text-blue-gray-900"},white:{backgroud:"bg-white",color:"text-blue-gray-900"},"blue-gray":{backgroud:"bg-blue-gray-500",color:"text-white"},gray:{backgroud:"bg-gray-900",color:"text-white"},brown:{backgroud:"bg-brown-500",color:"text-white"},"deep-orange":{backgroud:"bg-deep-orange-500",color:"text-white"},orange:{backgroud:"bg-orange-500",color:"text-white"},amber:{backgroud:"bg-amber-500",color:"text-black"},yellow:{backgroud:"bg-yellow-500",color:"text-black"},lime:{backgroud:"bg-lime-500",color:"text-black"},"light-green":{backgroud:"bg-light-green-500",color:"text-white"},green:{backgroud:"bg-green-500",color:"text-white"},teal:{backgroud:"bg-teal-500",color:"text-white"},cyan:{backgroud:"bg-cyan-500",color:"text-white"},"light-blue":{backgroud:"bg-light-blue-500",color:"text-white"},blue:{backgroud:"bg-blue-500",color:"text-white"},indigo:{backgroud:"bg-indigo-500",color:"text-white"},"deep-purple":{backgroud:"bg-deep-purple-500",color:"text-white"},purple:{backgroud:"bg-purple-500",color:"text-white"},pink:{backgroud:"bg-pink-500",color:"text-white"},red:{backgroud:"bg-red-500",color:"text-white"}}},9754:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={transparent:{backgroud:"bg-transparent",color:"text-blue-gray-900"},white:{color:"text-white",background:"bg-white/10"},"blue-gray":{color:"text-blue-gray-500",background:"bg-blue-gray-500/10"},gray:{color:"text-gray-900",background:"bg-gray-900/10"},brown:{color:"text-brown-500",background:"bg-brown-500/10"},"deep-orange":{color:"text-deep-orange-500",background:"bg-deep-orange-500/10"},orange:{color:"text-orange-500",background:"bg-orange-500/10"},amber:{color:"text-amber-500",background:"bg-amber-500/10"},yellow:{color:"text-yellow-500",background:"bg-yellow-500/10"},lime:{color:"text-lime-500",background:"bg-lime-500/10"},"light-green":{color:"text-light-green-500",background:"bg-light-green-500/10"},green:{color:"text-green-500",background:"bg-green-500/10"},teal:{color:"text-teal-500",background:"bg-teal-500/10"},cyan:{color:"text-cyan-500",background:"bg-cyan-500/10"},"light-blue":{color:"text-light-blue-500",background:"bg-light-blue-500/10"},blue:{color:"text-blue-500",background:"bg-blue-500/10"},indigo:{color:"text-indigo-500",background:"bg-indigo-500/10"},"deep-purple":{color:"text-deep-purple-500",background:"bg-deep-purple-500/10"},purple:{color:"text-purple-500",background:"bg-purple-500/10"},pink:{color:"text-pink-500",background:"bg-pink-500/10"},red:{color:"text-red-500",background:"bg-red-500/10"}}},1745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={transparent:{backgroud:"bg-transparent",color:"text-blue-gray-900"},white:{backgroud:"bg-white",color:"text-blue-gray-900"},"blue-gray":{backgroud:"bg-gradient-to-tr from-blue-gray-600 to-blue-gray-400",color:"text-white"},gray:{backgroud:"bg-gradient-to-tr from-gray-900 to-gray-800",color:"text-white"},brown:{backgroud:"bg-gradient-to-tr from-brown-600 to-brown-400",color:"text-white"},"deep-orange":{backgroud:"bg-gradient-to-tr from-deep-orange-600 to-deep-orange-400",color:"text-white"},orange:{backgroud:"bg-gradient-to-tr from-orange-600 to-orange-400",color:"text-white"},amber:{backgroud:"bg-gradient-to-tr from-amber-600 to-amber-400",color:"text-black"},yellow:{backgroud:"bg-gradient-to-tr from-yellow-600 to-yellow-400",color:"text-black"},lime:{backgroud:"bg-gradient-to-tr from-lime-600 to-lime-400",color:"text-black"},"light-green":{backgroud:"bg-gradient-to-tr from-light-green-600 to-light-green-400",color:"text-white"},green:{backgroud:"bg-gradient-to-tr from-green-600 to-green-400",color:"text-white"},teal:{backgroud:"bg-gradient-to-tr from-teal-600 to-teal-400",color:"text-white"},cyan:{backgroud:"bg-gradient-to-tr from-cyan-600 to-cyan-400",color:"text-white"},"light-blue":{backgroud:"bg-gradient-to-tr from-light-blue-600 to-light-blue-400",color:"text-white"},blue:{backgroud:"bg-gradient-to-tr from-blue-600 to-blue-400",color:"text-white"},indigo:{backgroud:"bg-gradient-to-tr from-indigo-600 to-indigo-400",color:"text-white"},"deep-purple":{backgroud:"bg-gradient-to-tr from-deep-purple-600 to-deep-purple-400",color:"text-white"},purple:{backgroud:"bg-gradient-to-tr from-purple-600 to-purple-400",color:"text-white"},pink:{backgroud:"bg-gradient-to-tr from-pink-600 to-pink-400",color:"text-white"},red:{backgroud:"bg-gradient-to-tr from-red-600 to-red-400",color:"text-white"}}},4935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={transparent:{backgroud:"bg-transparent",color:"text-blue-gray-900"},white:{border:"border border-white",color:"text-white"},"blue-gray":{border:"border border-blue-gray-500",color:"text-blue-gray-500"},gray:{border:"border border-gray-900",color:"text-gray-900"},brown:{border:"border border-brown-500",color:"text-brown-500"},"deep-orange":{border:"border border-deep-orange-500",color:"text-deep-orange-500"},orange:{border:"border border-orange-500",color:"text-orange-500"},amber:{border:"border border-amber-500",color:"text-amber-500"},yellow:{border:"border border-yellow-500",color:"text-yellow-500"},lime:{border:"border border-lime-500",color:"text-lime-500"},"light-green":{border:"border border-light-green-500",color:"text-light-green-500"},green:{border:"border border-green-500",color:"text-green-500"},teal:{border:"border border-teal-500",color:"text-teal-500"},cyan:{border:"border border-cyan-500",color:"text-cyan-500"},"light-blue":{border:"border border-light-blue-500",color:"text-light-blue-500"},blue:{border:"border border-blue-500",color:"text-blue-500"},indigo:{border:"border border-indigo-500",color:"text-indigo-500"},"deep-purple":{border:"border border-deep-purple-500",color:"text-deep-purple-500"},purple:{border:"border border-purple-500",color:"text-purple-500"},pink:{border:"border border-pink-500",color:"text-pink-500"},red:{border:"border border-red-500",color:"text-red-500"}}},5984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{timelineItem:function(){return n},default:function(){return a}});var o=r(1077),n={defaultProps:{color:"gray",variant:"filled"},valid:{colors:o.propTypeColor,variants:o.propTypeVariant},styles:{base:{display:"flex",position:"relative",flexDirection:"flex-col",gap:"gap-2"}}},a=n},8172:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{tooltip:function(){return r},default:function(){return o}});var r={defaultProps:{interactive:!1,placement:"top",offset:5,dismiss:{},animate:{unmount:{},mount:{}},className:""},styles:{base:{bg:"bg-black",py:"py-1.5",px:"px-3",borderRadius:"rounded-lg",fontFamily:"font-sans",fontSize:"text-sm",fontWeight:"font-normal",color:"text-white",outline:"focus:outline-none",overflowWrap:"break-words",zIndex:"z-[999]",whiteSpace:"whitespace-normal"}}},o=r},4048:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{typography:function(){return i},default:function(){return l}});var o,n=(o=r(767))&&o.__esModule?o:{default:o},a=r(8647),i={defaultProps:{variant:"paragraph",color:"inherit",textGradient:!1,className:""},valid:{variants:a.propTypesVariant,colors:a.propTypesColor},styles:{variants:{h1:{display:"block",fontSmoothing:"antialiased",letterSpacing:"tracking-normal",fontFamily:"font-sans",fontSize:"text-5xl",fontWeight:"font-semibold",lineHeight:"leading-tight"},h2:{display:"block",fontSmoothing:"antialiased",letterSpacing:"tracking-normal",fontFamily:"font-sans",fontSize:"text-4xl",fontWeight:"font-semibold",lineHeight:"leading-[1.3]"},h3:{display:"block",fontSmoothing:"antialiased",letterSpacing:"tracking-normal",fontFamily:"font-sans",fontSize:"text-3xl",fontWeight:"font-semibold",lineHeight:"leading-snug"},h4:{display:"block",fontSmoothing:"antialiased",letterSpacing:"tracking-normal",fontFamily:"font-sans",fontSize:"text-2xl",fontWeight:"font-semibold",lineHeight:"leading-snug"},h5:{display:"block",fontSmoothing:"antialiased",letterSpacing:"tracking-normal",fontFamily:"font-sans",fontSize:"text-xl",fontWeight:"font-semibold",lineHeight:"leading-snug"},h6:{display:"block",fontSmoothing:"antialiased",letterSpacing:"tracking-normal",fontFamily:"font-sans",fontSize:"text-base",fontWeight:"font-semibold",lineHeight:"leading-relaxed"},lead:{display:"block",fontSmoothing:"antialiased",fontFamily:"font-sans",fontSize:"text-xl",fontWeight:"font-normal",lineHeight:"leading-relaxed"},paragraph:{display:"block",fontSmoothing:"antialiased",fontFamily:"font-sans",fontSize:"text-base",fontWeight:"font-light",lineHeight:"leading-relaxed"},small:{display:"block",fontSmoothing:"antialiased",fontFamily:"font-sans",fontSize:"text-sm",fontWeight:"font-light",lineHeight:"leading-normal"}},textGradient:{bgClip:"bg-clip-text",color:"text-transparent"},colors:n.default}},l=i},767:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r={inherit:{color:"text-inherit"},current:{color:"text-current"},black:{color:"text-black"},white:{color:"text-white"},"blue-gray":{color:"text-blue-gray-900",gradient:"bg-gradient-to-tr from-blue-gray-600 to-blue-gray-400"},gray:{color:"text-gray-700",gradient:"bg-gradient-to-tr from-gray-600 to-gray-400"},brown:{color:"text-brown-500",gradient:"bg-gradient-to-tr from-brown-600 to-brown-400"},"deep-orange":{color:"text-deep-orange-500",gradient:"bg-gradient-to-tr from-deep-orange-600 to-deep-orange-400"},orange:{color:"text-orange-500",gradient:"bg-gradient-to-tr from-orange-600 to-orange-400"},amber:{color:"text-amber-500",gradient:"bg-gradient-to-tr from-amber-600 to-amber-400"},yellow:{color:"text-yellow-500",gradient:"bg-gradient-to-tr from-yellow-600 to-yellow-400"},lime:{color:"text-lime-500",gradient:"bg-gradient-to-tr from-lime-600 to-lime-400"},"light-green":{color:"text-light-green-500",gradient:"bg-gradient-to-tr from-light-green-600 to-light-green-400"},green:{color:"text-green-500",gradient:"bg-gradient-to-tr from-green-600 to-green-400"},teal:{color:"text-teal-500",gradient:"bg-gradient-to-tr from-teal-600 to-teal-400"},cyan:{color:"text-cyan-500",gradient:"bg-gradient-to-tr from-cyan-600 to-cyan-400"},"light-blue":{color:"text-light-blue-500",gradient:"bg-gradient-to-tr from-light-blue-600 to-light-blue-400"},blue:{color:"text-blue-500",gradient:"bg-gradient-to-tr from-blue-600 to-blue-400"},indigo:{color:"text-indigo-500",gradient:"bg-gradient-to-tr from-indigo-600 to-indigo-400"},"deep-purple":{color:"text-deep-purple-500",gradient:"bg-gradient-to-tr from-deep-purple-600 to-deep-purple-400"},purple:{color:"text-purple-500",gradient:"bg-gradient-to-tr from-purple-600 to-purple-400"},pink:{color:"text-pink-500",gradient:"bg-gradient-to-tr from-pink-600 to-pink-400"},red:{color:"text-red-500",gradient:"bg-gradient-to-tr from-red-600 to-red-400"}}},8715:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return K}});var o=X(Y(r(9301),t)),n=X(Y(r(6453),t)),a=X(Y(r(4856),t)),i=X(Y(r(4881),t)),l=X(Y(r(3197),t)),s=X(Y(r(247),t)),c=X(Y(r(3961),t)),u=X(Y(r(6102),t)),d=X(Y(r(6896),t)),f=X(Y(r(8036),t)),p=X(Y(r(2391),t)),h=X(Y(r(3013),t)),b=X(Y(r(6021),t)),g=X(Y(r(9290),t)),m=X(Y(r(7268),t)),y=X(Y(r(6184),t)),v=X(Y(r(8651),t)),x=X(Y(r(9834),t)),w=X(Y(r(5427),t)),O=X(Y(r(8154),t)),_=X(Y(r(9374),t)),k=X(Y(r(7288),t)),P=X(Y(r(5121),t)),C=X(Y(r(9101),t)),T=X(Y(r(4890),t)),M=X(Y(r(7713),t)),S=X(Y(r(9573),t)),E=X(Y(r(6308),t)),j=X(Y(r(2618),t)),A=X(Y(r(6555),t)),N=X(Y(r(8172),t)),R=X(Y(r(4048),t)),I=X(Y(r(8902),t)),D=X(Y(r(7581),t)),L=X(Y(r(5588),t)),z=X(Y(r(6307),t)),F=X(Y(r(1244),t)),V=X(Y(r(8196),t)),B=X(Y(r(7548),t)),W=X(Y(r(160),t)),H=X(Y(r(4398),t)),U=Y(r(8478),t),q=Y(r(2230),t),$=Y(r(3570),t);function Y(e,t){return Object.keys(e).forEach((function(r){"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})),e}function X(e){return e&&e.__esModule?e:{default:e}}var K={accordion:o.default,alert:n.default,avatar:a.default,breadcrumbs:i.default,button:l.default,card:s.default,cardBody:c.default,cardFooter:u.default,cardHeader:d.default,checkbox:f.default,chip:p.default,dialog:h.default,dialogBody:b.default,dialogFooter:g.default,dialogHeader:m.default,iconButton:y.default,input:v.default,menu:x.default,navbar:w.default,popover:O.default,progress:_.default,radio:k.default,select:P.default,switch:C.default,tab:T.default,tabs:M.default,tabsBody:S.default,tabsHeader:E.default,tabPanel:j.default,textarea:A.default,tooltip:N.default,typography:R.default,collapse:I.default,list:D.default,buttonGroup:L.default,carousel:z.default,drawer:F.default,badge:V.default,rating:B.default,slider:W.default,spinner:H.default,timeline:U.timeline,timelineItem:U.timelineItem,timelineIcon:U.timelineIcon,timelineHeader:U.timelineHeader,timelineBody:U.timelineBody,timelineConnector:U.timelineConnector,step:q.step,stepper:q.stepper,speedDial:$.speedDial,speedDialContent:$.speedDialContent,speedDialAction:$.speedDialAction}},3062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesOpen:function(){return i},propTypesIcon:function(){return l},propTypesAnimate:function(){return s},propTypesDisabled:function(){return c},propTypesClassName:function(){return u},propTypesValue:function(){return d},propTypesChildren:function(){return f}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230),i=n.default.bool.isRequired,l=n.default.node,s=a.propTypesAnimation,c=n.default.bool,u=n.default.string,d=n.default.instanceOf(Object).isRequired,f=n.default.node.isRequired},2870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesVariant:function(){return i},propTypesColor:function(){return l},propTypesIcon:function(){return s},propTypesOpen:function(){return c},propTypesOnClose:function(){return u},propTypesAction:function(){return d},propTypesAnimate:function(){return f},propTypesClassName:function(){return p},propTypesChildren:function(){return h}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230),i=["filled","gradient","outlined","ghost"],l=a.propTypesColors,s=n.default.node,c=n.default.bool,u=n.default.func,d=n.default.node,f=a.propTypesAnimation,p=n.default.string,h=n.default.node.isRequired},2271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesVariant:function(){return s},propTypesSize:function(){return c},propTypesClassName:function(){return u},propTypesWithBorder:function(){return d},propTypesColor:function(){return f}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var l,s=["circular","rounded","square"],c=["xs","sm","md","lg","xl","xxl"],u=n.default.string,d=n.default.bool,f=["white"].concat(function(e){if(Array.isArray(e))return i(e)}(l=a.propTypesColors)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},4299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesColor:function(){return s},propTypesInvisible:function(){return c},propTypesWithBorder:function(){return u},propTypesOverlap:function(){return d},propTypesPlacement:function(){return f},propTypesClassName:function(){return p},propTypesContent:function(){return h},propTypesChildren:function(){return b},propTypesContainerProps:function(){return g},propTypesContainerRef:function(){return m}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var l,s=["white"].concat(function(e){if(Array.isArray(e))return i(e)}(l=a.propTypesColors)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=n.default.bool,u=n.default.bool,d=["circular","square"],f=["top-start","top-end","bottom-start","bottom-end"],p=n.default.string,h=n.default.node,b=n.default.node.isRequired,g=n.default.instanceOf(Object),m=n.default.oneOfType([n.default.func,n.default.shape({current:n.default.any})])},4850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesSeparator:function(){return a},propTypesFullWidth:function(){return i},propTypesClassName:function(){return l},propTypesChildren:function(){return s}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=n.default.node,i=n.default.bool,l=n.default.string,s=n.default.node.isRequired},2990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesVariant:function(){return s},propTypesSize:function(){return c},propTypesColor:function(){return u},propTypesFullWidth:function(){return d},propTypesRipple:function(){return f},propTypesClassName:function(){return p},propTypesChildren:function(){return h},propTypesLoading:function(){return b}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var l,s=["filled","outlined","gradient","text"],c=["sm","md","lg"],u=["white","black"].concat(function(e){if(Array.isArray(e))return i(e)}(l=a.propTypesColors)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=n.default.bool,f=n.default.bool,p=n.default.string,h=n.default.node.isRequired,b=n.default.bool},9104:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesVariant:function(){return s},propTypesColor:function(){return c},propTypesShadow:function(){return u},propTypesFloated:function(){return d},propTypesDivider:function(){return f},propTypesClassName:function(){return p},propTypesChildren:function(){return h}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var l,s=["filled","gradient"],c=["transparent","white"].concat(function(e){if(Array.isArray(e))return i(e)}(l=a.propTypesColors)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=n.default.bool,d=n.default.bool,f=n.default.bool,p=n.default.string,h=n.default.node.isRequired},5964:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesClassName:function(){return a},propTypesPrevArrow:function(){return i},propTypesNextArrow:function(){return l},propTypesNavigation:function(){return s},propTypesAutoplay:function(){return c},propTypesAutoplayDelay:function(){return u},propTypesTransition:function(){return d},propTypesLoop:function(){return f},propTypesChildren:function(){return p},propTypesSlideRef:function(){return h}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=n.default.string,i=n.default.func,l=n.default.func,s=n.default.func,c=n.default.bool,u=n.default.number,d=n.default.object,f=n.default.bool,p=n.default.node.isRequired,h=n.default.oneOfType([n.default.func,n.default.shape({current:n.default.any})])},4987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesColor:function(){return a},propTypesLabel:function(){return i},propTypesIcon:function(){return l},propTypesRipple:function(){return s},propTypesClassName:function(){return c},propTypesDisabled:function(){return u},propTypesObject:function(){return d}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230).propTypesColors,i=n.default.node,l=n.default.node,s=n.default.bool,c=n.default.string,u=n.default.bool,d=n.default.instanceOf(Object)},1024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesVariant:function(){return i},propTypesSize:function(){return l},propTypesColor:function(){return s},propTypesIcon:function(){return c},propTypesOpen:function(){return u},propTypesOnClose:function(){return d},propTypesAction:function(){return f},propTypesAnimate:function(){return p},propTypesClassName:function(){return h},propTypesValue:function(){return b}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230),i=["filled","gradient","outlined","ghost"],l=["sm","md","lg"],s=a.propTypesColors,c=n.default.node,u=n.default.bool,d=n.default.func,f=n.default.node,p=a.propTypesAnimation,h=n.default.string,b=n.default.node.isRequired},9165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesClassName:function(){return i},propTypesChildren:function(){return l},propTypesOpen:function(){return s},propTypesAnimate:function(){return c}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230),i=n.default.string,l=n.default.node.isRequired,s=n.default.bool.isRequired,c=a.propTypesAnimation},1094:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesOpen:function(){return i},propTypesHandler:function(){return l},propTypesSize:function(){return s},propTypesDismiss:function(){return c},propTypesAnimate:function(){return u},propTypesDivider:function(){return d},propTypesClassName:function(){return f},propTypesChildren:function(){return p}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230),i=n.default.bool.isRequired,l=n.default.func,s=["xs","sm","md","lg","xl","xxl"],c=a.propTypesDismissType,u=a.propTypesAnimation,d=n.default.bool,f=n.default.string,p=n.default.node.isRequired},8675:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesOpen:function(){return i},propTypesSize:function(){return l},propTypesOverlay:function(){return s},propTypesChildren:function(){return c},propTypesPlacement:function(){return u},propTypesOverlayProps:function(){return d},propTypesClassName:function(){return f},propTypesOnClose:function(){return p},propTypesDismiss:function(){return h},propTypesTransition:function(){return b},propTypesOverlayRef:function(){return g}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230),i=n.default.bool.isRequired,l=n.default.number,s=n.default.bool,c=n.default.node.isRequired,u=["top","right","bottom","left"],d=n.default.object,f=n.default.string,p=n.default.func,h=a.propTypesDismissType,b=n.default.object,g=n.default.oneOfType([n.default.func,n.default.shape({current:n.default.any})])},1652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesVariant:function(){return s},propTypesSize:function(){return c},propTypesColor:function(){return u},propTypesLabel:function(){return d},propTypesError:function(){return f},propTypesSuccess:function(){return p},propTypesIcon:function(){return h},propTypesResize:function(){return b},propTypesLabelProps:function(){return g},propTypesContainerProps:function(){return m},propTypesShrink:function(){return y},propTypesClassName:function(){return v}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var l,s=["standard","outlined","static"],c=["md","lg"],u=["black","white"].concat(function(e){if(Array.isArray(e))return i(e)}(l=a.propTypesColors)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=n.default.string,f=n.default.bool,p=n.default.bool,h=n.default.node,b=n.default.bool,g=n.default.instanceOf(Object),m=n.default.instanceOf(Object),y=n.default.bool,v=n.default.string},7742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesClassName:function(){return a},propTypesDisabled:function(){return i},propTypesSelected:function(){return l},propTypesRipple:function(){return s},propTypesChildren:function(){return c}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=n.default.string,i=n.default.bool,l=n.default.bool,s=n.default.bool,c=n.default.node.isRequired},1617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesOpen:function(){return i},propTypesHandler:function(){return l},propTypesPlacement:function(){return s},propTypesOffset:function(){return c},propTypesDismiss:function(){return u},propTypesAnimate:function(){return d},propTypesLockScroll:function(){return f},propTypesDisabled:function(){return p},propTypesClassName:function(){return h},propTypesChildren:function(){return b},propTypesContextValue:function(){return g}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230),i=n.default.bool,l=n.default.func,s=a.propTypesPlacements,c=a.propTypesOffsetType,u=n.default.shape({itemPress:n.default.bool,enabled:n.default.bool,escapeKey:n.default.bool,referencePress:n.default.bool,referencePressEvent:n.default.oneOf(["pointerdown","mousedown","click"]),outsidePress:n.default.oneOfType([n.default.bool,n.default.func]),outsidePressEvent:n.default.oneOf(["pointerdown","mousedown","click"]),ancestorScroll:n.default.bool,bubbles:n.default.oneOfType([n.default.bool,n.default.shape({escapeKey:n.default.bool,outsidePress:n.default.bool})])}),d=a.propTypesAnimation,f=n.default.bool,p=n.default.bool,h=n.default.string,b=n.default.node.isRequired,g=n.default.shape({open:n.default.bool.isRequired,handler:n.default.func.isRequired,setInternalOpen:n.default.func.isRequired,strategy:n.default.oneOf(["fixed","absolute"]).isRequired,x:n.default.number.isRequired,y:n.default.number.isRequired,reference:n.default.func.isRequired,floating:n.default.func.isRequired,listItemsRef:n.default.instanceOf(Object).isRequired,getReferenceProps:n.default.func.isRequired,getFloatingProps:n.default.func.isRequired,getItemProps:n.default.func.isRequired,appliedAnimation:d.isRequired,lockScroll:n.default.bool.isRequired,context:n.default.instanceOf(Object).isRequired,tree:n.default.any.isRequired,allowHover:n.default.bool.isRequired,activeIndex:n.default.number.isRequired,setActiveIndex:n.default.func.isRequired,nested:n.default.bool.isRequired})},4892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesVariant:function(){return s},propTypesColor:function(){return c},propTypesShadow:function(){return u},propTypesBlurred:function(){return d},propTypesFullWidth:function(){return f},propTypesClassName:function(){return p},propTypesChildren:function(){return h},propTypesOpen:function(){return b},propTypesAnimate:function(){return g}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var l,s=["filled","gradient"],c=["transparent","white"].concat(function(e){if(Array.isArray(e))return i(e)}(l=a.propTypesColors)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=n.default.bool,d=n.default.bool,f=n.default.bool,p=n.default.string,h=n.default.node.isRequired,b=n.default.bool.isRequired,g=a.propTypesAnimation},3265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesOpen:function(){return i},propTypesHandler:function(){return l},propTypesPlacement:function(){return s},propTypesOffset:function(){return c},propTypesDismiss:function(){return u},propTypesAnimate:function(){return d},propTypesContent:function(){return f},propTypesInteractive:function(){return p},propTypesClassName:function(){return h},propTypesChildren:function(){return b},propTypesContextValue:function(){return g}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230),i=n.default.bool,l=n.default.func,s=a.propTypesPlacements,c=a.propTypesOffsetType,u=a.propTypesDismissType,d=a.propTypesAnimation,f=n.default.node,p=n.default.bool,h=n.default.string,b=n.default.node.isRequired,g=n.default.shape({open:n.default.bool.isRequired,strategy:n.default.oneOf(["fixed","absolute"]).isRequired,x:n.default.number,y:n.default.number,context:n.default.instanceOf(Object).isRequired,reference:n.default.func.isRequired,floating:n.default.func.isRequired,getReferenceProps:n.default.func.isRequired,getFloatingProps:n.default.func.isRequired,appliedAnimation:d.isRequired,labelId:n.default.string.isRequired,descriptionId:n.default.string.isRequired}).isRequired},869:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesVariant:function(){return i},propTypesColor:function(){return l},propTypesSize:function(){return s},propTypesValue:function(){return c},propTypesLabel:function(){return u},propTypesBarProps:function(){return d},propTypesClassName:function(){return f}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230),i=["filled","gradient"],l=a.propTypesColors,s=["sm","md","lg"],c=n.default.number,u=n.default.oneOfType([n.default.string,n.default.bool]),d=n.default.instanceOf(Object),f=n.default.string},1891:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesCount:function(){return s},propTypesValue:function(){return c},propTypesRatedIcon:function(){return u},propTypesUnratedIcon:function(){return d},propTypesColor:function(){return f},propTypesOnChange:function(){return p},propTypesClassName:function(){return h},propTypesReadonly:function(){return b}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var l,s=n.default.number,c=n.default.number,u=n.default.oneOfType([n.default.node,n.default.instanceOf(Object)]),d=n.default.oneOfType([n.default.node,n.default.instanceOf(Object)]),f=["white"].concat(function(e){if(Array.isArray(e))return i(e)}(l=a.propTypesColors)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),p=n.default.func,h=n.default.string,b=n.default.bool},8354:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesVariant:function(){return i},propTypesSize:function(){return l},propTypesColor:function(){return s},propTypesLabel:function(){return c},propTypesError:function(){return u},propTypesSuccess:function(){return d},propTypesArrow:function(){return f},propTypesValue:function(){return p},propTypesOnChange:function(){return h},propTypesSelected:function(){return b},propTypesOffset:function(){return g},propTypesDismiss:function(){return m},propTypesAnimate:function(){return y},propTypesAutoHeight:function(){return v},propTypesLockScroll:function(){return x},propTypesLabelProps:function(){return w},propTypesMenuProps:function(){return O},propTypesIndex:function(){return _},propTypesDisabled:function(){return k},propTypesClassName:function(){return P},propTypesName:function(){return C},propTypesChildren:function(){return T},propTypesContainerProps:function(){return M},propTypesContextValue:function(){return S}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230),i=["standard","outlined","static"],l=["md","lg"],s=a.propTypesColors,c=n.default.string,u=n.default.bool,d=n.default.bool,f=n.default.node,p=n.default.string,h=n.default.func,b=n.default.func,g=a.propTypesOffsetType,m=a.propTypesDismissType,y=a.propTypesAnimation,v=n.default.bool,x=n.default.bool,w=n.default.instanceOf(Object),O=n.default.instanceOf(Object),_=n.default.number,k=n.default.bool,P=n.default.string,C=n.default.string,T=n.default.node.isRequired,M=n.default.instanceOf(Object),S=n.default.shape({selectedIndex:n.default.number.isRequired,setSelectedIndex:n.default.func.isRequired,activeIndex:n.default.oneOfType([n.default.number,n.default.instanceOf(null)]),setActiveIndex:n.default.func.isRequired,listRef:n.default.instanceOf(Object).isRequired,setOpen:n.default.func.isRequired,onChange:n.default.func.isRequired,getItemProps:n.default.func.isRequired,dataRef:n.default.instanceOf(Object).isRequired}).isRequired},3831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesColor:function(){return a},propTypesSize:function(){return i},propTypesClassName:function(){return l},propTypesTrackClassName:function(){return s},propTypesThumbClassName:function(){return c},propTypesBarClassName:function(){return u},propTypesDefaultValue:function(){return d},propTypesValue:function(){return f},propTypesOnChange:function(){return p},propTypesMin:function(){return h},propTypesMax:function(){return b},propTypesStep:function(){return g},propTypesInputRef:function(){return m},propTypesInputProps:function(){return y}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230).propTypesColors,i=["sm","md","lg"],l=n.default.string,s=n.default.string,c=n.default.string,u=n.default.string,d=n.default.oneOfType([n.default.number,n.default.string]),f=n.default.oneOfType([n.default.number,n.default.string]),p=n.default.func,h=n.default.oneOfType([n.default.number,n.default.string]),b=n.default.oneOfType([n.default.number,n.default.string]),g=n.default.oneOfType([n.default.number,n.default.string]),m=n.default.oneOfType([n.default.func,n.default.shape({current:n.default.any})]),y=n.default.instanceOf(Object)},3849:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesOpen:function(){return i},propTypesHanlder:function(){return l},propTypesPlacement:function(){return s},propTypesOffset:function(){return c},propTypesDismiss:function(){return u},propTypesChildren:function(){return d},propTypesAnimate:function(){return f},propTypesClassName:function(){return p}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230),i=n.default.bool,l=n.default.func,s=n.default.oneOf(a.propTypesPlacements),c=a.propTypesOffsetType,u=a.propTypesDismissType,d=n.default.node.isRequired,f=a.propTypesAnimation,p=n.default.string},3874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesColor:function(){return s},propTypesClassName:function(){return c}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var l,s=["white"].concat(function(e){if(Array.isArray(e))return i(e)}(l=a.propTypesColors)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=n.default.string},3069:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesActiveStep:function(){return a},propTypesIsLastStep:function(){return i},propTypesIsFirstStep:function(){return l},propTypesChildren:function(){return s},propTypesClassName:function(){return c}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=n.default.number,i=n.default.func,l=n.default.func,s=n.default.node,c=n.default.string},194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesId:function(){return i},propTypesValue:function(){return l},propTypesAnimate:function(){return s},propTypesDisabled:function(){return c},propTypesClassName:function(){return u},propTypesOrientation:function(){return d},propTypesIndicator:function(){return f},propTypesChildren:function(){return p}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230),i=n.default.string,l=n.default.oneOfType([n.default.string,n.default.number]).isRequired,s=a.propTypesAnimation,c=n.default.bool,u=n.default.string,d=n.default.oneOf(["horizontal","vertical"]),f=n.default.instanceOf(Object),p=n.default.node.isRequired},1077:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypeClassName:function(){return s},propTypeChildren:function(){return c},propTypeColor:function(){return u},propTypeVariant:function(){return d}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var l,s=n.default.string,c=n.default.node,u=["white"].concat(function(e){if(Array.isArray(e))return i(e)}(l=a.propTypesColors)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=["filled","outlined","ghost","gradient"]},8647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesVariant:function(){return s},propTypesColor:function(){return c},propTypesAs:function(){return u},propTypesTextGradient:function(){return d},propTypesClassName:function(){return f},propTypesChildren:function(){return p}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=r(5230);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var l,s=["h1","h2","h3","h4","h5","h6","lead","paragraph","small"],c=["inherit","current","black","white"].concat(function(e){if(Array.isArray(e))return i(e)}(l=a.propTypesColors)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=n.default.elementType,d=n.default.bool,f=n.default.string,p=n.default.node.isRequired},5230:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{propTypesColors:function(){return a},propTypesAnimation:function(){return i},propTypesDismissType:function(){return l},propTypesOffsetType:function(){return s},propTypesPlacements:function(){return c}});var o,n=(o=r(5556))&&o.__esModule?o:{default:o},a=["blue-gray","gray","brown","deep-orange","orange","amber","yellow","lime","light-green","green","teal","cyan","light-blue","blue","indigo","deep-purple","purple","pink","red"],i=n.default.shape({mount:n.default.instanceOf(Object),unmount:n.default.instanceOf(Object)}),l=n.default.shape({enabled:n.default.bool,escapeKey:n.default.bool,referencePress:n.default.bool,referencePressEvent:n.default.oneOf(["pointerdown","mousedown","click"]),outsidePress:n.default.oneOfType([n.default.bool,n.default.func]),outsidePressEvent:n.default.oneOf(["pointerdown","mousedown","click"]),ancestorScroll:n.default.bool,bubbles:n.default.oneOfType([n.default.bool,n.default.shape({escapeKey:n.default.bool,outsidePress:n.default.bool})])}),s=n.default.oneOfType([n.default.number,n.default.shape({mainAxis:n.default.number,crossAxis:n.default.number,alignmentAxis:n.default.number})]),c=["top-start","top","top-end","right-start","right","right-end","bottom-start","bottom","bottom-end","left-start","left","left-end"]},788:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});var o,n=(o=r(4744))&&o.__esModule?o:{default:o};function a(e,t,r){var o=e.slice();return t.forEach((function(t,a){void 0===o[a]?o[a]=r.cloneUnlessOtherwiseSpecified(t,r):r.isMergeableObject(t)?o[a]=(0,n.default)(e[a],t,r):-1===e.indexOf(t)&&o.push(t)})),o}},3087:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=function(e,t,r){return e.findIndex((function(e){return e===t}))>=0?t:r}},3165:(e,t)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e){var t=[];return Object.values(e).forEach((function(e){"string"==typeof e?t=o(t).concat([e]):"object"!=typeof e||Array.isArray(e)||null===e||(t=o(t).concat(o(n(e))))})),t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},6851:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});var o,n=(o=r(3165))&&o.__esModule?o:{default:o};function a(e){return(0,n.default)(e).join(" ")}},6244:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ScrollOffset:()=>He,animate:()=>he,animateStyle:()=>ae,createMotionState:()=>gt,createStyleString:()=>xt,createStyles:()=>mt,getAnimationData:()=>a,getStyleName:()=>re,glide:()=>Se,inView:()=>je,mountedStates:()=>bt,resize:()=>ze,scroll:()=>tt,spring:()=>Me,stagger:()=>fe,style:()=>oe,timeline:()=>we,withControls:()=>ce});class o{setAnimation(e){this.animation=e,null==e||e.finished.then((()=>this.clearAnimation())).catch((()=>{}))}clearAnimation(){this.animation=this.generator=void 0}}const n=new WeakMap;function a(e){return n.has(e)||n.set(e,{transforms:[],values:new Map}),n.get(e)}const i=()=>{},l=e=>e;function s(e,t){-1===e.indexOf(t)&&e.push(t)}function c(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const u=["","X","Y","Z"],d={x:"translateX",y:"translateY",z:"translateZ"},f={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},p={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:f,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:l},skew:f},h=new Map,b=e=>`--motion-${e}`,g=["x","y","z"];["translate","scale","rotate","skew"].forEach((e=>{u.forEach((t=>{g.push(e+t),h.set(b(e+t),p[e])}))}));const m=(e,t)=>g.indexOf(e)-g.indexOf(t),y=new Set(g),v=e=>y.has(e),x=(e,t)=>{d[t]&&(t=d[t]);const{transforms:r}=a(e);s(r,t),e.style.transform=w(r)},w=e=>e.sort(m).reduce(O,"").trim(),O=(e,t)=>`${e} ${t}(var(${b(t)}))`,_=e=>e.startsWith("--"),k=new Set,P={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},C=e=>"object"==typeof e&&Boolean(e.createAnimation),T=e=>"number"==typeof e,M=e=>Array.isArray(e)&&!T(e[0]),S=(e,t,r)=>-r*e+r*t+e,E=(e,t,r)=>t-e==0?1:(r-e)/(t-e);function j(e,t){const r=e[e.length-1];for(let o=1;o<=t;o++){const n=E(0,t,o);e.push(S(r,1,n))}}function A(e){const t=[0];return j(t,e-1),t}const N=(e,t,r)=>{const o=t-e;return((r-e)%o+o)%o+e};function R(e,t){return M(e)?e[N(0,e.length,t)]:e}const I=(e,t,r)=>Math.min(Math.max(r,e),t);function D(e,t=A(e.length),r=l){const o=e.length,n=o-t.length;return n>0&&j(t,n),n=>{let a=0;for(;a<o-2&&!(n<t[a+1]);a++);let i=I(0,1,E(t[a],t[a+1],n));return i=R(r,a)(i),S(e[a],e[a+1],i)}}const L=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,z=1e-7,F=12;function V(e,t,r,o){if(e===t&&r===o)return l;return n=>0===n||1===n?n:L(function(e,t,r,o,n){let a,i,l=0;do{i=t+(r-t)/2,a=L(i,o,n)-e,a>0?r=i:t=i}while(Math.abs(a)>z&&++l<F);return i}(n,0,1,e,r),t,o)}const B=(e,t="end")=>r=>{const o=(r="end"===t?Math.min(r,.999):Math.max(r,.001))*e,n="end"===t?Math.floor(o):Math.ceil(o);return I(0,1,n/e)},W=e=>"function"==typeof e,H=e=>Array.isArray(e)&&T(e[0]),U={ease:V(.25,.1,.25,1),"ease-in":V(.42,0,1,1),"ease-in-out":V(.42,0,.58,1),"ease-out":V(0,0,.58,1)},q=/\((.*?)\)/;function $(e){if(W(e))return e;if(H(e))return V(...e);const t=U[e];if(t)return t;if(e.startsWith("steps")){const t=q.exec(e);if(t){const e=t[1].split(",");return B(parseFloat(e[0]),e[1].trim())}}return l}class Y{constructor(e,t=[0,1],{easing:r,duration:o=P.duration,delay:n=P.delay,endDelay:a=P.endDelay,repeat:i=P.repeat,offset:s,direction:c="normal",autoplay:u=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=l,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise(((e,t)=>{this.resolve=e,this.reject=t})),r=r||P.easing,C(r)){const e=r.createAnimation(t);r=e.easing,t=e.keyframes||t,o=e.duration||o}this.repeat=i,this.easing=M(r)?l:$(r),this.updateDuration(o);const d=D(t,s,M(r)?r.map($):l);this.tick=t=>{var r;let o=0;o=void 0!==this.pauseTime?this.pauseTime:(t-this.startTime)*this.rate,this.t=o,o/=1e3,o=Math.max(o-n,0),"finished"===this.playState&&void 0===this.pauseTime&&(o=this.totalDuration);const i=o/this.duration;let l=Math.floor(i),s=i%1;!s&&i>=1&&(s=1),1===s&&l--;const u=l%2;("reverse"===c||"alternate"===c&&u||"alternate-reverse"===c&&!u)&&(s=1-s);const f=o>=this.totalDuration?1:Math.min(s,1),p=d(this.easing(f));e(p),void 0===this.pauseTime&&("finished"===this.playState||o>=this.totalDuration+a)?(this.playState="finished",null===(r=this.resolve)||void 0===r||r.call(this,p)):"idle"!==this.playState&&(this.frameRequestId=requestAnimationFrame(this.tick))},u&&this.play()}play(){const e=performance.now();this.playState="running",void 0!==this.pauseTime?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",void 0!==this.frameRequestId&&cancelAnimationFrame(this.frameRequestId),null===(e=this.reject)||void 0===e||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){void 0!==this.pauseTime||0===this.rate?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}const X={ms:e=>1e3*e,s:e=>e/1e3},K=e=>H(e)?G(e):e,G=([e,t,r,o])=>`cubic-bezier(${e}, ${t}, ${r}, ${o})`,Z=e=>document.createElement("div").animate(e,{duration:.001}),J={cssRegisterProperty:()=>"undefined"!=typeof CSS&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{Z({opacity:[1]})}catch(e){return!1}return!0},finished:()=>Boolean(Z({opacity:[0,1]}).finished)},Q={},ee={};for(const e in J)ee[e]=()=>(void 0===Q[e]&&(Q[e]=J[e]()),Q[e]);const te=e=>Array.isArray(e)?e:[e];function re(e){return d[e]&&(e=d[e]),v(e)?b(e):e}const oe={get:(e,t)=>{t=re(t);let r=_(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!r&&0!==r){const e=h.get(t);e&&(r=e.initialValue)}return r},set:(e,t,r)=>{t=re(t),_(t)?e.style.setProperty(t,r):e.style[t]=r}};function ne(e,t=!0){if(e&&"finished"!==e.playState)try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch(e){}}function ae(e,t,r,n={}){const l=window.__MOTION_DEV_TOOLS_RECORD,s=!1!==n.record&&l;let c,{duration:u=P.duration,delay:d=P.delay,endDelay:f=P.endDelay,repeat:p=P.repeat,easing:b=P.easing,direction:g,offset:m,allowWebkitAcceleration:y=!1}=n;const w=a(e);let O=ee.waapi();const S=v(t);S&&x(e,t);const E=re(t),j=function(e,t){return e.has(t)||e.set(t,new o),e.get(t)}(w.values,E),A=h.get(E);return ne(j.animation,!(C(b)&&j.generator)&&!1!==n.record),()=>{const o=()=>{var t,r;return null!==(r=null!==(t=oe.get(e,E))&&void 0!==t?t:null==A?void 0:A.initialValue)&&void 0!==r?r:0};let a=function(e,t){for(let r=0;r<e.length;r++)null===e[r]&&(e[r]=r?e[r-1]:t());return e}(te(r),o);if(C(b)){const e=b.createAnimation(a,o,S,E,j);b=e.easing,void 0!==e.keyframes&&(a=e.keyframes),void 0!==e.duration&&(u=e.duration)}if(_(E)&&(ee.cssRegisterProperty()?function(e){if(!k.has(e)){k.add(e);try{const{syntax:t,initialValue:r}=h.has(e)?h.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:r})}catch(e){}}}(E):O=!1),O){A&&(a=a.map((e=>T(e)?A.toDefaultUnit(e):e))),1!==a.length||ee.partialKeyframes()&&!s||a.unshift(o());const t={delay:X.ms(d),duration:X.ms(u),endDelay:X.ms(f),easing:M(b)?void 0:K(b),direction:g,iterations:p+1,fill:"both"};c=e.animate({[E]:a,offset:m,easing:M(b)?b.map(K):void 0},t),c.finished||(c.finished=new Promise(((e,t)=>{c.onfinish=e,c.oncancel=t})));const r=a[a.length-1];c.finished.then((()=>{oe.set(e,E,r),c.cancel()})).catch(i),y||(c.playbackRate=1.000001)}else if(S)a=a.map((e=>"string"==typeof e?parseFloat(e):e)),1===a.length&&a.unshift(parseFloat(o())),c=new Y((t=>{A&&(t=A.toDefaultUnit(t)),oe.set(e,E,t)}),a,Object.assign(Object.assign({},n),{duration:u,easing:b}));else{const t=a[a.length-1];oe.set(e,E,A&&T(t)?A.toDefaultUnit(t):t)}return s&&l(e,t,a,{duration:u,delay:d,easing:b,repeat:p,offset:m},"motion-one"),j.setAnimation(c),c}}const ie=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function le(e,t){var r;return"string"==typeof e?t?(null!==(r=t[e])&&void 0!==r||(t[e]=document.querySelectorAll(e)),e=t[e]):e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}const se=e=>e(),ce=(e,t,r=P.duration)=>new Proxy({animations:e.map(se).filter(Boolean),duration:r,options:t},ue),ue={get:(e,t)=>{const r=e.animations[0];switch(t){case"duration":return e.duration;case"currentTime":return X.s((null==r?void 0:r[t])||0);case"playbackRate":case"playState":return null==r?void 0:r[t];case"finished":return e.finished||(e.finished=Promise.all(e.animations.map(de)).catch(i)),e.finished;case"stop":return()=>{e.animations.forEach((e=>ne(e)))};case"forEachNative":return t=>{e.animations.forEach((r=>t(r,e)))};default:return void 0===(null==r?void 0:r[t])?void 0:()=>e.animations.forEach((e=>e[t]()))}},set:(e,t,r)=>{switch(t){case"currentTime":r=X.ms(r);case"currentTime":case"playbackRate":for(let o=0;o<e.animations.length;o++)e.animations[o][t]=r;return!0}return!1}},de=e=>e.finished;function fe(e=.1,{start:t=0,from:r=0,easing:o}={}){return(n,a)=>{const i=T(r)?r:function(e,t){if("first"===e)return 0;{const r=t-1;return"last"===e?r:r/2}}(r,a),l=Math.abs(i-n);let s=e*l;if(o){const t=a*e;s=$(o)(s/t)*t}return t+s}}function pe(e,t,r){return"function"==typeof e?e(t,r):e}function he(e,t,r={}){const o=(e=le(e)).length,n=[];for(let a=0;a<o;a++){const i=e[a];for(const e in t){const l=ie(r,e);l.delay=pe(l.delay,a,o);const s=ae(i,e,t[e],l);n.push(s)}}return ce(n,r,r.duration)}var be=r(1635),ge=r(3e3);const me=e=>"string"==typeof e;function ye(e,t,r,o){var n;return T(t)?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?r:null!==(n=o.get(t))&&void 0!==n?n:e}function ve(e,t,r,o,n,a){!function(e,t,r){for(let o=0;o<e.length;o++){const n=e[o];n.at>t&&n.at<r&&(c(e,n),o--)}}(e,n,a);for(let i=0;i<t.length;i++)e.push({value:t[i],at:S(n,a,o[i]),easing:R(r,i)})}function xe(e,t){return e.at===t.at?null===e.value?1:-1:e.at-t.at}function we(e,t={}){var r;const o=function(e,t={}){var{defaultOptions:r={}}=t,o=(0,be.__rest)(t,["defaultOptions"]);const n=[],a=new Map,i={},l=new Map;let s=0,c=0,u=0;for(let t=0;t<e.length;t++){const o=e[t];if(me(o)){l.set(o,c);continue}if(!Array.isArray(o)){l.set(o.name,ye(c,o.at,s,l));continue}const[n,p,h={}]=o;void 0!==h.at&&(c=ye(c,h.at,s,l));let b=0;const g=le(n,i),m=g.length;for(let e=0;e<m;e++){const t=(d=g[e],!(f=a).has(d)&&f.set(d,{}),f.get(d));for(const o in p){const n=Oe(o,t);let a=te(p[o]);const i=ie(h,o);let{duration:l=r.duration||P.duration,easing:s=r.easing||P.easing}=i;if(C(s)){const e=v(o);(0,ge.invariant)(2===a.length||!e,"spring must be provided 2 keyframes within timeline");const t=s.createAnimation(a,(()=>"0"),e);s=t.easing,void 0!==t.keyframes&&(a=t.keyframes),void 0!==t.duration&&(l=t.duration)}const d=pe(h.delay,e,m)||0,f=c+d,g=f+l;let{offset:y=A(a.length)}=i;1===y.length&&0===y[0]&&(y[1]=1);const x=length-a.length;x>0&&j(y,x),1===a.length&&a.unshift(null),ve(n,a,s,y,f,g),b=Math.max(d+l,b),u=Math.max(g,u)}}s=c,c+=b}var d,f;return a.forEach(((e,t)=>{for(const a in e){const i=e[a];i.sort(xe);const l=[],s=[],c=[];for(let e=0;e<i.length;e++){const{at:t,value:r,easing:o}=i[e];l.push(r),s.push(E(0,u,t)),c.push(o||P.easing)}0!==s[0]&&(s.unshift(0),l.unshift(l[0]),c.unshift("linear")),1!==s[s.length-1]&&(s.push(1),l.push(null)),n.push([t,a,l,Object.assign(Object.assign(Object.assign({},r),{duration:u,easing:c,offset:s}),o)])}})),n}(e,t),n=o.map((e=>ae(...e))).filter(Boolean);return ce(n,t,null===(r=o[0])||void 0===r?void 0:r[3].duration)}function Oe(e,t){return t[e]||(t[e]=[]),t[e]}function _e(e,t){return t?e*(1e3/t):0}function ke(e,t,r){const o=Math.max(t-5,0);return _e(r-e(o),t-o)}const Pe=({stiffness:e=100,damping:t=10,mass:r=1,from:o=0,to:n=1,velocity:a=0,restSpeed:i,restDistance:l}={})=>{a=a?X.s(a):0;const s={done:!1,hasReachedTarget:!1,current:o,target:n},c=n-o,u=Math.sqrt(e/r)/1e3,d=((e=100,t=10,r=1)=>t/(2*Math.sqrt(e*r)))(e,t,r),f=Math.abs(c)<5;let p;if(i||(i=f?.01:2),l||(l=f?.005:.5),d<1){const e=u*Math.sqrt(1-d*d);p=t=>n-Math.exp(-d*u*t)*((d*u*c-a)/e*Math.sin(e*t)+c*Math.cos(e*t))}else p=e=>n-Math.exp(-u*e)*(c+(u*c-a)*e);return e=>{s.current=p(e);const t=0===e?a:ke(p,e,s.current),r=Math.abs(t)<=i,c=Math.abs(n-s.current)<=l;var u,d,f;return s.done=r&&c,s.hasReachedTarget=(u=o,d=n,f=s.current,u<d&&f>=d||u>d&&f<=d),s}};function Ce(e){const t=new WeakMap;return(r={})=>{const o=new Map,n=(t=0,n=100,a=0,i=!1)=>{const l=`${t}-${n}-${a}-${i}`;return o.has(l)||o.set(l,e(Object.assign({from:t,to:n,velocity:a,restSpeed:i?.05:2,restDistance:i?.01:.5},r))),o.get(l)},a=e=>(t.has(e)||t.set(e,function(e,t=l){let r,o=10,n=e(0);const a=[t(n.current)];for(;!n.done&&o<1e4;)n=e(o),a.push(t(n.done?n.target:n.current)),void 0===r&&n.hasReachedTarget&&(r=o),o+=10;const i=o-10;return 1===a.length&&a.push(n.current),{keyframes:a,duration:i/1e3,overshootDuration:(null!=r?r:i)/1e3}}(e)),t.get(e));return{createAnimation:(e,t,r,o,i)=>{var l,s;let c;const u=e.length;if(r&&u<=2&&e.every(Te)){const r=e[u-1],d=1===u?null:e[0];let f=0,p=0;const h=null==i?void 0:i.generator;if(h){const{animation:t,generatorStartTime:r}=i,o=(null==t?void 0:t.startTime)||r||0,n=(null==t?void 0:t.currentTime)||performance.now()-o,a=h(n).current;p=null!==(l=d)&&void 0!==l?l:a,(1===u||2===u&&null===e[0])&&(f=ke((e=>h(e).current),n,a))}else p=null!==(s=d)&&void 0!==s?s:parseFloat(t());const b=n(p,r,f,null==o?void 0:o.includes("scale")),g=a(b);c=Object.assign(Object.assign({},g),{easing:"linear"}),i&&(i.generator=b,i.generatorStartTime=performance.now())}else c={easing:"ease",duration:a(n(0,100)).overshootDuration};return c}}}}const Te=e=>"string"!=typeof e,Me=Ce(Pe),Se=Ce((({from:e=0,velocity:t=0,power:r=.8,decay:o=.325,bounceDamping:n,bounceStiffness:a,changeTarget:i,min:l,max:s,restDistance:c=.5,restSpeed:u})=>{o=X.ms(o);const d={hasReachedTarget:!1,done:!1,current:e,target:e},f=e=>void 0===l?s:void 0===s||Math.abs(l-e)<Math.abs(s-e)?l:s;let p=r*t;const h=e+p,b=void 0===i?h:i(h);d.target=b,b!==h&&(p=b-e);const g=e=>-p*Math.exp(-e/o),m=e=>b+g(e),y=e=>{const t=g(e),r=m(e);d.done=Math.abs(t)<=c,d.current=d.done?b:r};let v,x;const w=e=>{var t;t=d.current,(void 0!==l&&t<l||void 0!==s&&t>s)&&(v=e,x=Pe({from:d.current,to:f(d.current),velocity:ke(m,e,d.current),damping:n,stiffness:a,restDistance:c,restSpeed:u}))};return w(0),e=>{let t=!1;return x||void 0!==v||(t=!0,y(e),w(e)),void 0!==v&&e>v?(d.hasReachedTarget=!0,x(e-v)):(d.hasReachedTarget=!1,!t&&y(e),d)}})),Ee={any:0,all:1};function je(e,t,{root:r,margin:o,amount:n="any"}={}){if("undefined"==typeof IntersectionObserver)return()=>{};const a=le(e),i=new WeakMap,l=new IntersectionObserver((e=>{e.forEach((e=>{const r=i.get(e.target);if(e.isIntersecting!==Boolean(r))if(e.isIntersecting){const r=t(e);"function"==typeof r?i.set(e.target,r):l.unobserve(e.target)}else r&&(r(e),i.delete(e.target))}))}),{root:r,rootMargin:o,threshold:"number"==typeof n?n:Ee[n]});return a.forEach((e=>l.observe(e))),()=>l.disconnect()}const Ae=new WeakMap;let Ne;function Re({target:e,contentRect:t,borderBoxSize:r}){var o;null===(o=Ae.get(e))||void 0===o||o.forEach((o=>{o({target:e,contentSize:t,get size(){return function(e,t){if(t){const{inlineSize:e,blockSize:r}=t[0];return{width:e,height:r}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(e,r)}})}))}function Ie(e){e.forEach(Re)}const De=new Set;let Le;function ze(e,t){return"function"==typeof e?(r=e,De.add(r),Le||(Le=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};De.forEach((e=>e(t)))},window.addEventListener("resize",Le)),()=>{De.delete(r),!De.size&&Le&&(Le=void 0)}):function(e,t){Ne||"undefined"!=typeof ResizeObserver&&(Ne=new ResizeObserver(Ie));const r=le(e);return r.forEach((e=>{let r=Ae.get(e);r||(r=new Set,Ae.set(e,r)),r.add(t),null==Ne||Ne.observe(e)})),()=>{r.forEach((e=>{const r=Ae.get(e);null==r||r.delete(t),(null==r?void 0:r.size)||null==Ne||Ne.unobserve(e)}))}}(e,t);var r}const Fe=50,Ve=()=>({time:0,x:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0},y:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}}),Be={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function We(e,t,r,o){const n=r[t],{length:a,position:i}=Be[t],l=n.current,s=r.time;n.current=e["scroll"+i],n.scrollLength=e["scroll"+a]-e["client"+a],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=E(0,n.scrollLength,n.current);const c=o-s;n.velocity=c>Fe?0:_e(n.current-l,c)}const He={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Ue={start:0,center:.5,end:1};function qe(e,t,r=0){let o=0;if(void 0!==Ue[e]&&(e=Ue[e]),me(e)){const t=parseFloat(e);e.endsWith("px")?o=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?o=t/100*document.documentElement.clientWidth:e.endsWith("vh")?o=t/100*document.documentElement.clientHeight:e=t}return T(e)&&(o=t*e),r+o}const $e=[0,0];function Ye(e,t,r,o){let n=Array.isArray(e)?e:$e,a=0,i=0;return T(e)?n=[e,e]:me(e)&&(n=(e=e.trim()).includes(" ")?e.split(" "):[e,Ue[e]?e:"0"]),a=qe(n[0],r,o),i=qe(n[1],t),a-i}const Xe={x:0,y:0};function Ke(e,t,r,o={}){const n=o.axis||"y";return{measure:()=>function(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let o=t;for(;o&&o!=e;)r.x.targetOffset+=o.offsetLeft,r.y.targetOffset+=o.offsetTop,o=o.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}(e,o.target,r),update:t=>{!function(e,t,r){We(e,"x",t,r),We(e,"y",t,r),t.time=r}(e,r,t),(o.offset||o.target)&&function(e,t,r){let{offset:o=He.All}=r;const{target:n=e,axis:a="y"}=r,i="y"===a?"height":"width",l=n!==e?function(e,t){let r={x:0,y:0},o=e;for(;o&&o!==t;)if(o instanceof HTMLElement)r.x+=o.offsetLeft,r.y+=o.offsetTop,o=o.offsetParent;else if(o instanceof SVGGraphicsElement&&"getBBox"in o){const{top:e,left:t}=o.getBBox();for(r.x+=t,r.y+=e;o&&"svg"!==o.tagName;)o=o.parentNode}return r}(n,e):Xe,s=n===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:n.clientWidth,height:n.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let u=!t[a].interpolate;const d=o.length;for(let e=0;e<d;e++){const r=Ye(o[e],c[i],s[i],l[a]);u||r===t[a].interpolatorOffsets[e]||(u=!0),t[a].offset[e]=r}u&&(t[a].interpolate=D(A(d),t[a].offset),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=t[a].interpolate(t[a].current)}(e,r,o)},notify:"function"==typeof t?()=>t(r):Ge(t,r[n])}}function Ge(e,t){return e.pause(),e.forEachNative(((e,{easing:t})=>{var r,o;if(e.updateDuration)t||(e.easing=l),e.updateDuration(1);else{const n={duration:1e3};t||(n.easing="linear"),null===(o=null===(r=e.effect)||void 0===r?void 0:r.updateTiming)||void 0===o||o.call(r,n)}})),()=>{e.currentTime=t.progress}}const Ze=new WeakMap,Je=new WeakMap,Qe=new WeakMap,et=e=>e===document.documentElement?window:e;function tt(e,t={}){var{container:r=document.documentElement}=t,o=(0,be.__rest)(t,["container"]);let n=Qe.get(r);n||(n=new Set,Qe.set(r,n));const a=Ve(),i=Ke(r,e,a,o);if(n.add(i),!Ze.has(r)){const e=()=>{const e=performance.now();for(const e of n)e.measure();for(const t of n)t.update(e);for(const e of n)e.notify()};Ze.set(r,e);const t=et(r);window.addEventListener("resize",e,{passive:!0}),r!==document.documentElement&&Je.set(r,ze(r,e)),t.addEventListener("scroll",e,{passive:!0})}const l=Ze.get(r),s=requestAnimationFrame(l);return()=>{var t;"function"!=typeof e&&e.stop(),cancelAnimationFrame(s);const o=Qe.get(r);if(!o)return;if(o.delete(i),o.size)return;const n=Ze.get(r);Ze.delete(r),n&&(et(r).removeEventListener("scroll",n),null===(t=Je.get(r))||void 0===t||t(),window.removeEventListener("resize",n))}}function rt(e,t){return function(e){return"object"==typeof e}(e)?e:e&&t?t[e]:void 0}let ot;function nt(){if(!ot)return;const e=ot.sort(it).map(lt);e.forEach(st),e.forEach(st),ot=void 0}function at(e){ot?s(ot,e):(ot=[e],requestAnimationFrame(nt))}const it=(e,t)=>e.getDepth()-t.getDepth(),lt=e=>e.animateUpdates(),st=e=>e.next(),ct=(e,t)=>new CustomEvent(e,{detail:{target:t}});function ut(e,t,r){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:r}}))}function dt(e,t,r){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:r}}))}const ft=(e,t,r)=>o=>{o.pointerType&&"mouse"!==o.pointerType||(r(),ut(e,t,o))},pt={inView:{isActive:e=>Boolean(e.inView),subscribe:(e,{enable:t,disable:r},{inViewOptions:o={}})=>{const{once:n}=o,a=(0,be.__rest)(o,["once"]);return je(e,(o=>{if(t(),dt(e,"viewenter",o),!n)return t=>{r(),dt(e,"viewleave",t)}}),a)}},hover:{isActive:e=>Boolean(e.hover),subscribe:(e,{enable:t,disable:r})=>{const o=ft(e,"hoverstart",t),n=ft(e,"hoverend",r);return e.addEventListener("pointerenter",o),e.addEventListener("pointerleave",n),()=>{e.removeEventListener("pointerenter",o),e.removeEventListener("pointerleave",n)}}},press:{isActive:e=>Boolean(e.press),subscribe:(e,{enable:t,disable:r})=>{const o=t=>{r(),ut(e,"pressend",t),window.removeEventListener("pointerup",o)},n=r=>{t(),ut(e,"pressstart",r),window.addEventListener("pointerup",o)};return e.addEventListener("pointerdown",n),()=>{e.removeEventListener("pointerdown",n),window.removeEventListener("pointerup",o)}}}},ht=["initial","animate",...Object.keys(pt),"exit"],bt=new WeakMap;function gt(e={},t){let r,o=t?t.getDepth()+1:0;const n={initial:!0,animate:!0},a={},l={};for(const r of ht)l[r]="string"==typeof e[r]?e[r]:null==t?void 0:t.getContext()[r];const s=!1===e.initial?"animate":"initial";let u=rt(e[s]||l[s],e.variants)||{},d=(0,be.__rest)(u,["transition"]);const f=Object.assign({},d),p=(e,t)=>()=>{n[e]=t,at(b)},h=()=>{for(const t in pt){const o=pt[t].isActive(e),n=a[t];o&&!n?a[t]=pt[t].subscribe(r,{enable:p(t,!0),disable:p(t,!1)},e):!o&&n&&(n(),delete a[t])}},b={update:t=>{r&&(e=t,h(),at(b))},setActive:(e,t)=>{r&&(n[e]=t,at(b))},animateUpdates:function*(){var t,o;const a=d;d={};const l={};for(const r of ht){if(!n[r])continue;const a=rt(e[r]);if(a)for(const r in a)"transition"!==r&&(d[r]=a[r],l[r]=ie(null!==(o=null!==(t=a.transition)&&void 0!==t?t:e.transition)&&void 0!==o?o:{},r))}const s=new Set([...Object.keys(d),...Object.keys(a)]),c=[];s.forEach((e=>{var t,o,n;void 0===d[e]&&(d[e]=f[e]),typeof(o=a[e])==typeof(n=d[e])&&(Array.isArray(o)&&Array.isArray(n)?function(e,t){const r=t.length;if(r!==e.length)return!1;for(let o=0;o<r;o++)if(t[o]!==e[o])return!1;return!0}(o,n):o===n)||(null!==(t=f[e])&&void 0!==t||(f[e]=oe.get(r,e)),c.push(ae(r,e,d[e],l[e])))})),yield;const u=c.map((e=>e())).filter(Boolean);if(!u.length)return;const p=d;r.dispatchEvent(ct("motionstart",p)),Promise.all(u.map((e=>e.finished))).then((()=>{r.dispatchEvent(ct("motioncomplete",p))})).catch(i)},getDepth:()=>o,getTarget:()=>d,getOptions:()=>e,getContext:()=>l,mount:e=>((0,ge.invariant)(Boolean(e),"Animation state must be mounted with valid Element"),r=e,bt.set(r,b),h(),()=>{bt.delete(r),function(e){ot&&c(ot,e)}(b);for(const e in a)a[e]()}),isMounted:()=>Boolean(r)};return b}function mt(e){const t={},r=[];for(let o in e){const n=e[o];v(o)&&(d[o]&&(o=d[o]),r.push(o),o=b(o));let a=Array.isArray(n)?n[0]:n;const i=h.get(o);i&&(a=T(n)?i.toDefaultUnit(n):n),t[o]=a}return r.length&&(t.transform=w(r)),t}const yt=e=>`-${e.toLowerCase()}`,vt=e=>e.replace(/[A-Z]/g,yt);function xt(e={}){const t=mt(e);let r="";for(const e in t)r+=e.startsWith("--")?e:vt(e),r+=`: ${t[e]}; `;return r}},2485:(e,t)=>{var r;!function(){"use strict";var o={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=n.apply(null,r);i&&e.push(i)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var l in r)o.call(r,l)&&r[l]&&e.push(l)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},4744:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function n(e,t,r){return e.concat(t).map((function(e){return o(e,r)}))}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function i(e,t){try{return t in e}catch(e){return!1}}function l(e,r,s){(s=s||{}).arrayMerge=s.arrayMerge||n,s.isMergeableObject=s.isMergeableObject||t,s.cloneUnlessOtherwiseSpecified=o;var c=Array.isArray(r);return c===Array.isArray(e)?c?s.arrayMerge(e,r,s):function(e,t,r){var n={};return r.isMergeableObject(e)&&a(e).forEach((function(t){n[t]=o(e[t],r)})),a(t).forEach((function(a){(function(e,t){return i(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,a)||(i(e,a)&&r.isMergeableObject(t[a])?n[a]=function(e,t){if(!t.customMerge)return l;var r=t.customMerge(e);return"function"==typeof r?r:l}(a,r)(e[a],t[a],r):n[a]=o(t[a],r))})),n}(e,r,s):o(r,s)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return l(e,r,t)}),{})};var s=l;e.exports=s},3947:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(1635),n=r(1609),a=r(3e3),i=r(8085),l=r(3734),s=r(1764),c=r(6244);function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function d(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var f=d(n),p=u(n),h=u(s),b=("undefined"==typeof process||process.env,"production"),g=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},m={measureLayout:g(["layout","layoutId","drag"]),animation:g(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:g(["exit"]),drag:g(["drag","dragControls"]),focus:g(["whileFocus"]),hover:g(["whileHover","onHoverStart","onHoverEnd"]),tap:g(["whileTap","onTap","onTapStart","onTapCancel"]),pan:g(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:g(["whileInView","onViewportEnter","onViewportLeave"])};function y(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?m.projectionNodeConstructor=e[t]:m[t].Component=e[t])}var v=n.createContext({strict:!1}),x=Object.keys(m),w=x.length,O=n.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),_=n.createContext({});function k(){return n.useContext(_).visualElement}var P=n.createContext(null),C="undefined"!=typeof document,T=C?n.useLayoutEffect:n.useEffect,M={current:null},S=!1;function E(){return!S&&function(){if(S=!0,C)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return M.current=e.matches};e.addListener(t),t()}else M.current=!1}(),o.__read(n.useState(M.current),1)[0]}function j(){var e=E(),t=n.useContext(O).reducedMotion;return"never"!==t&&("always"===t||e)}function A(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function N(e){return Array.isArray(e)}function R(e){return"string"==typeof e||N(e)}function I(e,t,r,o,n){var a;return void 0===o&&(o={}),void 0===n&&(n={}),"function"==typeof t&&(t=t(null!=r?r:e.custom,o,n)),"string"==typeof t&&(t=null===(a=e.variants)||void 0===a?void 0:a[t]),"function"==typeof t&&(t=t(null!=r?r:e.custom,o,n)),t}function D(e,t,r){var o=e.getProps();return I(o,t,null!=r?r:o.custom,function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.getVelocity()})),t}(e))}function L(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||R(e.initial)||R(e.animate)||R(e.whileHover)||R(e.whileDrag)||R(e.whileTap)||R(e.whileFocus)||R(e.exit)}function z(e){return Boolean(L(e)||e.variants)}function F(e){return Array.isArray(e)?e.join(" "):e}function V(e){var t=n.useRef(null);return null===t.current&&(t.current=e()),t.current}var B={hasAnimatedSinceResize:!0,hasEverUpdated:!1},W=1,H=n.createContext({}),U=n.createContext({}),q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,r=e.props;t&&t.setProps(r)},t.prototype.render=function(){return this.props.children},t}(p.default.Component);function $(e){var t=e.preloadedFeatures,r=e.createVisualElement,i=e.projectionNodeConstructor,l=e.useRender,s=e.useVisualState,c=e.Component;return t&&y(t),n.forwardRef((function(e,u){var d=function(e){var t,r=e.layoutId,o=null===(t=n.useContext(H))||void 0===t?void 0:t.id;return o&&void 0!==r?o+"-"+r:r}(e);e=o.__assign(o.__assign({},e),{layoutId:d});var p=n.useContext(O),h=null,g=function(e){var t=function(e,t){if(L(e)){var r=e.initial,o=e.animate;return{initial:!1===r||R(r)?r:void 0,animate:R(o)?o:void 0}}return!1!==e.inherit?t:{}}(e,n.useContext(_)),r=t.initial,o=t.animate;return n.useMemo((function(){return{initial:r,animate:o}}),[F(r),F(o)])}(e),y=p.isStatic?void 0:V((function(){if(B.hasEverUpdated)return W++})),M=s(e,p.isStatic);return!p.isStatic&&C&&(g.visualElement=function(e,t,r,o){var a=n.useContext(v),i=k(),l=n.useContext(P),s=j(),c=n.useRef(void 0);o||(o=a.renderer),!c.current&&o&&(c.current=o(e,{visualState:t,parent:i,props:r,presenceId:null==l?void 0:l.id,blockInitialAnimation:!1===(null==l?void 0:l.initial),shouldReduceMotion:s}));var u=c.current;return T((function(){null==u||u.syncRender()})),n.useEffect((function(){var e;null===(e=null==u?void 0:u.animationState)||void 0===e||e.animateChanges()})),T((function(){return function(){return null==u?void 0:u.notifyUnmount()}}),[]),u}(c,M,o.__assign(o.__assign({},p),e),r),function(e,t,r,o){var a,i=t.layoutId,l=t.layout,s=t.drag,c=t.dragConstraints,u=t.layoutScroll,d=n.useContext(U);o&&r&&!(null==r?void 0:r.projection)&&(r.projection=new o(e,r.getLatestValues(),null===(a=r.parent)||void 0===a?void 0:a.projection),r.projection.setOptions({layoutId:i,layout:l,alwaysMeasureLayout:Boolean(s)||c&&A(c),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof l?l:"both",initialPromotionConfig:d,layoutScroll:u}))}(y,e,g.visualElement,i||m.projectionNodeConstructor),h=function(e,t,r){var i=[],l=n.useContext(v);if(!t)return null;"production"!==b&&r&&l.strict&&a.invariant(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var s=0;s<w;s++){var c=x[s],u=m[c],d=u.isEnabled,p=u.Component;d(e)&&p&&i.push(f.createElement(p,o.__assign({key:c},e,{visualElement:t})))}return i}(e,g.visualElement,t)),f.createElement(q,{visualElement:g.visualElement,props:o.__assign(o.__assign({},p),e)},h,f.createElement(_.Provider,{value:g},l(c,e,y,function(e,t,r){return n.useCallback((function(o){var n;o&&(null===(n=e.mount)||void 0===n||n.call(e,o)),t&&(o?t.mount(o):t.unmount()),r&&("function"==typeof r?r(o):A(r)&&(r.current=o))}),[t])}(M,g.visualElement,u),M,p.isStatic,g.visualElement)))}))}function Y(e){function t(t,r){return void 0===r&&(r={}),$(e(t,r))}if("undefined"==typeof Proxy)return t;var r=new Map;return new Proxy(t,{get:function(e,o){return r.has(o)||r.set(o,t(o)),r.get(o)}})}var X=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function K(e){return"string"==typeof e&&!e.includes("-")&&!!(X.indexOf(e)>-1||/[A-Z]/.test(e))}var G={};function Z(e){Object.assign(G,e)}var J=["","X","Y","Z"],Q=["transformPerspective","x","y","z"];function ee(e,t){return Q.indexOf(e)-Q.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return J.forEach((function(t){return Q.push(e+t)}))}));var te=new Set(Q);function re(e){return te.has(e)}var oe=new Set(["originX","originY","originZ"]);function ne(e){return oe.has(e)}function ae(e,t){var r=t.layout,o=t.layoutId;return re(e)||ne(e)||(r||void 0!==o)&&(!!G[e]||"opacity"===e)}var ie=function(e){return Boolean(null!==e&&"object"==typeof e&&e.getVelocity)},le={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function se(e){return e.startsWith("--")}var ce=function(e,t){return t&&"number"==typeof e?t.transform(e):e},ue=o.__assign(o.__assign({},i.number),{transform:Math.round}),de={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,size:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,rotate:i.degrees,rotateX:i.degrees,rotateY:i.degrees,rotateZ:i.degrees,scale:i.scale,scaleX:i.scale,scaleY:i.scale,scaleZ:i.scale,skew:i.degrees,skewX:i.degrees,skewY:i.degrees,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:i.alpha,originX:i.progressPercentage,originY:i.progressPercentage,originZ:i.px,zIndex:ue,fillOpacity:i.alpha,strokeOpacity:i.alpha,numOctaves:ue};function fe(e,t,r,o){var n,a=e.style,i=e.vars,l=e.transform,s=e.transformKeys,c=e.transformOrigin;s.length=0;var u=!1,d=!1,f=!0;for(var p in t){var h=t[p];if(se(p))i[p]=h;else{var b=de[p],g=ce(h,b);if(re(p)){if(u=!0,l[p]=g,s.push(p),!f)continue;h!==(null!==(n=b.default)&&void 0!==n?n:0)&&(f=!1)}else ne(p)?(c[p]=g,d=!0):a[p]=g}}u?a.transform=function(e,t,r,o){var n=e.transform,a=e.transformKeys,i=t.enableHardwareAcceleration,l=void 0===i||i,s=t.allowTransformNone,c=void 0===s||s,u="";a.sort(ee);for(var d=!1,f=a.length,p=0;p<f;p++){var h=a[p];u+="".concat(le[h]||h,"(").concat(n[h],") "),"z"===h&&(d=!0)}return!d&&l?u+="translateZ(0)":u=u.trim(),o?u=o(n,r?"":u):c&&r&&(u="none"),u}(e,r,f,o):o?a.transform=o({},""):!t.transform&&a.transform&&(a.transform="none"),d&&(a.transformOrigin=function(e){var t=e.originX,r=void 0===t?"50%":t,o=e.originY,n=void 0===o?"50%":o,a=e.originZ,i=void 0===a?0:a;return"".concat(r," ").concat(n," ").concat(i)}(c))}function pe(e,t,r){for(var o in t)ie(t[o])||ae(o,r)||(e[o]=t[o])}function he(e,t,r){var a={},i=function(e,t,r){var a={};return pe(a,e.style||{},e),Object.assign(a,function(e,t,r){var a=e.transformTemplate;return n.useMemo((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};fe(e,t,{enableHardwareAcceleration:!r},a);var n=e.vars,i=e.style;return o.__assign(o.__assign({},n),i)}),[t])}(e,t,r)),e.transformValues&&(a=e.transformValues(a)),a}(e,t,r);return Boolean(e.drag)&&!1!==e.dragListener&&(a.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),a.style=i,a}var be=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function ge(e){return be.has(e)}var me=function(e){return!ge(e)};function ye(e){e&&(me=function(t){return t.startsWith("on")?!ge(t):e(t)})}try{ye(r(5218).A)}catch(e){}function ve(e,t,r){var o={};for(var n in e)(me(n)||!0===r&&ge(n)||!t&&!ge(n)||e.draggable&&n.startsWith("onDrag"))&&(o[n]=e[n]);return o}function xe(e,t,r){return"string"==typeof e?e:i.px.transform(t+r*e)}var we={offset:"stroke-dashoffset",array:"stroke-dasharray"},Oe={offset:"strokeDashoffset",array:"strokeDasharray"};function _e(e,t,r,n){var a=t.attrX,l=t.attrY,s=t.originX,c=t.originY,u=t.pathLength,d=t.pathSpacing,f=void 0===d?1:d,p=t.pathOffset,h=void 0===p?0:p;fe(e,o.__rest(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),r,n),e.attrs=e.style,e.style={};var b=e.attrs,g=e.style,m=e.dimensions;b.transform&&(m&&(g.transform=b.transform),delete b.transform),m&&(void 0!==s||void 0!==c||g.transform)&&(g.transformOrigin=function(e,t,r){var o=xe(t,e.x,e.width),n=xe(r,e.y,e.height);return"".concat(o," ").concat(n)}(m,void 0!==s?s:.5,void 0!==c?c:.5)),void 0!==a&&(b.x=a),void 0!==l&&(b.y=l),void 0!==u&&function(e,t,r,o,n){void 0===r&&(r=1),void 0===o&&(o=0),void 0===n&&(n=!0),e.pathLength=1;var a=n?we:Oe;e[a.offset]=i.px.transform(-o);var l=i.px.transform(t),s=i.px.transform(r);e[a.array]="".concat(l," ").concat(s)}(b,u,f,h,!1)}var ke=function(){return o.__assign(o.__assign({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Pe(e,t){var r=n.useMemo((function(){var r=ke();return _e(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),o.__assign(o.__assign({},r.attrs),{style:o.__assign({},r.style)})}),[t]);if(e.style){var a={};pe(a,e.style,e),r.style=o.__assign(o.__assign({},a),r.style)}return r}function Ce(e){return void 0===e&&(e=!1),function(t,r,a,i,l,s){var c=l.latestValues,u=(K(t)?Pe:he)(r,c,s),d=ve(r,"string"==typeof t,e),f=o.__assign(o.__assign(o.__assign({},d),u),{ref:i});return a&&(f["data-projection-id"]=a),n.createElement(t,f)}}var Te=/([a-z])([A-Z])/g,Me=function(e){return e.replace(Te,"$1-$2").toLowerCase()};function Se(e,t,r,o){var n=t.style,a=t.vars;for(var i in Object.assign(e.style,n,o&&o.getProjectionStyles(r)),a)e.style.setProperty(i,a[i])}var Ee=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function je(e,t,r,o){for(var n in Se(e,t,void 0,o),t.attrs)e.setAttribute(Ee.has(n)?n:Me(n),t.attrs[n])}function Ae(e){var t=e.style,r={};for(var o in t)(ie(t[o])||ae(o,e))&&(r[o]=t[o]);return r}function Ne(e){var t=Ae(e);for(var r in e)ie(e[r])&&(t["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]);return t}function Re(e){return"object"==typeof e&&"function"==typeof e.start}var Ie=function(e){return Array.isArray(e)},De=function(e){return Ie(e)?e[e.length-1]||0:e};function Le(e){var t,r=ie(e)?e.get():e;return t=r,Boolean(t&&"object"==typeof t&&t.mix&&t.toValue)?r.toValue():r}function ze(e,t,r,o){var n=e.scrapeMotionValuesFromProps,a=e.createRenderState,i=e.onMount,l={latestValues:Ve(t,r,o,n),renderState:a()};return i&&(l.mount=function(e){return i(t,e,l)}),l}var Fe=function(e){return function(t,r){var o=n.useContext(_),a=n.useContext(P);return r?ze(e,t,o,a):V((function(){return ze(e,t,o,a)}))}};function Ve(e,t,r,n){var a={},i=!1===(null==r?void 0:r.initial),l=n(e);for(var s in l)a[s]=Le(l[s]);var c=e.initial,u=e.animate,d=L(e),f=z(e);t&&f&&!d&&!1!==e.inherit&&(null!=c||(c=t.initial),null!=u||(u=t.animate));var p=i||!1===c,h=p?u:c;return h&&"boolean"!=typeof h&&!Re(h)&&(Array.isArray(h)?h:[h]).forEach((function(t){var r=I(e,t);if(r){var n=r.transitionEnd;r.transition;var i=o.__rest(r,["transitionEnd","transition"]);for(var l in i){var s=i[l];Array.isArray(s)&&(s=s[p?s.length-1:0]),null!==s&&(a[l]=s)}for(var l in n)a[l]=n[l]}})),a}var Be,We={useVisualState:Fe({scrapeMotionValuesFromProps:Ne,createRenderState:ke,onMount:function(e,t,r){var o=r.renderState,n=r.latestValues;try{o.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){o.dimensions={x:0,y:0,width:0,height:0}}_e(o,n,{enableHardwareAcceleration:!1},e.transformTemplate),je(t,o)}})},He={useVisualState:Fe({scrapeMotionValuesFromProps:Ae,createRenderState:function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}}})};function Ue(e,t,r,n,a){var i=t.forwardMotionProps,l=void 0!==i&&i,s=K(e)?We:He;return o.__assign(o.__assign({},s),{preloadedFeatures:r,useRender:Ce(l),createVisualElement:n,projectionNodeConstructor:a,Component:e})}function qe(e,t,r,o){return void 0===o&&(o={passive:!0}),e.addEventListener(t,r,o),function(){return e.removeEventListener(t,r)}}function $e(e,t,r,o){n.useEffect((function(){var n=e.current;if(r&&n)return qe(n,t,r,o)}),[e,t,r,o])}function Ye(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Xe(e){return!!e.touches}t.AnimationType=void 0,(Be=t.AnimationType||(t.AnimationType={})).Animate="animate",Be.Hover="whileHover",Be.Tap="whileTap",Be.Drag="whileDrag",Be.Focus="whileFocus",Be.InView="whileInView",Be.Exit="exit";var Ke={pageX:0,pageY:0};function Ge(e,t){void 0===t&&(t="page");var r=e.touches[0]||e.changedTouches[0]||Ke;return{x:r[t+"X"],y:r[t+"Y"]}}function Ze(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Je(e,t){return void 0===t&&(t="page"),{point:Xe(e)?Ge(e,t):Ze(e,t)}}var Qe=function(e,t){void 0===t&&(t=!1);var r,o=function(t){return e(t,Je(t))};return t?(r=o,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&r(e)}):o},et={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},tt={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function rt(e){return C&&null===window.onpointerdown?e:C&&null===window.ontouchstart?tt[e]:C&&null===window.onmousedown?et[e]:e}function ot(e,t,r,o){return qe(e,rt(t),Qe(r,"pointerdown"===t),o)}function nt(e,t,r,o){return $e(e,rt(t),r&&Qe(r,"pointerdown"===t),o)}function at(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var it=at("dragHorizontal"),lt=at("dragVertical");function st(e){var t=!1;if("y"===e)t=lt();else if("x"===e)t=it();else{var r=it(),o=lt();r&&o?t=function(){r(),o()}:(r&&r(),o&&o())}return t}function ct(){var e=st(!0);return!e||(e(),!1)}function ut(e,r,o){return function(n,a){var i;Ye(n)&&!ct()&&(null===(i=e.animationState)||void 0===i||i.setActive(t.AnimationType.Hover,r),null==o||o(n,a))}}var dt=function(e,t){return!!t&&(e===t||dt(e,t.parentElement))};function ft(e){return n.useEffect((function(){return function(){return e()}}),[])}var pt=new Set;function ht(e,t,r){e||pt.has(t)||(console.warn(t),r&&console.warn(r),pt.add(t))}var bt=new WeakMap,gt=new WeakMap,mt=function(e){var t;null===(t=bt.get(e.target))||void 0===t||t(e)},yt=function(e){e.forEach(mt)};var vt={some:0,all:1};function xt(e,r,a,i){var l=i.root,s=i.margin,c=i.amount,u=void 0===c?"some":c,d=i.once;n.useEffect((function(){if(e){var n={root:null==l?void 0:l.current,rootMargin:s,threshold:"number"==typeof u?u:vt[u]};return function(e,t,r){var n=function(e){var t=e.root,r=o.__rest(e,["root"]),n=t||document;gt.has(n)||gt.set(n,{});var a=gt.get(n),i=JSON.stringify(r);return a[i]||(a[i]=new IntersectionObserver(yt,o.__assign({root:t},r))),a[i]}(t);return bt.set(e,r),n.observe(e),function(){bt.delete(e),n.unobserve(e)}}(a.getInstance(),n,(function(e){var o,n=e.isIntersecting;if(r.isInView!==n&&(r.isInView=n,!d||n||!r.hasEnteredView)){n&&(r.hasEnteredView=!0),null===(o=a.animationState)||void 0===o||o.setActive(t.AnimationType.InView,n);var i=a.getProps(),l=n?i.onViewportEnter:i.onViewportLeave;null==l||l(e)}}))}}),[e,l,s,u])}function wt(e,r,o,a){var i=a.fallback,l=void 0===i||i;n.useEffect((function(){e&&l&&("production"!==b&&ht(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame((function(){var e;r.hasEnteredView=!0;var n=o.getProps().onViewportEnter;null==n||n(null),null===(e=o.animationState)||void 0===e||e.setActive(t.AnimationType.InView,!0)})))}),[e])}var Ot=function(e){return function(t){return e(t),null}},_t={inView:Ot((function(e){var t=e.visualElement,r=e.whileInView,o=e.onViewportEnter,a=e.onViewportLeave,i=e.viewport,l=void 0===i?{}:i,s=n.useRef({hasEnteredView:!1,isInView:!1}),c=Boolean(r||o||a);l.once&&s.current.hasEnteredView&&(c=!1),("undefined"==typeof IntersectionObserver?wt:xt)(c,s.current,t,l)})),tap:Ot((function(e){var r=e.onTap,o=e.onTapStart,a=e.onTapCancel,i=e.whileTap,s=e.visualElement,c=r||o||a||i,u=n.useRef(!1),d=n.useRef(null),f={passive:!(o||r||a||m)};function p(){var e;null===(e=d.current)||void 0===e||e.call(d),d.current=null}function h(){var e;return p(),u.current=!1,null===(e=s.animationState)||void 0===e||e.setActive(t.AnimationType.Tap,!1),!ct()}function b(e,t){h()&&(dt(s.getInstance(),e.target)?null==r||r(e,t):null==a||a(e,t))}function g(e,t){h()&&(null==a||a(e,t))}function m(e,r){var n;p(),u.current||(u.current=!0,d.current=l.pipe(ot(window,"pointerup",b,f),ot(window,"pointercancel",g,f)),null===(n=s.animationState)||void 0===n||n.setActive(t.AnimationType.Tap,!0),null==o||o(e,r))}nt(s,"pointerdown",c?m:void 0,f),ft(p)})),focus:Ot((function(e){var r=e.whileFocus,o=e.visualElement;$e(o,"focus",r?function(){var e;null===(e=o.animationState)||void 0===e||e.setActive(t.AnimationType.Focus,!0)}:void 0),$e(o,"blur",r?function(){var e;null===(e=o.animationState)||void 0===e||e.setActive(t.AnimationType.Focus,!1)}:void 0)})),hover:Ot((function(e){var t=e.onHoverStart,r=e.onHoverEnd,o=e.whileHover,n=e.visualElement;nt(n,"pointerenter",t||o?ut(n,!0,t):void 0,{passive:!t}),nt(n,"pointerleave",r||o?ut(n,!1,r):void 0,{passive:!r})}))},kt=0,Pt=function(){return kt++},Ct=function(){return V(Pt)};function Tt(){var e=n.useContext(P);if(null===e)return[!0,null];var t=e.isPresent,r=e.onExitComplete,o=e.register,a=Ct();return n.useEffect((function(){return o(a)}),[]),!t&&r?[!1,function(){return null==r?void 0:r(a)}]:[!0]}function Mt(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var o=0;o<r;o++)if(t[o]!==e[o])return!1;return!0}var St=function(e){return 1e3*e},Et={linear:l.linear,easeIn:l.easeIn,easeInOut:l.easeInOut,easeOut:l.easeOut,circIn:l.circIn,circInOut:l.circInOut,circOut:l.circOut,backIn:l.backIn,backInOut:l.backInOut,backOut:l.backOut,anticipate:l.anticipate,bounceIn:l.bounceIn,bounceInOut:l.bounceInOut,bounceOut:l.bounceOut},jt=function(e){if(Array.isArray(e)){a.invariant(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=o.__read(e,4),r=t[0],n=t[1],i=t[2],s=t[3];return l.cubicBezier(r,n,i,s)}return"string"==typeof e?(a.invariant(void 0!==Et[e],"Invalid easing type '".concat(e,"'")),Et[e]):e},At=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!i.complex.test(t)||t.startsWith("url(")))},Nt=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Rt=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},It=function(){return{type:"keyframes",ease:"linear",duration:.3}},Dt=function(e){return{type:"keyframes",duration:.8,values:e}},Lt={x:Nt,y:Nt,z:Nt,rotate:Nt,rotateX:Nt,rotateY:Nt,rotateZ:Nt,scaleX:Rt,scaleY:Rt,scale:Rt,opacity:It,backgroundColor:It,color:It,default:Rt},zt=o.__assign(o.__assign({},de),{color:i.color,backgroundColor:i.color,outlineColor:i.color,fill:i.color,stroke:i.color,borderColor:i.color,borderTopColor:i.color,borderRightColor:i.color,borderBottomColor:i.color,borderLeftColor:i.color,filter:i.filter,WebkitFilter:i.filter}),Ft=function(e){return zt[e]};function Vt(e,t){var r,o=Ft(e);return o!==i.filter&&(o=i.complex),null===(r=o.getAnimatableNone)||void 0===r?void 0:r.call(o,t)}var Bt={current:!1},Wt=!1;function Ht(e,t,r){var n,i,l,s;return Array.isArray(t.to)&&(null!==(n=e.duration)&&void 0!==n||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=o.__spreadArray([],o.__read(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=o.__rest(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=o.__assign(o.__assign({},e),(i=r,l=t.to,s=Ie(l)?Dt:Lt[i]||Lt.default,o.__assign({to:l},s(l))))),o.__assign(o.__assign({},t),function(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,l=e.loop,s=o.__rest(e,["ease","times","yoyo","flip","loop"]),c=o.__assign({},s);return r&&(c.offset=r),s.duration&&(c.duration=St(s.duration)),s.repeatDelay&&(c.repeatDelay=St(s.repeatDelay)),t&&(c.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(jt):jt(t)),"tween"===s.type&&(c.type="keyframes"),(n||l||i)&&(a.warning(!Wt,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),Wt=!0,n?c.repeatType="reverse":l?c.repeatType="loop":i&&(c.repeatType="mirror"),c.repeat=l||n||i||s.repeat),"spring"!==s.type&&(c.type="keyframes"),c}(e))}function Ut(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function qt(e){return"number"==typeof e?0:Vt("",e)}function $t(e,t){return e[t]||e.default||e}function Yt(e,t,r,n){return void 0===n&&(n={}),Bt.current&&(n={type:!1}),t.start((function(i){var s,c,u=function(e,t,r,n,i){var s,c=$t(n,e),u=null!==(s=c.from)&&void 0!==s?s:t.get(),d=At(e,r);"none"===u&&d&&"string"==typeof r?u=Vt(e,r):Ut(u)&&"string"==typeof r?u=qt(r):!Array.isArray(r)&&Ut(r)&&"string"==typeof u&&(r=qt(u));var f=At(e,u);return a.warning(f===d,"You are trying to animate ".concat(e,' from "').concat(u,'" to "').concat(r,'". ').concat(u," is not an animatable value - to enable this animation set ").concat(u," to a value animatable to ").concat(r," via the `style` property.")),f&&d&&!1!==c.type?function(){var n={from:u,to:r,velocity:t.getVelocity(),onComplete:i,onUpdate:function(e){return t.set(e)}};return"inertia"===c.type||"decay"===c.type?l.inertia(o.__assign(o.__assign({},n),c)):l.animate(o.__assign(o.__assign({},Ht(c,n,e)),{onUpdate:function(e){var t;n.onUpdate(e),null===(t=c.onUpdate)||void 0===t||t.call(c,e)},onComplete:function(){var e;n.onComplete(),null===(e=c.onComplete)||void 0===e||e.call(c)}}))}:function(){var e,o,n=De(r);return t.set(n),i(),null===(e=null==c?void 0:c.onUpdate)||void 0===e||e.call(c,n),null===(o=null==c?void 0:c.onComplete)||void 0===o||o.call(c),{stop:function(){}}}}(e,t,r,n,i),d=function(e,t){var r,o;return null!==(o=null!==(r=($t(e,t)||{}).delay)&&void 0!==r?r:e.delay)&&void 0!==o?o:0}(n,e),f=function(){return c=u()};return d?s=window.setTimeout(f,St(d)):f(),function(){clearTimeout(s),null==c||c.stop()}}))}function Xt(e,t){-1===e.indexOf(t)&&e.push(t)}function Kt(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Gt=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Xt(this.subscriptions,e),function(){return Kt(t.subscriptions,e)}},e.prototype.notify=function(e,t,r){var o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](e,t,r);else for(var n=0;n<o;n++){var a=this.subscriptions[n];a&&a(e,t,r)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Zt=function(){function e(e){var t,r=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Gt,this.velocityUpdateSubscribers=new Gt,this.renderSubscribers=new Gt,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),r.prev=r.current,r.current=e;var o=s.getFrameData(),n=o.delta,a=o.timestamp;r.lastUpdated!==a&&(r.timeDelta=n,r.lastUpdated=a,h.default.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),t&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return h.default.postRender(r.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?l.velocityPerSecond(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(r){t.hasAnimated=!0,t.stopAnimation=e(r)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function Jt(e){return new Zt(e)}var Qt=function(e){return function(t){return t.test(e)}},er=[i.number,i.px,i.percent,i.degrees,i.vw,i.vh,{test:function(e){return"auto"===e},parse:function(e){return e}}],tr=function(e){return er.find(Qt(e))},rr=o.__spreadArray(o.__spreadArray([],o.__read(er),!1),[i.color,i.complex],!1),or=function(e){return rr.find(Qt(e))};function nr(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Jt(r))}function ar(e,t){var r=D(e,t),n=r?e.makeTargetAnimatable(r,!1):{},a=n.transitionEnd,i=void 0===a?{}:a;n.transition;var l=o.__rest(n,["transitionEnd","transition"]);for(var s in l=o.__assign(o.__assign({},l),i))nr(e,s,De(l[s]))}function ir(e,t){o.__spreadArray([],o.__read(t),!1).reverse().forEach((function(r){var o,n=e.getVariant(r);n&&ar(e,n),null===(o=e.variantChildren)||void 0===o||o.forEach((function(e){ir(e,t)}))}))}function lr(e,t,r){var o,n,a,l,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),c=s.length;if(c)for(var u=0;u<c;u++){var d=s[u],f=t[d],p=null;Array.isArray(f)&&(p=f[0]),null===p&&(p=null!==(n=null!==(o=r[d])&&void 0!==o?o:e.readValue(d))&&void 0!==n?n:t[d]),null!=p&&("string"==typeof p&&(/^\-?\d*\.?\d+$/.test(p)||/^0[^.\s]+$/.test(p))?p=parseFloat(p):!or(p)&&i.complex.test(f)&&(p=Vt(d,f)),e.addValue(d,Jt(p)),null!==(a=(l=r)[d])&&void 0!==a||(l[d]=p),e.setBaseTarget(d,p))}}function sr(e,t){if(t)return(t[e]||t.default||t).from}function cr(e,t,r){var o,n,a={};for(var i in e)a[i]=null!==(o=sr(i,t))&&void 0!==o?o:null===(n=r.getValue(i))||void 0===n?void 0:n.get();return a}function ur(e,t,r){var o;if(void 0===r&&(r={}),e.notifyAnimationStart(t),Array.isArray(t)){var n=t.map((function(t){return dr(e,t,r)}));o=Promise.all(n)}else if("string"==typeof t)o=dr(e,t,r);else{var a="function"==typeof t?D(e,t,r.custom):t;o=fr(e,a,r)}return o.then((function(){return e.notifyAnimationComplete(t)}))}function dr(e,t,r){var n;void 0===r&&(r={});var a=D(e,t,r.custom),i=(a||{}).transition,l=void 0===i?e.getDefaultTransition()||{}:i;r.transitionOverride&&(l=r.transitionOverride);var s=a?function(){return fr(e,a,r)}:function(){return Promise.resolve()},c=(null===(n=e.variantChildren)||void 0===n?void 0:n.size)?function(n){void 0===n&&(n=0);var a=l.delayChildren,i=void 0===a?0:a,s=l.staggerChildren,c=l.staggerDirection;return function(e,t,r,n,a,i){void 0===r&&(r=0),void 0===n&&(n=0),void 0===a&&(a=1);var l=[],s=(e.variantChildren.size-1)*n,c=1===a?function(e){return void 0===e&&(e=0),e*n}:function(e){return void 0===e&&(e=0),s-e*n};return Array.from(e.variantChildren).sort(pr).forEach((function(e,n){l.push(dr(e,t,o.__assign(o.__assign({},i),{delay:r+c(n)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(l)}(e,t,i+n,s,c,r)}:function(){return Promise.resolve()},u=l.when;if(u){var d=o.__read("beforeChildren"===u?[s,c]:[c,s],2),f=d[0],p=d[1];return f().then(p)}return Promise.all([s(),c(r.delay)])}function fr(e,t,r){var n,a=void 0===r?{}:r,i=a.delay,l=void 0===i?0:i,s=a.transitionOverride,c=a.type,u=e.makeTargetAnimatable(t),d=u.transition,f=void 0===d?e.getDefaultTransition():d,p=u.transitionEnd,h=o.__rest(u,["transition","transitionEnd"]);s&&(f=s);var b=[],g=c&&(null===(n=e.animationState)||void 0===n?void 0:n.getState()[c]);for(var m in h){var y=e.getValue(m),v=h[m];if(!(!y||void 0===v||g&&hr(g,m))){var x=o.__assign({delay:l},f);e.shouldReduceMotion&&re(m)&&(x=o.__assign(o.__assign({},x),{type:!1,delay:0}));var w=Yt(m,y,v,x);b.push(w)}}return Promise.all(b).then((function(){p&&ar(e,p)}))}function pr(e,t){return e.sortNodePosition(t)}function hr(e,t){var r=e.protectedKeys,o=e.needsAnimating,n=r.hasOwnProperty(t)&&!0!==o[t];return o[t]=!1,n}var br=[t.AnimationType.Animate,t.AnimationType.InView,t.AnimationType.Focus,t.AnimationType.Hover,t.AnimationType.Tap,t.AnimationType.Drag,t.AnimationType.Exit],gr=o.__spreadArray([],o.__read(br),!1).reverse(),mr=br.length;function yr(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var vr={animation:Ot((function(e){var r=e.visualElement,a=e.animate;r.animationState||(r.animationState=function(e){var r,n=function(e){return function(t){return Promise.all(t.map((function(t){var r=t.animation,o=t.options;return ur(e,r,o)})))}}(e),a=((r={})[t.AnimationType.Animate]=yr(!0),r[t.AnimationType.InView]=yr(),r[t.AnimationType.Hover]=yr(),r[t.AnimationType.Tap]=yr(),r[t.AnimationType.Drag]=yr(),r[t.AnimationType.Focus]=yr(),r[t.AnimationType.Exit]=yr(),r),i={},l=!0,s=function(t,r){var n=D(e,r);if(n){n.transition;var a=n.transitionEnd,i=o.__rest(n,["transition","transitionEnd"]);t=o.__assign(o.__assign(o.__assign({},t),i),a)}return t};function c(t,r){for(var c,u=e.getProps(),d=e.getVariantContext(!0)||{},f=[],p=new Set,h={},b=1/0,g=function(n){var i=gr[n],g=a[i],m=null!==(c=u[i])&&void 0!==c?c:d[i],y=R(m),v=i===r?g.isActive:null;!1===v&&(b=n);var x=m===d[i]&&m!==u[i]&&y;if(x&&l&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys=o.__assign({},h),!g.isActive&&null===v||!m&&!g.prevProp||Re(m)||"boolean"==typeof m)return"continue";var w=function(e,t){return"string"==typeof t?t!==e:!!N(t)&&!Mt(t,e)}(g.prevProp,m),O=w||i===r&&g.isActive&&!x&&y||n>b&&y,_=Array.isArray(m)?m:[m],k=_.reduce(s,{});!1===v&&(k={});var P=g.prevResolvedValues,C=void 0===P?{}:P,T=o.__assign(o.__assign({},C),k),M=function(e){O=!0,p.delete(e),g.needsAnimating[e]=!0};for(var S in T){var E=k[S],j=C[S];h.hasOwnProperty(S)||(E!==j?Ie(E)&&Ie(j)?!Mt(E,j)||w?M(S):g.protectedKeys[S]=!0:void 0!==E?M(S):p.add(S):void 0!==E&&p.has(S)?M(S):g.protectedKeys[S]=!0)}g.prevProp=m,g.prevResolvedValues=k,g.isActive&&(h=o.__assign(o.__assign({},h),k)),l&&e.blockInitialAnimation&&(O=!1),O&&!x&&f.push.apply(f,o.__spreadArray([],o.__read(_.map((function(e){return{animation:e,options:o.__assign({type:i},t)}}))),!1))},m=0;m<mr;m++)g(m);if(i=o.__assign({},h),p.size){var y={};p.forEach((function(t){var r=e.getBaseTarget(t);void 0!==r&&(y[t]=r)})),f.push({animation:y})}var v=Boolean(f.length);return l&&!1===u.initial&&!e.manuallyAnimateOnMount&&(v=!1),l=!1,v?n(f):Promise.resolve()}return{isAnimated:function(e){return void 0!==i[e]},animateChanges:c,setActive:function(t,r,o){var n;if(a[t].isActive===r)return Promise.resolve();null===(n=e.variantChildren)||void 0===n||n.forEach((function(e){var o;return null===(o=e.animationState)||void 0===o?void 0:o.setActive(t,r)})),a[t].isActive=r;var i=c(o,t);for(var l in a)a[l].protectedKeys={};return i},setAnimateFunction:function(t){n=t(e)},getState:function(){return a}}}(r)),Re(a)&&n.useEffect((function(){return a.subscribe(r)}),[a])})),exit:Ot((function(e){var r=e.custom,a=e.visualElement,i=o.__read(Tt(),2),l=i[0],s=i[1],c=n.useContext(P);n.useEffect((function(){var e,o;a.isPresent=l;var n=null===(e=a.animationState)||void 0===e?void 0:e.setActive(t.AnimationType.Exit,!l,{custom:null!==(o=null==c?void 0:c.custom)&&void 0!==o?o:r});!l&&(null==n||n.then(s))}),[l])}))},xr=function(){function e(e,t,r){var n=this,a=(void 0===r?{}:r).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){var e=_r(n.lastMoveEventInfo,n.history),t=null!==n.startEvent,r=l.distance(e.offset,{x:0,y:0})>=3;if(t||r){var a=e.point,i=s.getFrameData().timestamp;n.history.push(o.__assign(o.__assign({},a),{timestamp:i}));var c=n.handlers,u=c.onStart,d=c.onMove;t||(u&&u(n.lastMoveEvent,e),n.startEvent=n.lastMoveEvent),d&&d(n.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){n.lastMoveEvent=e,n.lastMoveEventInfo=wr(t,n.transformPagePoint),Ye(e)&&0===e.buttons?n.handlePointerUp(e,t):h.default.update(n.updatePoint,!0)},this.handlePointerUp=function(e,t){n.end();var r=n.handlers,o=r.onEnd,a=r.onSessionEnd,i=_r(wr(t,n.transformPagePoint),n.history);n.startEvent&&o&&o(e,i),a&&a(e,i)},!(Xe(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=a;var i=wr(Je(e),this.transformPagePoint),c=i.point,u=s.getFrameData().timestamp;this.history=[o.__assign(o.__assign({},c),{timestamp:u})];var d=t.onSessionStart;d&&d(e,_r(i,this.history)),this.removeListeners=l.pipe(ot(window,"pointermove",this.handlePointerMove),ot(window,"pointerup",this.handlePointerUp),ot(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),s.cancelSync.update(this.updatePoint)},e}();function wr(e,t){return t?{point:t(e.point)}:e}function Or(e,t){return{x:e.x-t.x,y:e.y-t.y}}function _r(e,t){var r=e.point;return{point:r,delta:Or(r,Pr(t)),offset:Or(r,kr(t)),velocity:Cr(t,.1)}}function kr(e){return e[0]}function Pr(e){return e[e.length-1]}function Cr(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,o=null,n=Pr(e);r>=0&&(o=e[r],!(n.timestamp-o.timestamp>St(t)));)r--;if(!o)return{x:0,y:0};var a=(n.timestamp-o.timestamp)/1e3;if(0===a)return{x:0,y:0};var i={x:(n.x-o.x)/a,y:(n.y-o.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Tr(e){return e.max-e.min}function Mr(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=.01),l.distance(e,t)<r}function Sr(e,t,r,o){void 0===o&&(o=.5),e.origin=o,e.originPoint=l.mix(t.min,t.max,e.origin),e.scale=Tr(r)/Tr(t),(Mr(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=l.mix(r.min,r.max,e.origin)-e.originPoint,(Mr(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Er(e,t,r,o){Sr(e.x,t.x,r.x,null==o?void 0:o.originX),Sr(e.y,t.y,r.y,null==o?void 0:o.originY)}function jr(e,t,r){e.min=r.min+t.min,e.max=e.min+Tr(t)}function Ar(e,t,r){e.min=t.min-r.min,e.max=e.min+Tr(t)}function Nr(e,t,r){Ar(e.x,t.x,r.x),Ar(e.y,t.y,r.y)}function Rr(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function Ir(e,t){var r,n=t.min-e.min,a=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=(r=o.__read([a,n],2))[0],a=r[1]),{min:n,max:a}}var Dr=.35;function Lr(e,t,r){return{min:zr(e,t),max:zr(e,r)}}function zr(e,t){var r;return"number"==typeof e?e:null!==(r=e[t])&&void 0!==r?r:0}var Fr=function(){return{x:{min:0,max:0},y:{min:0,max:0}}};function Vr(e){return[e("x"),e("y")]}function Br(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function Wr(e){return void 0===e||1===e}function Hr(e){var t=e.scale,r=e.scaleX,o=e.scaleY;return!Wr(t)||!Wr(r)||!Wr(o)}function Ur(e){return Hr(e)||qr(e.x)||qr(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function qr(e){return e&&"0%"!==e}function $r(e,t,r){return r+t*(e-r)}function Yr(e,t,r,o,n){return void 0!==n&&(e=$r(e,n,o)),$r(e,r,o)+t}function Xr(e,t,r,o,n){void 0===t&&(t=0),void 0===r&&(r=1),e.min=Yr(e.min,t,r,o,n),e.max=Yr(e.max,t,r,o,n)}function Kr(e,t){var r=t.x,o=t.y;Xr(e.x,r.translate,r.scale,r.originPoint),Xr(e.y,o.translate,o.scale,o.originPoint)}function Gr(e,t){e.min=e.min+t,e.max=e.max+t}function Zr(e,t,r){var n=o.__read(r,3),a=n[0],i=n[1],s=n[2],c=void 0!==t[s]?t[s]:.5,u=l.mix(e.min,e.max,c);Xr(e,t[a],t[i],u,t.scale)}var Jr=["x","scaleX","originX"],Qr=["y","scaleY","originY"];function eo(e,t){Zr(e.x,t,Jr),Zr(e.y,t,Qr)}function to(e,t){return Br(function(e,t){if(!t)return e;var r=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:o.y,right:o.x}}(e.getBoundingClientRect(),t))}var ro=new WeakMap,oo=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}return e.prototype.start=function(e,r){var o=this,n=(void 0===r?{}:r).snapToCursor,a=void 0!==n&&n;!1!==this.visualElement.isPresent&&(this.panSession=new xr(e,{onSessionStart:function(e){o.stopAnimation(),a&&o.snapToCursor(Je(e,"page").point)},onStart:function(e,r){var n,a=o.getProps(),l=a.drag,s=a.dragPropagation,c=a.onDragStart;(!l||s||(o.openGlobalLock&&o.openGlobalLock(),o.openGlobalLock=st(l),o.openGlobalLock))&&(o.isDragging=!0,o.currentDirection=null,o.resolveConstraints(),o.visualElement.projection&&(o.visualElement.projection.isAnimationBlocked=!0,o.visualElement.projection.target=void 0),Vr((function(e){var t,r,n=o.getAxisMotionValue(e).get()||0;if(i.percent.test(n)){var a=null===(r=null===(t=o.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];a&&(n=Tr(a)*(parseFloat(n)/100))}o.originPoint[e]=n})),null==c||c(e,r),null===(n=o.visualElement.animationState)||void 0===n||n.setActive(t.AnimationType.Drag,!0))},onMove:function(e,t){var r=o.getProps(),n=r.dragPropagation,a=r.dragDirectionLock,i=r.onDirectionLock,l=r.onDrag;if(n||o.openGlobalLock){var s=t.offset;if(a&&null===o.currentDirection)return o.currentDirection=function(e,t){void 0===t&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(s),void(null!==o.currentDirection&&(null==i||i(o.currentDirection)));o.updateAxis("x",t.point,s),o.updateAxis("y",t.point,s),o.visualElement.syncRender(),null==l||l(e,t)}},onSessionEnd:function(e,t){return o.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},e.prototype.stop=function(e,t){var r=this.isDragging;if(this.cancel(),r){var o=t.velocity;this.startAnimation(o);var n=this.getProps().onDragEnd;null==n||n(e,t)}},e.prototype.cancel=function(){var e,r;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(r=this.visualElement.animationState)||void 0===r||r.setActive(t.AnimationType.Drag,!1)},e.prototype.updateAxis=function(e,t,r){var o=this.getProps().drag;if(r&&no(e,o,this.currentDirection)){var n,a,i,s,c,u=this.getAxisMotionValue(e),d=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(n=d,a=this.constraints[e],i=this.elastic[e],s=a.min,c=a.max,void 0!==s&&n<s?n=i?l.mix(s,n,i.min):Math.max(n,s):void 0!==c&&n>c&&(n=i?l.mix(c,n,i.max):Math.min(n,c)),d=n),u.set(d)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),r=t.dragConstraints,o=t.dragElastic,n=(this.visualElement.projection||{}).layout,a=this.constraints;r&&A(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!r||!n)&&function(e,t){var r=t.top,o=t.left,n=t.bottom,a=t.right;return{x:Rr(e.x,o,a),y:Rr(e.y,r,n)}}(n.actual,r),this.elastic=function(e){return void 0===e&&(e=Dr),!1===e?e=0:!0===e&&(e=Dr),{x:Lr(e,"left","right"),y:Lr(e,"top","bottom")}}(o),a!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Vr((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(n.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,r=e.onMeasureDragConstraints;if(!t||!A(t))return!1;var o=t.current;a.invariant(null!==o,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var n=this.visualElement.projection;if(!n||!n.layout)return!1;var i=function(e,t,r){var o=to(e,r),n=t.scroll;return n&&(Gr(o.x,n.x),Gr(o.y,n.y)),o}(o,n.root,this.visualElement.getTransformPagePoint()),l=function(e,t){return{x:Ir(e.x,t.x),y:Ir(e.y,t.y)}}(n.layout.actual,i);if(r){var s=r(function(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}(l));this.hasMutatedConstraints=!!s,s&&(l=Br(s))}return l},e.prototype.startAnimation=function(e){var t=this,r=this.getProps(),n=r.drag,a=r.dragMomentum,i=r.dragElastic,l=r.dragTransition,s=r.dragSnapToOrigin,c=r.onDragTransitionEnd,u=this.constraints||{},d=Vr((function(r){var c;if(no(r,n,t.currentDirection)){var d=null!==(c=null==u?void 0:u[r])&&void 0!==c?c:{};s&&(d={min:0,max:0});var f=i?200:1e6,p=i?40:1e7,h=o.__assign(o.__assign({type:"inertia",velocity:a?e[r]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},l),d);return t.startAxisValueAnimation(r,h)}}));return Promise.all(d).then(c)},e.prototype.startAxisValueAnimation=function(e,t){return Yt(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;Vr((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,r,o="_drag"+e.toUpperCase();return this.visualElement.getProps()[o]||this.visualElement.getValue(e,null!==(r=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==r?r:0)},e.prototype.snapToCursor=function(e){var t=this;Vr((function(r){if(no(r,t.getProps().drag,t.currentDirection)){var o=t.visualElement.projection,n=t.getAxisMotionValue(r);if(o&&o.layout){var a=o.layout.actual[r],i=a.min,s=a.max;n.set(e[r]-l.mix(i,s,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,r=this.getProps(),o=r.drag,n=r.dragConstraints,a=this.visualElement.projection;if(A(n)&&a&&this.constraints){this.stopAnimation();var i={x:0,y:0};Vr((function(e){var r,o,n,a,s,c=t.getAxisMotionValue(e);if(c){var u=c.get();i[e]=(r={min:u,max:u},o=t.constraints[e],n=.5,a=Tr(r),(s=Tr(o))>a?n=l.progress(o.min,o.max-a,r.min):a>s&&(n=l.progress(r.min,r.max-s,o.min)),l.clamp(0,1,n))}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(e=a.root)||void 0===e||e.updateScroll(),a.updateLayout(),this.resolveConstraints(),Vr((function(e){if(no(e,o,null)){var r=t.getAxisMotionValue(e),n=t.constraints[e],a=n.min,s=n.max;r.set(l.mix(a,s,i[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;ro.set(this.visualElement,this);var r=ot(this.visualElement.getInstance(),"pointerdown",(function(e){var r=t.getProps(),o=r.drag,n=r.dragListener;o&&(void 0===n||n)&&t.start(e)})),o=function(){A(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},n=this.visualElement.projection,a=n.addEventListener("measure",o);n&&!n.layout&&(null===(e=n.root)||void 0===e||e.updateScroll(),n.updateLayout()),o();var i=qe(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return n.addEventListener("didUpdate",(function(e){var r=e.delta,o=e.hasLayoutChanged;t.isDragging&&o&&(Vr((function(e){var o=t.getAxisMotionValue(e);o&&(t.originPoint[e]+=r[e].translate,o.set(o.get()+r[e].translate))})),t.visualElement.syncRender())})),function(){i(),r(),a()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,r=void 0!==t&&t,n=e.dragDirectionLock,a=void 0!==n&&n,i=e.dragPropagation,l=void 0!==i&&i,s=e.dragConstraints,c=void 0!==s&&s,u=e.dragElastic,d=void 0===u?Dr:u,f=e.dragMomentum,p=void 0===f||f;return o.__assign(o.__assign({},e),{drag:r,dragDirectionLock:a,dragPropagation:l,dragConstraints:c,dragElastic:d,dragMomentum:p})},e}();function no(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}var ao={pan:Ot((function(e){var t=e.onPan,r=e.onPanStart,o=e.onPanEnd,a=e.onPanSessionStart,i=e.visualElement,l=t||r||o||a,s=n.useRef(null),c=n.useContext(O).transformPagePoint,u={onSessionStart:a,onStart:r,onMove:t,onEnd:function(e,t){s.current=null,o&&o(e,t)}};n.useEffect((function(){null!==s.current&&s.current.updateHandlers(u)})),nt(i,"pointerdown",l&&function(e){s.current=new xr(e,u,{transformPagePoint:c})}),ft((function(){return s.current&&s.current.end()}))})),drag:Ot((function(e){var t=e.dragControls,r=e.visualElement,o=V((function(){return new oo(r)}));n.useEffect((function(){return t&&t.subscribe(o)}),[o,t]),n.useEffect((function(){return o.addListeners()}),[o])}))},io=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],lo=function(e){var t=e.treeType,r=void 0===t?"":t,n=e.build,a=e.getBaseTarget,i=e.makeTargetAnimatable,l=e.measureViewportBox,c=e.render,u=e.readValueFromInstance,d=e.removeValueFromRenderState,f=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(e,t){var b=e.parent,g=e.props,m=e.presenceId,y=e.blockInitialAnimation,v=e.visualState,x=e.shouldReduceMotion;void 0===t&&(t={});var w,O,_=!1,k=v.latestValues,P=v.renderState,C=function(){var e=io.map((function(){return new Gt})),t={},r={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){io.forEach((function(o){var n,a="on"+o,i=e[a];null===(n=t[o])||void 0===n||n.call(t),i&&(t[o]=r[a](i))}))}};return e.forEach((function(e,t){r["on"+io[t]]=function(t){return e.add(t)},r["notify"+io[t]]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.notify.apply(e,o.__spreadArray([],o.__read(t),!1))}})),r}(),T=new Map,M=new Map,S={},E=o.__assign({},k);function j(){w&&_&&(A(),c(w,P,g.style,H.projection))}function A(){n(H,P,k,t,g)}function N(){C.notifyUpdate(k)}function I(e,t){var r=t.onChange((function(t){k[e]=t,g.onUpdate&&h.default.update(N,!1,!0)})),o=t.onRenderRequest(H.scheduleRender);M.set(e,(function(){r(),o()}))}var D=p(g);for(var F in D){var V=D[F];void 0!==k[F]&&ie(V)&&V.set(k[F],!1)}var B=L(g),W=z(g),H=o.__assign(o.__assign({treeType:r,current:null,depth:b?b.depth+1:0,parent:b,children:new Set,presenceId:m,shouldReduceMotion:x,variantChildren:W?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==b?void 0:b.isMounted()),blockInitialAnimation:y,isMounted:function(){return Boolean(w)},mount:function(e){_=!0,w=H.current=e,H.projection&&H.projection.mount(e),W&&b&&!B&&(O=null==b?void 0:b.addVariantChild(H)),T.forEach((function(e,t){return I(t,e)})),null==b||b.children.add(H),H.setProps(g)},unmount:function(){var e;null===(e=H.projection)||void 0===e||e.unmount(),s.cancelSync.update(N),s.cancelSync.render(j),M.forEach((function(e){return e()})),null==O||O(),null==b||b.children.delete(H),C.clearAllListeners(),w=void 0,_=!1},addVariantChild:function(e){var t,r=H.getClosestVariantNode();if(r)return null===(t=r.variantChildren)||void 0===t||t.add(e),function(){return r.variantChildren.delete(e)}},sortNodePosition:function(e){return f&&r===e.treeType?f(H.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return W?H:null==b?void 0:b.getClosestVariantNode()},getLayoutId:function(){return g.layoutId},getInstance:function(){return w},getStaticValue:function(e){return k[e]},setStaticValue:function(e,t){return k[e]=t},getLatestValues:function(){return k},setVisibility:function(e){H.isVisible!==e&&(H.isVisible=e,H.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(H,e,g,t)},measureViewportBox:function(){return l(w,g)},addValue:function(e,t){H.hasValue(e)&&H.removeValue(e),T.set(e,t),k[e]=t.get(),I(e,t)},removeValue:function(e){var t;T.delete(e),null===(t=M.get(e))||void 0===t||t(),M.delete(e),delete k[e],d(e,P)},hasValue:function(e){return T.has(e)},getValue:function(e,t){var r=T.get(e);return void 0===r&&void 0!==t&&(r=Jt(t),H.addValue(e,r)),r},forEachValue:function(e){return T.forEach(e)},readValue:function(e){var r;return null!==(r=k[e])&&void 0!==r?r:u(w,e,t)},setBaseTarget:function(e,t){E[e]=t},getBaseTarget:function(e){if(a){var t=a(g,e);if(void 0!==t&&!ie(t))return t}return E[e]}},C),{build:function(){return A(),P},scheduleRender:function(){h.default.render(j,!1,!0)},syncRender:j,setProps:function(e){(e.transformTemplate||g.transformTemplate)&&H.scheduleRender(),g=e,C.updatePropListeners(e),S=function(e,t,r){var o;for(var n in t){var a=t[n],i=r[n];if(ie(a))e.addValue(n,a);else if(ie(i))e.addValue(n,Jt(a));else if(i!==a)if(e.hasValue(n)){var l=e.getValue(n);!l.hasAnimated&&l.set(a)}else e.addValue(n,Jt(null!==(o=e.getStaticValue(n))&&void 0!==o?o:a))}for(var n in r)void 0===t[n]&&e.removeValue(n);return t}(H,p(g),S)},getProps:function(){return g},getVariant:function(e){var t;return null===(t=g.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return g.transition},getTransformPagePoint:function(){return g.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==b?void 0:b.getVariantContext();if(!B){var t=(null==b?void 0:b.getVariantContext())||{};return void 0!==g.initial&&(t.initial=g.initial),t}for(var r={},o=0;o<co;o++){var n=so[o],a=g[n];(R(a)||!1===a)&&(r[n]=a)}return r}});return H}},so=o.__spreadArray(["initial"],o.__read(br),!1),co=so.length;function uo(e){return"string"==typeof e&&e.startsWith("var(--")}var fo=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function po(e,t,r){void 0===r&&(r=1),a.invariant(r<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'));var n=o.__read(function(e){var t=fo.exec(e);if(!t)return[,];var r=o.__read(t,3);return[r[1],r[2]]}(e),2),i=n[0],l=n[1];if(i){var s=window.getComputedStyle(t).getPropertyValue(i);return s?s.trim():uo(l)?po(l,t,r+1):l}}var ho,bo=new Set(["width","height","top","left","right","bottom","x","y"]),go=function(e){return bo.has(e)},mo=function(e,t){e.set(t,!1),e.set(t)},yo=function(e){return e===i.number||e===i.px};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(ho||(ho={}));var vo=function(e,t){return parseFloat(e.split(", ")[t])},xo=function(e,t){return function(r,o){var n=o.transform;if("none"===n||!n)return 0;var a=n.match(/^matrix3d\((.+)\)$/);if(a)return vo(a[1],t);var i=n.match(/^matrix\((.+)\)$/);return i?vo(i[1],e):0}},wo=new Set(["x","y","z"]),Oo=Q.filter((function(e){return!wo.has(e)})),_o={width:function(e,t){var r=e.x,o=t.paddingLeft,n=void 0===o?"0":o,a=t.paddingRight,i=void 0===a?"0":a;return r.max-r.min-parseFloat(n)-parseFloat(i)},height:function(e,t){var r=e.y,o=t.paddingTop,n=void 0===o?"0":o,a=t.paddingBottom,i=void 0===a?"0":a;return r.max-r.min-parseFloat(n)-parseFloat(i)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,o=t.top;return parseFloat(o)+(r.max-r.min)},right:function(e,t){var r=e.x,o=t.left;return parseFloat(o)+(r.max-r.min)},x:xo(4,13),y:xo(5,14)};function ko(e,t,r,n){return function(e){return Object.keys(e).some(go)}(t)?function(e,t,r,n){void 0===r&&(r={}),void 0===n&&(n={}),t=o.__assign({},t),n=o.__assign({},n);var l=Object.keys(t).filter(go),s=[],c=!1,u=[];if(l.forEach((function(o){var l=e.getValue(o);if(e.hasValue(o)){var d,f=r[o],p=tr(f),h=t[o];if(Ie(h)){var b=h.length,g=null===h[0]?1:0;f=h[g],p=tr(f);for(var m=g;m<b;m++)d?a.invariant(tr(h[m])===d,"All keyframes must be of the same type"):(d=tr(h[m]),a.invariant(d===p||yo(p)&&yo(d),"Keyframes must be of the same dimension as the current value"))}else d=tr(h);if(p!==d)if(yo(p)&&yo(d)){var y=l.get();"string"==typeof y&&l.set(parseFloat(y)),"string"==typeof h?t[o]=parseFloat(h):Array.isArray(h)&&d===i.px&&(t[o]=h.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==d?void 0:d.transform)&&(0===f||0===h)?0===f?l.set(d.transform(f)):t[o]=p.transform(h):(c||(s=function(e){var t=[];return Oo.forEach((function(r){var o=e.getValue(r);void 0!==o&&(t.push([r,o.get()]),o.set(r.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),c=!0),u.push(o),n[o]=void 0!==n[o]?n[o]:t[o],mo(l,h))}})),u.length){var d=u.indexOf("height")>=0?window.pageYOffset:null,f=function(e,t,r){var o=t.measureViewportBox(),n=t.getInstance(),a=getComputedStyle(n),i=a.display,l={};"none"===i&&t.setStaticValue("display",e.display||"block"),r.forEach((function(e){l[e]=_o[e](o,a)})),t.syncRender();var s=t.measureViewportBox();return r.forEach((function(r){var o=t.getValue(r);mo(o,l[r]),e[r]=_o[r](s,a)})),e}(t,e,u);return s.length&&s.forEach((function(t){var r=o.__read(t,2),n=r[0],a=r[1];e.getValue(n).set(a)})),e.syncRender(),null!==d&&window.scrollTo({top:d}),{target:f,transitionEnd:n}}return{target:t,transitionEnd:n}}(e,t,r,n):{target:t,transitionEnd:n}}var Po={treeType:"dom",readValueFromInstance:function(e,t){if(re(t)){var r=Ft(t);return r&&r.default||0}var o,n=(o=e,window.getComputedStyle(o));return(se(t)?n.getPropertyValue(t):n[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var r;return null===(r=e.style)||void 0===r?void 0:r[t]},measureViewportBox:function(e,t){return to(e,t.transformPagePoint)},resetTransform:function(e,t,r){var o=r.transformTemplate;t.style.transform=o?o({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,o=t.style;delete r[e],delete o[e]},makeTargetAnimatable:function(e,t,r,n){var a=r.transformValues;void 0===n&&(n=!0);var i=t.transition,l=t.transitionEnd,s=o.__rest(t,["transition","transitionEnd"]),c=cr(s,i||{},e);if(a&&(l&&(l=a(l)),s&&(s=a(s)),c&&(c=a(c))),n){lr(e,s,c);var u=function(e,t,r,n){var a=function(e,t,r){var n,a=o.__rest(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:a,transitionEnd:r};for(var l in r&&(r=o.__assign({},r)),e.forEachValue((function(e){var t=e.get();if(uo(t)){var r=po(t,i);r&&e.set(r)}})),a){var s=a[l];if(uo(s)){var c=po(s,i);c&&(a[l]=c,r&&(null!==(n=r[l])&&void 0!==n||(r[l]=s)))}}return{target:a,transitionEnd:r}}(e,t,n);return ko(e,t=a.target,r,n=a.transitionEnd)}(e,s,c,l);l=u.transitionEnd,s=u.target}return o.__assign({transition:i,transitionEnd:l},s)},scrapeMotionValuesFromProps:Ae,build:function(e,t,r,o,n){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),fe(t,r,o,n.transformTemplate)},render:Se},Co=lo(Po),To=lo(o.__assign(o.__assign({},Po),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return re(t)?(null===(r=Ft(t))||void 0===r?void 0:r.default)||0:(t=Ee.has(t)?t:Me(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Ne,build:function(e,t,r,o,n){_e(t,r,o,n.transformTemplate)},render:je})),Mo=function(e,t){return K(e)?To(t,{enableHardwareAcceleration:!1}):Co(t,{enableHardwareAcceleration:!0})};function So(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Eo={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!i.px.test(e))return e;e=parseFloat(e)}var r=So(e,t.target.x),o=So(e,t.target.y);return"".concat(r,"% ").concat(o,"%")}},jo="_$css",Ao={correct:function(e,t){var r=t.treeScale,o=t.projectionDelta,n=e,a=e.includes("var("),s=[];a&&(e=e.replace(fo,(function(e){return s.push(e),jo})));var c=i.complex.parse(e);if(c.length>5)return n;var u=i.complex.createTransformer(e),d="number"!=typeof c[0]?1:0,f=o.x.scale*r.x,p=o.y.scale*r.y;c[0+d]/=f,c[1+d]/=p;var h=l.mix(f,p,.5);"number"==typeof c[2+d]&&(c[2+d]/=h),"number"==typeof c[3+d]&&(c[3+d]/=h);var b=u(c);if(a){var g=0;b=b.replace(jo,(function(){var e=s[g];return g++,e}))}return b}},No=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,r=t.visualElement,n=t.layoutGroup,a=t.switchLayoutGroup,i=t.layoutId,l=r.projection;Z(Ro),l&&((null==n?void 0:n.group)&&n.group.add(l),(null==a?void 0:a.register)&&i&&a.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",(function(){e.safeToRemove()})),l.setOptions(o.__assign(o.__assign({},l.options),{onExitComplete:function(){return e.safeToRemove()}}))),B.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,r=this.props,o=r.layoutDependency,n=r.visualElement,a=r.drag,i=r.isPresent,l=n.projection;return l?(l.isPresent=i,a||e.layoutDependency!==o||void 0===o?l.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?l.promote():l.relegate()||h.default.postRender((function(){var e;(null===(e=l.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,r=e.layoutGroup,o=e.switchLayoutGroup,n=t.projection;n&&(n.scheduleCheckAfterUnmount(),(null==r?void 0:r.group)&&r.group.remove(n),(null==o?void 0:o.deregister)&&o.deregister(n))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(p.default.Component),Ro={borderRadius:o.__assign(o.__assign({},Eo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Eo,borderTopRightRadius:Eo,borderBottomLeftRadius:Eo,borderBottomRightRadius:Eo,boxShadow:Ao},Io={measureLayout:function(e){var t=o.__read(Tt(),2),r=t[0],a=t[1],i=n.useContext(H);return p.default.createElement(No,o.__assign({},e,{layoutGroup:i,switchLayoutGroup:n.useContext(U),isPresent:r,safeToRemove:a}))}};function Do(e,t,r){void 0===r&&(r={});var o=ie(e)?e:Jt(e);return Yt("",o,t,r),{stop:function(){return o.stop()},isAnimating:function(){return o.isAnimating()}}}var Lo=["TopLeft","TopRight","BottomLeft","BottomRight"],zo=Lo.length,Fo=function(e){return"string"==typeof e?parseFloat(e):e},Vo=function(e){return"number"==typeof e||i.px.test(e)};function Bo(e,t){var r;return null!==(r=e[t])&&void 0!==r?r:e.borderRadius}var Wo=Uo(0,.5,l.circOut),Ho=Uo(.5,.95,l.linear);function Uo(e,t,r){return function(o){return o<e?0:o>t?1:r(l.progress(e,t,o))}}function qo(e,t){e.min=t.min,e.max=t.max}function $o(e,t){qo(e.x,t.x),qo(e.y,t.y)}function Yo(e,t,r,o,n){return e=$r(e-=t,1/r,o),void 0!==n&&(e=$r(e,1/n,o)),e}function Xo(e,t,r,n,a){var s=o.__read(r,3),c=s[0],u=s[1],d=s[2];!function(e,t,r,o,n,a,s){if(void 0===t&&(t=0),void 0===r&&(r=1),void 0===o&&(o=.5),void 0===a&&(a=e),void 0===s&&(s=e),i.percent.test(t)&&(t=parseFloat(t),t=l.mix(s.min,s.max,t/100)-s.min),"number"==typeof t){var c=l.mix(a.min,a.max,o);e===a&&(c-=t),e.min=Yo(e.min,t,r,c,n),e.max=Yo(e.max,t,r,c,n)}}(e,t[c],t[u],t[d],t.scale,n,a)}var Ko=["x","scaleX","originX"],Go=["y","scaleY","originY"];function Zo(e,t,r,o){Xo(e.x,t,Ko,null==r?void 0:r.x,null==o?void 0:o.x),Xo(e.y,t,Go,null==r?void 0:r.y,null==o?void 0:o.y)}function Jo(e){return 0===e.translate&&1===e.scale}function Qo(e){return Jo(e.x)&&Jo(e.y)}function en(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var tn=function(){function e(){this.members=[]}return e.prototype.add=function(e){Xt(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(Kt(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,r=this.members.findIndex((function(t){return e===t}));if(0===r)return!1;for(var o=r;o>=0;o--){var n=this.members[o];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var r,o=this.lead;e!==o&&(this.prevLead=o,this.lead=e,e.show(),o&&(o.instance&&o.scheduleRender(),e.scheduleRender(),e.resumeFrom=o,t&&(e.resumeFrom.preserveOpacity=!0),o.snapshot&&(e.snapshot=o.snapshot,e.snapshot.latestValues=o.animationValues||o.latestValues,e.snapshot.isShared=!0),(null===(r=e.root)||void 0===r?void 0:r.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&o.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,r,o,n,a;null===(r=(t=e.options).onExitComplete)||void 0===r||r.call(t),null===(a=null===(o=e.resumingFrom)||void 0===o?void 0:(n=o.options).onExitComplete)||void 0===a||a.call(n)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}();function rn(e,t,r){var o=e.x.translate/t.x,n=e.y.translate/t.y,a="translate3d(".concat(o,"px, ").concat(n,"px, 0) ");if(a+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),r){var i=r.rotate,l=r.rotateX,s=r.rotateY;i&&(a+="rotate(".concat(i,"deg) ")),l&&(a+="rotateX(".concat(l,"deg) ")),s&&(a+="rotateY(".concat(s,"deg) "))}var c=e.x.scale*t.x,u=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(a+="scale(".concat(c,", ").concat(u,")"))?"none":a}var on=function(e,t){return e.depth-t.depth},nn=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Xt(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Kt(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(on),this.isDirty=!1,this.children.forEach(e)},e}();function an(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,a=e.checkIsScrollRoot,c=e.resetTransform;return function(){function e(e,t,n){var a=this;void 0===t&&(t={}),void 0===n&&(n=null==r?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){a.isUpdating&&(a.isUpdating=!1,a.clearAllSnapshots())},this.updateProjection=function(){a.nodes.forEach(pn),a.nodes.forEach(hn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?o.__spreadArray(o.__spreadArray([],o.__read(n.path),!1),[n],!1):[],this.parent=n,this.depth=n?n.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var i=0;i<this.path.length;i++)this.path[i].shouldResetTransform=!0;this.root===this&&(this.nodes=new nn)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Gt),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=this.eventHandlers.get(e);null==n||n.notify.apply(n,o.__spreadArray([],o.__read(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,r){var n,a=this;if(void 0===r&&(r=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var i=this.options,l=i.layoutId,s=i.layout,c=i.visualElement;if(c&&!c.getInstance()&&c.mount(e),this.root.nodes.add(this),null===(n=this.parent)||void 0===n||n.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),r&&(s||l)&&(this.isLayoutDirty=!0),t){var u,d=function(){return a.root.updateBlockedByResize=!1};t(e,(function(){a.root.updateBlockedByResize=!0,clearTimeout(u),u=window.setTimeout(d,250),B.hasAnimatedSinceResize&&(B.hasAnimatedSinceResize=!1,a.nodes.forEach(fn))}))}l&&this.root.registerSharedNode(l,this),!1!==this.options.animate&&c&&(l||s)&&this.addEventListener("didUpdate",(function(e){var t,r,n,i,l,s=e.delta,u=e.hasLayoutChanged,d=e.hasRelativeTargetChanged,f=e.layout;if(a.isTreeAnimationBlocked())return a.target=void 0,void(a.relativeTarget=void 0);var p=null!==(r=null!==(t=a.options.transition)&&void 0!==t?t:c.getDefaultTransition())&&void 0!==r?r:xn,h=c.getProps(),b=h.onLayoutAnimationStart,g=h.onLayoutAnimationComplete,m=!a.targetLayout||!en(a.targetLayout,f)||d,y=!u&&d;if((null===(n=a.resumeFrom)||void 0===n?void 0:n.instance)||y||u&&(m||!a.currentAnimation)){a.resumeFrom&&(a.resumingFrom=a.resumeFrom,a.resumingFrom.resumingFrom=void 0),a.setAnimationOrigin(s,y);var v=o.__assign(o.__assign({},$t(p,"layout")),{onPlay:b,onComplete:g});c.shouldReduceMotion&&(v.delay=0,v.type=!1),a.startAnimation(v)}else u||0!==a.animationProgress||a.finishAnimation(),a.isLead()&&(null===(l=(i=a.options).onExitComplete)||void 0===l||l.call(i));a.targetLayout=f}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,s.cancelSync.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(bn))},e.prototype.willUpdate=function(e){var t,r,o;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(r=(t=this.options).onExitComplete)||void 0===r||r.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var n=0;n<this.path.length;n++){var a=this.path[n];a.shouldResetTransform=!0,a.updateScroll()}var i=this.options,l=i.layoutId,s=i.layout;if(void 0!==l||s){var c=null===(o=this.options.visualElement)||void 0===o?void 0:o.getProps().transformTemplate;this.prevTransformTemplateValue=null==c?void 0:c(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(un);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(wn),this.potentialNodes.clear()),this.nodes.forEach(dn),this.nodes.forEach(ln),this.nodes.forEach(sn),this.clearAllSnapshots(),s.flushSync.update(),s.flushSync.preRender(),s.flushSync.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(cn),this.sharedNodes.forEach(gn)},e.prototype.scheduleUpdateProjection=function(){h.default.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;h.default.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));kn(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++)this.path[t].updateScroll();var r=this.measure();kn(r);var o=this.layout;this.layout={measured:r,actual:this.removeElementScroll(r)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==o?void 0:o.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=a(this.instance),this.scroll=n(this.instance))},e.prototype.resetTransform=function(){var e;if(c){var t=this.isLayoutDirty||this.shouldResetTransform,r=this.projectionDelta&&!Qo(this.projectionDelta),o=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,n=null==o?void 0:o(this.latestValues,""),a=n!==this.prevTransformTemplateValue;t&&(r||Ur(this.latestValues)||a)&&(c(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};var t=e.measureViewportBox(),r=this.root.scroll;return r&&(Gr(t.x,r.x),Gr(t.y,r.y)),t},e.prototype.removeElementScroll=function(e){var t={x:{min:0,max:0},y:{min:0,max:0}};$o(t,e);for(var r=0;r<this.path.length;r++){var o=this.path[r],n=o.scroll,a=o.options,i=o.isScrollRoot;if(o!==this.root&&n&&a.layoutScroll){if(i){$o(t,e);var l=this.root.scroll;l&&(Gr(t.x,-l.x),Gr(t.y,-l.y))}Gr(t.x,n.x),Gr(t.y,n.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var r={x:{min:0,max:0},y:{min:0,max:0}};$o(r,e);for(var o=0;o<this.path.length;o++){var n=this.path[o];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&eo(r,{x:-n.scroll.x,y:-n.scroll.y}),Ur(n.latestValues)&&eo(r,n.latestValues)}return Ur(this.latestValues)&&eo(r,this.latestValues),r},e.prototype.removeTransform=function(e){var t,r={x:{min:0,max:0},y:{min:0,max:0}};$o(r,e);for(var o=0;o<this.path.length;o++){var n=this.path[o];if(n.instance&&Ur(n.latestValues)){Hr(n.latestValues)&&n.updateSnapshot();var a={x:{min:0,max:0},y:{min:0,max:0}};$o(a,n.measure()),Zo(r,n.latestValues,null===(t=n.snapshot)||void 0===t?void 0:t.layout,a)}}return Ur(this.latestValues)&&Zo(r,this.latestValues),r},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=o.__assign(o.__assign(o.__assign({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,r,o,n=this.options,a=n.layout,i=n.layoutId;this.layout&&(a||i)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Nr(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),$o(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,r=this.relativeTarget,o=this.relativeParent.target,jr(t.x,r.x,o.x),jr(t.y,r.y,o.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):$o(this.target,this.layout.actual),Kr(this.target,this.targetDelta)):$o(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Nr(this.relativeTargetOrigin,this.target,this.relativeParent.target),$o(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!Ur(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,r=t.layout,o=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(r||o)){var n=this.getLead();$o(this.layoutCorrected,this.layout.actual),function(e,t,r,o){var n,a;void 0===o&&(o=!1);var i=r.length;if(i){var l,s;t.x=t.y=1;for(var c=0;c<i;c++)s=(l=r[c]).projectionDelta,"contents"!==(null===(a=null===(n=l.instance)||void 0===n?void 0:n.style)||void 0===a?void 0:a.display)&&(o&&l.options.layoutScroll&&l.scroll&&l!==l.root&&eo(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Kr(e,s)),o&&Ur(l.latestValues)&&eo(e,l.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==n);var a=n.target;if(a){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var i=this.treeScale.x,l=this.treeScale.y,s=this.projectionTransform;Er(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.projectionTransform=rn(this.projectionDelta,this.treeScale),this.projectionTransform===s&&this.treeScale.x===i&&this.treeScale.y===l||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,r,o;void 0===e&&(e=!0),null===(r=(t=this.options).scheduleRender)||void 0===r||r.call(t),e&&(null===(o=this.getStack())||void 0===o||o.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var r,n=this;void 0===t&&(t=!1);var a=this.snapshot,s=(null==a?void 0:a.latestValues)||{},c=o.__assign({},this.latestValues),u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var d={x:{min:0,max:0},y:{min:0,max:0}},f=null==a?void 0:a.isShared,p=((null===(r=this.getStack())||void 0===r?void 0:r.members.length)||0)<=1,h=Boolean(f&&!p&&!0===this.options.crossfade&&!this.path.some(vn));this.animationProgress=0,this.mixTargetDelta=function(t){var r,o,a,b,g,m=t/1e3;mn(u.x,e.x,m),mn(u.y,e.y,m),n.setTargetDelta(u),n.relativeTarget&&n.relativeTargetOrigin&&n.layout&&(null===(r=n.relativeParent)||void 0===r?void 0:r.layout)&&(Nr(d,n.layout.actual,n.relativeParent.layout.actual),o=n.relativeTarget,a=n.relativeTargetOrigin,b=d,g=m,yn(o.x,a.x,b.x,g),yn(o.y,a.y,b.y,g)),f&&(n.animationValues=c,function(e,t,r,o,n,a){var s,c,u,d;n?(e.opacity=l.mix(0,null!==(s=r.opacity)&&void 0!==s?s:1,Wo(o)),e.opacityExit=l.mix(null!==(c=t.opacity)&&void 0!==c?c:1,0,Ho(o))):a&&(e.opacity=l.mix(null!==(u=t.opacity)&&void 0!==u?u:1,null!==(d=r.opacity)&&void 0!==d?d:1,o));for(var f=0;f<zo;f++){var p="border".concat(Lo[f],"Radius"),h=Bo(t,p),b=Bo(r,p);void 0===h&&void 0===b||(h||(h=0),b||(b=0),0===h||0===b||Vo(h)===Vo(b)?(e[p]=Math.max(l.mix(Fo(h),Fo(b),o),0),(i.percent.test(b)||i.percent.test(h))&&(e[p]+="%")):e[p]=b)}(t.rotate||r.rotate)&&(e.rotate=l.mix(t.rotate||0,r.rotate||0,o))}(c,s,n.latestValues,m,h,p)),n.root.scheduleUpdateProjection(),n.scheduleRender(),n.animationProgress=m},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,r,n=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(r=this.resumingFrom.currentAnimation)||void 0===r||r.stop()),this.pendingAnimation&&(s.cancelSync.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=h.default.update((function(){B.hasAnimatedSinceResize=!0,n.currentAnimation=Do(0,1e3,o.__assign(o.__assign({},e),{onUpdate:function(t){var r;n.mixTargetDelta(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),n.completeAnimation()}})),n.resumingFrom&&(n.resumingFrom.currentAnimation=n.currentAnimation),n.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,r=e.target,o=e.layout,n=e.latestValues;t&&r&&o&&($o(t,r),eo(t,n),Er(this.projectionDeltaWithTransform,this.layoutCorrected,t,n))},e.prototype.registerSharedNode=function(e,t){var r,o,n;this.sharedNodes.has(e)||this.sharedNodes.set(e,new tn),this.sharedNodes.get(e).add(t),t.promote({transition:null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.transition,preserveFollowOpacity:null===(n=null===(o=t.options.initialPromotionConfig)||void 0===o?void 0:o.shouldPreserveFollowOpacity)||void 0===n?void 0:n.call(o,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,r=t.needsReset,o=t.transition,n=t.preserveFollowOpacity,a=this.getStack();a&&a.promote(this,n),r&&(this.projectionDelta=void 0,this.needsReset=!0),o&&this.setOptions({transition:o})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,r={},o=0;o<J.length;o++){var n="rotate"+J[o];e.getStaticValue(n)&&(t=!0,r[n]=e.getStaticValue(n),e.setStaticValue(n,0))}if(t){for(var n in null==e||e.syncRender(),r)e.setStaticValue(n,r[n]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,r,o,n,a,i;void 0===e&&(e={});var l={};if(!this.instance||this.isSVG)return l;if(!this.isVisible)return{visibility:"hidden"};l.visibility="";var s=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=Le(e.pointerEvents)||"",l.transform=s?s(this.latestValues,""):"none",l;var c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){var u={};return this.options.layoutId&&(u.opacity=null!==(r=this.latestValues.opacity)&&void 0!==r?r:1,u.pointerEvents=Le(e.pointerEvents)||""),this.hasProjected&&!Ur(this.latestValues)&&(u.transform=s?s({},""):"none",this.hasProjected=!1),u}var d=c.animationValues||c.latestValues;this.applyTransformsToTarget(),l.transform=rn(this.projectionDeltaWithTransform,this.treeScale,d),s&&(l.transform=s(d,l.transform));var f=this.projectionDelta,p=f.x,h=f.y;for(var b in l.transformOrigin="".concat(100*p.origin,"% ").concat(100*h.origin,"% 0"),c.animationValues?l.opacity=c===this?null!==(n=null!==(o=d.opacity)&&void 0!==o?o:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:l.opacity=c===this?null!==(a=d.opacity)&&void 0!==a?a:"":null!==(i=d.opacityExit)&&void 0!==i?i:0,G)if(void 0!==d[b]){var g=G[b],m=g.correct,y=g.applyTo,v=m(d[b],c);if(y)for(var x=y.length,w=0;w<x;w++)l[y[w]]=v;else l[b]=v}return this.options.layoutId&&(l.pointerEvents=c===this?Le(e.pointerEvents)||"":"none"),l},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(un),this.root.sharedNodes.clear()},e}()}function ln(e){e.updateLayout()}function sn(e){var t,r,o,n,a=null!==(r=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==r?r:e.snapshot;if(e.isLead()&&e.layout&&a&&e.hasListeners("didUpdate")){var i=e.layout,l=i.actual,s=i.measured;"size"===e.options.animationType?Vr((function(e){var t=a.isShared?a.measured[e]:a.layout[e],r=Tr(t);t.min=l[e].min,t.max=t.min+r})):"position"===e.options.animationType&&Vr((function(e){var t=a.isShared?a.measured[e]:a.layout[e],r=Tr(l[e]);t.max=t.min+r}));var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Er(c,l,a.layout);var u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};a.isShared?Er(u,e.applyTransform(s,!0),a.measured):Er(u,l,a.layout);var d=!Qo(c),f=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var p=e.relativeParent,h=p.snapshot,b=p.layout;if(h&&b){var g={x:{min:0,max:0},y:{min:0,max:0}};Nr(g,a.layout,h.layout);var m={x:{min:0,max:0},y:{min:0,max:0}};Nr(m,l,b.actual),en(g,m)||(f=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:a,delta:u,layoutDelta:c,hasLayoutChanged:d,hasRelativeTargetChanged:f})}else e.isLead()&&(null===(n=(o=e.options).onExitComplete)||void 0===n||n.call(o));e.options.transition=void 0}function cn(e){e.clearSnapshot()}function un(e){e.clearMeasurements()}function dn(e){var t=e.options.visualElement;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function fn(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function pn(e){e.resolveTargetDelta()}function hn(e){e.calcProjection()}function bn(e){e.resetRotation()}function gn(e){e.removeLeadSnapshot()}function mn(e,t,r){e.translate=l.mix(t.translate,0,r),e.scale=l.mix(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function yn(e,t,r,o){e.min=l.mix(t.min,r.min,o),e.max=l.mix(t.max,r.max,o)}function vn(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var xn={duration:.45,ease:[.4,0,.1,1]};function wn(e,t){for(var r=e.root,o=e.path.length-1;o>=0;o--)if(Boolean(e.path[o].instance)){r=e.path[o];break}var n=(r&&r!==e.root?r.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));n&&e.mount(n,!0)}function On(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function kn(e){On(e.x),On(e.y)}var Pn=an({attachResizeListener:function(e,t){return qe(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Cn={current:void 0},Tn=an({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Cn.current){var e=new Pn(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Cn.current=e}return Cn.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),Mn=o.__assign(o.__assign(o.__assign(o.__assign({},vr),_t),ao),Io),Sn=Y((function(e,t){return Ue(e,t,Mn,Mo,Tn)})),En=Y(Ue);function jn(){var e=n.useRef(!1);return T((function(){return e.current=!0,function(){e.current=!1}}),[]),e}function An(){var e=jn(),t=o.__read(n.useState(0),2),r=t[0],a=t[1],i=n.useCallback((function(){e.current&&a(r+1)}),[r]);return[n.useCallback((function(){return h.default.postRender(i)}),[i]),r]}var Nn=function(e){var t=e.children,r=e.initial,a=e.isPresent,i=e.onExitComplete,l=e.custom,s=e.presenceAffectsLayout,c=V(Rn),u=Ct(),d=n.useMemo((function(){return{id:u,initial:r,isPresent:a,custom:l,onExitComplete:function(e){var t,r;c.set(e,!0);try{for(var n=o.__values(c.values()),a=n.next();!a.done;a=n.next())if(!a.value)return}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}null==i||i()},register:function(e){return c.set(e,!1),function(){return c.delete(e)}}}}),s?void 0:[a]);return n.useMemo((function(){c.forEach((function(e,t){return c.set(t,!1)}))}),[a]),f.useEffect((function(){!a&&!c.size&&(null==i||i())}),[a]),f.createElement(P.Provider,{value:d},t)};function Rn(){return new Map}var In=function(e){return e.key||""},Dn=n.createContext(null),Ln=function(e){return!e.isLayoutDirty&&e.willUpdate(!1)};var zn=function(e){return!0===e},Fn=function(e){var t,r,a=e.children,i=e.id,l=e.inheritId,s=e.inherit,c=void 0===s||s;void 0!==l&&(c=l);var u,d,p,h=n.useContext(H),b=n.useContext(Dn),g=o.__read(An(),2),m=g[0],y=g[1],v=n.useRef(null),x=null!==(t=h.id)&&void 0!==t?t:b;null===v.current&&(function(e){return zn(!0===e)||"id"===e}(c)&&x&&(i=i?x+"-"+i:x),v.current={id:i,group:zn(c)&&null!==(r=null==h?void 0:h.group)&&void 0!==r?r:(u=new Set,d=new WeakMap,p=function(){return u.forEach(Ln)},{add:function(e){u.add(e),d.set(e,e.addEventListener("willUpdate",p))},remove:function(e){var t;u.delete(e),null===(t=d.get(e))||void 0===t||t(),d.delete(e),p()},dirty:p})});var w=n.useMemo((function(){return o.__assign(o.__assign({},v.current),{forceRender:m})}),[y]);return f.createElement(H.Provider,{value:w},a)},Vn=0;function Bn(e){return"function"==typeof e}var Wn=n.createContext(null);var Hn=n.forwardRef((function(e,t){var r=e.children,i=e.as,s=void 0===i?"ul":i,c=e.axis,u=void 0===c?"y":c,d=e.onReorder,p=e.values,h=o.__rest(e,["children","as","axis","onReorder","values"]),b=V((function(){return Sn(s)})),g=[],m=n.useRef(!1);a.invariant(Boolean(p),"Reorder.Group must be provided a values prop");var y={axis:u,registerItem:function(e,t){t&&-1===g.findIndex((function(t){return e===t.value}))&&(g.push({value:e,layout:t[u]}),g.sort(qn))},updateOrder:function(e,t,r){if(!m.current){var n=function(e,t,r,n){if(!n)return e;var a=e.findIndex((function(e){return e.value===t}));if(-1===a)return e;var i=n>0?1:-1,s=e[a+i];if(!s)return e;var c=e[a],u=s.layout,d=l.mix(u.min,u.max,.5);return 1===i&&c.layout.max+r>d||-1===i&&c.layout.min+r<d?function(e,t,r){var n=o.__read(e).slice(0),a=t<0?n.length+t:t;if(a>=0&&a<n.length){var i=r<0?n.length+r:r,l=o.__read(n.splice(t,1),1)[0];n.splice(i,0,l)}return n}(e,a,a+i):e}(g,e,t,r);g!==n&&(m.current=!0,d(n.map(Un).filter((function(e){return-1!==p.indexOf(e)}))))}}};return n.useEffect((function(){m.current=!1})),f.createElement(b,o.__assign({},h,{ref:t}),f.createElement(Wn.Provider,{value:y},r))}));function Un(e){return e.value}function qn(e,t){return e.layout.min-t.layout.min}function $n(e){var t=V((function(){return Jt(e)}));if(n.useContext(O).isStatic){var r=o.__read(n.useState(e),2)[1];n.useEffect((function(){return t.onChange(r)}),[])}return t}function Yn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r,n=!Array.isArray(e[0]),a=n?0:-1,i=e[0+a],s=e[1+a],c=e[2+a],u=e[3+a],d=l.interpolate(s,c,o.__assign({mixer:(r=c[0],function(e){return"object"==typeof e&&e.mix}(r)?r.mix:void 0)},u));return n?d(i):d}function Xn(e,t){var r=$n(t()),o=function(){return r.set(t())};return o(),function(e,t){T((function(){var r=e.map((function(e){return e.onChange(t)}));return function(){return r.forEach((function(e){return e()}))}}))}(e,(function(){return h.default.update(o,!1,!0)})),r}function Kn(e,t,r,n){var a="function"==typeof t?t:Yn(t,r,n);return Array.isArray(e)?Gn(e,a):Gn([e],(function(e){var t=o.__read(e,1)[0];return a(t)}))}function Gn(e,t){var r=V((function(){return[]}));return Xn(e,(function(){r.length=0;for(var o=e.length,n=0;n<o;n++)r[n]=e[n].get();return t(r)}))}function Zn(e,t){return void 0===t&&(t=0),ie(e)?e:$n(t)}var Jn={Group:Hn,Item:n.forwardRef((function(e,t){var r=e.children,i=e.style,l=e.value,s=e.as,c=void 0===s?"li":s,u=e.onDrag,d=e.layout,p=void 0===d||d,h=o.__rest(e,["children","style","value","as","onDrag","layout"]),b=V((function(){return Sn(c)})),g=n.useContext(Wn),m={x:Zn(null==i?void 0:i.x),y:Zn(null==i?void 0:i.y)},y=Kn([m.x,m.y],(function(e){var t=o.__read(e,2),r=t[0],n=t[1];return r||n?1:"unset"})),v=n.useRef(null);a.invariant(Boolean(g),"Reorder.Item must be a child of Reorder.Group");var x=g,w=x.axis,O=x.registerItem,_=x.updateOrder;return n.useEffect((function(){O(l,v.current)}),[g]),f.createElement(b,o.__assign({drag:w},h,{dragSnapToOrigin:!0,style:o.__assign(o.__assign({},i),{x:m.x,y:m.y,zIndex:y}),layout:p,onDrag:function(e,t){var r=t.velocity;r[w]&&_(l,m[w].get(),r[w]),null==u||u(e,t)},onLayoutMeasure:function(e){v.current=e},ref:t}),r)}))},Qn=o.__assign(o.__assign({renderer:Mo},vr),_t),ea=o.__assign(o.__assign(o.__assign(o.__assign({},Qn),ao),Io),{projectionNodeConstructor:Tn}),ta=function(){return{scrollX:Jt(0),scrollY:Jt(0),scrollXProgress:Jt(0),scrollYProgress:Jt(0)}};function ra(e){void 0===e&&(e={});var t=e.container,r=e.target,n=o.__rest(e,["container","target"]),a=V(ta);return T((function(){return c.scroll((function(e){var t=e.x,r=e.y;a.scrollX.set(t.current),a.scrollXProgress.set(t.progress),a.scrollY.set(r.current),a.scrollYProgress.set(r.progress)}),o.__assign(o.__assign({},n),{container:(null==t?void 0:t.current)||void 0,target:(null==r?void 0:r.current)||void 0}))}),[]),a}var oa="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()};function na(e){var t=V(oa),r=n.useContext(O).isStatic;n.useEffect((function(){if(!r){var o=function(r){var o=r.timestamp;e(o-t)};return h.default.update(o,!0),function(){return s.cancelSync.update(o)}}}),[e])}function aa(){var e=!1,t=[],r=new Set,n={subscribe:function(e){return r.add(e),function(){r.delete(e)}},start:function(o,n){if(e){var a=[];return r.forEach((function(e){a.push(ur(e,o,{transitionOverride:n}))})),Promise.all(a)}return new Promise((function(e){t.push({animation:[o,n],resolve:e})}))},set:function(t){return a.invariant(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),r.forEach((function(e){!function(e,t){Array.isArray(t)?ir(e,t):"string"==typeof t?ir(e,[t]):ar(e,t)}(e,t)}))},stop:function(){r.forEach((function(e){!function(e){e.forEachValue((function(e){return e.stop()}))}(e)}))},mount:function(){return e=!0,t.forEach((function(e){var t=e.animation,r=e.resolve;n.start.apply(n,o.__spreadArray([],o.__read(t),!1)).then(r)})),function(){e=!1,n.stop()}}};return n}function ia(){var e=V(aa);return n.useEffect(e.mount,[]),e}var la=ia,sa=function(){function e(){this.componentControls=new Set}return e.prototype.subscribe=function(e){var t=this;return this.componentControls.add(e),function(){return t.componentControls.delete(e)}},e.prototype.start=function(e,t){this.componentControls.forEach((function(r){r.start(e.nativeEvent||e,t)}))},e}(),ca=function(){return new sa};function ua(){return da}function da(e){Cn.current&&(Cn.current.isUpdating=!1,Cn.current.blockUpdate(),null==e||e())}var fa=function(){return{}},pa=lo({build:function(){},measureViewportBox:Fr,resetTransform:function(){},restoreTransform:function(){},removeValueFromRenderState:function(){},render:function(){},scrapeMotionValuesFromProps:fa,readValueFromInstance:function(e,t,r){return r.initialState[t]||0},makeTargetAnimatable:function(e,t){var r=t.transition,n=t.transitionEnd,a=o.__rest(t,["transition","transitionEnd"]);return lr(e,a,cr(a,r||{},e)),o.__assign({transition:r,transitionEnd:n},a)}}),ha=Fe({scrapeMotionValuesFromProps:fa,createRenderState:fa}),ba=function(e){return e>.001?1/e:1e5},ga=!1;t.AnimatePresence=function(e){var t=e.children,r=e.custom,a=e.initial,i=void 0===a||a,l=e.onExitComplete,s=e.exitBeforeEnter,c=e.presenceAffectsLayout,u=void 0===c||c,d=o.__read(An(),1)[0],p=n.useContext(H).forceRender;p&&(d=p);var h=jn(),g=function(e){var t=[];return n.Children.forEach(e,(function(e){n.isValidElement(e)&&t.push(e)})),t}(t),m=g,y=new Set,v=n.useRef(m),x=n.useRef(new Map).current,w=n.useRef(!0);if(T((function(){w.current=!1,function(e,t){e.forEach((function(e){var r=In(e);t.set(r,e)}))}(g,x),v.current=m})),ft((function(){w.current=!0,x.clear(),y.clear()})),w.current)return f.createElement(f.Fragment,null,m.map((function(e){return f.createElement(Nn,{key:In(e),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:u},e)})));m=o.__spreadArray([],o.__read(m),!1);for(var O=v.current.map(In),_=g.map(In),k=O.length,P=0;P<k;P++){var C=O[P];-1===_.indexOf(C)&&y.add(C)}return s&&y.size&&(m=[]),y.forEach((function(e){if(-1===_.indexOf(e)){var t=x.get(e);if(t){var o=O.indexOf(e);m.splice(o,0,f.createElement(Nn,{key:In(t),isPresent:!1,onExitComplete:function(){x.delete(e),y.delete(e);var t=v.current.findIndex((function(t){return t.key===e}));if(v.current.splice(t,1),!y.size){if(v.current=g,!1===h.current)return;d(),l&&l()}},custom:r,presenceAffectsLayout:u},t))}}})),m=m.map((function(e){var t=e.key;return y.has(t)?e:f.createElement(Nn,{key:In(e),isPresent:!0,presenceAffectsLayout:u},e)})),"production"!==b&&s&&m.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),f.createElement(f.Fragment,null,y.size?m:m.map((function(e){return n.cloneElement(e)})))},t.AnimateSharedLayout=function(e){var t=e.children;return f.useEffect((function(){a.warning(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")}),[]),f.createElement(Fn,{id:V((function(){return"asl-".concat(Vn++)}))},t)},t.DeprecatedLayoutGroupContext=Dn,t.DragControls=sa,t.FlatTree=nn,t.LayoutGroup=Fn,t.LayoutGroupContext=H,t.LazyMotion=function(e){var t=e.children,r=e.features,a=e.strict,i=void 0!==a&&a,l=o.__read(n.useState(!Bn(r)),2)[1],s=n.useRef(void 0);if(!Bn(r)){var c=r.renderer,u=o.__rest(r,["renderer"]);s.current=c,y(u)}return n.useEffect((function(){Bn(r)&&r().then((function(e){var t=e.renderer;y(o.__rest(e,["renderer"])),s.current=t,l(!0)}))}),[]),f.createElement(v.Provider,{value:{renderer:s.current,strict:i}},t)},t.MotionConfig=function(e){var t=e.children,r=e.isValidProp,a=o.__rest(e,["children","isValidProp"]);r&&ye(r),(a=o.__assign(o.__assign({},n.useContext(O)),a)).isStatic=V((function(){return a.isStatic}));var i=n.useMemo((function(){return a}),[JSON.stringify(a.transition),a.transformPagePoint,a.reducedMotion]);return f.createElement(O.Provider,{value:i},t)},t.MotionConfigContext=O,t.MotionContext=_,t.MotionValue=Zt,t.PresenceContext=P,t.Reorder=Jn,t.SwitchLayoutGroupContext=U,t.addPointerEvent=ot,t.addScaleCorrector=Z,t.animate=Do,t.animateVisualElement=ur,t.animationControls=aa,t.animations=vr,t.calcLength=Tr,t.checkTargetForNewValues=lr,t.createBox=Fr,t.createDomMotionComponent=function(e){return $(Ue(e,{forwardMotionProps:!1},Mn,Mo,Tn))},t.createMotionComponent=$,t.domAnimation=Qn,t.domMax=ea,t.filterProps=ve,t.isBrowser=C,t.isDragActive=ct,t.isMotionValue=ie,t.isValidMotionProp=ge,t.m=En,t.makeUseVisualState=Fe,t.motion=Sn,t.motionValue=Jt,t.resolveMotionValue=Le,t.transform=Yn,t.useAnimation=la,t.useAnimationControls=ia,t.useAnimationFrame=na,t.useCycle=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=n.useRef(0),a=o.__read(n.useState(e[r.current]),2),i=a[0],s=a[1];return[i,n.useCallback((function(t){r.current="number"!=typeof t?l.wrap(0,e.length,r.current+1):t,s(e[r.current])}),o.__spreadArray([e.length],o.__read(e),!1))]},t.useDeprecatedAnimatedState=function(e){var t=o.__read(n.useState(e),2),r=t[0],a=t[1],i=ha({},!1),l=V((function(){return pa({props:{},visualState:i},{initialState:e})}));return n.useEffect((function(){return l.mount({}),l.unmount}),[l]),n.useEffect((function(){l.setProps({onUpdate:function(e){a(o.__assign({},e))}})}),[a,l]),[r,V((function(){return function(e){return ur(l,e)}}))]},t.useDeprecatedInvertedScale=function(e){var t=$n(1),r=$n(1),o=k();return a.invariant(!(!e&&!o),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),a.warning(ga,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),ga=!0,e?(t=e.scaleX||t,r=e.scaleY||r):o&&(t=o.getValue("scaleX",1),r=o.getValue("scaleY",1)),{scaleX:Kn(t,ba),scaleY:Kn(r,ba)}},t.useDomEvent=$e,t.useDragControls=function(){return V(ca)},t.useElementScroll=function(e){return ht(!1,"useElementScroll is deprecated. Convert to useScroll({ container: ref })."),ra({container:e})},t.useForceUpdate=An,t.useInView=function(e,t){var r=void 0===t?{}:t,a=r.root,i=r.margin,l=r.amount,s=r.once,u=void 0!==s&&s,d=o.__read(n.useState(!1),2),f=d[0],p=d[1];return n.useEffect((function(){var t;if(!(!e.current||u&&f)){var r={root:null!==(t=null==a?void 0:a.current)&&void 0!==t?t:void 0,margin:i,amount:"some"===l?"any":l};return c.inView(e.current,(function(){return p(!0),u?void 0:function(){return p(!1)}}),r)}}),[a,e,i,u]),f},t.useInstantLayoutTransition=ua,t.useInstantTransition=function(){var e=o.__read(An(),2),t=e[0],r=e[1],a=ua();return n.useEffect((function(){h.default.postRender((function(){return h.default.postRender((function(){return Bt.current=!1}))}))}),[r]),function(e){a((function(){Bt.current=!0,t(),e()}))}},t.useIsPresent=function(){return null===(e=n.useContext(P))||e.isPresent;var e},t.useIsomorphicLayoutEffect=T,t.useMotionTemplate=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var o=e.length;return Xn(t,(function(){for(var r="",n=0;n<o;n++)r+=e[n],t[n]&&(r+=t[n].get());return r}))},t.useMotionValue=$n,t.usePresence=Tt,t.useReducedMotion=E,t.useReducedMotionConfig=j,t.useResetProjection=function(){return f.useCallback((function(){var e=Cn.current;e&&e.resetTree()}),[])},t.useScroll=ra,t.useSpring=function(e,t){void 0===t&&(t={});var r=n.useContext(O).isStatic,a=n.useRef(null),i=$n(ie(e)?e.get():e);return n.useMemo((function(){return i.attach((function(e,n){return r?n(e):(a.current&&a.current.stop(),a.current=l.animate(o.__assign(o.__assign({from:i.get(),to:e,velocity:i.getVelocity()},t),{onUpdate:n})),i.get())}))}),[JSON.stringify(t)]),function(e,t){T((function(){if(ie(e))return e.onChange(t)}),[t])}(e,(function(e){return i.set(parseFloat(e))})),i},t.useTime=function(){var e=$n(0);return na((function(t){return e.set(t)})),e},t.useTransform=Kn,t.useUnmountEffect=ft,t.useVelocity=function(e){var t=$n(e.getVelocity());return n.useEffect((function(){return e.velocityUpdateSubscribers.add((function(e){t.set(e)}))}),[e]),t},t.useViewportScroll=function(){return ht(!1,"useViewportScroll is deprecated. Convert to useScroll()."),ra()},t.useVisualElementContext=k,t.visualElement=lo,t.wrapHandler=Qe},1764:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=1/60*1e3,o="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),n="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(o())),r);let a=!0,i=!1,l=!1;const s={delta:0,timestamp:0},c=["read","update","preRender","render","postRender"],u=c.reduce(((e,t)=>(e[t]=function(e){let t=[],r=[],o=0,n=!1,a=!1;const i=new WeakSet,l={schedule:(e,a=!1,l=!1)=>{const s=l&&n,c=s?t:r;return a&&i.add(e),-1===c.indexOf(e)&&(c.push(e),s&&n&&(o=t.length)),e},cancel:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1),i.delete(e)},process:s=>{if(n)a=!0;else{if(n=!0,[t,r]=[r,t],r.length=0,o=t.length,o)for(let r=0;r<o;r++){const o=t[r];o(s),i.has(o)&&(l.schedule(o),e())}n=!1,a&&(a=!1,l.process(s))}}};return l}((()=>i=!0)),e)),{}),d=c.reduce(((e,t)=>{const r=u[t];return e[t]=(e,t=!1,o=!1)=>(i||g(),r.schedule(e,t,o)),e}),{}),f=c.reduce(((e,t)=>(e[t]=u[t].cancel,e)),{}),p=c.reduce(((e,t)=>(e[t]=()=>u[t].process(s),e)),{}),h=e=>u[e].process(s),b=e=>{i=!1,s.delta=a?r:Math.max(Math.min(e-s.timestamp,40),1),s.timestamp=e,l=!0,c.forEach(h),l=!1,i&&(a=!1,n(b))},g=()=>{i=!0,a=!0,l||n(b)};t.cancelSync=f,t.default=d,t.flushSync=p,t.getFrameData=()=>s},3e3:(e,t,r)=>{"use strict";r.r(t),r.d(t,{invariant:()=>n,warning:()=>o});var o=function(){},n=function(){}},4466:e=>{e.exports=class{constructor(){this.x=0,this.y=0,this.z=0}findFurthestPoint(e,t,r,o,n,a){return this.x=e-r>t/2?0:t,this.y=o-a>n/2?0:n,this.z=Math.hypot(this.x-(e-r),this.y-(o-a)),this.z}appyStyles(e,t,r,o,n){e.classList.add("ripple"),e.style.backgroundColor="dark"===t?"rgba(0,0,0, 0.2)":"rgba(255,255,255, 0.3)",e.style.borderRadius="50%",e.style.pointerEvents="none",e.style.position="absolute",e.style.left=n.clientX-r.left-o+"px",e.style.top=n.clientY-r.top-o+"px",e.style.width=e.style.height=2*o+"px"}applyAnimation(e){e.animate([{transform:"scale(0)",opacity:1},{transform:"scale(1.5)",opacity:0}],{duration:500,easing:"linear"})}create(e,t){const r=e.currentTarget;r.style.position="relative",r.style.overflow="hidden";const o=r.getBoundingClientRect(),n=this.findFurthestPoint(e.clientX,r.offsetWidth,o.left,e.clientY,r.offsetHeight,o.top),a=document.createElement("span");this.appyStyles(a,t,o,n,e),this.applyAnimation(a),r.appendChild(a),setTimeout((()=>a.remove()),500)}}},3734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(1635),n=r(3e3),a=r(8085),i=r(1764);function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=l(i);const c=(e,t,r)=>Math.min(Math.max(r,e),t);const u=12;function d(e,t){return e*Math.sqrt(1-t*t)}const f=["duration","bounce"],p=["stiffness","damping","mass"];function h(e,t){return t.some((t=>void 0!==e[t]))}function b(e){var{from:t=0,to:r=1,restSpeed:a=2,restDelta:i}=e,l=o.__rest(e,["from","to","restSpeed","restDelta"]);const s={done:!1,value:t};let{stiffness:b,damping:m,mass:y,velocity:v,duration:x,isResolvedFromDuration:w}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!h(e,p)&&h(e,f)){const r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:o=1}){let a,i;n.warning(e<=1e4,"Spring duration must be 10 seconds or less");let l=1-t;l=c(.05,1,l),e=c(.01,10,e/1e3),l<1?(a=t=>{const o=t*l,n=o*e;return.001-(o-r)/d(t,l)*Math.exp(-n)},i=t=>{const o=t*l*e,n=o*r+r,i=Math.pow(l,2)*Math.pow(t,2)*e,s=Math.exp(-o),c=d(Math.pow(t,2),l);return(.001-a(t)>0?-1:1)*((n-i)*s)/c}):(a=t=>Math.exp(-t*e)*((t-r)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(r-t)));const s=function(e,t,r){let o=r;for(let r=1;r<u;r++)o-=e(o)/t(o);return o}(a,i,5/e);if(e*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*o;return{stiffness:t,damping:2*l*Math.sqrt(o*t),duration:e}}}(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(l),O=g,_=g;function k(){const e=v?-v/1e3:0,o=r-t,n=m/(2*Math.sqrt(b*y)),a=Math.sqrt(b/y)/1e3;if(void 0===i&&(i=Math.min(Math.abs(r-t)/100,.4)),n<1){const t=d(a,n);O=i=>{const l=Math.exp(-n*a*i);return r-l*((e+n*a*o)/t*Math.sin(t*i)+o*Math.cos(t*i))},_=r=>{const i=Math.exp(-n*a*r);return n*a*i*(Math.sin(t*r)*(e+n*a*o)/t+o*Math.cos(t*r))-i*(Math.cos(t*r)*(e+n*a*o)-t*o*Math.sin(t*r))}}else if(1===n)O=t=>r-Math.exp(-a*t)*(o+(e+a*o)*t);else{const t=a*Math.sqrt(n*n-1);O=i=>{const l=Math.exp(-n*a*i),s=Math.min(t*i,300);return r-l*((e+n*a*o)*Math.sinh(s)+t*o*Math.cosh(s))/t}}}return k(),{next:e=>{const t=O(e);if(w)s.done=e>=x;else{const o=1e3*_(e),n=Math.abs(o)<=a,l=Math.abs(r-t)<=i;s.done=n&&l}return s.value=s.done?r:t,s},flipTarget:()=>{v=-v,[t,r]=[r,t],k()}}}b.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const g=e=>0,m=(e,t,r)=>{const o=t-e;return 0===o?1:(r-e)/o},y=(e,t,r)=>-r*e+r*t+e;function v(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function x({hue:e,saturation:t,lightness:r,alpha:o}){e/=360,r/=100;let n=0,a=0,i=0;if(t/=100){const o=r<.5?r*(1+t):r+t-r*t,l=2*r-o;n=v(l,o,e+1/3),a=v(l,o,e),i=v(l,o,e-1/3)}else n=a=i=r;return{red:Math.round(255*n),green:Math.round(255*a),blue:Math.round(255*i),alpha:o}}const w=(e,t,r)=>{const o=e*e,n=t*t;return Math.sqrt(Math.max(0,r*(n-o)+o))},O=[a.hex,a.rgba,a.hsla],_=e=>O.find((t=>t.test(e))),k=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,P=(e,t)=>{let r=_(e),o=_(t);n.invariant(!!r,k(e)),n.invariant(!!o,k(t));let i=r.parse(e),l=o.parse(t);r===a.hsla&&(i=x(i),r=a.rgba),o===a.hsla&&(l=x(l),o=a.rgba);const s=Object.assign({},i);return e=>{for(const t in s)"alpha"!==t&&(s[t]=w(i[t],l[t],e));return s.alpha=y(i.alpha,l.alpha,e),r.transform(s)}},C={x:0,y:0,z:0},T=e=>"number"==typeof e,M=(e,t)=>r=>t(e(r)),S=(...e)=>e.reduce(M);function E(e,t){return T(e)?r=>y(e,t,r):a.color.test(e)?P(e,t):R(e,t)}const j=(e,t)=>{const r=[...e],o=r.length,n=e.map(((e,r)=>E(e,t[r])));return e=>{for(let t=0;t<o;t++)r[t]=n[t](e);return r}},A=(e,t)=>{const r=Object.assign(Object.assign({},e),t),o={};for(const n in r)void 0!==e[n]&&void 0!==t[n]&&(o[n]=E(e[n],t[n]));return e=>{for(const t in o)r[t]=o[t](e);return r}};function N(e){const t=a.complex.parse(e),r=t.length;let o=0,n=0,i=0;for(let e=0;e<r;e++)o||"number"==typeof t[e]?o++:void 0!==t[e].hue?i++:n++;return{parsed:t,numNumbers:o,numRGB:n,numHSL:i}}const R=(e,t)=>{const r=a.complex.createTransformer(t),o=N(e),i=N(t);return o.numHSL===i.numHSL&&o.numRGB===i.numRGB&&o.numNumbers>=i.numNumbers?S(j(o.parsed,i.parsed),r):(n.warning(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),r=>`${r>0?t:e}`)},I=(e,t)=>r=>y(e,t,r);function D(e,t,{clamp:r=!0,ease:o,mixer:i}={}){const l=e.length;n.invariant(l===t.length,"Both input and output ranges must be the same length"),n.invariant(!o||!Array.isArray(o)||o.length===l-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[l-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const s=function(e,t,r){const o=[],n=r||("number"==typeof(i=e[0])?I:"string"==typeof i?a.color.test(i)?P:R:Array.isArray(i)?j:"object"==typeof i?A:void 0);var i;const l=e.length-1;for(let r=0;r<l;r++){let a=n(e[r],e[r+1]);if(t){const e=Array.isArray(t)?t[r]:t;a=S(e,a)}o.push(a)}return o}(t,o,i),u=2===l?function([e,t],[r]){return o=>r(m(e,t,o))}(e,s):function(e,t){const r=e.length,o=r-1;return n=>{let a=0,i=!1;if(n<=e[0]?i=!0:n>=e[o]&&(a=o-1,i=!0),!i){let t=1;for(;t<r&&!(e[t]>n||t===o);t++);a=t-1}const l=m(e[a],e[a+1],n);return t[a](l)}}(e,s);return r?t=>u(c(e[0],e[l-1],t)):u}const L=e=>t=>1-e(1-t),z=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,F=e=>t=>Math.pow(t,e),V=e=>t=>t*t*((e+1)*t-e),B=e=>{const t=V(e);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))},W=4/11,H=8/11,U=e=>e,q=F(2),$=L(q),Y=z(q),X=e=>1-Math.sin(Math.acos(e)),K=L(X),G=z(K),Z=V(1.525),J=L(Z),Q=z(Z),ee=B(1.525),te=4356/361,re=35442/1805,oe=16061/1805,ne=e=>{if(1===e||0===e)return e;const t=e*e;return e<W?7.5625*t:e<H?9.075*t-9.9*e+3.4:e<.9?te*t-re*e+oe:10.8*e*e-20.52*e+10.72},ae=L(ne);function ie(e,t){return e.map((()=>t||Y)).splice(0,e.length-1)}function le({from:e=0,to:t=1,ease:r,offset:o,duration:n=300}){const a={done:!1,value:e},i=Array.isArray(t)?t:[e,t],l=function(e,t){return e.map((e=>e*t))}(o&&o.length===i.length?o:function(e){const t=e.length;return e.map(((e,r)=>0!==r?r/(t-1):0))}(i),n);function s(){return D(l,i,{ease:Array.isArray(r)?r:ie(i,r)})}let c=s();return{next:e=>(a.value=c(e),a.done=e>=n,a),flipTarget:()=>{i.reverse(),c=s()}}}function se({velocity:e=0,from:t=0,power:r=.8,timeConstant:o=350,restDelta:n=.5,modifyTarget:a}){const i={done:!1,value:t};let l=r*e;const s=t+l,c=void 0===a?s:a(s);return c!==s&&(l=c-t),{next:e=>{const t=-l*Math.exp(-e/o);return i.done=!(t>n||t<-n),i.value=i.done?c:c+t,i},flipTarget:()=>{}}}const ce={keyframes:le,spring:b,decay:se};function ue(e,t,r=0){return e-t-r}const de=e=>{const t=({delta:t})=>e(t);return{start:()=>s.default.update(t,!0),stop:()=>i.cancelSync.update(t)}};function fe(e){var t,r,{from:n,autoplay:a=!0,driver:i=de,elapsed:l=0,repeat:s=0,repeatType:c="loop",repeatDelay:u=0,onPlay:d,onStop:f,onComplete:p,onRepeat:h,onUpdate:g}=e,m=o.__rest(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let y,v,x,{to:w}=m,O=0,_=m.duration,k=!1,P=!0;const C=function(e){if(Array.isArray(e.to))return le;if(ce[e.type])return ce[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?le:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?b:le}(m);(null===(r=(t=C).needsInterpolation)||void 0===r?void 0:r.call(t,n,w))&&(x=D([0,100],[n,w],{clamp:!1}),n=0,w=100);const T=C(Object.assign(Object.assign({},m),{from:n,to:w}));return a&&(null==d||d(),y=i((function(e){if(P||(e=-e),l+=e,!k){const e=T.next(Math.max(0,l));v=e.value,x&&(v=x(v)),k=P?e.done:l<=0}null==g||g(v),k&&(0===O&&(null!=_||(_=l)),O<s?function(e,t,r,o){return o?e>=t+r:e<=-r}(l,_,u,P)&&(O++,"reverse"===c?(P=O%2==0,l=function(e,t,r=0,o=!0){return o?ue(t+-e,t,r):t-(e-t)+r}(l,_,u,P)):(l=ue(l,_,u),"mirror"===c&&T.flipTarget()),k=!1,h&&h()):(y.stop(),p&&p()))})),y.start()),{stop:()=>{null==f||f(),y.stop()}}}function pe(e,t){return t?e*(1e3/t):0}const he=e=>180*e/Math.PI,be=e=>e,ge=(e=be)=>(t,r,o)=>{const n=r-o,a=-(0-t+1)*(0-e(Math.abs(n)));return n<=0?r+a:r-a},me=ge(),ye=ge(Math.sqrt),ve=e=>e*Math.PI/180,xe=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),we=e=>xe(e)&&e.hasOwnProperty("z"),Oe=(e,t)=>Math.abs(e-t),_e=(e,t=2)=>(t=Math.pow(10,t),Math.round(e*t)/t),ke=(e,t,r,o=0)=>_e(e+r*(t-e)/Math.max(o,r)),Pe=(e,t)=>1-3*t+3*e,Ce=(e,t)=>3*t-6*e,Te=e=>3*e,Me=(e,t,r)=>((Pe(t,r)*e+Ce(t,r))*e+Te(t))*e,Se=(e,t,r)=>3*Pe(t,r)*e*e+2*Ce(t,r)*e+Te(t),Ee=.1;t.angle=(e,t=C)=>he(Math.atan2(t.y-e.y,t.x-e.x)),t.animate=fe,t.anticipate=ee,t.applyOffset=(e,t)=>{let r=!0;return void 0===t&&(t=e,r=!1),o=>r?o-e+t:(e=o,r=!0,t)},t.attract=me,t.attractExpo=ye,t.backIn=Z,t.backInOut=Q,t.backOut=J,t.bounceIn=ae,t.bounceInOut=e=>e<.5?.5*(1-ne(1-2*e)):.5*ne(2*e-1)+.5,t.bounceOut=ne,t.circIn=X,t.circInOut=G,t.circOut=K,t.clamp=c,t.createAnticipate=B,t.createAttractor=ge,t.createBackIn=V,t.createExpoIn=F,t.cubicBezier=function(e,t,r,o){if(e===t&&r===o)return U;const n=new Float32Array(11);for(let t=0;t<11;++t)n[t]=Me(t*Ee,e,r);return a=>0===a||1===a?a:Me(function(t){let o=0,a=1;for(;10!==a&&n[a]<=t;++a)o+=Ee;--a;const i=o+(t-n[a])/(n[a+1]-n[a])*Ee,l=Se(i,e,r);return l>=.001?function(e,t,r,o){for(let n=0;n<8;++n){const n=Se(t,r,o);if(0===n)return t;t-=(Me(t,r,o)-e)/n}return t}(t,i,e,r):0===l?i:function(e,t,r,o,n){let a,i,l=0;do{i=t+(r-t)/2,a=Me(i,o,n)-e,a>0?r=i:t=i}while(Math.abs(a)>1e-7&&++l<10);return i}(t,o,o+Ee,e,r)}(a),t,o)},t.decay=se,t.degreesToRadians=ve,t.distance=function(e,t){if(T(e)&&T(t))return Oe(e,t);if(xe(e)&&xe(t)){const r=Oe(e.x,t.x),o=Oe(e.y,t.y),n=we(e)&&we(t)?Oe(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2)+Math.pow(n,2))}},t.easeIn=q,t.easeInOut=Y,t.easeOut=$,t.inertia=function({from:e=0,velocity:t=0,min:r,max:o,power:n=.8,timeConstant:a=750,bounceStiffness:l=500,bounceDamping:s=10,restDelta:c=1,modifyTarget:u,driver:d,onUpdate:f,onComplete:p,onStop:h}){let b;function g(e){return void 0!==r&&e<r||void 0!==o&&e>o}function m(e){return void 0===r?o:void 0===o||Math.abs(r-e)<Math.abs(o-e)?r:o}function y(e){null==b||b.stop(),b=fe(Object.assign(Object.assign({},e),{driver:d,onUpdate:t=>{var r;null==f||f(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:p,onStop:h}))}function v(e){y(Object.assign({type:"spring",stiffness:l,damping:s,restDelta:c},e))}if(g(e))v({from:e,velocity:t,to:m(e)});else{let o=n*t+e;void 0!==u&&(o=u(o));const l=m(o),s=l===r?-1:1;let d,f;const p=e=>{d=f,f=e,t=pe(e-d,i.getFrameData().delta),(1===s&&e>l||-1===s&&e<l)&&v({from:e,to:l,velocity:t})};y({type:"decay",from:e,velocity:t,timeConstant:a,power:n,restDelta:c,modifyTarget:u,onUpdate:g(o)?p:void 0})}return{stop:()=>null==b?void 0:b.stop()}},t.interpolate=D,t.isPoint=xe,t.isPoint3D=we,t.keyframes=le,t.linear=U,t.mirrorEasing=z,t.mix=y,t.mixColor=P,t.mixComplex=R,t.pipe=S,t.pointFromVector=(e,t,r)=>(t=ve(t),{x:r*Math.cos(t)+e.x,y:r*Math.sin(t)+e.y}),t.progress=m,t.radiansToDegrees=he,t.reverseEasing=L,t.smooth=(e=50)=>{let t=0,r=0;return o=>{const n=i.getFrameData().timestamp,a=n!==r?n-r:0,l=a?ke(t,o,a,e):t;return r=n,t=l,l}},t.smoothFrame=ke,t.snap=e=>{if("number"==typeof e)return t=>Math.round(t/e)*e;{let t=0;const r=e.length;return o=>{let n=Math.abs(e[0]-o);for(t=1;t<r;t++){const a=e[t],i=Math.abs(a-o);if(0===i)return a;if(i>n)return e[t-1];if(t===r-1)return a;n=i}}}},t.spring=b,t.steps=(e,t="end")=>r=>{const o=(r="end"===t?Math.min(r,.999):Math.max(r,.001))*e,n="end"===t?Math.floor(o):Math.ceil(o);return c(0,1,n/e)},t.toDecimal=_e,t.velocityPerFrame=function(e,t){return e/(1e3/t)},t.velocityPerSecond=pe,t.wrap=(e,t,r)=>{const o=t-e;return((r-e)%o+o)%o+e}},2694:(e,t,r)=>{"use strict";var o=r(6925);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,a,i){if(i!==o){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:n};return r.PropTypes=r,r}},5556:(e,t,r)=>{e.exports=r(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8085:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(e,t)=>r=>Math.max(Math.min(r,t),e),o=e=>e%1?Number(e.toFixed(5)):e,n=/(-)?([\d]*\.?[\d])+/g,a=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,i=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function l(e){return"string"==typeof e}const s={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},c=Object.assign(Object.assign({},s),{transform:r(0,1)}),u=Object.assign(Object.assign({},s),{default:1}),d=e=>({test:t=>l(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),f=d("deg"),p=d("%"),h=d("px"),b=d("vh"),g=d("vw"),m=Object.assign(Object.assign({},p),{parse:e=>p.parse(e)/100,transform:e=>p.transform(100*e)}),y=(e,t)=>r=>Boolean(l(r)&&i.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),v=(e,t,r)=>o=>{if(!l(o))return o;const[a,i,s,c]=o.match(n);return{[e]:parseFloat(a),[t]:parseFloat(i),[r]:parseFloat(s),alpha:void 0!==c?parseFloat(c):1}},x={test:y("hsl","hue"),parse:v("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+p.transform(o(t))+", "+p.transform(o(r))+", "+o(c.transform(n))+")"},w=r(0,255),O=Object.assign(Object.assign({},s),{transform:e=>Math.round(w(e))}),_={test:y("rgb","red"),parse:v("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+O.transform(e)+", "+O.transform(t)+", "+O.transform(r)+", "+o(c.transform(n))+")"},k={test:y("#"),parse:function(e){let t="",r="",o="",n="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),o=e.substr(5,2),n=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),o=e.substr(3,1),n=e.substr(4,1),t+=t,r+=r,o+=o,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(o,16),alpha:n?parseInt(n,16)/255:1}},transform:_.transform},P={test:e=>_.test(e)||k.test(e)||x.test(e),parse:e=>_.test(e)?_.parse(e):x.test(e)?x.parse(e):k.parse(e),transform:e=>l(e)?e:e.hasOwnProperty("red")?_.transform(e):x.transform(e)},C="${c}",T="${n}";function M(e){"number"==typeof e&&(e=`${e}`);const t=[];let r=0;const o=e.match(a);o&&(r=o.length,e=e.replace(a,C),t.push(...o.map(P.parse)));const i=e.match(n);return i&&(e=e.replace(n,T),t.push(...i.map(s.parse))),{values:t,numColors:r,tokenised:e}}function S(e){return M(e).values}function E(e){const{values:t,numColors:r,tokenised:n}=M(e),a=t.length;return e=>{let t=n;for(let n=0;n<a;n++)t=t.replace(n<r?C:T,n<r?P.transform(e[n]):o(e[n]));return t}}const j=e=>"number"==typeof e?0:e,A={test:function(e){var t,r,o,i;return isNaN(e)&&l(e)&&(null!==(r=null===(t=e.match(n))||void 0===t?void 0:t.length)&&void 0!==r?r:0)+(null!==(i=null===(o=e.match(a))||void 0===o?void 0:o.length)&&void 0!==i?i:0)>0},parse:S,createTransformer:E,getAnimatableNone:function(e){const t=S(e);return E(e)(t.map(j))}},N=new Set(["brightness","contrast","saturate","opacity"]);function R(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[o]=r.match(n)||[];if(!o)return e;const a=r.replace(o,"");let i=N.has(t)?1:0;return o!==r&&(i*=100),t+"("+i+a+")"}const I=/([a-z-]*)\(.*?\)/g,D=Object.assign(Object.assign({},A),{getAnimatableNone:e=>{const t=e.match(I);return t?t.map(R).join(" "):e}});t.alpha=c,t.color=P,t.complex=A,t.degrees=f,t.filter=D,t.hex=k,t.hsla=x,t.number=s,t.percent=p,t.progressPercentage=m,t.px=h,t.rgbUnit=O,t.rgba=_,t.scale=u,t.vh=b,t.vw=g},2029:(e,t,r)=>{"use strict";e.exports=r(169)},169:(e,t)=>{"use strict";function r(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=o(e))&&(n&&(n+=" "),n+=t);return n}function o(e){if("string"==typeof e)return e;for(var t,r="",n=0;n<e.length;n++)e[n]&&(t=o(e[n]))&&(r&&(r+=" "),r+=t);return r}function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},n.apply(this,arguments)}function a(e){var t=function(e){var t=e.theme,r=e.prefix,o={nextPart:new Map,validators:[]};return function(e,t){return t?e.map((function(e){return[e[0],e[1].map((function(e){return"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((function(e){return[t+e[0],e[1]]}))):e}))]})):e}(Object.entries(e.classGroups),r).forEach((function(e){s(e[1],o,e[0],t)})),o}(e);return{getClassGroupId:function(e){var r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),i(r,t)||function(e){if(l.test(e)){var t=l.exec(e)[1],r=null==t?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(t){return e.conflictingClassGroups[t]||[]}}}function i(e,t){var r;if(0===e.length)return t.classGroupId;var o=t.nextPart.get(e[0]),n=o?i(e.slice(1),o):void 0;if(n)return n;if(0!==t.validators.length){var a=e.join("-");return null==(r=t.validators.find((function(e){return(0,e.validator)(a)})))?void 0:r.classGroupId}}Object.defineProperty(t,"__esModule",{value:!0});var l=/^\[(.+)\]$/;function s(e,t,r,o){e.forEach((function(e){if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void s(e(o),t,r,o):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((function(e){s(e[1],c(t,e[0]),r,o)}))}else(""===e?t:c(t,e)).classGroupId=r}))}function c(e,t){var r=e;return t.split("-").forEach((function(e){r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r}function u(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,o=new Map;function n(n,a){r.set(n,a),++t>e&&(t=0,o=r,r=new Map)}return{get:function(e){var t=r.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(n(e,t),t):void 0},set:function(e,t){r.has(e)?r.set(e,t):n(e,t)}}}function d(e){var t=e.separator||":";return function(e){for(var r=0,o=[],n=0,a=0;a<e.length;a++){var i=e[a];0===r&&i===t[0]&&(1!==t.length&&e.slice(a,a+t.length)!==t||(o.push(e.slice(n,a)),n=a+t.length)),"["===i?r++:"]"===i&&r--}var l=0===o.length?e:e.substring(n),s=l.startsWith("!");return{modifiers:o,hasImportantModifier:s,baseClassName:s?l.substring(1):l}}}function f(e){return n({cache:u(e.cacheSize),splitModifiers:d(e)},a(e))}var p=/\s+/;function h(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var n,a,i,l=function(e){var r=t[0],o=t.slice(1).reduce((function(e,t){return t(e)}),r());return n=f(o),a=n.cache.get,i=n.cache.set,l=s,s(e)};function s(e){var t=a(e);if(t)return t;var r=function(e,t){var r=t.splitModifiers,o=t.getClassGroupId,n=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(p).map((function(e){var t=r(e),n=t.modifiers,a=t.hasImportantModifier,i=o(t.baseClassName);if(!i)return{isTailwindClass:!1,originalClassName:e};var l=function(e){if(e.length<=1)return e;var t=[],r=[];return e.forEach((function(e){"["===e[0]?(t.push.apply(t,r.sort().concat([e])),r=[]):r.push(e)})),t.push.apply(t,r.sort()),t}(n).join(":");return{isTailwindClass:!0,modifierId:a?l+"!":l,classGroupId:i,originalClassName:e}})).reverse().filter((function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,r=e.classGroupId,o=t+r;return!a.has(o)&&(a.add(o),n(r).forEach((function(e){return a.add(t+e)})),!0)})).reverse().map((function(e){return e.originalClassName})).join(" ")}(e,n);return i(e,r),r}return function(){return l(r.apply(null,arguments))}}function b(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var g=/^\[(.+)\]$/,m=/^\d+\/\d+$/,y=new Set(["px","full","screen"]),v=/^(\d+)?(xs|sm|md|lg|xl)$/,x=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/,w=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function O(e){return!Number.isNaN(Number(e))||y.has(e)||m.test(e)||_(e)}function _(e){var t,r=null==(t=g.exec(e))?void 0:t[1];return!!r&&(r.startsWith("length:")||x.test(r))}function k(e){var t,r=null==(t=g.exec(e))?void 0:t[1];return!!r&&r.startsWith("size:")}function P(e){var t,r=null==(t=g.exec(e))?void 0:t[1];return!!r&&r.startsWith("position:")}function C(e){var t,r=null==(t=g.exec(e))?void 0:t[1];return!!r&&(r.startsWith("url(")||r.startsWith("url:"))}function T(e){var t,r=null==(t=g.exec(e))?void 0:t[1];return!!r&&(!Number.isNaN(Number(r))||r.startsWith("number:"))}function M(e){var t,r=null==(t=g.exec(e))?void 0:t[1];return Number.isInteger(Number(r||e))}function S(e){return g.test(e)}function E(){return!0}function j(e){return v.test(e)}function A(e){var t,r=null==(t=g.exec(e))?void 0:t[1];return!!r&&w.test(r)}var N={__proto__:null,isLength:O,isArbitraryLength:_,isArbitrarySize:k,isArbitraryPosition:P,isArbitraryUrl:C,isArbitraryNumber:T,isArbitraryWeight:T,isInteger:M,isArbitraryValue:S,isAny:E,isTshirtSize:j,isArbitraryShadow:A};function R(){var e=b("colors"),t=b("spacing"),r=b("blur"),o=b("brightness"),n=b("borderColor"),a=b("borderRadius"),i=b("borderSpacing"),l=b("borderWidth"),s=b("contrast"),c=b("grayscale"),u=b("hueRotate"),d=b("invert"),f=b("gap"),p=b("gradientColorStops"),h=b("inset"),g=b("margin"),m=b("opacity"),y=b("padding"),v=b("saturate"),x=b("scale"),w=b("sepia"),N=b("skew"),R=b("space"),I=b("translate"),D=function(){return["auto",t]},L=function(){return["",O]},z=function(){return["auto",M]},F=function(){return["","0",S]};return{cacheSize:500,theme:{colors:[E],spacing:[O],blur:["none","",j,_],brightness:[M],borderColor:[e],borderRadius:["none","","full",j,_],borderSpacing:[t],borderWidth:L(),contrast:[M],grayscale:F(),hueRotate:[M],invert:F(),gap:[t],gradientColorStops:[e],inset:D(),margin:D(),opacity:[M],padding:[t],saturate:[M],scale:[M],sepia:F(),skew:[M,S],space:[t],translate:[t]},classGroups:{aspect:[{aspect:["auto","square","video",S]}],container:["container"],columns:[{columns:[j]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],[S])}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:[M]}],basis:[{basis:[t]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",S]}],grow:[{grow:F()}],shrink:[{shrink:F()}],order:[{order:["first","last","none",M]}],"grid-cols":[{"grid-cols":[E]}],"col-start-end":[{col:["auto",{span:[M]}]}],"col-start":[{"col-start":z()}],"col-end":[{"col-end":z()}],"grid-rows":[{"grid-rows":[E]}],"row-start-end":[{row:["auto",{span:[M]}]}],"row-start":[{"row-start":z()}],"row-end":[{"row-end":z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",S]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",S]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["start","end","center","between","around","evenly"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:[].concat(["start","end","center","between","around","evenly"],["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(["start","end","center","between","around","evenly"],["baseline","stretch"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[R]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[R]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",t]}],"min-w":[{"min-w":["min","max","fit",O]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[j]},j,_]}],h:[{h:[t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",O]}],"max-h":[{"max-h":[t,"min","max","fit"]}],"font-size":[{text:["base",j,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",T]}],"font-family":[{font:[E]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",_]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O]}],"list-style-type":[{list:["none","disc","decimal",S]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(["solid","dashed","dotted","double","none"],["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",O]}],"underline-offset":[{"underline-offset":["auto",O]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[t]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap"]}],break:[{break:["normal","words","all","keep"]}],content:[{content:["none",S]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],[P])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",k]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},C]}],"bg-color":[{bg:[e]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[].concat(["solid","dashed","dotted","double","none"],["hidden"])}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:[""].concat(["solid","dashed","dotted","double","none"])}],"outline-offset":[{"outline-offset":[O]}],"outline-w":[{outline:[O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",j,A]}],"shadow-color":[{shadow:[E]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",j,S]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",S]}],duration:[{duration:[M]}],ease:[{ease:["linear","in","out","in-out",S]}],delay:[{delay:[M]}],animate:[{animate:["none","spin","ping","pulse","bounce",S]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[M,S]}],"translate-x":[{"translate-x":[I]}],"translate-y":[{"translate-y":[I]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",S]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",S]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[t]}],"scroll-mx":[{"scroll-mx":[t]}],"scroll-my":[{"scroll-my":[t]}],"scroll-mt":[{"scroll-mt":[t]}],"scroll-mr":[{"scroll-mr":[t]}],"scroll-mb":[{"scroll-mb":[t]}],"scroll-ml":[{"scroll-ml":[t]}],"scroll-p":[{"scroll-p":[t]}],"scroll-px":[{"scroll-px":[t]}],"scroll-py":[{"scroll-py":[t]}],"scroll-pt":[{"scroll-pt":[t]}],"scroll-pr":[{"scroll-pr":[t]}],"scroll-pb":[{"scroll-pb":[t]}],"scroll-pl":[{"scroll-pl":[t]}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",S]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[O,T]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-t","rounded-r","rounded-b","rounded-l","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]}}}var I=h(R);function D(e,t){for(var r in t)F(e,r,t[r]);return e}var L=Object.prototype.hasOwnProperty,z=new Set(["string","number","boolean"]);function F(e,t,r){if(L.call(e,t)&&!z.has(typeof r)&&null!==r){if(Array.isArray(r)&&Array.isArray(e[t]))e[t]=e[t].concat(r);else if("object"==typeof r&&"object"==typeof e[t]){if(null===e[t])return void(e[t]=r);for(var o in r)F(e[t],o,r[o])}}else e[t]=r}var V=r;t.createTailwindMerge=h,t.extendTailwindMerge=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return h.apply(void 0,"function"==typeof e?[R,e].concat(r):[function(){return D(R(),e)}].concat(r))},t.fromTheme=b,t.getDefaultConfig=R,t.join=V,t.mergeConfigs=D,t.twJoin=r,t.twMerge=I,t.validators=N},1609:e=>{"use strict";e.exports=window.React},7723:e=>{"use strict";e.exports=window.wp.i18n},6188:(e,t,r)=>{"use strict";r.d(t,{BwJ:()=>l,D6w:()=>i,DN2:()=>g,HoF:()=>h,KuB:()=>u,LFz:()=>o,QLR:()=>v,_g1:()=>x,gK3:()=>d,gdJ:()=>n,hem:()=>w,jPR:()=>y,jTw:()=>c,lLb:()=>m,pS3:()=>p,qcK:()=>f,s67:()=>a,wd3:()=>s,yLS:()=>b});const o={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z"]},n={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192l42.7 0c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0L21.3 320C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7l42.7 0C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3l-213.3 0zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352l117.3 0C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7l-330.7 0c-14.7 0-26.7-11.9-26.7-26.7z"]},a={prefix:"fas",iconName:"chart-simple",icon:[448,512,[],"e473","M160 80c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 352c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-352zM0 272c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 160c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48L0 272zM368 96l32 0c26.5 0 48 21.5 48 48l0 288c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48z"]},i={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 32zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 288zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},l={prefix:"fas",iconName:"wifi",icon:[640,512,["wifi-3","wifi-strong"],"f1eb","M54.2 202.9C123.2 136.7 216.8 96 320 96s196.8 40.7 265.8 106.9c12.8 12.2 33 11.8 45.2-.9s11.8-33-.9-45.2C549.7 79.5 440.4 32 320 32S90.3 79.5 9.8 156.7C-2.9 169-3.3 189.2 8.9 202s32.5 13.2 45.2 .9zM320 256c56.8 0 108.6 21.1 148.2 56c13.3 11.7 33.5 10.4 45.2-2.8s10.4-33.5-2.8-45.2C459.8 219.2 393 192 320 192s-139.8 27.2-190.5 72c-13.3 11.7-14.5 31.9-2.8 45.2s31.9 14.5 45.2 2.8c39.5-34.9 91.3-56 148.2-56zm64 160a64 64 0 1 0 -128 0 64 64 0 1 0 128 0z"]},s={prefix:"fas",iconName:"comments-dollar",icon:[640,512,[],"f653","M416 176c0 97.2-93.1 176-208 176c-38.2 0-73.9-8.7-104.7-23.9c-7.5 4-16 7.9-25.2 11.4C59.8 346.4 37.8 352 16 352c-6.9 0-13.1-4.5-15.2-11.1s.2-13.8 5.8-17.9c0 0 0 0 0 0s0 0 0 0l.2-.2c.2-.2 .6-.4 1.1-.8c1-.8 2.5-2 4.3-3.7c3.6-3.3 8.5-8.1 13.3-14.3c5.5-7 10.7-15.4 14.2-24.7C14.7 250.3 0 214.6 0 176C0 78.8 93.1 0 208 0S416 78.8 416 176zM231.5 383C348.9 372.9 448 288.3 448 176c0-5.2-.2-10.4-.6-15.5C555.1 167.1 640 243.2 640 336c0 38.6-14.7 74.3-39.6 103.4c3.5 9.4 8.7 17.7 14.2 24.7c4.8 6.2 9.7 11 13.3 14.3c1.8 1.6 3.3 2.9 4.3 3.7c.5 .4 .9 .7 1.1 .8l.2 .2s0 0 0 0s0 0 0 0c5.6 4.1 7.9 11.3 5.8 17.9c-2.1 6.6-8.3 11.1-15.2 11.1c-21.8 0-43.8-5.6-62.1-12.5c-9.2-3.5-17.8-7.4-25.2-11.4C505.9 503.3 470.2 512 432 512c-95.6 0-176.2-54.6-200.5-129zM228 72c0-11-9-20-20-20s-20 9-20 20l0 14c-7.6 1.7-15.2 4.4-22.2 8.5c-13.9 8.3-25.9 22.8-25.8 43.9c.1 20.3 12 33.1 24.7 40.7c11 6.6 24.7 10.8 35.6 14l1.7 .5c12.6 3.8 21.8 6.8 28 10.7c5.1 3.2 5.8 5.4 5.9 8.2c.1 5-1.8 8-5.9 10.5c-5 3.1-12.9 5-21.4 4.7c-11.1-.4-21.5-3.9-35.1-8.5c-2.3-.8-4.7-1.6-7.2-2.4c-10.5-3.5-21.8 2.2-25.3 12.6s2.2 21.8 12.6 25.3c1.9 .6 4 1.3 6.1 2.1c0 0 0 0 0 0s0 0 0 0c8.3 2.9 17.9 6.2 28.2 8.4l0 14.6c0 11 9 20 20 20s20-9 20-20l0-13.8c8-1.7 16-4.5 23.2-9c14.3-8.9 25.1-24.1 24.8-45c-.3-20.3-11.7-33.4-24.6-41.6c-11.5-7.2-25.9-11.6-37.1-15l-.7-.2c-12.8-3.9-21.9-6.7-28.3-10.5c-5.2-3.1-5.3-4.9-5.3-6.7c0-3.7 1.4-6.5 6.2-9.3c5.4-3.2 13.6-5.1 21.5-5c9.6 .1 20.2 2.2 31.2 5.2c10.7 2.8 21.6-3.5 24.5-14.2s-3.5-21.6-14.2-24.5c-6.5-1.7-13.7-3.4-21.1-4.7L228 72z"]},c={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","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"]},u={prefix:"fas",iconName:"face-rolling-eyes",icon:[512,512,[128580,"meh-rolling-eyes"],"f5a5","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM192 368l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm32-144c0 35.3-28.7 64-64 64s-64-28.7-64-64c0-26 15.5-48.4 37.8-58.4c-3.7 5.2-5.8 11.6-5.8 18.4c0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.9-2.2-13.2-5.8-18.4C208.5 175.6 224 198 224 224zm128 64c-35.3 0-64-28.7-64-64c0-26 15.5-48.4 37.8-58.4c-3.7 5.2-5.8 11.6-5.8 18.4c0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.9-2.2-13.2-5.8-18.4C400.5 175.6 416 198 416 224c0 35.3-28.7 64-64 64z"]},d={prefix:"fas",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 400c0 44.2 35.8 80 80 80l400 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 416c-8.8 0-16-7.2-16-16L64 64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]},f={prefix:"fas",iconName:"heart",icon:[512,512,[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],"f004","M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"]},p={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.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 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},h={prefix:"fas",iconName:"face-frown",icon:[512,512,[9785,"frown"],"f119","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM159.3 388.7c-2.6 8.4-11.6 13.2-20 10.5s-13.2-11.6-10.5-20C145.2 326.1 196.3 288 256 288s110.8 38.1 127.3 91.3c2.6 8.4-2.1 17.4-10.5 20s-17.4-2.1-20-10.5C340.5 349.4 302.1 320 256 320s-84.5 29.4-96.7 68.7zM144.4 208a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},b={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z"]},g={prefix:"fas",iconName:"comment",icon:[512,512,[128489,61669],"f075","M512 240c0 114.9-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6C73.6 471.1 44.7 480 16 480c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4c0 0 0 0 0 0s0 0 0 0s0 0 0 0c0 0 0 0 0 0l.3-.3c.3-.3 .7-.7 1.3-1.4c1.1-1.2 2.8-3.1 4.9-5.7c4.1-5 9.6-12.4 15.2-21.6c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208z"]},m={prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M463.5 224l8.5 0c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8l119.5 0z"]},y={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"]},v={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},x={prefix:"fas",iconName:"gears",icon:[640,512,["cogs"],"f085","M308.5 135.3c7.1-6.3 9.9-16.2 6.2-25c-2.3-5.3-4.8-10.5-7.6-15.5L304 89.4c-3-5-6.3-9.9-9.8-14.6c-5.7-7.6-15.7-10.1-24.7-7.1l-28.2 9.3c-10.7-8.8-23-16-36.2-20.9L199 27.1c-1.9-9.3-9.1-16.7-18.5-17.8C173.9 8.4 167.2 8 160.4 8l-.7 0c-6.8 0-13.5 .4-20.1 1.2c-9.4 1.1-16.6 8.6-18.5 17.8L115 56.1c-13.3 5-25.5 12.1-36.2 20.9L50.5 67.8c-9-3-19-.5-24.7 7.1c-3.5 4.7-6.8 9.6-9.9 14.6l-3 5.3c-2.8 5-5.3 10.2-7.6 15.6c-3.7 8.7-.9 18.6 6.2 25l22.2 19.8C32.6 161.9 32 168.9 32 176s.6 14.1 1.7 20.9L11.5 216.7c-7.1 6.3-9.9 16.2-6.2 25c2.3 5.3 4.8 10.5 7.6 15.6l3 5.2c3 5.1 6.3 9.9 9.9 14.6c5.7 7.6 15.7 10.1 24.7 7.1l28.2-9.3c10.7 8.8 23 16 36.2 20.9l6.1 29.1c1.9 9.3 9.1 16.7 18.5 17.8c6.7 .8 13.5 1.2 20.4 1.2s13.7-.4 20.4-1.2c9.4-1.1 16.6-8.6 18.5-17.8l6.1-29.1c13.3-5 25.5-12.1 36.2-20.9l28.2 9.3c9 3 19 .5 24.7-7.1c3.5-4.7 6.8-9.5 9.8-14.6l3.1-5.4c2.8-5 5.3-10.2 7.6-15.5c3.7-8.7 .9-18.6-6.2-25l-22.2-19.8c1.1-6.8 1.7-13.8 1.7-20.9s-.6-14.1-1.7-20.9l22.2-19.8zM112 176a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM504.7 500.5c6.3 7.1 16.2 9.9 25 6.2c5.3-2.3 10.5-4.8 15.5-7.6l5.4-3.1c5-3 9.9-6.3 14.6-9.8c7.6-5.7 10.1-15.7 7.1-24.7l-9.3-28.2c8.8-10.7 16-23 20.9-36.2l29.1-6.1c9.3-1.9 16.7-9.1 17.8-18.5c.8-6.7 1.2-13.5 1.2-20.4s-.4-13.7-1.2-20.4c-1.1-9.4-8.6-16.6-17.8-18.5L583.9 307c-5-13.3-12.1-25.5-20.9-36.2l9.3-28.2c3-9 .5-19-7.1-24.7c-4.7-3.5-9.6-6.8-14.6-9.9l-5.3-3c-5-2.8-10.2-5.3-15.6-7.6c-8.7-3.7-18.6-.9-25 6.2l-19.8 22.2c-6.8-1.1-13.8-1.7-20.9-1.7s-14.1 .6-20.9 1.7l-19.8-22.2c-6.3-7.1-16.2-9.9-25-6.2c-5.3 2.3-10.5 4.8-15.6 7.6l-5.2 3c-5.1 3-9.9 6.3-14.6 9.9c-7.6 5.7-10.1 15.7-7.1 24.7l9.3 28.2c-8.8 10.7-16 23-20.9 36.2L315.1 313c-9.3 1.9-16.7 9.1-17.8 18.5c-.8 6.7-1.2 13.5-1.2 20.4s.4 13.7 1.2 20.4c1.1 9.4 8.6 16.6 17.8 18.5l29.1 6.1c5 13.3 12.1 25.5 20.9 36.2l-9.3 28.2c-3 9-.5 19 7.1 24.7c4.7 3.5 9.5 6.8 14.6 9.8l5.4 3.1c5 2.8 10.2 5.3 15.5 7.6c8.7 3.7 18.6 .9 25-6.2l19.8-22.2c6.8 1.1 13.8 1.7 20.9 1.7s14.1-.6 20.9-1.7l19.8 22.2zM464 304a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},w={prefix:"fas",iconName:"database",icon:[448,512,[],"f1c0","M448 80l0 48c0 44.2-100.3 80-224 80S0 172.2 0 128L0 80C0 35.8 100.3 0 224 0S448 35.8 448 80zM393.2 214.7c20.8-7.4 39.9-16.9 54.8-28.6L448 288c0 44.2-100.3 80-224 80S0 332.2 0 288L0 186.1c14.9 11.8 34 21.2 54.8 28.6C99.7 230.7 159.5 240 224 240s124.3-9.3 169.2-25.3zM0 346.1c14.9 11.8 34 21.2 54.8 28.6C99.7 390.7 159.5 400 224 400s124.3-9.3 169.2-25.3c20.8-7.4 39.9-16.9 54.8-28.6l0 85.9c0 44.2-100.3 80-224 80S0 476.2 0 432l0-85.9z"]}},1083:(e,t,r)=>{"use strict";r.d(t,{A:()=>vt});var o={};function n(e,t){return function(){return e.apply(t,arguments)}}r.r(o),r.d(o,{hasBrowserEnv:()=>pe,hasStandardBrowserEnv:()=>be,hasStandardBrowserWebWorkerEnv:()=>ge,navigator:()=>he,origin:()=>me});const{toString:a}=Object.prototype,{getPrototypeOf:i}=Object,l=(s=Object.create(null),e=>{const t=a.call(e);return s[t]||(s[t]=t.slice(8,-1).toLowerCase())});var s;const c=e=>(e=e.toLowerCase(),t=>l(t)===e),u=e=>t=>typeof t===e,{isArray:d}=Array,f=u("undefined"),p=c("ArrayBuffer"),h=u("string"),b=u("function"),g=u("number"),m=e=>null!==e&&"object"==typeof e,y=e=>{if("object"!==l(e))return!1;const t=i(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},v=c("Date"),x=c("File"),w=c("Blob"),O=c("FileList"),_=c("URLSearchParams"),[k,P,C,T]=["ReadableStream","Request","Response","Headers"].map(c);function M(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let o,n;if("object"!=typeof e&&(e=[e]),d(e))for(o=0,n=e.length;o<n;o++)t.call(null,e[o],o,e);else{const n=r?Object.getOwnPropertyNames(e):Object.keys(e),a=n.length;let i;for(o=0;o<a;o++)i=n[o],t.call(null,e[i],i,e)}}function S(e,t){t=t.toLowerCase();const r=Object.keys(e);let o,n=r.length;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,j=e=>!f(e)&&e!==E,A=(N="undefined"!=typeof Uint8Array&&i(Uint8Array),e=>N&&e instanceof N);var N;const R=c("HTMLFormElement"),I=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),D=c("RegExp"),L=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),o={};M(r,((r,n)=>{let a;!1!==(a=t(r,n,e))&&(o[n]=a||r)})),Object.defineProperties(e,o)},z="abcdefghijklmnopqrstuvwxyz",F="0123456789",V={DIGIT:F,ALPHA:z,ALPHA_DIGIT:z+z.toUpperCase()+F},B=c("AsyncFunction"),W=(H="function"==typeof setImmediate,U=b(E.postMessage),H?setImmediate:U?(q=`axios@${Math.random()}`,$=[],E.addEventListener("message",(({source:e,data:t})=>{e===E&&t===q&&$.length&&$.shift()()}),!1),e=>{$.push(e),E.postMessage(q,"*")}):e=>setTimeout(e));var H,U,q,$;const Y="undefined"!=typeof queueMicrotask?queueMicrotask.bind(E):"undefined"!=typeof process&&process.nextTick||W,X={isArray:d,isArrayBuffer:p,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&b(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||b(e.append)&&("formdata"===(t=l(e))||"object"===t&&b(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&p(e.buffer),t},isString:h,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:m,isPlainObject:y,isReadableStream:k,isRequest:P,isResponse:C,isHeaders:T,isUndefined:f,isDate:v,isFile:x,isBlob:w,isRegExp:D,isFunction:b,isStream:e=>m(e)&&b(e.pipe),isURLSearchParams:_,isTypedArray:A,isFileList:O,forEach:M,merge:function e(){const{caseless:t}=j(this)&&this||{},r={},o=(o,n)=>{const a=t&&S(r,n)||n;y(r[a])&&y(o)?r[a]=e(r[a],o):y(o)?r[a]=e({},o):d(o)?r[a]=o.slice():r[a]=o};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&M(arguments[e],o);return r},extend:(e,t,r,{allOwnKeys:o}={})=>(M(t,((t,o)=>{r&&b(t)?e[o]=n(t,r):e[o]=t}),{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,o)=>{let n,a,l;const s={};if(t=t||{},null==e)return t;do{for(n=Object.getOwnPropertyNames(e),a=n.length;a-- >0;)l=n[a],o&&!o(l,e,t)||s[l]||(t[l]=e[l],s[l]=!0);e=!1!==r&&i(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:l,kindOfTest:c,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const o=e.indexOf(t,r);return-1!==o&&o===r},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!g(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const r=o.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const o=[];for(;null!==(r=e.exec(t));)o.push(r);return o},isHTMLForm:R,hasOwnProperty:I,hasOwnProp:I,reduceDescriptors:L,freezeMethods:e=>{L(e,((t,r)=>{if(b(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const o=e[r];b(o)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(e,t)=>{const r={},o=e=>{e.forEach((e=>{r[e]=!0}))};return d(e)?o(e):o(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:S,global:E,isContextDefined:j,ALPHABET:V,generateString:(e=16,t=V.ALPHA_DIGIT)=>{let r="";const{length:o}=t;for(;e--;)r+=t[Math.random()*o|0];return r},isSpecCompliantForm:function(e){return!!(e&&b(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,o)=>{if(m(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[o]=e;const n=d(e)?[]:{};return M(e,((e,t)=>{const a=r(e,o+1);!f(a)&&(n[t]=a)})),t[o]=void 0,n}}return e};return r(e,0)},isAsyncFn:B,isThenable:e=>e&&(m(e)||b(e))&&b(e.then)&&b(e.catch),setImmediate:W,asap:Y};function K(e,t,r,o,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),o&&(this.request=o),n&&(this.response=n,this.status=n.status?n.status:null)}X.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}});const G=K.prototype,Z={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Z[e]={value:e}})),Object.defineProperties(K,Z),Object.defineProperty(G,"isAxiosError",{value:!0}),K.from=(e,t,r,o,n,a)=>{const i=Object.create(G);return X.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),K.call(i,e.message,t,r,o,n),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const J=K;function Q(e){return X.isPlainObject(e)||X.isArray(e)}function ee(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function te(e,t,r){return e?e.concat(t).map((function(e,t){return e=ee(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}const re=X.toFlatObject(X,{},null,(function(e){return/^is[A-Z]/.test(e)})),oe=function(e,t,r){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const o=(r=X.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!X.isUndefined(t[e])}))).metaTokens,n=r.visitor||c,a=r.dots,i=r.indexes,l=(r.Blob||"undefined"!=typeof Blob&&Blob)&&X.isSpecCompliantForm(t);if(!X.isFunction(n))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(X.isDate(e))return e.toISOString();if(!l&&X.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(e)||X.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,r,n){let l=e;if(e&&!n&&"object"==typeof e)if(X.endsWith(r,"{}"))r=o?r:r.slice(0,-2),e=JSON.stringify(e);else if(X.isArray(e)&&function(e){return X.isArray(e)&&!e.some(Q)}(e)||(X.isFileList(e)||X.endsWith(r,"[]"))&&(l=X.toArray(e)))return r=ee(r),l.forEach((function(e,o){!X.isUndefined(e)&&null!==e&&t.append(!0===i?te([r],o,a):null===i?r:r+"[]",s(e))})),!1;return!!Q(e)||(t.append(te(n,r,a),s(e)),!1)}const u=[],d=Object.assign(re,{defaultVisitor:c,convertValue:s,isVisitable:Q});if(!X.isObject(e))throw new TypeError("data must be an object");return function e(r,o){if(!X.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+o.join("."));u.push(r),X.forEach(r,(function(r,a){!0===(!(X.isUndefined(r)||null===r)&&n.call(t,r,X.isString(a)?a.trim():a,o,d))&&e(r,o?o.concat(a):[a])})),u.pop()}}(e),t};function ne(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ae(e,t){this._pairs=[],e&&oe(e,this,t)}const ie=ae.prototype;ie.append=function(e,t){this._pairs.push([e,t])},ie.toString=function(e){const t=e?function(t){return e.call(this,t,ne)}:ne;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const le=ae;function se(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ce(e,t,r){if(!t)return e;const o=r&&r.encode||se;X.isFunction(r)&&(r={serialize:r});const n=r&&r.serialize;let a;if(a=n?n(t,r):X.isURLSearchParams(t)?t.toString():new le(t,r).toString(o),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}const ue=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){X.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},de={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fe={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:le,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},pe="undefined"!=typeof window&&"undefined"!=typeof document,he="object"==typeof navigator&&navigator||void 0,be=pe&&(!he||["ReactNative","NativeScript","NS"].indexOf(he.product)<0),ge="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,me=pe&&window.location.href||"http://localhost",ye={...o,...fe},ve=function(e){function t(e,r,o,n){let a=e[n++];if("__proto__"===a)return!0;const i=Number.isFinite(+a),l=n>=e.length;return a=!a&&X.isArray(o)?o.length:a,l?(X.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!i):(o[a]&&X.isObject(o[a])||(o[a]=[]),t(e,r,o[a],n)&&X.isArray(o[a])&&(o[a]=function(e){const t={},r=Object.keys(e);let o;const n=r.length;let a;for(o=0;o<n;o++)a=r[o],t[a]=e[a];return t}(o[a])),!i)}if(X.isFormData(e)&&X.isFunction(e.entries)){const r={};return X.forEachEntry(e,((e,o)=>{t(function(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),o,r,0)})),r}return null},xe={transitional:de,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",o=r.indexOf("application/json")>-1,n=X.isObject(e);if(n&&X.isHTMLForm(e)&&(e=new FormData(e)),X.isFormData(e))return o?JSON.stringify(ve(e)):e;if(X.isArrayBuffer(e)||X.isBuffer(e)||X.isStream(e)||X.isFile(e)||X.isBlob(e)||X.isReadableStream(e))return e;if(X.isArrayBufferView(e))return e.buffer;if(X.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(n){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return oe(e,new ye.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,o){return ye.isNode&&X.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=X.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return oe(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return n||o?(t.setContentType("application/json",!1),function(e){if(X.isString(e))try{return(0,JSON.parse)(e),X.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||xe.transitional,r=t&&t.forcedJSONParsing,o="json"===this.responseType;if(X.isResponse(e)||X.isReadableStream(e))return e;if(e&&X.isString(e)&&(r&&!this.responseType||o)){const r=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ye.classes.FormData,Blob:ye.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],(e=>{xe.headers[e]={}}));const we=xe,Oe=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),_e=Symbol("internals");function ke(e){return e&&String(e).trim().toLowerCase()}function Pe(e){return!1===e||null==e?e:X.isArray(e)?e.map(Pe):String(e)}function Ce(e,t,r,o,n){return X.isFunction(o)?o.call(this,t,r):(n&&(t=r),X.isString(t)?X.isString(o)?-1!==t.indexOf(o):X.isRegExp(o)?o.test(t):void 0:void 0)}class Te{constructor(e){e&&this.set(e)}set(e,t,r){const o=this;function n(e,t,r){const n=ke(t);if(!n)throw new Error("header name must be a non-empty string");const a=X.findKey(o,n);(!a||void 0===o[a]||!0===r||void 0===r&&!1!==o[a])&&(o[a||t]=Pe(e))}const a=(e,t)=>X.forEach(e,((e,r)=>n(e,r,t)));if(X.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(X.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let r,o,n;return e&&e.split("\n").forEach((function(e){n=e.indexOf(":"),r=e.substring(0,n).trim().toLowerCase(),o=e.substring(n+1).trim(),!r||t[r]&&Oe[r]||("set-cookie"===r?t[r]?t[r].push(o):t[r]=[o]:t[r]=t[r]?t[r]+", "+o:o)})),t})(e),t);else if(X.isHeaders(e))for(const[t,o]of e.entries())n(o,t,r);else null!=e&&n(t,e,r);return this}get(e,t){if(e=ke(e)){const r=X.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=r.exec(e);)t[o[1]]=o[2];return t}(e);if(X.isFunction(t))return t.call(this,e,r);if(X.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ke(e)){const r=X.findKey(this,e);return!(!r||void 0===this[r]||t&&!Ce(0,this[r],r,t))}return!1}delete(e,t){const r=this;let o=!1;function n(e){if(e=ke(e)){const n=X.findKey(r,e);!n||t&&!Ce(0,r[n],n,t)||(delete r[n],o=!0)}}return X.isArray(e)?e.forEach(n):n(e),o}clear(e){const t=Object.keys(this);let r=t.length,o=!1;for(;r--;){const n=t[r];e&&!Ce(0,this[n],n,e,!0)||(delete this[n],o=!0)}return o}normalize(e){const t=this,r={};return X.forEach(this,((o,n)=>{const a=X.findKey(r,n);if(a)return t[a]=Pe(o),void delete t[n];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(n):String(n).trim();i!==n&&delete t[n],t[i]=Pe(o),r[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return X.forEach(this,((r,o)=>{null!=r&&!1!==r&&(t[o]=e&&X.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach((e=>r.set(e))),r}static accessor(e){const t=(this[_e]=this[_e]={accessors:{}}).accessors,r=this.prototype;function o(e){const o=ke(e);t[o]||(function(e,t){const r=X.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+r,{value:function(e,r,n){return this[o].call(this,t,e,r,n)},configurable:!0})}))}(r,e),t[o]=!0)}return X.isArray(e)?e.forEach(o):o(e),this}}Te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(Te.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}})),X.freezeMethods(Te);const Me=Te;function Se(e,t){const r=this||we,o=t||r,n=Me.from(o.headers);let a=o.data;return X.forEach(e,(function(e){a=e.call(r,a,n.normalize(),t?t.status:void 0)})),n.normalize(),a}function Ee(e){return!(!e||!e.__CANCEL__)}function je(e,t,r){J.call(this,null==e?"canceled":e,J.ERR_CANCELED,t,r),this.name="CanceledError"}X.inherits(je,J,{__CANCEL__:!0});const Ae=je;function Ne(e,t,r){const o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(new J("Request failed with status code "+r.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}const Re=(e,t,r=3)=>{let o=0;const n=function(e,t){e=e||10;const r=new Array(e),o=new Array(e);let n,a=0,i=0;return t=void 0!==t?t:1e3,function(l){const s=Date.now(),c=o[i];n||(n=s),r[a]=l,o[a]=s;let u=i,d=0;for(;u!==a;)d+=r[u++],u%=e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),s-n<t)return;const f=c&&s-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return function(e,t){let r,o,n=0,a=1e3/t;const i=(t,a=Date.now())=>{n=a,r=null,o&&(clearTimeout(o),o=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),l=t-n;l>=a?i(e,t):(r=e,o||(o=setTimeout((()=>{o=null,i(r)}),a-l)))},()=>r&&i(r)]}((r=>{const a=r.loaded,i=r.lengthComputable?r.total:void 0,l=a-o,s=n(l);o=a,e({loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:s||void 0,estimated:s&&i&&a<=i?(i-a)/s:void 0,event:r,lengthComputable:null!=i,[t?"download":"upload"]:!0})}),r)},Ie=(e,t)=>{const r=null!=e;return[o=>t[0]({lengthComputable:r,total:e,loaded:o}),t[1]]},De=e=>(...t)=>X.asap((()=>e(...t))),Le=ye.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,ye.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(ye.origin),ye.navigator&&/(msie|trident)/i.test(ye.navigator.userAgent)):()=>!0,ze=ye.hasStandardBrowserEnv?{write(e,t,r,o,n,a){const i=[e+"="+encodeURIComponent(t)];X.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),X.isString(o)&&i.push("path="+o),X.isString(n)&&i.push("domain="+n),!0===a&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Fe(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Ve=e=>e instanceof Me?{...e}:e;function Be(e,t){t=t||{};const r={};function o(e,t,r,o){return X.isPlainObject(e)&&X.isPlainObject(t)?X.merge.call({caseless:o},e,t):X.isPlainObject(t)?X.merge({},t):X.isArray(t)?t.slice():t}function n(e,t,r,n){return X.isUndefined(t)?X.isUndefined(e)?void 0:o(void 0,e,0,n):o(e,t,0,n)}function a(e,t){if(!X.isUndefined(t))return o(void 0,t)}function i(e,t){return X.isUndefined(t)?X.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function l(r,n,a){return a in t?o(r,n):a in e?o(void 0,r):void 0}const s={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(e,t,r)=>n(Ve(e),Ve(t),0,!0)};return X.forEach(Object.keys(Object.assign({},e,t)),(function(o){const a=s[o]||n,i=a(e[o],t[o],o);X.isUndefined(i)&&a!==l||(r[o]=i)})),r}const We=e=>{const t=Be({},e);let r,{data:o,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:i,headers:l,auth:s}=t;if(t.headers=l=Me.from(l),t.url=ce(Fe(t.baseURL,t.url),e.params,e.paramsSerializer),s&&l.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),X.isFormData(o))if(ye.hasStandardBrowserEnv||ye.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if(!1!==(r=l.getContentType())){const[e,...t]=r?r.split(";").map((e=>e.trim())).filter(Boolean):[];l.setContentType([e||"multipart/form-data",...t].join("; "))}if(ye.hasStandardBrowserEnv&&(n&&X.isFunction(n)&&(n=n(t)),n||!1!==n&&Le(t.url))){const e=a&&i&&ze.read(i);e&&l.set(a,e)}return t},He="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const o=We(e);let n=o.data;const a=Me.from(o.headers).normalize();let i,l,s,c,u,{responseType:d,onUploadProgress:f,onDownloadProgress:p}=o;function h(){c&&c(),u&&u(),o.cancelToken&&o.cancelToken.unsubscribe(i),o.signal&&o.signal.removeEventListener("abort",i)}let b=new XMLHttpRequest;function g(){if(!b)return;const o=Me.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders());Ne((function(e){t(e),h()}),(function(e){r(e),h()}),{data:d&&"text"!==d&&"json"!==d?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:o,config:e,request:b}),b=null}b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout,"onloadend"in b?b.onloadend=g:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(g)},b.onabort=function(){b&&(r(new J("Request aborted",J.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new J("Network Error",J.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let t=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const n=o.transitional||de;o.timeoutErrorMessage&&(t=o.timeoutErrorMessage),r(new J(t,n.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,b)),b=null},void 0===n&&a.setContentType(null),"setRequestHeader"in b&&X.forEach(a.toJSON(),(function(e,t){b.setRequestHeader(t,e)})),X.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),d&&"json"!==d&&(b.responseType=o.responseType),p&&([s,u]=Re(p,!0),b.addEventListener("progress",s)),f&&b.upload&&([l,c]=Re(f),b.upload.addEventListener("progress",l),b.upload.addEventListener("loadend",c)),(o.cancelToken||o.signal)&&(i=t=>{b&&(r(!t||t.type?new Ae(null,e,b):t),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(i),o.signal&&(o.signal.aborted?i():o.signal.addEventListener("abort",i)));const m=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(o.url);m&&-1===ye.protocols.indexOf(m)?r(new J("Unsupported protocol "+m+":",J.ERR_BAD_REQUEST,e)):b.send(n||null)}))},Ue=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,o=new AbortController;const n=function(e){if(!r){r=!0,i();const t=e instanceof Error?e:this.reason;o.abort(t instanceof J?t:new Ae(t instanceof Error?t.message:t))}};let a=t&&setTimeout((()=>{a=null,n(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))}),t);const i=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(n):e.removeEventListener("abort",n)})),e=null)};e.forEach((e=>e.addEventListener("abort",n)));const{signal:l}=o;return l.unsubscribe=()=>X.asap(i),l}},qe=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let o,n=0;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},$e=(e,t,r,o)=>{const n=async function*(e,t){for await(const r of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}}(e))yield*qe(r,t)}(e,t);let a,i=0,l=e=>{a||(a=!0,o&&o(e))};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await n.next();if(t)return l(),void e.close();let a=o.byteLength;if(r){let e=i+=a;r(e)}e.enqueue(new Uint8Array(o))}catch(e){throw l(e),e}},cancel:e=>(l(e),n.return())},{highWaterMark:2})},Ye="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Xe=Ye&&"function"==typeof ReadableStream,Ke=Ye&&("function"==typeof TextEncoder?(Ge=new TextEncoder,e=>Ge.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Ge;const Ze=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Je=Xe&&Ze((()=>{let e=!1;const t=new Request(ye.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Qe=Xe&&Ze((()=>X.isReadableStream(new Response("").body))),et={stream:Qe&&(e=>e.body)};var tt;Ye&&(tt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!et[e]&&(et[e]=X.isFunction(tt[e])?t=>t[e]():(t,r)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,r)})})));const rt={http:null,xhr:He,fetch:Ye&&(async e=>{let{url:t,method:r,data:o,signal:n,cancelToken:a,timeout:i,onDownloadProgress:l,onUploadProgress:s,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=We(e);c=c?(c+"").toLowerCase():"text";let p,h=Ue([n,a&&a.toAbortSignal()],i);const b=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let g;try{if(s&&Je&&"get"!==r&&"head"!==r&&0!==(g=await(async(e,t)=>{const r=X.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(X.isBlob(e))return e.size;if(X.isSpecCompliantForm(e)){const t=new Request(ye.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return X.isArrayBufferView(e)||X.isArrayBuffer(e)?e.byteLength:(X.isURLSearchParams(e)&&(e+=""),X.isString(e)?(await Ke(e)).byteLength:void 0)})(t):r})(u,o))){let e,r=new Request(t,{method:"POST",body:o,duplex:"half"});if(X.isFormData(o)&&(e=r.headers.get("content-type"))&&u.setContentType(e),r.body){const[e,t]=Ie(g,Re(De(s)));o=$e(r.body,65536,e,t)}}X.isString(d)||(d=d?"include":"omit");const n="credentials"in Request.prototype;p=new Request(t,{...f,signal:h,method:r.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:n?d:void 0});let a=await fetch(p);const i=Qe&&("stream"===c||"response"===c);if(Qe&&(l||i&&b)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=X.toFiniteNumber(a.headers.get("content-length")),[r,o]=l&&Ie(t,Re(De(l),!0))||[];a=new Response($e(a.body,65536,r,(()=>{o&&o(),b&&b()})),e)}c=c||"text";let m=await et[X.findKey(et,c)||"text"](a,e);return!i&&b&&b(),await new Promise(((t,r)=>{Ne(t,r,{data:m,headers:Me.from(a.headers),status:a.status,statusText:a.statusText,config:e,request:p})}))}catch(t){if(b&&b(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,p),{cause:t.cause||t});throw J.from(t,t&&t.code,e,p)}})};X.forEach(rt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const ot=e=>`- ${e}`,nt=e=>X.isFunction(e)||null===e||!1===e,at=e=>{e=X.isArray(e)?e:[e];const{length:t}=e;let r,o;const n={};for(let a=0;a<t;a++){let t;if(r=e[a],o=r,!nt(r)&&(o=rt[(t=String(r)).toLowerCase()],void 0===o))throw new J(`Unknown adapter '${t}'`);if(o)break;n[t||"#"+a]=o}if(!o){const e=Object.entries(n).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let r=t?e.length>1?"since :\n"+e.map(ot).join("\n"):" "+ot(e[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return o};function it(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ae(null,e)}function lt(e){return it(e),e.headers=Me.from(e.headers),e.data=Se.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),at(e.adapter||we.adapter)(e).then((function(t){return it(e),t.data=Se.call(e,e.transformResponse,t),t.headers=Me.from(t.headers),t}),(function(t){return Ee(t)||(it(e),t&&t.response&&(t.response.data=Se.call(e,e.transformResponse,t.response),t.response.headers=Me.from(t.response.headers))),Promise.reject(t)}))}const st={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{st[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const ct={};st.transitional=function(e,t,r){function o(e,t){return"[Axios v1.7.9] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,n,a)=>{if(!1===e)throw new J(o(n," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!ct[n]&&(ct[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},st.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};const ut={assertOptions:function(e,t,r){if("object"!=typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let n=o.length;for(;n-- >0;){const a=o[n],i=t[a];if(i){const t=e[a],r=void 0===t||i(t,a,e);if(!0!==r)throw new J("option "+a+" must be "+r,J.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new J("Unknown option "+a,J.ERR_BAD_OPTION)}},validators:st},dt=ut.validators;class ft{constructor(e){this.defaults=e,this.interceptors={request:new ue,response:new ue}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Be(this.defaults,t);const{transitional:r,paramsSerializer:o,headers:n}=t;void 0!==r&&ut.assertOptions(r,{silentJSONParsing:dt.transitional(dt.boolean),forcedJSONParsing:dt.transitional(dt.boolean),clarifyTimeoutError:dt.transitional(dt.boolean)},!1),null!=o&&(X.isFunction(o)?t.paramsSerializer={serialize:o}:ut.assertOptions(o,{encode:dt.function,serialize:dt.function},!0)),ut.assertOptions(t,{baseUrl:dt.spelling("baseURL"),withXsrfToken:dt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=n&&X.merge(n.common,n[t.method]);n&&X.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete n[e]})),t.headers=Me.concat(a,n);const i=[];let l=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const s=[];let c;this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)}));let u,d=0;if(!l){const e=[lt.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,s),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=i.length;let f=t;for(d=0;d<u;){const e=i[d++],t=i[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=lt.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,u=s.length;d<u;)c=c.then(s[d++],s[d++]);return c}getUri(e){return ce(Fe((e=Be(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}X.forEach(["delete","get","head","options"],(function(e){ft.prototype[e]=function(t,r){return this.request(Be(r||{},{method:e,url:t,data:(r||{}).data}))}})),X.forEach(["post","put","patch"],(function(e){function t(t){return function(r,o,n){return this.request(Be(n||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}ft.prototype[e]=t(),ft.prototype[e+"Form"]=t(!0)}));const pt=ft;class ht{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t;const o=new Promise((e=>{r.subscribe(e),t=e})).then(e);return o.cancel=function(){r.unsubscribe(t)},o},e((function(e,o,n){r.reason||(r.reason=new Ae(e,o,n),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new ht((function(t){e=t})),cancel:e}}}const bt=ht,gt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(gt).forEach((([e,t])=>{gt[t]=e}));const mt=gt,yt=function e(t){const r=new pt(t),o=n(pt.prototype.request,r);return X.extend(o,pt.prototype,r,{allOwnKeys:!0}),X.extend(o,r,null,{allOwnKeys:!0}),o.create=function(r){return e(Be(t,r))},o}(we);yt.Axios=pt,yt.CanceledError=Ae,yt.CancelToken=bt,yt.isCancel=Ee,yt.VERSION="1.7.9",yt.toFormData=oe,yt.AxiosError=J,yt.Cancel=yt.CanceledError,yt.all=function(e){return Promise.all(e)},yt.spread=function(e){return function(t){return e.apply(null,t)}},yt.isAxiosError=function(e){return X.isObject(e)&&!0===e.isAxiosError},yt.mergeConfig=Be,yt.AxiosHeaders=Me,yt.formToJSON=e=>ve(X.isHTMLForm(e)?new FormData(e):e),yt.getAdapter=at,yt.HttpStatusCode=mt,yt.default=yt;const vt=yt},1635:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>I,__assign:()=>a,__asyncDelegator:()=>P,__asyncGenerator:()=>k,__asyncValues:()=>C,__await:()=>_,__awaiter:()=>h,__classPrivateFieldGet:()=>A,__classPrivateFieldIn:()=>R,__classPrivateFieldSet:()=>N,__createBinding:()=>g,__decorate:()=>l,__disposeResources:()=>L,__esDecorate:()=>c,__exportStar:()=>m,__extends:()=>n,__generator:()=>b,__importDefault:()=>j,__importStar:()=>E,__makeTemplateObject:()=>T,__metadata:()=>p,__param:()=>s,__propKey:()=>d,__read:()=>v,__rest:()=>i,__rewriteRelativeImportExtension:()=>z,__runInitializers:()=>u,__setFunctionName:()=>f,__spread:()=>x,__spreadArray:()=>O,__spreadArrays:()=>w,__values:()=>y,default:()=>F});var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},o(e,t)};function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},a.apply(this,arguments)};function i(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}function l(e,t,r,o){var n,a=arguments.length,i=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(i=(a<3?n(i):a>3?n(t,r,i):n(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}function s(e,t){return function(r,o){t(r,o,e)}}function c(e,t,r,o,n,a){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var l,s=o.kind,c="getter"===s?"get":"setter"===s?"set":"value",u=!t&&e?o.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,o.name):{}),f=!1,p=r.length-1;p>=0;p--){var h={};for(var b in o)h[b]="access"===b?{}:o[b];for(var b in o.access)h.access[b]=o.access[b];h.addInitializer=function(e){if(f)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(e||null))};var g=(0,r[p])("accessor"===s?{get:d.get,set:d.set}:d[c],h);if("accessor"===s){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(l=i(g.get))&&(d.get=l),(l=i(g.set))&&(d.set=l),(l=i(g.init))&&n.unshift(l)}else(l=i(g))&&("field"===s?n.unshift(l):d[c]=l)}u&&Object.defineProperty(u,o.name,d),f=!0}function u(e,t,r){for(var o=arguments.length>2,n=0;n<t.length;n++)r=o?t[n].call(e,r):t[n].call(e);return o?r:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,r,o){return new(r||(r=Promise))((function(n,a){function i(e){try{s(o.next(e))}catch(e){a(e)}}function l(e){try{s(o.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,l)}s((o=o.apply(e,t||[])).next())}))}function b(e,t){var r,o,n,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(a=0)),a;)try{if(r=1,o&&(n=2&l[0]?o.return:l[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,l[1])).done)return n;switch(o=0,n&&(l=[2&l[0],n.value]),l[0]){case 0:case 1:n=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,o=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!((n=(n=a.trys).length>0&&n[n.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!n||l[1]>n[0]&&l[1]<n[3])){a.label=l[1];break}if(6===l[0]&&a.label<n[1]){a.label=n[1],n=l;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(l);break}n[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e],o=0}finally{r=n=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}var g=Object.create?function(e,t,r,o){void 0===o&&(o=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,n)}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]};function m(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||g(t,e,r)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}function x(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function w(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var o=Array(e),n=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,l=a.length;i<l;i++,n++)o[n]=a[i];return o}function O(e,t,r){if(r||2===arguments.length)for(var o,n=0,a=t.length;n<a;n++)!o&&n in t||(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function k(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,n=r.apply(e,t||[]),a=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",(function(e){return function(t){return Promise.resolve(t).then(e,c)}})),o[Symbol.asyncIterator]=function(){return this},o;function i(e,t){n[e]&&(o[e]=function(t){return new Promise((function(r,o){a.push([e,t,r,o])>1||l(e,t)}))},t&&(o[e]=t(o[e])))}function l(e,t){try{(r=n[e](t)).value instanceof _?Promise.resolve(r.value.v).then(s,c):u(a[0][2],r)}catch(e){u(a[0][3],e)}var r}function s(e){l("next",e)}function c(e){l("throw",e)}function u(e,t){e(t),a.shift(),a.length&&l(a[0][0],a[0][1])}}function P(e){var t,r;return t={},o("next"),o("throw",(function(e){throw e})),o("return"),t[Symbol.iterator]=function(){return this},t;function o(o,n){t[o]=e[o]?function(t){return(r=!r)?{value:_(e[o](t)),done:!1}:n?n(t):t}:n}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=y(e),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(r){t[r]=e[r]&&function(t){return new Promise((function(o,n){!function(e,t,r,o){Promise.resolve(o).then((function(t){e({value:t,done:r})}),t)}(o,n,(t=e[r](t)).done,t.value)}))}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var M=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},S=function(e){return S=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},S(e)};function E(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=S(e),o=0;o<r.length;o++)"default"!==r[o]&&g(t,e,r[o]);return M(t,e),t}function j(e){return e&&e.__esModule?e:{default:e}}function A(e,t,r,o){if("a"===r&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?o:"a"===r?o.call(e):o?o.value:t.get(e)}function N(e,t,r,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(e,r):n?n.value=r:t.set(e,r),r}function R(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function I(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var o,n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");o=t[Symbol.asyncDispose]}if(void 0===o){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");o=t[Symbol.dispose],r&&(n=o)}if("function"!=typeof o)throw new TypeError("Object not disposable.");n&&(o=function(){try{n.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:o,async:r})}else r&&e.stack.push({async:!0});return t}var D="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var o=new Error(r);return o.name="SuppressedError",o.error=e,o.suppressed=t,o};function L(e){function t(t){e.error=e.hasError?new D(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,o=0;return function n(){for(;r=e.stack.pop();)try{if(!r.async&&1===o)return o=0,e.stack.push(r),Promise.resolve().then(n);if(r.dispose){var a=r.dispose.call(r.value);if(r.async)return o|=2,Promise.resolve(a).then(n,(function(e){return t(e),n()}))}else o|=1}catch(e){t(e)}if(1===o)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function z(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,r,o,n,a){return r?t?".jsx":".js":!o||n&&a?o+n+"."+a.toLowerCase()+"js":e})):e}const F={__extends:n,__assign:a,__rest:i,__decorate:l,__param:s,__esDecorate:c,__runInitializers:u,__propKey:d,__setFunctionName:f,__metadata:p,__awaiter:h,__generator:b,__createBinding:g,__exportStar:m,__values:y,__read:v,__spread:x,__spreadArrays:w,__spreadArray:O,__await:_,__asyncGenerator:k,__asyncDelegator:P,__asyncValues:C,__makeTemplateObject:T,__importStar:E,__importDefault:j,__classPrivateFieldGet:A,__classPrivateFieldSet:N,__classPrivateFieldIn:R,__addDisposableResource:I,__disposeResources:L,__rewriteRelativeImportExtension:z}}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={exports:{}};return r[e].call(a.exports,a,a.exports,n),a.exports}n.m=r,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>e+".js",n.miniCssF=e=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="data_collector_insights:",n.l=(r,o,a,i)=>{if(e[r])e[r].push(o);else{var l,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+a){l=d;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+a),l.src=r),e[r]=[o];var f=(t,o)=>{l.onerror=l.onload=null,clearTimeout(p);var n=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),n&&n.forEach((e=>e(o))),t)return t(o)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),s&&document.head.appendChild(l)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={57:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var a=new Promise(((r,n)=>o=e[t]=[r,n]));r.push(o[2]=a);var i=n.p+n.u(t),l=new Error;n.l(i,(r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",l.name="ChunkLoadError",l.type=a,l.request=i,o[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var o,a,[i,l,s]=r,c=0;if(i.some((t=>0!==e[t]))){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);s&&s(n)}for(t&&t(r);c<i.length;c++)a=i[c],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunkdata_collector_insights=globalThis.webpackChunkdata_collector_insights||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0,(()=>{"use strict";var e=n(1609),t=n(7723);function r(){const[t,r]=(0,e.useState)("Welcome to My Website");return(0,e.useEffect)((()=>{}),[]),(0,e.createElement)("header",null,(0,e.createElement)("nav",{className:"bg-white border-gray-200 px-4 rounded-xl lg:px-6 py-5 dark:bg-stone-900 shadow-sm"},(0,e.createElement)("div",{className:"flex flex-wrap justify-between items-center"},(0,e.createElement)("div",{className:"flex justify-start items-center"},(0,e.createElement)("button",{id:"toggleSidebar","aria-expanded":"true","aria-controls":"sidebar",className:"hidden p-2 mr-3 text-gray-600 rounded cursor-pointer lg:inline hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-700"},(0,e.createElement)("svg",{className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"}))),(0,e.createElement)("button",{id:"toggleSidebarMd","aria-expanded":"true","aria-controls":"sidebar",className:"p-2 mr-2 text-gray-600 rounded-lg cursor-pointer lg:hidden hover:text-gray-900 hover:bg-gray-100 focus:bg-gray-100 dark:focus:bg-gray-700 focus:ring-2 focus:ring-gray-100 dark:focus:ring-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"},(0,e.createElement)("svg",{"aria-hidden":"true",className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"})),(0,e.createElement)("svg",{"aria-hidden":"true",className:"hidden w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})),(0,e.createElement)("span",{className:"sr-only"},"Toggle sidebar")),(0,e.createElement)("a",{href:"https://github.com/bdkoder",target:"_blank",className:"flex mr-4"},(0,e.createElement)("img",{src:DCIConfig.logo,className:"mr-3 h-8",alt:"DC Insights"}),(0,e.createElement)("span",{className:"self-center text-2xl font-semibold whitespace-nowrap dark:text-white"},"Data Insights"))),(0,e.createElement)("div",{className:"flex items-center lg:order-2"},(0,e.createElement)("button",{id:"dc-insights-theme-toggle",className:"flex p-2 mr-1 text-gray-500 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-700 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600",type:"button"},(0,e.createElement)("div",{id:"dc-insights-theme-toggle-dark-icon",className:"hidden"},(0,e.createElement)("div",{className:"icon-wrap text-2xl"},(0,e.createElement)("svg",{fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"})))),(0,e.createElement)("div",{id:"dc-insights-theme-toggle-light-icon",className:"hidden"},(0,e.createElement)("div",{className:"icon-wrap text-2xl"},(0,e.createElement)("svg",{fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z",fillRule:"evenodd",clipRule:"evenodd"}))))),(0,e.createElement)("a",{download:"",href:DCIConfig.root_url+"dci.zip",title:"Download SDK",type:"button",className:"p-2 mr-1 text-gray-500 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-700 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600"},(0,e.createElement)("svg",{"aria-hidden":"true",className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M12 6.25C12.4142 6.25 12.75 6.58579 12.75 7V12.1893L14.4697 10.4697C14.7626 10.1768 15.2374 10.1768 15.5303 10.4697C15.8232 10.7626 15.8232 11.2374 15.5303 11.5303L12.5303 14.5303C12.3897 14.671 12.1989 14.75 12 14.75C11.8011 14.75 11.6103 14.671 11.4697 14.5303L8.46967 11.5303C8.17678 11.2374 8.17678 10.7626 8.46967 10.4697C8.76256 10.1768 9.23744 10.1768 9.53033 10.4697L11.25 12.1893V7C11.25 6.58579 11.5858 6.25 12 6.25Z"}),(0,e.createElement)("path",{d:"M7.25 17C7.25 16.5858 7.58579 16.25 8 16.25H16C16.4142 16.25 16.75 16.5858 16.75 17C16.75 17.4142 16.4142 17.75 16 17.75H8C7.58579 17.75 7.25 17.4142 7.25 17Z"}),(0,e.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9426 1.25C9.63423 1.24999 7.82519 1.24998 6.4137 1.43975C4.96897 1.63399 3.82895 2.03933 2.93414 2.93414C2.03933 3.82895 1.63399 4.96897 1.43975 6.41371C1.24998 7.82519 1.24999 9.63423 1.25 11.9426V12.0574C1.24999 14.3658 1.24998 16.1748 1.43975 17.5863C1.63399 19.031 2.03933 20.1711 2.93414 21.0659C3.82895 21.9607 4.96897 22.366 6.4137 22.5603C7.82519 22.75 9.63423 22.75 11.9426 22.75H12.0574C14.3658 22.75 16.1748 22.75 17.5863 22.5603C19.031 22.366 20.1711 21.9607 21.0659 21.0659C21.9607 20.1711 22.366 19.031 22.5603 17.5863C22.75 16.1748 22.75 14.3658 22.75 12.0574V11.9426C22.75 9.63423 22.75 7.82519 22.5603 6.41371C22.366 4.96897 21.9607 3.82895 21.0659 2.93414C20.1711 2.03933 19.031 1.63399 17.5863 1.43975C16.1748 1.24998 14.3658 1.24999 12.0574 1.25H11.9426ZM3.9948 3.9948C4.56445 3.42514 5.33517 3.09825 6.61358 2.92637C7.91356 2.75159 9.62177 2.75 12 2.75C14.3782 2.75 16.0864 2.75159 17.3864 2.92637C18.6648 3.09825 19.4355 3.42514 20.0052 3.9948C20.5749 4.56445 20.9018 5.33517 21.0736 6.61358C21.2484 7.91356 21.25 9.62178 21.25 12C21.25 14.3782 21.2484 16.0864 21.0736 17.3864C20.9018 18.6648 20.5749 19.4355 20.0052 20.0052C19.4355 20.5749 18.6648 20.9018 17.3864 21.0736C16.0864 21.2484 14.3782 21.25 12 21.25C9.62177 21.25 7.91356 21.2484 6.61358 21.0736C5.33517 20.9018 4.56445 20.5749 3.9948 20.0052C3.42514 19.4355 3.09825 18.6648 2.92637 17.3864C2.75159 16.0864 2.75 14.3782 2.75 12C2.75 9.62178 2.75159 7.91356 2.92637 6.61358C3.09825 5.33517 3.42514 4.56445 3.9948 3.9948Z"}))),(0,e.createElement)("button",{type:"button","data-dropdown-toggle":"notification-dropdown",className:"p-2 mr-1 text-gray-500 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-700 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600"},(0,e.createElement)("span",{className:"sr-only"},"View notifications"),(0,e.createElement)("svg",{"aria-hidden":"true",className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"}))),(0,e.createElement)("div",{className:"hidden overflow-hidden z-50 my-4 max-w-sm text-base list-none bg-white rounded divide-y divide-gray-100 shadow-lg dark:divide-gray-600 dark:bg-gray-700",id:"notification-dropdown"},(0,e.createElement)("div",{className:"block py-2 px-4 text-base font-medium text-center text-gray-700 bg-gray-50 dark:bg-gray-700 dark:text-gray-400"}),(0,e.createElement)("div",null),(0,e.createElement)("a",{href:"#",className:"block py-2 text-base font-normal text-center text-gray-900 bg-gray-50 hover:bg-gray-100 dark:bg-gray-700 dark:text-white dark:hover:underline"},(0,e.createElement)("div",{className:"inline-flex items-center "},(0,e.createElement)("svg",{"aria-hidden":"true",className:"mr-2 w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M10 12a2 2 0 100-4 2 2 0 000 4z"}),(0,e.createElement)("path",{fillRule:"evenodd",d:"M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z",clipRule:"evenodd"}))))),(0,e.createElement)("button",{type:"button","data-dropdown-toggle":"apps-dropdown",className:"p-2 text-gray-500 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-700 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600"},(0,e.createElement)("span",{className:"sr-only"},"View notifications"),(0,e.createElement)("svg",{className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M5 3a2 2 0 00-2 2v2a2 2 0 002 2h2a2 2 0 002-2V5a2 2 0 00-2-2H5zM5 11a2 2 0 00-2 2v2a2 2 0 002 2h2a2 2 0 002-2v-2a2 2 0 00-2-2H5zM11 5a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V5zM11 13a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z"}))),(0,e.createElement)("div",{className:"hidden overflow-hidden z-50 my-4 max-w-sm text-base list-none bg-white rounded divide-y divide-gray-100 shadow-lg dark:bg-gray-700 dark:divide-gray-600",id:"apps-dropdown"},(0,e.createElement)("div",{className:"block py-2 px-4 text-base font-medium text-center text-gray-700 bg-gray-50 dark:bg-gray-700 dark:text-gray-400"}),(0,e.createElement)("div",{className:"grid grid-cols-3 gap-4 p-4"},(0,e.createElement)("a",{href:"https://github.com/bdkoder/",target:"_blank",className:"block p-4 text-center rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600 group"},(0,e.createElement)("svg",{"aria-hidden":"true",className:"mx-auto mb-1 w-7 h-7 text-gray-400 group-hover:text-gray-500 dark:text-gray-400 dark:group-hover:text-gray-400",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},(0,e.createElement)("path",{d:"M284.046,224.8a34.114,34.114,0,1,0,34.317,34.113A34.217,34.217,0,0,0,284.046,224.8Zm-110.45,0a34.114,34.114,0,1,0,34.317,34.113A34.217,34.217,0,0,0,173.6,224.8Zm220.923,0a34.114,34.114,0,1,0,34.317,34.113A34.215,34.215,0,0,0,394.519,224.8Zm153.807-55.319c-15.535-24.172-37.31-45.57-64.681-63.618-52.886-34.817-122.374-54-195.666-54a405.975,405.975,0,0,0-72.032,6.357,238.524,238.524,0,0,0-49.51-36.588C99.684-11.7,40.859.711,11.135,11.421A14.291,14.291,0,0,0,5.58,34.782C26.542,56.458,61.222,99.3,52.7,138.252c-33.142,33.9-51.112,74.776-51.112,117.337,0,43.372,17.97,84.248,51.112,118.148,8.526,38.956-26.154,81.816-47.116,103.491a14.284,14.284,0,0,0,5.555,23.34c29.724,10.709,88.549,23.147,155.324-10.2a238.679,238.679,0,0,0,49.51-36.589A405.972,405.972,0,0,0,288,460.14c73.313,0,142.8-19.159,195.667-53.975,27.371-18.049,49.145-39.426,64.679-63.619,17.309-26.923,26.07-55.916,26.07-86.125C574.394,225.4,565.634,196.43,548.326,169.485ZM284.987,409.9a345.65,345.65,0,0,1-89.446-11.5l-20.129,19.393a184.366,184.366,0,0,1-37.138,27.585,145.767,145.767,0,0,1-52.522,14.87c.983-1.771,1.881-3.563,2.842-5.356q30.258-55.68,16.325-100.078c-32.992-25.962-52.778-59.2-52.778-95.4,0-83.1,104.254-150.469,232.846-150.469s232.867,67.373,232.867,150.469C517.854,342.525,413.6,409.9,284.987,409.9Z"})),(0,e.createElement)("div",{className:"text-sm text-gray-900 dark:text-white"})),(0,e.createElement)("a",{href:"https://github.com/bdkoder/",target:"_blank",className:"block p-4 text-center rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600 group"},(0,e.createElement)("svg",{"aria-hidden":"true",className:"mx-auto mb-1 w-7 h-7 text-gray-400 group-hover:text-gray-500 dark:text-gray-400 dark:group-hover:text-gray-400",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,e.createElement)("path",{d:"M256 48C141.1 48 48 141.1 48 256v40c0 13.3-10.7 24-24 24s-24-10.7-24-24V256C0 114.6 114.6 0 256 0S512 114.6 512 256V400.1c0 48.6-39.4 88-88.1 88L313.6 488c-8.3 14.3-23.8 24-41.6 24H240c-26.5 0-48-21.5-48-48s21.5-48 48-48h32c17.8 0 33.3 9.7 41.6 24l110.4 .1c22.1 0 40-17.9 40-40V256c0-114.9-93.1-208-208-208zM144 208h16c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H144c-35.3 0-64-28.7-64-64V272c0-35.3 28.7-64 64-64zm224 0c35.3 0 64 28.7 64 64v48c0 35.3-28.7 64-64 64H352c-17.7 0-32-14.3-32-32V240c0-17.7 14.3-32 32-32h16z"})),(0,e.createElement)("div",{className:"text-sm text-gray-900 dark:text-white"})))),(0,e.createElement)("button",{type:"button",className:"flex mx-3 text-sm bg-gray-800 rounded-full md:mr-0 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600",id:"user-menu-button","aria-expanded":"false","data-dropdown-toggle":"dropdown"},(0,e.createElement)("span",{className:"sr-only"}),(0,e.createElement)("img",{className:"w-8 h-8 rounded-full",src:DCIConfig.current_user.avatar,alt:"%s"})),(0,e.createElement)("div",{className:"hidden z-50 my-4 w-56 text-base list-none bg-white rounded divide-y divide-gray-100 shadow dark:bg-gray-700 dark:divide-gray-600",id:"dropdown"},(0,e.createElement)("div",{className:"py-3 px-4"},(0,e.createElement)("span",{className:"block text-sm font-semibold text-gray-900 dark:text-white"}),(0,e.createElement)("span",{className:"block text-sm font-light text-gray-500 truncate dark:text-gray-400"})))))))}function o(){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("footer",{className:"bg-white rounded-lg shadow sm:flex sm:items-center sm:justify-between p-4 sm:p-6 xl:p-8 dark:bg-stone-900"},(0,e.createElement)("p",{className:"mb-4 text-sm text-center text-gray-500 dark:text-gray-400 sm:mb-0"},"© 2023 - ",(new Date).getFullYear()," ",(0,e.createElement)("a",{href:"https://github.com/bdkoder/",className:"hover:underline",target:"_blank"},(0,e.createElement)("strong",null,"Shahidul Islam."))," ",(0,t.__)("All rights reserved.","data-collector-insights")),(0,e.createElement)("div",{className:"flex justify-center items-center space-x-1"},(0,e.createElement)("a",{href:"https://facebook.com/bdkoder",target:"_blank","data-tooltip-target":"tooltip-facebook",className:"inline-flex justify-center p-2 text-gray-500 rounded-lg cursor-pointer dark:text-gray-400 dark:hover:text-white hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-600"},(0,e.createElement)("svg",{"aria-hidden":"true",className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z",clipRule:"evenodd"})),(0,e.createElement)("span",{className:"sr-only"},(0,t.__)("Facebook","data-collector-insights"))),(0,e.createElement)("div",{id:"tooltip-facebook",role:"tooltip",className:"inline-block absolute invisible z-10 py-2 px-3 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-sm opacity-0 transition-opacity duration-300 tooltip dark:bg-gray-700"},(0,t.__)("Follow us on Facebook","data-collector-insights"),(0,e.createElement)("div",{className:"tooltip-arrow","data-popper-arrow":""})),(0,e.createElement)("a",{href:"https://twitter.com/bdkoder",target:"_blank","data-tooltip-target":"tooltip-twitter",className:"inline-flex justify-center p-2 text-gray-500 rounded-lg cursor-pointer dark:text-gray-400 dark:hover:text-white hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-600"},(0,e.createElement)("svg",{"aria-hidden":"true",className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"})),(0,e.createElement)("span",{className:"sr-only"})),(0,e.createElement)("div",{id:"tooltip-twitter",role:"tooltip",className:"inline-block absolute invisible z-10 py-2 px-3 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-sm opacity-0 transition-opacity duration-300 tooltip dark:bg-gray-700"},(0,e.createElement)("div",{className:"tooltip-arrow","data-popper-arrow":""})),(0,e.createElement)("a",{href:"https://www.linkedin.com/company/bdkoder/",target:"_blank","data-tooltip-target":"tooltip-github",className:"inline-flex justify-center p-2 text-gray-500 rounded-lg cursor-pointer dark:text-gray-400 dark:hover:text-white hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-600"},(0,e.createElement)("svg",{className:"w-5 h-5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},(0,e.createElement)("path",{d:"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"})),(0,e.createElement)("span",{className:"sr-only"})),(0,e.createElement)("div",{id:"tooltip-github",role:"tooltip",className:"inline-block absolute invisible z-10 py-2 px-3 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-sm opacity-0 transition-opacity duration-300 tooltip dark:bg-gray-700"},(0,e.createElement)("div",{className:"tooltip-arrow","data-popper-arrow":""})),(0,e.createElement)("a",{href:"https://www.youtube.com/@bdkoder",target:"_blank","data-tooltip-target":"tooltip-dribbble",className:"inline-flex justify-center p-2 text-gray-500 rounded-lg cursor-pointer dark:text-gray-400 dark:hover:text-white hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-600"},(0,e.createElement)("svg",{className:"w-5 h-5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},(0,e.createElement)("path",{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"})),(0,e.createElement)("span",{className:"sr-only"})),(0,e.createElement)("div",{id:"tooltip-dribbble",role:"tooltip",className:"inline-block absolute invisible z-10 py-2 px-3 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-sm opacity-0 transition-opacity duration-300 tooltip dark:bg-gray-700"},(0,e.createElement)("div",{className:"tooltip-arrow","data-popper-arrow":""})))))}var a=n(982),i=n(6188),l=n(1083);function s(e){return e+.5|0}const c=(e,t,r)=>Math.max(Math.min(e,r),t);function u(e){return c(s(2.55*e),0,255)}function d(e){return c(s(255*e),0,255)}function f(e){return c(s(e/2.55)/100,0,1)}function p(e){return c(s(100*e),0,100)}const h={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},b=[..."0123456789ABCDEF"],g=e=>b[15&e],m=e=>b[(240&e)>>4]+b[15&e],y=e=>(240&e)>>4==(15&e);const v=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function x(e,t,r){const o=t*Math.min(r,1-r),n=(t,n=(t+e/30)%12)=>r-o*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function w(e,t,r){const o=(o,n=(o+e/60)%6)=>r-r*t*Math.max(Math.min(n,4-n,1),0);return[o(5),o(3),o(1)]}function O(e,t,r){const o=x(e,1,.5);let n;for(t+r>1&&(n=1/(t+r),t*=n,r*=n),n=0;n<3;n++)o[n]*=1-t-r,o[n]+=t;return o}function _(e){const t=e.r/255,r=e.g/255,o=e.b/255,n=Math.max(t,r,o),a=Math.min(t,r,o),i=(n+a)/2;let l,s,c;return n!==a&&(c=n-a,s=i>.5?c/(2-n-a):c/(n+a),l=function(e,t,r,o,n){return e===n?(t-r)/o+(t<r?6:0):t===n?(r-e)/o+2:(e-t)/o+4}(t,r,o,c,n),l=60*l+.5),[0|l,s||0,i]}function k(e,t,r,o){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,r,o)).map(d)}function P(e,t,r){return k(x,e,t,r)}function C(e){return(e%360+360)%360}const T={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},M={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let S;const E=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,j=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,A=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function N(e,t,r){if(e){let o=_(e);o[t]=Math.max(0,Math.min(o[t]+o[t]*r,0===t?360:1)),o=P(o),e.r=o[0],e.g=o[1],e.b=o[2]}}function R(e,t){return e?Object.assign(t||{},e):e}function I(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=d(e[3]))):(t=R(e,{r:0,g:0,b:0,a:1})).a=d(t.a),t}function D(e){return"r"===e.charAt(0)?function(e){const t=E.exec(e);let r,o,n,a=255;if(t){if(t[7]!==r){const e=+t[7];a=t[8]?u(e):c(255*e,0,255)}return r=+t[1],o=+t[3],n=+t[5],r=255&(t[2]?u(r):c(r,0,255)),o=255&(t[4]?u(o):c(o,0,255)),n=255&(t[6]?u(n):c(n,0,255)),{r,g:o,b:n,a}}}(e):function(e){const t=v.exec(e);let r,o=255;if(!t)return;t[5]!==r&&(o=t[6]?u(+t[5]):d(+t[5]));const n=C(+t[2]),a=+t[3]/100,i=+t[4]/100;return r="hwb"===t[1]?function(e,t,r){return k(O,e,t,r)}(n,a,i):"hsv"===t[1]?function(e,t,r){return k(w,e,t,r)}(n,a,i):P(n,a,i),{r:r[0],g:r[1],b:r[2],a:o}}(e)}class L{constructor(e){if(e instanceof L)return e;const t=typeof e;let r;var o,n,a;"object"===t?r=I(e):"string"===t&&(a=(o=e).length,"#"===o[0]&&(4===a||5===a?n={r:255&17*h[o[1]],g:255&17*h[o[2]],b:255&17*h[o[3]],a:5===a?17*h[o[4]]:255}:7!==a&&9!==a||(n={r:h[o[1]]<<4|h[o[2]],g:h[o[3]]<<4|h[o[4]],b:h[o[5]]<<4|h[o[6]],a:9===a?h[o[7]]<<4|h[o[8]]:255})),r=n||function(e){S||(S=function(){const e={},t=Object.keys(M),r=Object.keys(T);let o,n,a,i,l;for(o=0;o<t.length;o++){for(i=l=t[o],n=0;n<r.length;n++)a=r[n],l=l.replace(a,T[a]);a=parseInt(M[i],16),e[l]=[a>>16&255,a>>8&255,255&a]}return e}(),S.transparent=[0,0,0,0]);const t=S[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}(e)||D(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=R(this._rgb);return e&&(e.a=f(e.a)),e}set rgb(e){this._rgb=I(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${f(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?(e=this._rgb,t=(e=>y(e.r)&&y(e.g)&&y(e.b)&&y(e.a))(e)?g:m,e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0):void 0;var e,t}hslString(){return this._valid?function(e){if(!e)return;const t=_(e),r=t[0],o=p(t[1]),n=p(t[2]);return e.a<255?`hsla(${r}, ${o}%, ${n}%, ${f(e.a)})`:`hsl(${r}, ${o}%, ${n}%)`}(this._rgb):void 0}mix(e,t){if(e){const r=this.rgb,o=e.rgb;let n;const a=t===n?.5:t,i=2*a-1,l=r.a-o.a,s=((i*l==-1?i:(i+l)/(1+i*l))+1)/2;n=1-s,r.r=255&s*r.r+n*o.r+.5,r.g=255&s*r.g+n*o.g+.5,r.b=255&s*r.b+n*o.b+.5,r.a=a*r.a+(1-a)*o.a,this.rgb=r}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,r){const o=A(f(e.r)),n=A(f(e.g)),a=A(f(e.b));return{r:d(j(o+r*(A(f(t.r))-o))),g:d(j(n+r*(A(f(t.g))-n))),b:d(j(a+r*(A(f(t.b))-a))),a:e.a+r*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new L(this.rgb)}alpha(e){return this._rgb.a=d(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=s(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return N(this._rgb,2,e),this}darken(e){return N(this._rgb,2,-e),this}saturate(e){return N(this._rgb,1,e),this}desaturate(e){return N(this._rgb,1,-e),this}rotate(e){return function(e,t){var r=_(e);r[0]=C(r[0]+t),r=P(r),e.r=r[0],e.g=r[1],e.b=r[2]}(this._rgb,e),this}}function z(){}const F=(()=>{let e=0;return()=>e++})();function V(e){return null==e}function B(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function W(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function H(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)}function U(e,t){return H(e)?e:t}function q(e,t){return void 0===e?t:e}const $=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Y(e,t,r){if(e&&"function"==typeof e.call)return e.apply(r,t)}function X(e,t,r,o){let n,a,i;if(B(e))if(a=e.length,o)for(n=a-1;n>=0;n--)t.call(r,e[n],n);else for(n=0;n<a;n++)t.call(r,e[n],n);else if(W(e))for(i=Object.keys(e),a=i.length,n=0;n<a;n++)t.call(r,e[i[n]],i[n])}function K(e,t){let r,o,n,a;if(!e||!t||e.length!==t.length)return!1;for(r=0,o=e.length;r<o;++r)if(n=e[r],a=t[r],n.datasetIndex!==a.datasetIndex||n.index!==a.index)return!1;return!0}function G(e){if(B(e))return e.map(G);if(W(e)){const t=Object.create(null),r=Object.keys(e),o=r.length;let n=0;for(;n<o;++n)t[r[n]]=G(e[r[n]]);return t}return e}function Z(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function J(e,t,r,o){if(!Z(e))return;const n=t[e],a=r[e];W(n)&&W(a)?Q(n,a,o):t[e]=G(a)}function Q(e,t,r){const o=B(t)?t:[t],n=o.length;if(!W(e))return e;const a=(r=r||{}).merger||J;let i;for(let t=0;t<n;++t){if(i=o[t],!W(i))continue;const n=Object.keys(i);for(let t=0,o=n.length;t<o;++t)a(n[t],e,i,r)}return e}function ee(e,t){return Q(e,t,{merger:te})}function te(e,t,r){if(!Z(e))return;const o=t[e],n=r[e];W(o)&&W(n)?ee(o,n):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=G(n))}const re={"":e=>e,x:e=>e.x,y:e=>e.y};function oe(e,t){const r=re[t]||(re[t]=function(e){const t=function(e){const t=e.split("."),r=[];let o="";for(const e of t)o+=e,o.endsWith("\\")?o=o.slice(0,-1)+".":(r.push(o),o="");return r}(e);return e=>{for(const r of t){if(""===r)break;e=e&&e[r]}return e}}(t));return r(e)}function ne(e){return e.charAt(0).toUpperCase()+e.slice(1)}const ae=e=>void 0!==e,ie=e=>"function"==typeof e,le=(e,t)=>{if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0},se=Math.PI,ce=2*se,ue=ce+se,de=Number.POSITIVE_INFINITY,fe=se/180,pe=se/2,he=se/4,be=2*se/3,ge=Math.log10,me=Math.sign;function ye(e,t,r){return Math.abs(e-t)<r}function ve(e){const t=Math.round(e);e=ye(e,t,e/1e3)?t:e;const r=Math.pow(10,Math.floor(ge(e))),o=e/r;return(o<=1?1:o<=2?2:o<=5?5:10)*r}function xe(e){return!isNaN(parseFloat(e))&&isFinite(e)}function we(e,t,r){let o,n,a;for(o=0,n=e.length;o<n;o++)a=e[o][r],isNaN(a)||(t.min=Math.min(t.min,a),t.max=Math.max(t.max,a))}function Oe(e){return e*(se/180)}function _e(e){return e*(180/se)}function ke(e){if(!H(e))return;let t=1,r=0;for(;Math.round(e*t)/t!==e;)t*=10,r++;return r}function Pe(e,t){const r=t.x-e.x,o=t.y-e.y,n=Math.sqrt(r*r+o*o);let a=Math.atan2(o,r);return a<-.5*se&&(a+=ce),{angle:a,distance:n}}function Ce(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Te(e,t){return(e-t+ue)%ce-se}function Me(e){return(e%ce+ce)%ce}function Se(e,t,r,o){const n=Me(e),a=Me(t),i=Me(r),l=Me(a-n),s=Me(i-n),c=Me(n-a),u=Me(n-i);return n===a||n===i||o&&a===i||l>s&&c<u}function Ee(e,t,r){return Math.max(t,Math.min(r,e))}function je(e,t,r,o=1e-6){return e>=Math.min(t,r)-o&&e<=Math.max(t,r)+o}function Ae(e,t,r){r=r||(r=>e[r]<t);let o,n=e.length-1,a=0;for(;n-a>1;)o=a+n>>1,r(o)?a=o:n=o;return{lo:a,hi:n}}const Ne=(e,t,r,o)=>Ae(e,r,o?o=>{const n=e[o][t];return n<r||n===r&&e[o+1][t]===r}:o=>e[o][t]<r),Re=(e,t,r)=>Ae(e,r,(o=>e[o][t]>=r)),Ie=["push","pop","shift","splice","unshift"];function De(e,t){const r=e._chartjs;if(!r)return;const o=r.listeners,n=o.indexOf(t);-1!==n&&o.splice(n,1),o.length>0||(Ie.forEach((t=>{delete e[t]})),delete e._chartjs)}function Le(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const ze="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function Fe(e,t){let r=[],o=!1;return function(...n){r=n,o||(o=!0,ze.call(window,(()=>{o=!1,e.apply(t,r)})))}}const Ve=e=>"start"===e?"left":"end"===e?"right":"center",Be=(e,t,r)=>"start"===e?t:"end"===e?r:(t+r)/2;function We(e,t,r){const o=t.length;let n=0,a=o;if(e._sorted){const{iScale:i,_parsed:l}=e,s=i.axis,{min:c,max:u,minDefined:d,maxDefined:f}=i.getUserBounds();d&&(n=Ee(Math.min(Ne(l,s,c).lo,r?o:Ne(t,s,i.getPixelForValue(c)).lo),0,o-1)),a=f?Ee(Math.max(Ne(l,i.axis,u,!0).hi+1,r?0:Ne(t,s,i.getPixelForValue(u),!0).hi+1),n,o)-n:o-n}return{start:n,count:a}}function He(e){const{xScale:t,yScale:r,_scaleRanges:o}=e,n={xmin:t.min,xmax:t.max,ymin:r.min,ymax:r.max};if(!o)return e._scaleRanges=n,!0;const a=o.xmin!==t.min||o.xmax!==t.max||o.ymin!==r.min||o.ymax!==r.max;return Object.assign(o,n),a}const Ue=e=>0===e||1===e,qe=(e,t,r)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*ce/r),$e=(e,t,r)=>Math.pow(2,-10*e)*Math.sin((e-t)*ce/r)+1,Ye={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*pe),easeOutSine:e=>Math.sin(e*pe),easeInOutSine:e=>-.5*(Math.cos(se*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>Ue(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Ue(e)?e:qe(e,.075,.3),easeOutElastic:e=>Ue(e)?e:$e(e,.075,.3),easeInOutElastic(e){const t=.1125;return Ue(e)?e:e<.5?.5*qe(2*e,t,.45):.5+.5*$e(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-Ye.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,r=2.75;return e<1/r?t*e*e:e<2/r?t*(e-=1.5/r)*e+.75:e<2.5/r?t*(e-=2.25/r)*e+.9375:t*(e-=2.625/r)*e+.984375},easeInOutBounce:e=>e<.5?.5*Ye.easeInBounce(2*e):.5*Ye.easeOutBounce(2*e-1)+.5};function Xe(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function Ke(e){return Xe(e)?e:new L(e)}function Ge(e){return Xe(e)?e:new L(e).saturate(.5).darken(.1).hexString()}const Ze=["x","y","borderWidth","radius","tension"],Je=["color","borderColor","backgroundColor"],Qe=new Map;function et(e,t,r){return function(e,t){t=t||{};const r=e+JSON.stringify(t);let o=Qe.get(r);return o||(o=new Intl.NumberFormat(e,t),Qe.set(r,o)),o}(t,r).format(e)}const tt={values:e=>B(e)?e:""+e,numeric(e,t,r){if(0===e)return"0";const o=this.chart.options.locale;let n,a=e;if(r.length>1){const t=Math.max(Math.abs(r[0].value),Math.abs(r[r.length-1].value));(t<1e-4||t>1e15)&&(n="scientific"),a=function(e,t){let r=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(r)>=1&&e!==Math.floor(e)&&(r=e-Math.floor(e)),r}(e,r)}const i=ge(Math.abs(a)),l=isNaN(i)?1:Math.max(Math.min(-1*Math.floor(i),20),0),s={notation:n,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(s,this.options.ticks.format),et(e,o,s)},logarithmic(e,t,r){if(0===e)return"0";const o=r[t].significand||e/Math.pow(10,Math.floor(ge(e)));return[1,2,3,5,10,15].includes(o)||t>.8*r.length?tt.numeric.call(this,e,t,r):""}};var rt={formatters:tt};const ot=Object.create(null),nt=Object.create(null);function at(e,t){if(!t)return e;const r=t.split(".");for(let t=0,o=r.length;t<o;++t){const o=r[t];e=e[o]||(e[o]=Object.create(null))}return e}function it(e,t,r){return"string"==typeof t?Q(at(e,t),r):Q(at(e,""),t)}class lt{constructor(e,t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>Ge(t.backgroundColor),this.hoverBorderColor=(e,t)=>Ge(t.borderColor),this.hoverColor=(e,t)=>Ge(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return it(this,e,t)}get(e){return at(this,e)}describe(e,t){return it(nt,e,t)}override(e,t){return it(ot,e,t)}route(e,t,r,o){const n=at(this,e),a=at(this,r),i="_"+t;Object.defineProperties(n,{[i]:{value:n[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[i],t=a[o];return W(e)?Object.assign({},t,e):q(e,t)},set(e){this[i]=e}}})}apply(e){e.forEach((e=>e(this)))}}var st=new lt({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),e.set("animations",{colors:{type:"color",properties:Je},numbers:{type:"number",properties:Ze}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}})},function(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:rt.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}]);function ct(e,t,r,o,n){let a=t[n];return a||(a=t[n]=e.measureText(n).width,r.push(n)),a>o&&(o=a),o}function ut(e,t,r,o){let n=(o=o||{}).data=o.data||{},a=o.garbageCollect=o.garbageCollect||[];o.font!==t&&(n=o.data={},a=o.garbageCollect=[],o.font=t),e.save(),e.font=t;let i=0;const l=r.length;let s,c,u,d,f;for(s=0;s<l;s++)if(d=r[s],null==d||B(d)){if(B(d))for(c=0,u=d.length;c<u;c++)f=d[c],null==f||B(f)||(i=ct(e,n,a,i,f))}else i=ct(e,n,a,i,d);e.restore();const p=a.length/2;if(p>r.length){for(s=0;s<p;s++)delete n[a[s]];a.splice(0,p)}return i}function dt(e,t,r){const o=e.currentDevicePixelRatio,n=0!==r?Math.max(r/2,.5):0;return Math.round((t-n)*o)/o+n}function ft(e,t){(t||e)&&((t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function pt(e,t,r,o){ht(e,t,r,o,null)}function ht(e,t,r,o,n){let a,i,l,s,c,u,d,f;const p=t.pointStyle,h=t.rotation,b=t.radius;let g=(h||0)*fe;if(p&&"object"==typeof p&&(a=p.toString(),"[object HTMLImageElement]"===a||"[object HTMLCanvasElement]"===a))return e.save(),e.translate(r,o),e.rotate(g),e.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),void e.restore();if(!(isNaN(b)||b<=0)){switch(e.beginPath(),p){default:n?e.ellipse(r,o,n/2,b,0,0,ce):e.arc(r,o,b,0,ce),e.closePath();break;case"triangle":u=n?n/2:b,e.moveTo(r+Math.sin(g)*u,o-Math.cos(g)*b),g+=be,e.lineTo(r+Math.sin(g)*u,o-Math.cos(g)*b),g+=be,e.lineTo(r+Math.sin(g)*u,o-Math.cos(g)*b),e.closePath();break;case"rectRounded":c=.516*b,s=b-c,i=Math.cos(g+he)*s,d=Math.cos(g+he)*(n?n/2-c:s),l=Math.sin(g+he)*s,f=Math.sin(g+he)*(n?n/2-c:s),e.arc(r-d,o-l,c,g-se,g-pe),e.arc(r+f,o-i,c,g-pe,g),e.arc(r+d,o+l,c,g,g+pe),e.arc(r-f,o+i,c,g+pe,g+se),e.closePath();break;case"rect":if(!h){s=Math.SQRT1_2*b,u=n?n/2:s,e.rect(r-u,o-s,2*u,2*s);break}g+=he;case"rectRot":d=Math.cos(g)*(n?n/2:b),i=Math.cos(g)*b,l=Math.sin(g)*b,f=Math.sin(g)*(n?n/2:b),e.moveTo(r-d,o-l),e.lineTo(r+f,o-i),e.lineTo(r+d,o+l),e.lineTo(r-f,o+i),e.closePath();break;case"crossRot":g+=he;case"cross":d=Math.cos(g)*(n?n/2:b),i=Math.cos(g)*b,l=Math.sin(g)*b,f=Math.sin(g)*(n?n/2:b),e.moveTo(r-d,o-l),e.lineTo(r+d,o+l),e.moveTo(r+f,o-i),e.lineTo(r-f,o+i);break;case"star":d=Math.cos(g)*(n?n/2:b),i=Math.cos(g)*b,l=Math.sin(g)*b,f=Math.sin(g)*(n?n/2:b),e.moveTo(r-d,o-l),e.lineTo(r+d,o+l),e.moveTo(r+f,o-i),e.lineTo(r-f,o+i),g+=he,d=Math.cos(g)*(n?n/2:b),i=Math.cos(g)*b,l=Math.sin(g)*b,f=Math.sin(g)*(n?n/2:b),e.moveTo(r-d,o-l),e.lineTo(r+d,o+l),e.moveTo(r+f,o-i),e.lineTo(r-f,o+i);break;case"line":i=n?n/2:Math.cos(g)*b,l=Math.sin(g)*b,e.moveTo(r-i,o-l),e.lineTo(r+i,o+l);break;case"dash":e.moveTo(r,o),e.lineTo(r+Math.cos(g)*(n?n/2:b),o+Math.sin(g)*b);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function bt(e,t,r){return r=r||.5,!t||e&&e.x>t.left-r&&e.x<t.right+r&&e.y>t.top-r&&e.y<t.bottom+r}function gt(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function mt(e){e.restore()}function yt(e,t,r,o,n){if(!t)return e.lineTo(r.x,r.y);if("middle"===n){const o=(t.x+r.x)/2;e.lineTo(o,t.y),e.lineTo(o,r.y)}else"after"===n!=!!o?e.lineTo(t.x,r.y):e.lineTo(r.x,t.y);e.lineTo(r.x,r.y)}function vt(e,t,r,o){if(!t)return e.lineTo(r.x,r.y);e.bezierCurveTo(o?t.cp1x:t.cp2x,o?t.cp1y:t.cp2y,o?r.cp2x:r.cp1x,o?r.cp2y:r.cp1y,r.x,r.y)}function xt(e,t,r,o,n){if(n.strikethrough||n.underline){const a=e.measureText(o),i=t-a.actualBoundingBoxLeft,l=t+a.actualBoundingBoxRight,s=r-a.actualBoundingBoxAscent,c=r+a.actualBoundingBoxDescent,u=n.strikethrough?(s+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=n.decorationWidth||2,e.moveTo(i,u),e.lineTo(l,u),e.stroke()}}function wt(e,t){const r=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=r}function Ot(e,t,r,o,n,a={}){const i=B(t)?t:[t],l=a.strokeWidth>0&&""!==a.strokeColor;let s,c;for(e.save(),e.font=n.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),V(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,a),s=0;s<i.length;++s)c=i[s],a.backdrop&&wt(e,a.backdrop),l&&(a.strokeColor&&(e.strokeStyle=a.strokeColor),V(a.strokeWidth)||(e.lineWidth=a.strokeWidth),e.strokeText(c,r,o,a.maxWidth)),e.fillText(c,r,o,a.maxWidth),xt(e,r,o,c,a),o+=Number(n.lineHeight);e.restore()}function _t(e,t){const{x:r,y:o,w:n,h:a,radius:i}=t;e.arc(r+i.topLeft,o+i.topLeft,i.topLeft,1.5*se,se,!0),e.lineTo(r,o+a-i.bottomLeft),e.arc(r+i.bottomLeft,o+a-i.bottomLeft,i.bottomLeft,se,pe,!0),e.lineTo(r+n-i.bottomRight,o+a),e.arc(r+n-i.bottomRight,o+a-i.bottomRight,i.bottomRight,pe,0,!0),e.lineTo(r+n,o+i.topRight),e.arc(r+n-i.topRight,o+i.topRight,i.topRight,0,-pe,!0),e.lineTo(r+i.topLeft,o)}const kt=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Pt=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Ct(e,t){const r=(""+e).match(kt);if(!r||"normal"===r[1])return 1.2*t;switch(e=+r[2],r[3]){case"px":return e;case"%":e/=100}return t*e}function Tt(e,t){const r={},o=W(t),n=o?Object.keys(t):t,a=W(e)?o?r=>q(e[r],e[t[r]]):t=>e[t]:()=>e;for(const e of n)r[e]=+a(e)||0;return r}function Mt(e){return Tt(e,{top:"y",right:"x",bottom:"y",left:"x"})}function St(e){return Tt(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Et(e){const t=Mt(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function jt(e,t){e=e||{},t=t||st.font;let r=q(e.size,t.size);"string"==typeof r&&(r=parseInt(r,10));let o=q(e.style,t.style);o&&!(""+o).match(Pt)&&(console.warn('Invalid font style specified: "'+o+'"'),o=void 0);const n={family:q(e.family,t.family),lineHeight:Ct(q(e.lineHeight,t.lineHeight),r),size:r,style:o,weight:q(e.weight,t.weight),string:""};return n.string=function(e){return!e||V(e.size)||V(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(n),n}function At(e,t,r,o){let n,a,i,l=!0;for(n=0,a=e.length;n<a;++n)if(i=e[n],void 0!==i&&(void 0!==t&&"function"==typeof i&&(i=i(t),l=!1),void 0!==r&&B(i)&&(i=i[r%i.length],l=!1),void 0!==i))return o&&!l&&(o.cacheable=!1),i}function Nt(e,t){return Object.assign(Object.create(e),t)}function Rt(e,t=[""],r,o,n=()=>e[0]){const a=r||e;void 0===o&&(o=qt("_fallback",e));const i={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:o,_getTarget:n,override:r=>Rt([r,...e],t,a,o)};return new Proxy(i,{deleteProperty:(t,r)=>(delete t[r],delete t._keys,delete e[0][r],!0),get:(r,o)=>Ft(r,o,(()=>function(e,t,r,o){let n;for(const a of t)if(n=qt(Lt(a,e),r),void 0!==n)return zt(e,n)?Ht(r,o,e,n):n}(o,t,e,r))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>$t(e).includes(t),ownKeys:e=>$t(e),set(e,t,r){const o=e._storage||(e._storage=n());return e[t]=o[t]=r,delete e._keys,!0}})}function It(e,t,r,o){const n={_cacheable:!1,_proxy:e,_context:t,_subProxy:r,_stack:new Set,_descriptors:Dt(e,o),setContext:t=>It(e,t,r,o),override:n=>It(e.override(n),t,r,o)};return new Proxy(n,{deleteProperty:(t,r)=>(delete t[r],delete e[r],!0),get:(e,t,r)=>Ft(e,t,(()=>function(e,t,r){const{_proxy:o,_context:n,_subProxy:a,_descriptors:i}=e;let l=o[t];return ie(l)&&i.isScriptable(t)&&(l=function(e,t,r,o){const{_proxy:n,_context:a,_subProxy:i,_stack:l}=r;if(l.has(e))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+e);l.add(e);let s=t(a,i||o);return l.delete(e),zt(e,s)&&(s=Ht(n._scopes,n,e,s)),s}(t,l,e,r)),B(l)&&l.length&&(l=function(e,t,r,o){const{_proxy:n,_context:a,_subProxy:i,_descriptors:l}=r;if(void 0!==a.index&&o(e))return t[a.index%t.length];if(W(t[0])){const r=t,o=n._scopes.filter((e=>e!==r));t=[];for(const s of r){const r=Ht(o,n,e,s);t.push(It(r,a,i&&i[e],l))}}return t}(t,l,e,i.isIndexable)),zt(t,l)&&(l=It(l,n,a&&a[t],i)),l}(e,t,r))),getOwnPropertyDescriptor:(t,r)=>t._descriptors.allKeys?Reflect.has(e,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,r),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,r)=>Reflect.has(e,r),ownKeys:()=>Reflect.ownKeys(e),set:(t,r,o)=>(e[r]=o,delete t[r],!0)})}function Dt(e,t={scriptable:!0,indexable:!0}){const{_scriptable:r=t.scriptable,_indexable:o=t.indexable,_allKeys:n=t.allKeys}=e;return{allKeys:n,scriptable:r,indexable:o,isScriptable:ie(r)?r:()=>r,isIndexable:ie(o)?o:()=>o}}const Lt=(e,t)=>e?e+ne(t):t,zt=(e,t)=>W(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function Ft(e,t,r){if(Object.prototype.hasOwnProperty.call(e,t)||"constructor"===t)return e[t];const o=r();return e[t]=o,o}function Vt(e,t,r){return ie(e)?e(t,r):e}const Bt=(e,t)=>!0===e?t:"string"==typeof e?oe(t,e):void 0;function Wt(e,t,r,o,n){for(const a of t){const t=Bt(r,a);if(t){e.add(t);const a=Vt(t._fallback,r,n);if(void 0!==a&&a!==r&&a!==o)return a}else if(!1===t&&void 0!==o&&r!==o)return null}return!1}function Ht(e,t,r,o){const n=t._rootScopes,a=Vt(t._fallback,r,o),i=[...e,...n],l=new Set;l.add(o);let s=Ut(l,i,r,a||r,o);return null!==s&&(void 0===a||a===r||(s=Ut(l,i,a,s,o),null!==s))&&Rt(Array.from(l),[""],n,a,(()=>function(e,t,r){const o=e._getTarget();t in o||(o[t]={});const n=o[t];return B(n)&&W(r)?r:n||{}}(t,r,o)))}function Ut(e,t,r,o,n){for(;r;)r=Wt(e,t,r,o,n);return r}function qt(e,t){for(const r of t){if(!r)continue;const t=r[e];if(void 0!==t)return t}}function $t(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const r of e)for(const e of Object.keys(r).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}function Yt(e,t,r,o){const{iScale:n}=e,{key:a="r"}=this._parsing,i=new Array(o);let l,s,c,u;for(l=0,s=o;l<s;++l)c=l+r,u=t[c],i[l]={r:n.parse(oe(u,a),c)};return i}const Xt=Number.EPSILON||1e-14,Kt=(e,t)=>t<e.length&&!e[t].skip&&e[t],Gt=e=>"x"===e?"y":"x";function Zt(e,t,r,o){const n=e.skip?t:e,a=t,i=r.skip?t:r,l=Ce(a,n),s=Ce(i,a);let c=l/(l+s),u=s/(l+s);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=o*c,f=o*u;return{previous:{x:a.x-d*(i.x-n.x),y:a.y-d*(i.y-n.y)},next:{x:a.x+f*(i.x-n.x),y:a.y+f*(i.y-n.y)}}}function Jt(e,t,r){return Math.max(Math.min(e,r),t)}function Qt(e,t,r,o,n){let a,i,l,s;if(t.spanGaps&&(e=e.filter((e=>!e.skip))),"monotone"===t.cubicInterpolationMode)!function(e,t="x"){const r=Gt(t),o=e.length,n=Array(o).fill(0),a=Array(o);let i,l,s,c=Kt(e,0);for(i=0;i<o;++i)if(l=s,s=c,c=Kt(e,i+1),s){if(c){const e=c[t]-s[t];n[i]=0!==e?(c[r]-s[r])/e:0}a[i]=l?c?me(n[i-1])!==me(n[i])?0:(n[i-1]+n[i])/2:n[i-1]:n[i]}!function(e,t,r){const o=e.length;let n,a,i,l,s,c=Kt(e,0);for(let u=0;u<o-1;++u)s=c,c=Kt(e,u+1),s&&c&&(ye(t[u],0,Xt)?r[u]=r[u+1]=0:(n=r[u]/t[u],a=r[u+1]/t[u],l=Math.pow(n,2)+Math.pow(a,2),l<=9||(i=3/Math.sqrt(l),r[u]=n*i*t[u],r[u+1]=a*i*t[u])))}(e,n,a),function(e,t,r="x"){const o=Gt(r),n=e.length;let a,i,l,s=Kt(e,0);for(let c=0;c<n;++c){if(i=l,l=s,s=Kt(e,c+1),!l)continue;const n=l[r],u=l[o];i&&(a=(n-i[r])/3,l[`cp1${r}`]=n-a,l[`cp1${o}`]=u-a*t[c]),s&&(a=(s[r]-n)/3,l[`cp2${r}`]=n+a,l[`cp2${o}`]=u+a*t[c])}}(e,a,t)}(e,n);else{let r=o?e[e.length-1]:e[0];for(a=0,i=e.length;a<i;++a)l=e[a],s=Zt(r,l,e[Math.min(a+1,i-(o?0:1))%i],t.tension),l.cp1x=s.previous.x,l.cp1y=s.previous.y,l.cp2x=s.next.x,l.cp2y=s.next.y,r=l}t.capBezierPoints&&function(e,t){let r,o,n,a,i,l=bt(e[0],t);for(r=0,o=e.length;r<o;++r)i=a,a=l,l=r<o-1&&bt(e[r+1],t),a&&(n=e[r],i&&(n.cp1x=Jt(n.cp1x,t.left,t.right),n.cp1y=Jt(n.cp1y,t.top,t.bottom)),l&&(n.cp2x=Jt(n.cp2x,t.left,t.right),n.cp2y=Jt(n.cp2y,t.top,t.bottom)))}(e,r)}function er(){return"undefined"!=typeof window&&"undefined"!=typeof document}function tr(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function rr(e,t,r){let o;return"string"==typeof e?(o=parseInt(e,10),-1!==e.indexOf("%")&&(o=o/100*t.parentNode[r])):o=e,o}const or=e=>e.ownerDocument.defaultView.getComputedStyle(e,null),nr=["top","right","bottom","left"];function ar(e,t,r){const o={};r=r?"-"+r:"";for(let n=0;n<4;n++){const a=nr[n];o[a]=parseFloat(e[t+"-"+a+r])||0}return o.width=o.left+o.right,o.height=o.top+o.bottom,o}function ir(e,t){if("native"in e)return e;const{canvas:r,currentDevicePixelRatio:o}=t,n=or(r),a="border-box"===n.boxSizing,i=ar(n,"padding"),l=ar(n,"border","width"),{x:s,y:c,box:u}=function(e,t){const r=e.touches,o=r&&r.length?r[0]:e,{offsetX:n,offsetY:a}=o;let i,l,s=!1;if(((e,t,r)=>(e>0||t>0)&&(!r||!r.shadowRoot))(n,a,e.target))i=n,l=a;else{const e=t.getBoundingClientRect();i=o.clientX-e.left,l=o.clientY-e.top,s=!0}return{x:i,y:l,box:s}}(e,r),d=i.left+(u&&l.left),f=i.top+(u&&l.top);let{width:p,height:h}=t;return a&&(p-=i.width+l.width,h-=i.height+l.height),{x:Math.round((s-d)/p*r.width/o),y:Math.round((c-f)/h*r.height/o)}}const lr=e=>Math.round(10*e)/10;function sr(e,t,r){const o=t||1,n=Math.floor(e.height*o),a=Math.floor(e.width*o);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const i=e.canvas;return i.style&&(r||!i.style.height&&!i.style.width)&&(i.style.height=`${e.height}px`,i.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==o||i.height!==n||i.width!==a)&&(e.currentDevicePixelRatio=o,i.height=n,i.width=a,e.ctx.setTransform(o,0,0,o,0,0),!0)}const cr=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};er()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(e){}return e}();function ur(e,t){const r=function(e,t){return or(e).getPropertyValue(t)}(e,t),o=r&&r.match(/^(\d+)(\.\d+)?px$/);return o?+o[1]:void 0}function dr(e,t,r,o){return{x:e.x+r*(t.x-e.x),y:e.y+r*(t.y-e.y)}}function fr(e,t,r,o){return{x:e.x+r*(t.x-e.x),y:"middle"===o?r<.5?e.y:t.y:"after"===o?r<1?e.y:t.y:r>0?t.y:e.y}}function pr(e,t,r,o){const n={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},i=dr(e,n,r),l=dr(n,a,r),s=dr(a,t,r),c=dr(i,l,r),u=dr(l,s,r);return dr(c,u,r)}function hr(e,t,r){return e?function(e,t){return{x:r=>e+e+t-r,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,r):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function br(e,t){let r,o;"ltr"!==t&&"rtl"!==t||(r=e.canvas.style,o=[r.getPropertyValue("direction"),r.getPropertyPriority("direction")],r.setProperty("direction",t,"important"),e.prevTextDirection=o)}function gr(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function mr(e){return"angle"===e?{between:Se,compare:Te,normalize:Me}:{between:je,compare:(e,t)=>e-t,normalize:e=>e}}function yr({start:e,end:t,count:r,loop:o,style:n}){return{start:e%r,end:t%r,loop:o&&(t-e+1)%r==0,style:n}}function vr(e,t,r){if(!r)return[e];const{property:o,start:n,end:a}=r,i=t.length,{compare:l,between:s,normalize:c}=mr(o),{start:u,end:d,loop:f,style:p}=function(e,t,r){const{property:o,start:n,end:a}=r,{between:i,normalize:l}=mr(o),s=t.length;let c,u,{start:d,end:f,loop:p}=e;if(p){for(d+=s,f+=s,c=0,u=s;c<u&&i(l(t[d%s][o]),n,a);++c)d--,f--;d%=s,f%=s}return f<d&&(f+=s),{start:d,end:f,loop:p,style:e.style}}(e,t,r),h=[];let b,g,m,y=!1,v=null;for(let e=u,r=u;e<=d;++e)g=t[e%i],g.skip||(b=c(g[o]),b!==m&&(y=s(b,n,a),null===v&&(y||s(n,m,b)&&0!==l(n,m))&&(v=0===l(b,n)?e:r),null!==v&&(!y||0===l(a,b)||s(a,m,b))&&(h.push(yr({start:v,end:e,loop:f,count:i,style:p})),v=null),r=e,m=b));return null!==v&&h.push(yr({start:v,end:d,loop:f,count:i,style:p})),h}function xr(e,t){const r=[],o=e.segments;for(let n=0;n<o.length;n++){const a=vr(o[n],e.points,t);a.length&&r.push(...a)}return r}function wr(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function Or(e,t){if(!t)return!1;const r=[],o=function(e,t){return Xe(t)?(r.includes(t)||r.push(t),r.indexOf(t)):t};return JSON.stringify(e,o)!==JSON.stringify(t,o)}class _r{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,r,o){const n=t.listeners[o],a=t.duration;n.forEach((o=>o({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(r-t.start,a)})))}_refresh(){this._request||(this._running=!0,this._request=ze.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((r,o)=>{if(!r.running||!r.items.length)return;const n=r.items;let a,i=n.length-1,l=!1;for(;i>=0;--i)a=n[i],a._active?(a._total>r.duration&&(r.duration=a._total),a.tick(e),l=!0):(n[i]=n[n.length-1],n.pop());l&&(o.draw(),this._notify(o,r,e,"progress")),n.length||(r.running=!1,this._notify(o,r,e,"complete"),r.initial=!1),t+=n.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let r=t.get(e);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,r)),r}listen(e,t,r){this._getAnims(e).listeners[t].push(r)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const r=t.items;let o=r.length-1;for(;o>=0;--o)r[o].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var kr=new _r;const Pr="transparent",Cr={boolean:(e,t,r)=>r>.5?t:e,color(e,t,r){const o=Ke(e||Pr),n=o.valid&&Ke(t||Pr);return n&&n.valid?n.mix(o,r).hexString():t},number:(e,t,r)=>e+(t-e)*r};class Tr{constructor(e,t,r,o){const n=t[r];o=At([e.to,o,n,e.from]);const a=At([e.from,n,o]);this._active=!0,this._fn=e.fn||Cr[e.type||typeof a],this._easing=Ye[e.easing]||Ye.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=r,this._from=a,this._to=o,this._promises=void 0}active(){return this._active}update(e,t,r){if(this._active){this._notify(!1);const o=this._target[this._prop],n=r-this._start,a=this._duration-n;this._start=r,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=n,this._loop=!!e.loop,this._to=At([e.to,t,o,e.from]),this._from=At([e.from,o,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,r=this._duration,o=this._prop,n=this._from,a=this._loop,i=this._to;let l;if(this._active=n!==i&&(a||t<r),!this._active)return this._target[o]=i,void this._notify(!0);t<0?this._target[o]=n:(l=t/r%2,l=a&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[o]=this._fn(n,i,l))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,r)=>{e.push({res:t,rej:r})}))}_notify(e){const t=e?"res":"rej",r=this._promises||[];for(let e=0;e<r.length;e++)r[e][t]()}}class Mr{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!W(e))return;const t=Object.keys(st.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach((o=>{const n=e[o];if(!W(n))return;const a={};for(const e of t)a[e]=n[e];(B(n.properties)&&n.properties||[o]).forEach((e=>{e!==o&&r.has(e)||r.set(e,a)}))}))}_animateOptions(e,t){const r=t.options,o=function(e,t){if(!t)return;let r=e.options;if(r)return r.$shared&&(e.options=r=Object.assign({},r,{$shared:!1,$animations:{}})),r;e.options=t}(e,r);if(!o)return[];const n=this._createAnimations(o,r);return r.$shared&&function(e,t){const r=[],o=Object.keys(t);for(let t=0;t<o.length;t++){const n=e[o[t]];n&&n.active()&&r.push(n.wait())}return Promise.all(r)}(e.options.$animations,r).then((()=>{e.options=r}),(()=>{})),n}_createAnimations(e,t){const r=this._properties,o=[],n=e.$animations||(e.$animations={}),a=Object.keys(t),i=Date.now();let l;for(l=a.length-1;l>=0;--l){const s=a[l];if("$"===s.charAt(0))continue;if("options"===s){o.push(...this._animateOptions(e,t));continue}const c=t[s];let u=n[s];const d=r.get(s);if(u){if(d&&u.active()){u.update(d,c,i);continue}u.cancel()}d&&d.duration?(n[s]=u=new Tr(d,e,s,c),o.push(u)):e[s]=c}return o}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const r=this._createAnimations(e,t);return r.length?(kr.add(this._chart,r),!0):void 0}}function Sr(e,t){const r=e&&e.options||{},o=r.reverse,n=void 0===r.min?t:0,a=void 0===r.max?t:0;return{start:o?a:n,end:o?n:a}}function Er(e,t){const r=[],o=e._getSortedDatasetMetas(t);let n,a;for(n=0,a=o.length;n<a;++n)r.push(o[n].index);return r}function jr(e,t,r,o={}){const n=e.keys,a="single"===o.mode;let i,l,s,c;if(null===t)return;let u=!1;for(i=0,l=n.length;i<l;++i){if(s=+n[i],s===r){if(u=!0,o.all)continue;break}c=e.values[s],H(c)&&(a||0===t||me(t)===me(c))&&(t+=c)}return u||o.all?t:0}function Ar(e,t){const r=e&&e.options.stacked;return r||void 0===r&&void 0!==t.stack}function Nr(e,t,r){const o=e[t]||(e[t]={});return o[r]||(o[r]={})}function Rr(e,t,r,o){for(const n of t.getMatchingVisibleMetas(o).reverse()){const t=e[n.index];if(r&&t>0||!r&&t<0)return n.index}return null}function Ir(e,t){const{chart:r,_cachedMeta:o}=e,n=r._stacks||(r._stacks={}),{iScale:a,vScale:i,index:l}=o,s=a.axis,c=i.axis,u=function(e,t,r){return`${e.id}.${t.id}.${r.stack||r.type}`}(a,i,o),d=t.length;let f;for(let e=0;e<d;++e){const r=t[e],{[s]:a,[c]:d}=r;f=(r._stacks||(r._stacks={}))[c]=Nr(n,u,a),f[l]=d,f._top=Rr(f,i,!0,o.type),f._bottom=Rr(f,i,!1,o.type),(f._visualValues||(f._visualValues={}))[l]=d}}function Dr(e,t){const r=e.scales;return Object.keys(r).filter((e=>r[e].axis===t)).shift()}function Lr(e,t){const r=e.controller.index,o=e.vScale&&e.vScale.axis;if(o){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[o]||void 0===t[o][r])return;delete t[o][r],void 0!==t[o]._visualValues&&void 0!==t[o]._visualValues[r]&&delete t[o]._visualValues[r]}}}const zr=e=>"reset"===e||"none"===e,Fr=(e,t)=>t?e:Object.assign({},e);class Vr{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Ar(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Lr(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,r=this.getDataset(),o=(e,t,r,o)=>"x"===e?t:"r"===e?o:r,n=t.xAxisID=q(r.xAxisID,Dr(e,"x")),a=t.yAxisID=q(r.yAxisID,Dr(e,"y")),i=t.rAxisID=q(r.rAxisID,Dr(e,"r")),l=t.indexAxis,s=t.iAxisID=o(l,n,a,i),c=t.vAxisID=o(l,a,n,i);t.xScale=this.getScaleForId(n),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(i),t.iScale=this.getScaleForId(s),t.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&De(this._data,this),e._stacked&&Lr(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),r=this._data;if(W(t)){const e=this._cachedMeta;this._data=function(e,t){const{iScale:r,vScale:o}=t,n="x"===r.axis?"x":"y",a="x"===o.axis?"x":"y",i=Object.keys(e),l=new Array(i.length);let s,c,u;for(s=0,c=i.length;s<c;++s)u=i[s],l[s]={[n]:u,[a]:e[u]};return l}(t,e)}else if(r!==t){if(r){De(r,this);const e=this._cachedMeta;Lr(e),e._parsed=[]}t&&Object.isExtensible(t)&&((o=t)._chartjs?o._chartjs.listeners.push(this):(Object.defineProperty(o,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[this]}}),Ie.forEach((e=>{const t="_onData"+ne(e),r=o[e];Object.defineProperty(o,e,{configurable:!0,enumerable:!1,value(...e){const n=r.apply(this,e);return o._chartjs.listeners.forEach((r=>{"function"==typeof r[t]&&r[t](...e)})),n}})})))),this._syncList=[],this._data=t}var o}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,r=this.getDataset();let o=!1;this._dataCheck();const n=t._stacked;t._stacked=Ar(t.vScale,t),t.stack!==r.stack&&(o=!0,Lr(t),t.stack=r.stack),this._resyncElements(e),(o||n!==t._stacked)&&(Ir(this,t._parsed),t._stacked=Ar(t.vScale,t))}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:r,_data:o}=this,{iScale:n,_stacked:a}=r,i=n.axis;let l,s,c,u=0===e&&t===o.length||r._sorted,d=e>0&&r._parsed[e-1];if(!1===this._parsing)r._parsed=o,r._sorted=!0,c=o;else{c=B(o[e])?this.parseArrayData(r,o,e,t):W(o[e])?this.parseObjectData(r,o,e,t):this.parsePrimitiveData(r,o,e,t);const n=()=>null===s[i]||d&&s[i]<d[i];for(l=0;l<t;++l)r._parsed[l+e]=s=c[l],u&&(n()&&(u=!1),d=s);r._sorted=u}a&&Ir(this,c)}parsePrimitiveData(e,t,r,o){const{iScale:n,vScale:a}=e,i=n.axis,l=a.axis,s=n.getLabels(),c=n===a,u=new Array(o);let d,f,p;for(d=0,f=o;d<f;++d)p=d+r,u[d]={[i]:c||n.parse(s[p],p),[l]:a.parse(t[p],p)};return u}parseArrayData(e,t,r,o){const{xScale:n,yScale:a}=e,i=new Array(o);let l,s,c,u;for(l=0,s=o;l<s;++l)c=l+r,u=t[c],i[l]={x:n.parse(u[0],c),y:a.parse(u[1],c)};return i}parseObjectData(e,t,r,o){const{xScale:n,yScale:a}=e,{xAxisKey:i="x",yAxisKey:l="y"}=this._parsing,s=new Array(o);let c,u,d,f;for(c=0,u=o;c<u;++c)d=c+r,f=t[d],s[c]={x:n.parse(oe(f,i),d),y:a.parse(oe(f,l),d)};return s}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,r){const o=this.chart,n=this._cachedMeta,a=t[e.axis];return jr({keys:Er(o,!0),values:t._stacks[e.axis]._visualValues},a,n.index,{mode:r})}updateRangeFromParsed(e,t,r,o){const n=r[t.axis];let a=null===n?NaN:n;const i=o&&r._stacks[t.axis];o&&i&&(o.values=i,a=jr(o,n,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,t){const r=this._cachedMeta,o=r._parsed,n=r._sorted&&e===r.iScale,a=o.length,i=this._getOtherScale(e),l=((e,t,r)=>e&&!t.hidden&&t._stacked&&{keys:Er(r,!0),values:null})(t,r,this.chart),s={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:u}=function(e){const{min:t,max:r,minDefined:o,maxDefined:n}=e.getUserBounds();return{min:o?t:Number.NEGATIVE_INFINITY,max:n?r:Number.POSITIVE_INFINITY}}(i);let d,f;function p(){f=o[d];const t=f[i.axis];return!H(f[e.axis])||c>t||u<t}for(d=0;d<a&&(p()||(this.updateRangeFromParsed(s,e,f,l),!n));++d);if(n)for(d=a-1;d>=0;--d)if(!p()){this.updateRangeFromParsed(s,e,f,l);break}return s}getAllParsedValues(e){const t=this._cachedMeta._parsed,r=[];let o,n,a;for(o=0,n=t.length;o<n;++o)a=t[o][e.axis],H(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,r=t.iScale,o=t.vScale,n=this.getParsed(e);return{label:r?""+r.getLabelForValue(n[r.axis]):"",value:o?""+o.getLabelForValue(n[o.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,r,o,n;return W(e)?(t=e.top,r=e.right,o=e.bottom,n=e.left):t=r=o=n=e,{top:t,right:r,bottom:o,left:n,disabled:!1===e}}(q(this.options.clip,function(e,t,r){if(!1===r)return!1;const o=Sr(e,r),n=Sr(t,r);return{top:n.end,right:o.end,bottom:n.start,left:o.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,r=this._cachedMeta,o=r.data||[],n=t.chartArea,a=[],i=this._drawStart||0,l=this._drawCount||o.length-i,s=this.options.drawActiveElementsOnTop;let c;for(r.dataset&&r.dataset.draw(e,n,i,l),c=i;c<i+l;++c){const t=o[c];t.hidden||(t.active&&s?a.push(t):t.draw(e,n))}for(c=0;c<a.length;++c)a[c].draw(e,n)}getStyle(e,t){const r=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(e||0,r)}getContext(e,t,r){const o=this.getDataset();let n;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];n=t.$context||(t.$context=function(e,t,r){return Nt(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:r,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),n.parsed=this.getParsed(e),n.raw=o.data[e],n.index=n.dataIndex=e}else n=this.$context||(this.$context=function(e,t){return Nt(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),n.dataset=o,n.index=n.datasetIndex=this.index;return n.active=!!t,n.mode=r,n}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",r){const o="active"===t,n=this._cachedDataOpts,a=e+"-"+t,i=n[a],l=this.enableOptionSharing&&ae(r);if(i)return Fr(i,l);const s=this.chart.config,c=s.datasetElementScopeKeys(this._type,e),u=o?[`${e}Hover`,"hover",e,""]:[e,""],d=s.getOptionScopes(this.getDataset(),c),f=Object.keys(st.elements[e]),p=s.resolveNamedOptions(d,f,(()=>this.getContext(r,o,t)),u);return p.$shared&&(p.$shared=l,n[a]=Object.freeze(Fr(p,l))),p}_resolveAnimations(e,t,r){const o=this.chart,n=this._cachedDataOpts,a=`animation-${t}`,i=n[a];if(i)return i;let l;if(!1!==o.options.animation){const o=this.chart.config,n=o.datasetAnimationScopeKeys(this._type,t),a=o.getOptionScopes(this.getDataset(),n);l=o.createResolver(a,this.getContext(e,r,t))}const s=new Mr(o,l&&l.animations);return l&&l._cacheable&&(n[a]=Object.freeze(s)),s}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||zr(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const r=this.resolveDataElementOptions(e,t),o=this._sharedOptions,n=this.getSharedOptions(r),a=this.includeOptions(t,n)||n!==o;return this.updateSharedOptions(n,t,r),{sharedOptions:n,includeOptions:a}}updateElement(e,t,r,o){zr(o)?Object.assign(e,r):this._resolveAnimations(t,o).update(e,r)}updateSharedOptions(e,t,r){e&&!zr(t)&&this._resolveAnimations(void 0,t).update(e,r)}_setStyle(e,t,r,o){e.active=o;const n=this.getStyle(t,o);this._resolveAnimations(t,r,o).update(e,{options:!o&&this.getSharedOptions(n)||n})}removeHoverStyle(e,t,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,t,r){this._setStyle(e,r,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,r=this._cachedMeta.data;for(const[e,t,r]of this._syncList)this[e](t,r);this._syncList=[];const o=r.length,n=t.length,a=Math.min(n,o);a&&this.parse(0,a),n>o?this._insertElements(o,n-o,e):n<o&&this._removeElements(n,o-n)}_insertElements(e,t,r=!0){const o=this._cachedMeta,n=o.data,a=e+t;let i;const l=e=>{for(e.length+=t,i=e.length-1;i>=a;i--)e[i]=e[i-t]};for(l(n),i=e;i<a;++i)n[i]=new this.dataElementType;this._parsing&&l(o._parsed),this.parse(e,t),r&&this.updateElements(n,e,t,"reset")}updateElements(e,t,r,o){}_removeElements(e,t){const r=this._cachedMeta;if(this._parsing){const o=r._parsed.splice(e,t);r._stacked&&Lr(r,o)}r.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,r,o]=e;this[t](r,o)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Br(e){const t=e.iScale,r=function(e,t){if(!e._cache.$bar){const r=e.getMatchingVisibleMetas(t);let o=[];for(let t=0,n=r.length;t<n;t++)o=o.concat(r[t].controller.getAllParsedValues(e));e._cache.$bar=Le(o.sort(((e,t)=>e-t)))}return e._cache.$bar}(t,e.type);let o,n,a,i,l=t._length;const s=()=>{32767!==a&&-32768!==a&&(ae(i)&&(l=Math.min(l,Math.abs(a-i)||l)),i=a)};for(o=0,n=r.length;o<n;++o)a=t.getPixelForValue(r[o]),s();for(i=void 0,o=0,n=t.ticks.length;o<n;++o)a=t.getPixelForTick(o),s();return l}function Wr(e,t,r,o){return B(e)?function(e,t,r,o){const n=r.parse(e[0],o),a=r.parse(e[1],o),i=Math.min(n,a),l=Math.max(n,a);let s=i,c=l;Math.abs(i)>Math.abs(l)&&(s=l,c=i),t[r.axis]=c,t._custom={barStart:s,barEnd:c,start:n,end:a,min:i,max:l}}(e,t,r,o):t[r.axis]=r.parse(e,o),t}function Hr(e,t,r,o){const n=e.iScale,a=e.vScale,i=n.getLabels(),l=n===a,s=[];let c,u,d,f;for(c=r,u=r+o;c<u;++c)f=t[c],d={},d[n.axis]=l||n.parse(i[c],c),s.push(Wr(f,d,a,c));return s}function Ur(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function qr(e,t,r,o){let n=t.borderSkipped;const a={};if(!n)return void(e.borderSkipped=a);if(!0===n)return void(e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:i,end:l,reverse:s,top:c,bottom:u}=function(e){let t,r,o,n,a;return e.horizontal?(t=e.base>e.x,r="left",o="right"):(t=e.base<e.y,r="bottom",o="top"),t?(n="end",a="start"):(n="start",a="end"),{start:r,end:o,reverse:t,top:n,bottom:a}}(e);"middle"===n&&r&&(e.enableBorderRadius=!0,(r._top||0)===o?n=c:(r._bottom||0)===o?n=u:(a[$r(u,i,l,s)]=!0,n=c)),a[$r(n,i,l,s)]=!0,e.borderSkipped=a}function $r(e,t,r,o){var n,a,i;return o?(i=r,e=Yr(e=(n=e)===(a=t)?i:n===i?a:n,r,t)):e=Yr(e,t,r),e}function Yr(e,t,r){return"start"===e?t:"end"===e?r:e}function Xr(e,{inflateAmount:t},r){e.inflateAmount="auto"===t?1===r?.33:0:t}class Kr extends Vr{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,t,r,o){return Hr(e,t,r,o)}parseArrayData(e,t,r,o){return Hr(e,t,r,o)}parseObjectData(e,t,r,o){const{iScale:n,vScale:a}=e,{xAxisKey:i="x",yAxisKey:l="y"}=this._parsing,s="x"===n.axis?i:l,c="x"===a.axis?i:l,u=[];let d,f,p,h;for(d=r,f=r+o;d<f;++d)h=t[d],p={},p[n.axis]=n.parse(oe(h,s),d),u.push(Wr(oe(h,c),p,a,d));return u}updateRangeFromParsed(e,t,r,o){super.updateRangeFromParsed(e,t,r,o);const n=r._custom;n&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,n.min),e.max=Math.max(e.max,n.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const t=this._cachedMeta,{iScale:r,vScale:o}=t,n=this.getParsed(e),a=n._custom,i=Ur(a)?"["+a.start+", "+a.end+"]":""+o.getLabelForValue(n[o.axis]);return{label:""+r.getLabelForValue(n[r.axis]),value:i}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(e){const t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,r,o){const n="reset"===o,{index:a,_cachedMeta:{vScale:i}}=this,l=i.getBasePixel(),s=i.isHorizontal(),c=this._getRuler(),{sharedOptions:u,includeOptions:d}=this._getSharedOptions(t,o);for(let f=t;f<t+r;f++){const t=this.getParsed(f),r=n||V(t[i.axis])?{base:l,head:l}:this._calculateBarValuePixels(f),p=this._calculateBarIndexPixels(f,c),h=(t._stacks||{})[i.axis],b={horizontal:s,base:r.base,enableBorderRadius:!h||Ur(t._custom)||a===h._top||a===h._bottom,x:s?r.head:p.center,y:s?p.center:r.head,height:s?p.size:Math.abs(r.size),width:s?Math.abs(r.size):p.size};d&&(b.options=u||this.resolveDataElementOptions(f,e[f].active?"active":o));const g=b.options||e[f].options;qr(b,g,h,a),Xr(b,g,c.ratio),this.updateElement(e[f],f,b,o)}}_getStacks(e,t){const{iScale:r}=this._cachedMeta,o=r.getMatchingVisibleMetas(this._type).filter((e=>e.controller.options.grouped)),n=r.options.stacked,a=[],i=this._cachedMeta.controller.getParsed(t),l=i&&i[r.axis],s=e=>{const t=e._parsed.find((e=>e[r.axis]===l)),o=t&&t[e.vScale.axis];if(V(o)||isNaN(o))return!0};for(const r of o)if((void 0===t||!s(r))&&((!1===n||-1===a.indexOf(r.stack)||void 0===n&&void 0===r.stack)&&a.push(r.stack),r.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,r){const o=this._getStacks(e,r),n=void 0!==t?o.indexOf(t):-1;return-1===n?o.length-1:n}_getRuler(){const e=this.options,t=this._cachedMeta,r=t.iScale,o=[];let n,a;for(n=0,a=t.data.length;n<a;++n)o.push(r.getPixelForValue(this.getParsed(n)[r.axis],n));const i=e.barThickness;return{min:i||Br(t),pixels:o,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:e.grouped,ratio:i?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:t,_stacked:r,index:o},options:{base:n,minBarLength:a}}=this,i=n||0,l=this.getParsed(e),s=l._custom,c=Ur(s);let u,d,f=l[t.axis],p=0,h=r?this.applyStack(t,l,r):f;h!==f&&(p=h-f,h=f),c&&(f=s.barStart,h=s.barEnd-s.barStart,0!==f&&me(f)!==me(s.barEnd)&&(p=0),p+=f);const b=V(n)||c?p:n;let g=t.getPixelForValue(b);if(u=this.chart.getDataVisibility(e)?t.getPixelForValue(p+h):g,d=u-g,Math.abs(d)<a){d=function(e,t,r){return 0!==e?me(e):(t.isHorizontal()?1:-1)*(t.min>=r?1:-1)}(d,t,i)*a,f===i&&(g-=d/2);const e=t.getPixelForDecimal(0),n=t.getPixelForDecimal(1),s=Math.min(e,n),p=Math.max(e,n);g=Math.max(Math.min(g,p),s),u=g+d,r&&!c&&(l._stacks[t.axis]._visualValues[o]=t.getValueForPixel(u)-t.getValueForPixel(g))}if(g===t.getPixelForValue(i)){const e=me(d)*t.getLineWidthForValue(i)/2;g+=e,d-=e}return{size:d,base:g,head:u,center:u+d/2}}_calculateBarIndexPixels(e,t){const r=t.scale,o=this.options,n=o.skipNull,a=q(o.maxBarThickness,1/0);let i,l;if(t.grouped){const r=n?this._getStackCount(e):t.stackCount,s="flex"===o.barThickness?function(e,t,r,o){const n=t.pixels,a=n[e];let i=e>0?n[e-1]:null,l=e<n.length-1?n[e+1]:null;const s=r.categoryPercentage;null===i&&(i=a-(null===l?t.end-t.start:l-a)),null===l&&(l=a+a-i);const c=a-(a-Math.min(i,l))/2*s;return{chunk:Math.abs(l-i)/2*s/o,ratio:r.barPercentage,start:c}}(e,t,o,r):function(e,t,r,o){const n=r.barThickness;let a,i;return V(n)?(a=t.min*r.categoryPercentage,i=r.barPercentage):(a=n*o,i=1),{chunk:a/o,ratio:i,start:t.pixels[e]-a/2}}(e,t,o,r),c=this._getStackIndex(this.index,this._cachedMeta.stack,n?e:void 0);i=s.start+s.chunk*c+s.chunk/2,l=Math.min(a,s.chunk*s.ratio)}else i=r.getPixelForValue(this.getParsed(e)[r.axis],e),l=Math.min(a,t.min*t.ratio);return{base:i-l/2,head:i+l/2,center:i,size:l}}draw(){const e=this._cachedMeta,t=e.vScale,r=e.data,o=r.length;let n=0;for(;n<o;++n)null===this.getParsed(n)[t.axis]||r[n].hidden||r[n].draw(this._ctx)}}class Gr extends Vr{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:r,color:o}}=e.legend.options;return t.labels.map(((t,n)=>{const a=e.getDatasetMeta(0).controller.getStyle(n);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:o,lineWidth:a.borderWidth,pointStyle:r,hidden:!e.getDataVisibility(n),index:n}}))}return[]}},onClick(e,t,r){r.chart.toggleDataVisibility(t.index),r.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const r=this.getDataset().data,o=this._cachedMeta;if(!1===this._parsing)o._parsed=r;else{let n,a,i=e=>+r[e];if(W(r[e])){const{key:e="value"}=this._parsing;i=t=>+oe(r[t],e)}for(n=e,a=e+t;n<a;++n)o._parsed[n]=i(n)}}_getRotation(){return Oe(this.options.rotation-90)}_getCircumference(){return Oe(this.options.circumference)}_getRotationExtents(){let e=ce,t=-ce;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const o=this.chart.getDatasetMeta(r).controller,n=o._getRotation(),a=o._getCircumference();e=Math.min(e,n),t=Math.max(t,n+a)}return{rotation:e,circumference:t-e}}update(e){const t=this.chart,{chartArea:r}=t,o=this._cachedMeta,n=o.data,a=this.getMaxBorderWidth()+this.getMaxOffset(n)+this.options.spacing,i=Math.max((Math.min(r.width,r.height)-a)/2,0),l=Math.min((c=i,"string"==typeof(s=this.options.cutout)&&s.endsWith("%")?parseFloat(s)/100:+s/c),1);var s,c;const u=this._getRingWeight(this.index),{circumference:d,rotation:f}=this._getRotationExtents(),{ratioX:p,ratioY:h,offsetX:b,offsetY:g}=function(e,t,r){let o=1,n=1,a=0,i=0;if(t<ce){const l=e,s=l+t,c=Math.cos(l),u=Math.sin(l),d=Math.cos(s),f=Math.sin(s),p=(e,t,o)=>Se(e,l,s,!0)?1:Math.max(t,t*r,o,o*r),h=(e,t,o)=>Se(e,l,s,!0)?-1:Math.min(t,t*r,o,o*r),b=p(0,c,d),g=p(pe,u,f),m=h(se,c,d),y=h(se+pe,u,f);o=(b-m)/2,n=(g-y)/2,a=-(b+m)/2,i=-(g+y)/2}return{ratioX:o,ratioY:n,offsetX:a,offsetY:i}}(f,d,l),m=(r.width-a)/p,y=(r.height-a)/h,v=Math.max(Math.min(m,y)/2,0),x=$(this.options.radius,v),w=(x-Math.max(x*l,0))/this._getVisibleDatasetWeightTotal();this.offsetX=b*x,this.offsetY=g*x,o.total=this.calculateTotal(),this.outerRadius=x-w*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-w*u,0),this.updateElements(n,0,n.length,e)}_circumference(e,t){const r=this.options,o=this._cachedMeta,n=this._getCircumference();return t&&r.animation.animateRotate||!this.chart.getDataVisibility(e)||null===o._parsed[e]||o.data[e].hidden?0:this.calculateCircumference(o._parsed[e]*n/ce)}updateElements(e,t,r,o){const n="reset"===o,a=this.chart,i=a.chartArea,l=a.options.animation,s=(i.left+i.right)/2,c=(i.top+i.bottom)/2,u=n&&l.animateScale,d=u?0:this.innerRadius,f=u?0:this.outerRadius,{sharedOptions:p,includeOptions:h}=this._getSharedOptions(t,o);let b,g=this._getRotation();for(b=0;b<t;++b)g+=this._circumference(b,n);for(b=t;b<t+r;++b){const t=this._circumference(b,n),r=e[b],a={x:s+this.offsetX,y:c+this.offsetY,startAngle:g,endAngle:g+t,circumference:t,outerRadius:f,innerRadius:d};h&&(a.options=p||this.resolveDataElementOptions(b,r.active?"active":o)),g+=t,this.updateElement(r,b,a,o)}}calculateTotal(){const e=this._cachedMeta,t=e.data;let r,o=0;for(r=0;r<t.length;r++){const n=e._parsed[r];null===n||isNaN(n)||!this.chart.getDataVisibility(r)||t[r].hidden||(o+=Math.abs(n))}return o}calculateCircumference(e){const t=this._cachedMeta.total;return t>0&&!isNaN(e)?ce*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,r=this.chart,o=r.data.labels||[],n=et(t._parsed[e],r.options.locale);return{label:o[e]||"",value:n}}getMaxBorderWidth(e){let t=0;const r=this.chart;let o,n,a,i,l;if(!e)for(o=0,n=r.data.datasets.length;o<n;++o)if(r.isDatasetVisible(o)){a=r.getDatasetMeta(o),e=a.data,i=a.controller;break}if(!e)return 0;for(o=0,n=e.length;o<n;++o)l=i.resolveDataElementOptions(o),"inner"!==l.borderAlign&&(t=Math.max(t,l.borderWidth||0,l.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let r=0,o=e.length;r<o;++r){const e=this.resolveDataElementOptions(r);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let r=0;r<e;++r)this.chart.isDatasetVisible(r)&&(t+=this._getRingWeight(r));return t}_getRingWeight(e){return Math.max(q(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class Zr extends Vr{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:r,data:o=[],_dataset:n}=t,a=this.chart._animationsDisabled;let{start:i,count:l}=We(t,o,a);this._drawStart=i,this._drawCount=l,He(t)&&(i=0,l=o.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!n._decimated,r.points=o;const s=this.resolveDatasetElementOptions(e);this.options.showLine||(s.borderWidth=0),s.segment=this.options.segment,this.updateElement(r,void 0,{animated:!a,options:s},e),this.updateElements(o,i,l,e)}updateElements(e,t,r,o){const n="reset"===o,{iScale:a,vScale:i,_stacked:l,_dataset:s}=this._cachedMeta,{sharedOptions:c,includeOptions:u}=this._getSharedOptions(t,o),d=a.axis,f=i.axis,{spanGaps:p,segment:h}=this.options,b=xe(p)?p:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||n||"none"===o,m=t+r,y=e.length;let v=t>0&&this.getParsed(t-1);for(let r=0;r<y;++r){const p=e[r],y=g?p:{};if(r<t||r>=m){y.skip=!0;continue}const x=this.getParsed(r),w=V(x[f]),O=y[d]=a.getPixelForValue(x[d],r),_=y[f]=n||w?i.getBasePixel():i.getPixelForValue(l?this.applyStack(i,x,l):x[f],r);y.skip=isNaN(O)||isNaN(_)||w,y.stop=r>0&&Math.abs(x[d]-v[d])>b,h&&(y.parsed=x,y.raw=s.data[r]),u&&(y.options=c||this.resolveDataElementOptions(r,p.active?"active":o)),g||this.updateElement(p,r,y,o),v=x}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,r=t.options&&t.options.borderWidth||0,o=e.data||[];if(!o.length)return r;const n=o[0].size(this.resolveDataElementOptions(0)),a=o[o.length-1].size(this.resolveDataElementOptions(o.length-1));return Math.max(r,n,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}class Jr extends Vr{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:r,color:o}}=e.legend.options;return t.labels.map(((t,n)=>{const a=e.getDatasetMeta(0).controller.getStyle(n);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:o,lineWidth:a.borderWidth,pointStyle:r,hidden:!e.getDataVisibility(n),index:n}}))}return[]}},onClick(e,t,r){r.chart.toggleDataVisibility(t.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,r=this.chart,o=r.data.labels||[],n=et(t._parsed[e].r,r.options.locale);return{label:o[e]||"",value:n}}parseObjectData(e,t,r,o){return Yt.bind(this)(e,t,r,o)}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){const e=this._cachedMeta,t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach(((e,r)=>{const o=this.getParsed(r).r;!isNaN(o)&&this.chart.getDataVisibility(r)&&(o<t.min&&(t.min=o),o>t.max&&(t.max=o))})),t}_updateRadius(){const e=this.chart,t=e.chartArea,r=e.options,o=Math.min(t.right-t.left,t.bottom-t.top),n=Math.max(o/2,0),a=(n-Math.max(r.cutoutPercentage?n/100*r.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=n-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,r,o){const n="reset"===o,a=this.chart,i=a.options.animation,l=this._cachedMeta.rScale,s=l.xCenter,c=l.yCenter,u=l.getIndexAngle(0)-.5*se;let d,f=u;const p=360/this.countVisibleElements();for(d=0;d<t;++d)f+=this._computeAngle(d,o,p);for(d=t;d<t+r;d++){const t=e[d];let r=f,h=f+this._computeAngle(d,o,p),b=a.getDataVisibility(d)?l.getDistanceFromCenterForValue(this.getParsed(d).r):0;f=h,n&&(i.animateScale&&(b=0),i.animateRotate&&(r=h=u));const g={x:s,y:c,innerRadius:0,outerRadius:b,startAngle:r,endAngle:h,options:this.resolveDataElementOptions(d,t.active?"active":o)};this.updateElement(t,d,g,o)}}countVisibleElements(){const e=this._cachedMeta;let t=0;return e.data.forEach(((e,r)=>{!isNaN(this.getParsed(r).r)&&this.chart.getDataVisibility(r)&&t++})),t}_computeAngle(e,t,r){return this.chart.getDataVisibility(e)?Oe(this.resolveDataElementOptions(e,t).angle||r):0}}var Qr=Object.freeze({__proto__:null,BarController:Kr,BubbleController:class extends Vr{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,t,r,o){const n=super.parsePrimitiveData(e,t,r,o);for(let e=0;e<n.length;e++)n[e]._custom=this.resolveDataElementOptions(e+r).radius;return n}parseArrayData(e,t,r,o){const n=super.parseArrayData(e,t,r,o);for(let e=0;e<n.length;e++){const o=t[r+e];n[e]._custom=q(o[2],this.resolveDataElementOptions(e+r).radius)}return n}parseObjectData(e,t,r,o){const n=super.parseObjectData(e,t,r,o);for(let e=0;e<n.length;e++){const o=t[r+e];n[e]._custom=q(o&&o.r&&+o.r,this.resolveDataElementOptions(e+r).radius)}return n}getMaxOverflow(){const e=this._cachedMeta.data;let t=0;for(let r=e.length-1;r>=0;--r)t=Math.max(t,e[r].size(this.resolveDataElementOptions(r))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,r=this.chart.data.labels||[],{xScale:o,yScale:n}=t,a=this.getParsed(e),i=o.getLabelForValue(a.x),l=n.getLabelForValue(a.y),s=a._custom;return{label:r[e]||"",value:"("+i+", "+l+(s?", "+s:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,r,o){const n="reset"===o,{iScale:a,vScale:i}=this._cachedMeta,{sharedOptions:l,includeOptions:s}=this._getSharedOptions(t,o),c=a.axis,u=i.axis;for(let d=t;d<t+r;d++){const t=e[d],r=!n&&this.getParsed(d),f={},p=f[c]=n?a.getPixelForDecimal(.5):a.getPixelForValue(r[c]),h=f[u]=n?i.getBasePixel():i.getPixelForValue(r[u]);f.skip=isNaN(p)||isNaN(h),s&&(f.options=l||this.resolveDataElementOptions(d,t.active?"active":o),n&&(f.options.radius=0)),this.updateElement(t,d,f,o)}}resolveDataElementOptions(e,t){const r=this.getParsed(e);let o=super.resolveDataElementOptions(e,t);o.$shared&&(o=Object.assign({},o,{$shared:!1}));const n=o.radius;return"active"!==t&&(o.radius=0),o.radius+=q(r&&r._custom,n),o}},DoughnutController:Gr,LineController:Zr,PieController:class extends Gr{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}},PolarAreaController:Jr,RadarController:class extends Vr{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){const t=this._cachedMeta.vScale,r=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(r[t.axis])}}parseObjectData(e,t,r,o){return Yt.bind(this)(e,t,r,o)}update(e){const t=this._cachedMeta,r=t.dataset,o=t.data||[],n=t.iScale.getLabels();if(r.points=o,"resize"!==e){const t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);const a={_loop:!0,_fullLoop:n.length===o.length,options:t};this.updateElement(r,void 0,a,e)}this.updateElements(o,0,o.length,e)}updateElements(e,t,r,o){const n=this._cachedMeta.rScale,a="reset"===o;for(let i=t;i<t+r;i++){const t=e[i],r=this.resolveDataElementOptions(i,t.active?"active":o),l=n.getPointPositionForValue(i,this.getParsed(i).r),s=a?n.xCenter:l.x,c=a?n.yCenter:l.y,u={x:s,y:c,angle:l.angle,skip:isNaN(s)||isNaN(c),options:r};this.updateElement(t,i,u,o)}}},ScatterController:class extends Vr{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(e){const t=this._cachedMeta,r=this.chart.data.labels||[],{xScale:o,yScale:n}=t,a=this.getParsed(e),i=o.getLabelForValue(a.x),l=n.getLabelForValue(a.y);return{label:r[e]||"",value:"("+i+", "+l+")"}}update(e){const t=this._cachedMeta,{data:r=[]}=t,o=this.chart._animationsDisabled;let{start:n,count:a}=We(t,r,o);if(this._drawStart=n,this._drawCount=a,He(t)&&(n=0,a=r.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:n,_dataset:a}=t;n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!a._decimated,n.points=r;const i=this.resolveDatasetElementOptions(e);i.segment=this.options.segment,this.updateElement(n,void 0,{animated:!o,options:i},e)}else this.datasetElementType&&(delete t.dataset,this.datasetElementType=!1);this.updateElements(r,n,a,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(e,t,r,o){const n="reset"===o,{iScale:a,vScale:i,_stacked:l,_dataset:s}=this._cachedMeta,c=this.resolveDataElementOptions(t,o),u=this.getSharedOptions(c),d=this.includeOptions(o,u),f=a.axis,p=i.axis,{spanGaps:h,segment:b}=this.options,g=xe(h)?h:Number.POSITIVE_INFINITY,m=this.chart._animationsDisabled||n||"none"===o;let y=t>0&&this.getParsed(t-1);for(let c=t;c<t+r;++c){const t=e[c],r=this.getParsed(c),h=m?t:{},v=V(r[p]),x=h[f]=a.getPixelForValue(r[f],c),w=h[p]=n||v?i.getBasePixel():i.getPixelForValue(l?this.applyStack(i,r,l):r[p],c);h.skip=isNaN(x)||isNaN(w)||v,h.stop=c>0&&Math.abs(r[f]-y[f])>g,b&&(h.parsed=r,h.raw=s.data[c]),d&&(h.options=u||this.resolveDataElementOptions(c,t.active?"active":o)),m||this.updateElement(t,c,h,o),y=r}this.updateSharedOptions(u,o,c)}getMaxOverflow(){const e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let r=t.length-1;r>=0;--r)e=Math.max(e,t[r].size(this.resolveDataElementOptions(r))/2);return e>0&&e}const r=e.dataset,o=r.options&&r.options.borderWidth||0;if(!t.length)return o;const n=t[0].size(this.resolveDataElementOptions(0)),a=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(o,n,a)/2}}});function eo(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class to{static override(e){Object.assign(to.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return eo()}parse(){return eo()}format(){return eo()}add(){return eo()}diff(){return eo()}startOf(){return eo()}endOf(){return eo()}}var ro=to;function oo(e,t,r,o){const{controller:n,data:a,_sorted:i}=e,l=n._cachedMeta.iScale;if(l&&t===l.axis&&"r"!==t&&i&&a.length){const e=l._reversePixels?Re:Ne;if(!o)return e(a,t,r);if(n._sharedOptions){const o=a[0],n="function"==typeof o.getRange&&o.getRange(t);if(n){const o=e(a,t,r-n),i=e(a,t,r+n);return{lo:o.lo,hi:i.hi}}}}return{lo:0,hi:a.length-1}}function no(e,t,r,o,n){const a=e.getSortedVisibleDatasetMetas(),i=r[t];for(let e=0,r=a.length;e<r;++e){const{index:r,data:l}=a[e],{lo:s,hi:c}=oo(a[e],t,i,n);for(let e=s;e<=c;++e){const t=l[e];t.skip||o(t,r,e)}}}function ao(e,t,r,o,n){const a=[];return n||e.isPointInArea(t)?(no(e,r,t,(function(r,i,l){(n||bt(r,e.chartArea,0))&&r.inRange(t.x,t.y,o)&&a.push({element:r,datasetIndex:i,index:l})}),!0),a):a}function io(e,t,r,o,n,a){return a||e.isPointInArea(t)?"r"!==r||o?function(e,t,r,o,n,a){let i=[];const l=function(e){const t=-1!==e.indexOf("x"),r=-1!==e.indexOf("y");return function(e,o){const n=t?Math.abs(e.x-o.x):0,a=r?Math.abs(e.y-o.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(a,2))}}(r);let s=Number.POSITIVE_INFINITY;return no(e,r,t,(function(r,c,u){const d=r.inRange(t.x,t.y,n);if(o&&!d)return;const f=r.getCenterPoint(n);if(!a&&!e.isPointInArea(f)&&!d)return;const p=l(t,f);p<s?(i=[{element:r,datasetIndex:c,index:u}],s=p):p===s&&i.push({element:r,datasetIndex:c,index:u})})),i}(e,t,r,o,n,a):function(e,t,r,o){let n=[];return no(e,r,t,(function(e,r,a){const{startAngle:i,endAngle:l}=e.getProps(["startAngle","endAngle"],o),{angle:s}=Pe(e,{x:t.x,y:t.y});Se(s,i,l)&&n.push({element:e,datasetIndex:r,index:a})})),n}(e,t,r,n):[]}function lo(e,t,r,o,n){const a=[],i="x"===r?"inXRange":"inYRange";let l=!1;return no(e,r,t,((e,o,s)=>{e[i]&&e[i](t[r],n)&&(a.push({element:e,datasetIndex:o,index:s}),l=l||e.inRange(t.x,t.y,n))})),o&&!l?[]:a}var so={evaluateInteractionItems:no,modes:{index(e,t,r,o){const n=ir(t,e),a=r.axis||"x",i=r.includeInvisible||!1,l=r.intersect?ao(e,n,a,o,i):io(e,n,a,!1,o,i),s=[];return l.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=l[0].index,r=e.data[t];r&&!r.skip&&s.push({element:r,datasetIndex:e.index,index:t})})),s):[]},dataset(e,t,r,o){const n=ir(t,e),a=r.axis||"xy",i=r.includeInvisible||!1;let l=r.intersect?ao(e,n,a,o,i):io(e,n,a,!1,o,i);if(l.length>0){const t=l[0].datasetIndex,r=e.getDatasetMeta(t).data;l=[];for(let e=0;e<r.length;++e)l.push({element:r[e],datasetIndex:t,index:e})}return l},point:(e,t,r,o)=>ao(e,ir(t,e),r.axis||"xy",o,r.includeInvisible||!1),nearest(e,t,r,o){const n=ir(t,e),a=r.axis||"xy",i=r.includeInvisible||!1;return io(e,n,a,r.intersect,o,i)},x:(e,t,r,o)=>lo(e,ir(t,e),"x",r.intersect,o),y:(e,t,r,o)=>lo(e,ir(t,e),"y",r.intersect,o)}};const co=["left","top","right","bottom"];function uo(e,t){return e.filter((e=>e.pos===t))}function fo(e,t){return e.filter((e=>-1===co.indexOf(e.pos)&&e.box.axis===t))}function po(e,t){return e.sort(((e,r)=>{const o=t?r:e,n=t?e:r;return o.weight===n.weight?o.index-n.index:o.weight-n.weight}))}function ho(e,t,r,o){return Math.max(e[r],t[r])+Math.max(e[o],t[o])}function bo(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function go(e,t,r,o){const{pos:n,box:a}=r,i=e.maxPadding;if(!W(n)){r.size&&(e[n]-=r.size);const t=o[r.stack]||{size:0,count:1};t.size=Math.max(t.size,r.horizontal?a.height:a.width),r.size=t.size/t.count,e[n]+=r.size}a.getPadding&&bo(i,a.getPadding());const l=Math.max(0,t.outerWidth-ho(i,e,"left","right")),s=Math.max(0,t.outerHeight-ho(i,e,"top","bottom")),c=l!==e.w,u=s!==e.h;return e.w=l,e.h=s,r.horizontal?{same:c,other:u}:{same:u,other:c}}function mo(e,t){const r=t.maxPadding;return function(e){const o={left:0,top:0,right:0,bottom:0};return e.forEach((e=>{o[e]=Math.max(t[e],r[e])})),o}(e?["left","right"]:["top","bottom"])}function yo(e,t,r,o){const n=[];let a,i,l,s,c,u;for(a=0,i=e.length,c=0;a<i;++a){l=e[a],s=l.box,s.update(l.width||t.w,l.height||t.h,mo(l.horizontal,t));const{same:i,other:d}=go(t,r,l,o);c|=i&&n.length,u=u||d,s.fullSize||n.push(l)}return c&&yo(n,t,r,o)||u}function vo(e,t,r,o,n){e.top=r,e.left=t,e.right=t+o,e.bottom=r+n,e.width=o,e.height=n}function xo(e,t,r,o){const n=r.padding;let{x:a,y:i}=t;for(const l of e){const e=l.box,s=o[l.stack]||{count:1,placed:0,weight:1},c=l.stackWeight/s.weight||1;if(l.horizontal){const o=t.w*c,a=s.size||e.height;ae(s.start)&&(i=s.start),e.fullSize?vo(e,n.left,i,r.outerWidth-n.right-n.left,a):vo(e,t.left+s.placed,i,o,a),s.start=i,s.placed+=o,i=e.bottom}else{const o=t.h*c,i=s.size||e.width;ae(s.start)&&(a=s.start),e.fullSize?vo(e,a,n.top,i,r.outerHeight-n.bottom-n.top):vo(e,a,t.top+s.placed,i,o),s.start=a,s.placed+=o,a=e.right}}t.x=a,t.y=i}var wo={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){const r=e.boxes?e.boxes.indexOf(t):-1;-1!==r&&e.boxes.splice(r,1)},configure(e,t,r){t.fullSize=r.fullSize,t.position=r.position,t.weight=r.weight},update(e,t,r,o){if(!e)return;const n=Et(e.options.layout.padding),a=Math.max(t-n.width,0),i=Math.max(r-n.height,0),l=function(e){const t=function(e){const t=[];let r,o,n,a,i,l;for(r=0,o=(e||[]).length;r<o;++r)n=e[r],({position:a,options:{stack:i,stackWeight:l=1}}=n),t.push({index:r,box:n,pos:a,horizontal:n.isHorizontal(),weight:n.weight,stack:i&&a+i,stackWeight:l});return t}(e),r=po(t.filter((e=>e.box.fullSize)),!0),o=po(uo(t,"left"),!0),n=po(uo(t,"right")),a=po(uo(t,"top"),!0),i=po(uo(t,"bottom")),l=fo(t,"x"),s=fo(t,"y");return{fullSize:r,leftAndTop:o.concat(a),rightAndBottom:n.concat(s).concat(i).concat(l),chartArea:uo(t,"chartArea"),vertical:o.concat(n).concat(s),horizontal:a.concat(i).concat(l)}}(e.boxes),s=l.vertical,c=l.horizontal;X(e.boxes,(e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()}));const u=s.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,d=Object.freeze({outerWidth:t,outerHeight:r,padding:n,availableWidth:a,availableHeight:i,vBoxMaxWidth:a/2/u,hBoxMaxHeight:i/2}),f=Object.assign({},n);bo(f,Et(o));const p=Object.assign({maxPadding:f,w:a,h:i,x:n.left,y:n.top},n),h=function(e,t){const r=function(e){const t={};for(const r of e){const{stack:e,pos:o,stackWeight:n}=r;if(!e||!co.includes(o))continue;const a=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=n}return t}(e),{vBoxMaxWidth:o,hBoxMaxHeight:n}=t;let a,i,l;for(a=0,i=e.length;a<i;++a){l=e[a];const{fullSize:i}=l.box,s=r[l.stack],c=s&&l.stackWeight/s.weight;l.horizontal?(l.width=c?c*o:i&&t.availableWidth,l.height=n):(l.width=o,l.height=c?c*n:i&&t.availableHeight)}return r}(s.concat(c),d);yo(l.fullSize,p,d,h),yo(s,p,d,h),yo(c,p,d,h)&&yo(s,p,d,h),function(e){const t=e.maxPadding;function r(r){const o=Math.max(t[r]-e[r],0);return e[r]+=o,o}e.y+=r("top"),e.x+=r("left"),r("right"),r("bottom")}(p),xo(l.leftAndTop,p,d,h),p.x+=p.w,p.y+=p.h,xo(l.rightAndBottom,p,d,h),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},X(l.chartArea,(t=>{const r=t.box;Object.assign(r,e.chartArea),r.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})}))}};class Oo{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,r){}removeEventListener(e,t,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,r,o){return t=Math.max(0,t||e.width),r=r||e.height,{width:t,height:Math.max(0,o?Math.floor(t/o):r)}}isAttached(e){return!0}updateConfig(e){}}class _o extends Oo{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const ko="$chartjs",Po={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Co=e=>null===e||""===e,To=!!cr&&{passive:!0};function Mo(e,t,r){e&&e.canvas&&e.canvas.removeEventListener(t,r,To)}function So(e,t){for(const r of e)if(r===t||r.contains(t))return!0}function Eo(e,t,r){const o=e.canvas,n=new MutationObserver((e=>{let t=!1;for(const r of e)t=t||So(r.addedNodes,o),t=t&&!So(r.removedNodes,o);t&&r()}));return n.observe(document,{childList:!0,subtree:!0}),n}function jo(e,t,r){const o=e.canvas,n=new MutationObserver((e=>{let t=!1;for(const r of e)t=t||So(r.removedNodes,o),t=t&&!So(r.addedNodes,o);t&&r()}));return n.observe(document,{childList:!0,subtree:!0}),n}const Ao=new Map;let No=0;function Ro(){const e=window.devicePixelRatio;e!==No&&(No=e,Ao.forEach(((t,r)=>{r.currentDevicePixelRatio!==e&&t()})))}function Io(e,t,r){const o=e.canvas,n=o&&tr(o);if(!n)return;const a=Fe(((e,t)=>{const o=n.clientWidth;r(e,t),o<n.clientWidth&&r()}),window),i=new ResizeObserver((e=>{const t=e[0],r=t.contentRect.width,o=t.contentRect.height;0===r&&0===o||a(r,o)}));return i.observe(n),function(e,t){Ao.size||window.addEventListener("resize",Ro),Ao.set(e,t)}(e,a),i}function Do(e,t,r){r&&r.disconnect(),"resize"===t&&function(e){Ao.delete(e),Ao.size||window.removeEventListener("resize",Ro)}(e)}function Lo(e,t,r){const o=e.canvas,n=Fe((t=>{null!==e.ctx&&r(function(e,t){const r=Po[e.type]||e.type,{x:o,y:n}=ir(e,t);return{type:r,chart:t,native:e,x:void 0!==o?o:null,y:void 0!==n?n:null}}(t,e))}),e);return function(e,t,r){e&&e.addEventListener(t,r,To)}(o,t,n),n}class zo extends Oo{acquireContext(e,t){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(function(e,t){const r=e.style,o=e.getAttribute("height"),n=e.getAttribute("width");if(e[ko]={initial:{height:o,width:n,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||"block",r.boxSizing=r.boxSizing||"border-box",Co(n)){const t=ur(e,"width");void 0!==t&&(e.width=t)}if(Co(o))if(""===e.style.height)e.height=e.width/(t||2);else{const t=ur(e,"height");void 0!==t&&(e.height=t)}}(e,t),r):null}releaseContext(e){const t=e.canvas;if(!t[ko])return!1;const r=t[ko].initial;["height","width"].forEach((e=>{const o=r[e];V(o)?t.removeAttribute(e):t.setAttribute(e,o)}));const o=r.style||{};return Object.keys(o).forEach((e=>{t.style[e]=o[e]})),t.width=t.width,delete t[ko],!0}addEventListener(e,t,r){this.removeEventListener(e,t);const o=e.$proxies||(e.$proxies={}),n={attach:Eo,detach:jo,resize:Io}[t]||Lo;o[t]=n(e,t,r)}removeEventListener(e,t){const r=e.$proxies||(e.$proxies={}),o=r[t];o&&(({attach:Do,detach:Do,resize:Do}[t]||Mo)(e,t,o),r[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,r,o){return function(e,t,r,o){const n=or(e),a=ar(n,"margin"),i=rr(n.maxWidth,e,"clientWidth")||de,l=rr(n.maxHeight,e,"clientHeight")||de,s=function(e,t,r){let o,n;if(void 0===t||void 0===r){const a=e&&tr(e);if(a){const e=a.getBoundingClientRect(),i=or(a),l=ar(i,"border","width"),s=ar(i,"padding");t=e.width-s.width-l.width,r=e.height-s.height-l.height,o=rr(i.maxWidth,a,"clientWidth"),n=rr(i.maxHeight,a,"clientHeight")}else t=e.clientWidth,r=e.clientHeight}return{width:t,height:r,maxWidth:o||de,maxHeight:n||de}}(e,t,r);let{width:c,height:u}=s;if("content-box"===n.boxSizing){const e=ar(n,"border","width"),t=ar(n,"padding");c-=t.width+e.width,u-=t.height+e.height}return c=Math.max(0,c-a.width),u=Math.max(0,o?c/o:u-a.height),c=lr(Math.min(c,i,s.maxWidth)),u=lr(Math.min(u,l,s.maxHeight)),c&&!u&&(u=lr(c/2)),(void 0!==t||void 0!==r)&&o&&s.height&&u>s.height&&(u=s.height,c=lr(Math.floor(u*o))),{width:c,height:u}}(e,t,r,o)}isAttached(e){const t=e&&tr(e);return!(!t||!t.isConnected)}}class Fo{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:t,y:r}=this.getProps(["x","y"],e);return{x:t,y:r}}hasValue(){return xe(this.x)&&xe(this.y)}getProps(e,t){const r=this.$animations;if(!t||!r)return this;const o={};return e.forEach((e=>{o[e]=r[e]&&r[e].active()?r[e]._to:this[e]})),o}}function Vo(e,t,r,o,n){const a=q(o,0),i=Math.min(q(n,e.length),e.length);let l,s,c,u=0;for(r=Math.ceil(r),n&&(l=n-o,r=l/Math.floor(l/r)),c=a;c<0;)u++,c=Math.round(a+u*r);for(s=Math.max(a,0);s<i;s++)s===c&&(t.push(e[s]),u++,c=Math.round(a+u*r))}const Bo=(e,t,r)=>"top"===t||"left"===t?e[t]+r:e[t]-r,Wo=(e,t)=>Math.min(t||e,e);function Ho(e,t){const r=[],o=e.length/t,n=e.length;let a=0;for(;a<n;a+=o)r.push(e[Math.floor(a)]);return r}function Uo(e,t,r){const o=e.ticks.length,n=Math.min(t,o-1),a=e._startPixel,i=e._endPixel,l=1e-6;let s,c=e.getPixelForTick(n);if(!(r&&(s=1===o?Math.max(c-a,i-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(n-1))/2,c+=n<t?s:-s,c<a-l||c>i+l)))return c}function qo(e){return e.drawTicks?e.tickLength:0}function $o(e,t){if(!e.display)return 0;const r=jt(e.font,t),o=Et(e.padding);return(B(e.text)?e.text.length:1)*r.lineHeight+o.height}function Yo(e,t,r){let o=Ve(e);return(r&&"right"!==t||!r&&"right"===t)&&(o=(e=>"left"===e?"right":"right"===e?"left":e)(o)),o}class Xo extends Fo{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:r,_suggestedMax:o}=this;return e=U(e,Number.POSITIVE_INFINITY),t=U(t,Number.NEGATIVE_INFINITY),r=U(r,Number.POSITIVE_INFINITY),o=U(o,Number.NEGATIVE_INFINITY),{min:U(e,r),max:U(t,o),minDefined:H(e),maxDefined:H(t)}}getMinMax(e){let t,{min:r,max:o,minDefined:n,maxDefined:a}=this.getUserBounds();if(n&&a)return{min:r,max:o};const i=this.getMatchingVisibleMetas();for(let l=0,s=i.length;l<s;++l)t=i[l].controller.getMinMax(this,e),n||(r=Math.min(r,t.min)),a||(o=Math.max(o,t.max));return r=a&&r>o?o:r,o=n&&r>o?r:o,{min:U(r,U(o,r)),max:U(o,U(r,o))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Y(this.options.beforeUpdate,[this])}update(e,t,r){const{beginAtZero:o,grace:n,ticks:a}=this.options,i=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,r){const{min:o,max:n}=e,a=$(t,(n-o)/2),i=(e,t)=>r&&0===e?0:e+t;return{min:i(o,-Math.abs(a)),max:i(n,a)}}(this,n,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=i<this.ticks.length;this._convertTicksToLabels(l?Ho(this.ticks,i):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||"auto"===a.source)&&(this.ticks=function(e,t){const r=e.options.ticks,o=function(e){const t=e.options.offset,r=e._tickSize(),o=e._length/r+(t?0:1),n=e._maxLength/r;return Math.floor(Math.min(o,n))}(e),n=Math.min(r.maxTicksLimit||o,o),a=r.major.enabled?function(e){const t=[];let r,o;for(r=0,o=e.length;r<o;r++)e[r].major&&t.push(r);return t}(t):[],i=a.length,l=a[0],s=a[i-1],c=[];if(i>n)return function(e,t,r,o){let n,a=0,i=r[0];for(o=Math.ceil(o),n=0;n<e.length;n++)n===i&&(t.push(e[n]),a++,i=r[a*o])}(t,c,a,i/n),c;const u=function(e,t,r){const o=function(e){const t=e.length;let r,o;if(t<2)return!1;for(o=e[0],r=1;r<t;++r)if(e[r]-e[r-1]!==o)return!1;return o}(e),n=t.length/r;if(!o)return Math.max(n,1);const a=function(e){const t=[],r=Math.sqrt(e);let o;for(o=1;o<r;o++)e%o==0&&(t.push(o),t.push(e/o));return r===(0|r)&&t.push(r),t.sort(((e,t)=>e-t)).pop(),t}(o);for(let e=0,t=a.length-1;e<t;e++){const t=a[e];if(t>n)return t}return Math.max(n,1)}(a,t,n);if(i>0){let e,r;const o=i>1?Math.round((s-l)/(i-1)):null;for(Vo(t,c,u,V(o)?0:l-o,l),e=0,r=i-1;e<r;e++)Vo(t,c,u,a[e],a[e+1]);return Vo(t,c,u,s,V(o)?t.length:s+o),c}return Vo(t,c,u),c}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,r=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,r=!r),this._startPixel=e,this._endPixel=t,this._reversePixels=r,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Y(this.options.afterUpdate,[this])}beforeSetDimensions(){Y(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Y(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Y(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Y(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let r,o,n;for(r=0,o=e.length;r<o;r++)n=e[r],n.label=Y(t.callback,[n.value,r,e],this)}afterTickToLabelConversion(){Y(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Y(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,r=Wo(this.ticks.length,e.ticks.maxTicksLimit),o=t.minRotation||0,n=t.maxRotation;let a,i,l,s=o;if(!this._isVisible()||!t.display||o>=n||r<=1||!this.isHorizontal())return void(this.labelRotation=o);const c=this._getLabelSizes(),u=c.widest.width,d=c.highest.height,f=Ee(this.chart.width-u,0,this.maxWidth);a=e.offset?this.maxWidth/r:f/(r-1),u+6>a&&(a=f/(r-(e.offset?.5:1)),i=this.maxHeight-qo(e.grid)-t.padding-$o(e.title,this.chart.options.font),l=Math.sqrt(u*u+d*d),s=_e(Math.min(Math.asin(Ee((c.highest.height+6)/a,-1,1)),Math.asin(Ee(i/l,-1,1))-Math.asin(Ee(d/l,-1,1)))),s=Math.max(o,Math.min(n,s))),this.labelRotation=s}afterCalculateLabelRotation(){Y(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Y(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:r,title:o,grid:n}}=this,a=this._isVisible(),i=this.isHorizontal();if(a){const a=$o(o,t.options.font);if(i?(e.width=this.maxWidth,e.height=qo(n)+a):(e.height=this.maxHeight,e.width=qo(n)+a),r.display&&this.ticks.length){const{first:t,last:o,widest:n,highest:a}=this._getLabelSizes(),l=2*r.padding,s=Oe(this.labelRotation),c=Math.cos(s),u=Math.sin(s);if(i){const t=r.mirror?0:u*n.width+c*a.height;e.height=Math.min(this.maxHeight,e.height+t+l)}else{const t=r.mirror?0:c*n.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+l)}this._calculatePadding(t,o,u,c)}}this._handleMargins(),i?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,r,o){const{ticks:{align:n,padding:a},position:i}=this.options,l=0!==this.labelRotation,s="top"!==i&&"x"===this.axis;if(this.isHorizontal()){const i=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,d=0;l?s?(u=o*e.width,d=r*t.height):(u=r*e.height,d=o*t.width):"start"===n?d=t.width:"end"===n?u=e.width:"inner"!==n&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-i+a)*this.width/(this.width-i),0),this.paddingRight=Math.max((d-c+a)*this.width/(this.width-c),0)}else{let r=t.height/2,o=e.height/2;"start"===n?(r=0,o=e.height):"end"===n&&(r=t.height,o=0),this.paddingTop=r+a,this.paddingBottom=o+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Y(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,r;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,r=e.length;t<r;t++)V(e[t].label)&&(e.splice(t,1),r--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let r=this.ticks;t<r.length&&(r=Ho(r,t)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,r){const{ctx:o,_longestTextCache:n}=this,a=[],i=[],l=Math.floor(t/Wo(t,r));let s,c,u,d,f,p,h,b,g,m,y,v=0,x=0;for(s=0;s<t;s+=l){if(d=e[s].label,f=this._resolveTickFontOptions(s),o.font=p=f.string,h=n[p]=n[p]||{data:{},gc:[]},b=f.lineHeight,g=m=0,V(d)||B(d)){if(B(d))for(c=0,u=d.length;c<u;++c)y=d[c],V(y)||B(y)||(g=ct(o,h.data,h.gc,g,y),m+=b)}else g=ct(o,h.data,h.gc,g,d),m=b;a.push(g),i.push(m),v=Math.max(g,v),x=Math.max(m,x)}!function(e,t){X(e,(e=>{const r=e.gc,o=r.length/2;let n;if(o>t){for(n=0;n<o;++n)delete e.data[r[n]];r.splice(0,o)}}))}(n,t);const w=a.indexOf(v),O=i.indexOf(x),_=e=>({width:a[e]||0,height:i[e]||0});return{first:_(0),last:_(t-1),widest:_(w),highest:_(O),widths:a,heights:i}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return Ee(this._alignToPixels?dt(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const r=t[e];return r.$context||(r.$context=function(e,t,r){return Nt(e,{tick:r,index:t,type:"tick"})}(this.getContext(),e,r))}return this.$context||(this.$context=Nt(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const e=this.options.ticks,t=Oe(this.labelRotation),r=Math.abs(Math.cos(t)),o=Math.abs(Math.sin(t)),n=this._getLabelSizes(),a=e.autoSkipPadding||0,i=n?n.widest.width+a:0,l=n?n.highest.height+a:0;return this.isHorizontal()?l*r>i*o?i/r:l/o:l*o<i*r?l/r:i/o}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,r=this.chart,o=this.options,{grid:n,position:a,border:i}=o,l=n.offset,s=this.isHorizontal(),c=this.ticks.length+(l?1:0),u=qo(n),d=[],f=i.setContext(this.getContext()),p=f.display?f.width:0,h=p/2,b=function(e){return dt(r,e,p)};let g,m,y,v,x,w,O,_,k,P,C,T;if("top"===a)g=b(this.bottom),w=this.bottom-u,_=g-h,P=b(e.top)+h,T=e.bottom;else if("bottom"===a)g=b(this.top),P=e.top,T=b(e.bottom)-h,w=g+h,_=this.top+u;else if("left"===a)g=b(this.right),x=this.right-u,O=g-h,k=b(e.left)+h,C=e.right;else if("right"===a)g=b(this.left),k=e.left,C=b(e.right)-h,x=g+h,O=this.left+u;else if("x"===t){if("center"===a)g=b((e.top+e.bottom)/2+.5);else if(W(a)){const e=Object.keys(a)[0],t=a[e];g=b(this.chart.scales[e].getPixelForValue(t))}P=e.top,T=e.bottom,w=g+h,_=w+u}else if("y"===t){if("center"===a)g=b((e.left+e.right)/2);else if(W(a)){const e=Object.keys(a)[0],t=a[e];g=b(this.chart.scales[e].getPixelForValue(t))}x=g-h,O=x-u,k=e.left,C=e.right}const M=q(o.ticks.maxTicksLimit,c),S=Math.max(1,Math.ceil(c/M));for(m=0;m<c;m+=S){const e=this.getContext(m),t=n.setContext(e),o=i.setContext(e),a=t.lineWidth,c=t.color,u=o.dash||[],f=o.dashOffset,p=t.tickWidth,h=t.tickColor,b=t.tickBorderDash||[],g=t.tickBorderDashOffset;y=Uo(this,m,l),void 0!==y&&(v=dt(r,y,a),s?x=O=k=C=v:w=_=P=T=v,d.push({tx1:x,ty1:w,tx2:O,ty2:_,x1:k,y1:P,x2:C,y2:T,width:a,color:c,borderDash:u,borderDashOffset:f,tickWidth:p,tickColor:h,tickBorderDash:b,tickBorderDashOffset:g}))}return this._ticksLength=c,this._borderValue=g,d}_computeLabelItems(e){const t=this.axis,r=this.options,{position:o,ticks:n}=r,a=this.isHorizontal(),i=this.ticks,{align:l,crossAlign:s,padding:c,mirror:u}=n,d=qo(r.grid),f=d+c,p=u?-c:f,h=-Oe(this.labelRotation),b=[];let g,m,y,v,x,w,O,_,k,P,C,T,M="middle";if("top"===o)w=this.bottom-p,O=this._getXAxisLabelAlignment();else if("bottom"===o)w=this.top+p,O=this._getXAxisLabelAlignment();else if("left"===o){const e=this._getYAxisLabelAlignment(d);O=e.textAlign,x=e.x}else if("right"===o){const e=this._getYAxisLabelAlignment(d);O=e.textAlign,x=e.x}else if("x"===t){if("center"===o)w=(e.top+e.bottom)/2+f;else if(W(o)){const e=Object.keys(o)[0],t=o[e];w=this.chart.scales[e].getPixelForValue(t)+f}O=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===o)x=(e.left+e.right)/2-f;else if(W(o)){const e=Object.keys(o)[0],t=o[e];x=this.chart.scales[e].getPixelForValue(t)}O=this._getYAxisLabelAlignment(d).textAlign}"y"===t&&("start"===l?M="top":"end"===l&&(M="bottom"));const S=this._getLabelSizes();for(g=0,m=i.length;g<m;++g){y=i[g],v=y.label;const e=n.setContext(this.getContext(g));_=this.getPixelForTick(g)+n.labelOffset,k=this._resolveTickFontOptions(g),P=k.lineHeight,C=B(v)?v.length:1;const t=C/2,r=e.color,l=e.textStrokeColor,c=e.textStrokeWidth;let d,f=O;if(a?(x=_,"inner"===O&&(f=g===m-1?this.options.reverse?"left":"right":0===g?this.options.reverse?"right":"left":"center"),T="top"===o?"near"===s||0!==h?-C*P+P/2:"center"===s?-S.highest.height/2-t*P+P:-S.highest.height+P/2:"near"===s||0!==h?P/2:"center"===s?S.highest.height/2-t*P:S.highest.height-C*P,u&&(T*=-1),0===h||e.showLabelBackdrop||(x+=P/2*Math.sin(h))):(w=_,T=(1-C)*P/2),e.showLabelBackdrop){const t=Et(e.backdropPadding),r=S.heights[g],o=S.widths[g];let n=T-t.top,a=0-t.left;switch(M){case"middle":n-=r/2;break;case"bottom":n-=r}switch(O){case"center":a-=o/2;break;case"right":a-=o;break;case"inner":g===m-1?a-=o:g>0&&(a-=o/2)}d={left:a,top:n,width:o+t.width,height:r+t.height,color:e.backdropColor}}b.push({label:v,font:k,textOffset:T,options:{rotation:h,color:r,strokeColor:l,strokeWidth:c,textAlign:f,textBaseline:M,translation:[x,w],backdrop:d}})}return b}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-Oe(this.labelRotation))return"top"===e?"left":"right";let r="center";return"start"===t.align?r="left":"end"===t.align?r="right":"inner"===t.align&&(r="inner"),r}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:r,mirror:o,padding:n}}=this.options,a=e+n,i=this._getLabelSizes().widest.width;let l,s;return"left"===t?o?(s=this.right+n,"near"===r?l="left":"center"===r?(l="center",s+=i/2):(l="right",s+=i)):(s=this.right-a,"near"===r?l="right":"center"===r?(l="center",s-=i/2):(l="left",s=this.left)):"right"===t?o?(s=this.left+n,"near"===r?l="right":"center"===r?(l="center",s-=i/2):(l="left",s-=i)):(s=this.left+a,"near"===r?l="left":"center"===r?(l="center",s+=i/2):(l="right",s=this.right)):l="right",{textAlign:l,x:s}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:r,top:o,width:n,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(r,o,n,a),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const r=this.ticks.findIndex((t=>t.value===e));return r>=0?t.setContext(this.getContext(r)).lineWidth:0}drawGrid(e){const t=this.options.grid,r=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let n,a;const i=(e,t,o)=>{o.width&&o.color&&(r.save(),r.lineWidth=o.width,r.strokeStyle=o.color,r.setLineDash(o.borderDash||[]),r.lineDashOffset=o.borderDashOffset,r.beginPath(),r.moveTo(e.x,e.y),r.lineTo(t.x,t.y),r.stroke(),r.restore())};if(t.display)for(n=0,a=o.length;n<a;++n){const e=o[n];t.drawOnChartArea&&i({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&i({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{border:r,grid:o}}=this,n=r.setContext(this.getContext()),a=r.display?n.width:0;if(!a)return;const i=o.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let s,c,u,d;this.isHorizontal()?(s=dt(e,this.left,a)-a/2,c=dt(e,this.right,i)+i/2,u=d=l):(u=dt(e,this.top,a)-a/2,d=dt(e,this.bottom,i)+i/2,s=c=l),t.save(),t.lineWidth=n.width,t.strokeStyle=n.color,t.beginPath(),t.moveTo(s,u),t.lineTo(c,d),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const t=this.ctx,r=this._computeLabelArea();r&>(t,r);const o=this.getLabelItems(e);for(const e of o){const r=e.options,o=e.font;Ot(t,e.label,0,e.textOffset,o,r)}r&&mt(t)}drawTitle(){const{ctx:e,options:{position:t,title:r,reverse:o}}=this;if(!r.display)return;const n=jt(r.font),a=Et(r.padding),i=r.align;let l=n.lineHeight/2;"bottom"===t||"center"===t||W(t)?(l+=a.bottom,B(r.text)&&(l+=n.lineHeight*(r.text.length-1))):l+=a.top;const{titleX:s,titleY:c,maxWidth:u,rotation:d}=function(e,t,r,o){const{top:n,left:a,bottom:i,right:l,chart:s}=e,{chartArea:c,scales:u}=s;let d,f,p,h=0;const b=i-n,g=l-a;if(e.isHorizontal()){if(f=Be(o,a,l),W(r)){const e=Object.keys(r)[0],o=r[e];p=u[e].getPixelForValue(o)+b-t}else p="center"===r?(c.bottom+c.top)/2+b-t:Bo(e,r,t);d=l-a}else{if(W(r)){const e=Object.keys(r)[0],o=r[e];f=u[e].getPixelForValue(o)-g+t}else f="center"===r?(c.left+c.right)/2-g+t:Bo(e,r,t);p=Be(o,i,n),h="left"===r?-pe:pe}return{titleX:f,titleY:p,maxWidth:d,rotation:h}}(this,l,t,i);Ot(e,r.text,0,0,n,{color:r.color,maxWidth:u,rotation:d,textAlign:Yo(i,t,o),textBaseline:"middle",translation:[s,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,r=q(e.grid&&e.grid.z,-1),o=q(e.border&&e.border.z,0);return this._isVisible()&&this.draw===Xo.prototype.draw?[{z:r,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",o=[];let n,a;for(n=0,a=t.length;n<a;++n){const a=t[n];a[r]!==this.id||e&&a.type!==e||o.push(a)}return o}_resolveTickFontOptions(e){return jt(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Ko{constructor(e,t,r){this.type=e,this.scope=t,this.override=r,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let r;(function(e){return"id"in e&&"defaults"in e})(t)&&(r=this.register(t));const o=this.items,n=e.id,a=this.scope+"."+n;if(!n)throw new Error("class does not have id: "+e);return n in o||(o[n]=e,function(e,t,r){const o=Q(Object.create(null),[r?st.get(r):{},st.get(t),e.defaults]);st.set(t,o),e.defaultRoutes&&function(e,t){Object.keys(t).forEach((r=>{const o=r.split("."),n=o.pop(),a=[e].concat(o).join("."),i=t[r].split("."),l=i.pop(),s=i.join(".");st.route(a,n,s,l)}))}(t,e.defaultRoutes),e.descriptors&&st.describe(t,e.descriptors)}(e,a,r),this.override&&st.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const t=this.items,r=e.id,o=this.scope;r in t&&delete t[r],o&&r in st[o]&&(delete st[o][r],this.override&&delete ot[r])}}class Go{constructor(){this.controllers=new Ko(Vr,"datasets",!0),this.elements=new Ko(Fo,"elements"),this.plugins=new Ko(Object,"plugins"),this.scales=new Ko(Xo,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,r){[...t].forEach((t=>{const o=r||this._getRegistryForType(t);r||o.isForType(t)||o===this.plugins&&t.id?this._exec(e,o,t):X(t,(t=>{const o=r||this._getRegistryForType(t);this._exec(e,o,t)}))}))}_exec(e,t,r){const o=ne(e);Y(r["before"+o],[],r),t[e](r),Y(r["after"+o],[],r)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const r=this._typedRegistries[t];if(r.isForType(e))return r}return this.plugins}_get(e,t,r){const o=t.get(e);if(void 0===o)throw new Error('"'+e+'" is not a registered '+r+".");return o}}var Zo=new Go;class Jo{constructor(){this._init=[]}notify(e,t,r,o){"beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const n=o?this._descriptors(e).filter(o):this._descriptors(e),a=this._notify(n,e,t,r);return"afterDestroy"===t&&(this._notify(n,e,"stop"),this._notify(this._init,e,"uninstall")),a}_notify(e,t,r,o){o=o||{};for(const n of e){const e=n.plugin;if(!1===Y(e[r],[t,o,n.options],e)&&o.cancelable)return!1}return!0}invalidate(){V(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const r=e&&e.config,o=q(r.options&&r.options.plugins,{}),n=function(e){const t={},r=[],o=Object.keys(Zo.plugins.items);for(let e=0;e<o.length;e++)r.push(Zo.getPlugin(o[e]));const n=e.plugins||[];for(let e=0;e<n.length;e++){const o=n[e];-1===r.indexOf(o)&&(r.push(o),t[o.id]=!0)}return{plugins:r,localIds:t}}(r);return!1!==o||t?function(e,{plugins:t,localIds:r},o,n){const a=[],i=e.getContext();for(const l of t){const t=l.id,s=Qo(o[t],n);null!==s&&a.push({plugin:l,options:en(e.config,{plugin:l,local:r[t]},s,i)})}return a}(e,n,o,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],r=this._cache,o=(e,t)=>e.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(o(t,r),e,"stop"),this._notify(o(r,t),e,"start")}}function Qo(e,t){return t||!1!==e?!0===e?{}:e:null}function en(e,{plugin:t,local:r},o,n){const a=e.pluginScopeKeys(t),i=e.getOptionScopes(o,a);return r&&t.defaults&&i.push(t.defaults),e.createResolver(i,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function tn(e,t){const r=st.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||r.indexAxis||"x"}function rn(e){if("x"===e||"y"===e||"r"===e)return e}function on(e,...t){if(rn(e))return e;for(const o of t){const t=o.axis||("top"===(r=o.position)||"bottom"===r?"x":"left"===r||"right"===r?"y":void 0)||e.length>1&&rn(e[0].toLowerCase());if(t)return t}var r;throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function nn(e,t,r){if(r[t+"AxisID"]===e)return{axis:t}}function an(e){const t=e.options||(e.options={});t.plugins=q(t.plugins,{}),t.scales=function(e,t){const r=ot[e.type]||{scales:{}},o=t.scales||{},n=tn(e.type,t),a=Object.create(null);return Object.keys(o).forEach((t=>{const i=o[t];if(!W(i))return console.error(`Invalid scale configuration for scale: ${t}`);if(i._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const l=on(t,i,function(e,t){if(t.data&&t.data.datasets){const r=t.data.datasets.filter((t=>t.xAxisID===e||t.yAxisID===e));if(r.length)return nn(e,"x",r[0])||nn(e,"y",r[0])}return{}}(t,e),st.scales[i.type]),s=function(e,t){return e===t?"_index_":"_value_"}(l,n),c=r.scales||{};a[t]=ee(Object.create(null),[{axis:l},i,c[l],c[s]])})),e.data.datasets.forEach((r=>{const n=r.type||e.type,i=r.indexAxis||tn(n,t),l=(ot[n]||{}).scales||{};Object.keys(l).forEach((e=>{const t=function(e,t){let r=e;return"_index_"===e?r=t:"_value_"===e&&(r="x"===t?"y":"x"),r}(e,i),n=r[t+"AxisID"]||t;a[n]=a[n]||Object.create(null),ee(a[n],[{axis:t},o[n],l[e]])}))})),Object.keys(a).forEach((e=>{const t=a[e];ee(t,[st.scales[t.type],st.scale])})),a}(e,t)}function ln(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const sn=new Map,cn=new Set;function un(e,t){let r=sn.get(e);return r||(r=t(),sn.set(e,r),cn.add(r)),r}const dn=(e,t,r)=>{const o=oe(t,r);void 0!==o&&e.add(o)};class fn{constructor(e){this._config=function(e){return(e=e||{}).data=ln(e.data),an(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=ln(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),an(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return un(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return un(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return un(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return un(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const r=this._scopeCache;let o=r.get(e);return o&&!t||(o=new Map,r.set(e,o)),o}getOptionScopes(e,t,r){const{options:o,type:n}=this,a=this._cachedScopes(e,r),i=a.get(t);if(i)return i;const l=new Set;t.forEach((t=>{e&&(l.add(e),t.forEach((t=>dn(l,e,t)))),t.forEach((e=>dn(l,o,e))),t.forEach((e=>dn(l,ot[n]||{},e))),t.forEach((e=>dn(l,st,e))),t.forEach((e=>dn(l,nt,e)))}));const s=Array.from(l);return 0===s.length&&s.push(Object.create(null)),cn.has(t)&&a.set(t,s),s}chartOptionScopes(){const{options:e,type:t}=this;return[e,ot[t]||{},st.datasets[t]||{},{type:t},st,nt]}resolveNamedOptions(e,t,r,o=[""]){const n={$shared:!0},{resolver:a,subPrefixes:i}=pn(this._resolverCache,e,o);let l=a;(function(e,t){const{isScriptable:r,isIndexable:o}=Dt(e);for(const n of t){const t=r(n),a=o(n),i=(a||t)&&e[n];if(t&&(ie(i)||hn(i))||a&&B(i))return!0}return!1})(a,t)&&(n.$shared=!1,l=It(a,r=ie(r)?r():r,this.createResolver(e,r,i)));for(const e of t)n[e]=l[e];return n}createResolver(e,t,r=[""],o){const{resolver:n}=pn(this._resolverCache,e,r);return W(t)?It(n,t,void 0,o):n}}function pn(e,t,r){let o=e.get(t);o||(o=new Map,e.set(t,o));const n=r.join();let a=o.get(n);return a||(a={resolver:Rt(t,r),subPrefixes:r.filter((e=>!e.toLowerCase().includes("hover")))},o.set(n,a)),a}const hn=e=>W(e)&&Object.getOwnPropertyNames(e).some((t=>ie(e[t]))),bn=["top","bottom","left","right","chartArea"];function gn(e,t){return"top"===e||"bottom"===e||-1===bn.indexOf(e)&&"x"===t}function mn(e,t){return function(r,o){return r[e]===o[e]?r[t]-o[t]:r[e]-o[e]}}function yn(e){const t=e.chart,r=t.options.animation;t.notifyPlugins("afterRender"),Y(r&&r.onComplete,[e],t)}function vn(e){const t=e.chart,r=t.options.animation;Y(r&&r.onProgress,[e],t)}function xn(e){return er()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const wn={},On=e=>{const t=xn(e);return Object.values(wn).filter((e=>e.canvas===t)).pop()};function kn(e,t,r){const o=Object.keys(e);for(const n of o){const o=+n;if(o>=t){const a=e[n];delete e[n],(r>0||o>t)&&(e[o+r]=a)}}}function Pn(e,t,r){return e.options.clip?e[r]:t[r]}class Cn{static defaults=st;static instances=wn;static overrides=ot;static registry=Zo;static version="4.4.7";static getChart=On;static register(...e){Zo.add(...e),Tn()}static unregister(...e){Zo.remove(...e),Tn()}constructor(e,t){const r=this.config=new fn(t),o=xn(e),n=On(o);if(n)throw new Error("Canvas is already in use. Chart with ID '"+n.id+"' must be destroyed before the canvas with ID '"+n.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||function(e){return!er()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?_o:zo}(o)),this.platform.updateConfig(r);const i=this.platform.acquireContext(o,a.aspectRatio),l=i&&i.canvas,s=l&&l.height,c=l&&l.width;this.id=F(),this.ctx=i,this.canvas=l,this.width=c,this.height=s,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Jo,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let r;return function(...o){return t?(clearTimeout(r),r=setTimeout(e,t,o)):e.apply(this,o),t}}((e=>this.update(e)),a.resizeDelay||0),this._dataChanges=[],wn[this.id]=this,i&&l?(kr.listen(this,"complete",yn),kr.listen(this,"progress",vn),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:r,height:o,_aspectRatio:n}=this;return V(e)?t&&n?n:o?r/o:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Zo}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():sr(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ft(this.canvas,this.ctx),this}stop(){return kr.stop(this),this}resize(e,t){kr.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const r=this.options,o=this.canvas,n=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(o,e,t,n),i=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,sr(this,i,!0)&&(this.notifyPlugins("resize",{size:a}),Y(r.onResize,[this,a],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){X(this.options.scales||{},((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,r=this.scales,o=Object.keys(r).reduce(((e,t)=>(e[t]=!1,e)),{});let n=[];t&&(n=n.concat(Object.keys(t).map((e=>{const r=t[e],o=on(e,r),n="r"===o,a="x"===o;return{options:r,dposition:n?"chartArea":a?"bottom":"left",dtype:n?"radialLinear":a?"category":"linear"}})))),X(n,(t=>{const n=t.options,a=n.id,i=on(a,n),l=q(n.type,t.dtype);void 0!==n.position&&gn(n.position,i)===gn(t.dposition)||(n.position=t.dposition),o[a]=!0;let s=null;a in r&&r[a].type===l?s=r[a]:(s=new(Zo.getScale(l))({id:a,type:l,ctx:this.ctx,chart:this}),r[s.id]=s),s.init(n,e)})),X(o,((e,t)=>{e||delete r[t]})),X(r,(e=>{wo.configure(this,e,e.options),wo.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,r=e.length;if(e.sort(((e,t)=>e.index-t.index)),r>t){for(let e=t;e<r;++e)this._destroyDatasetMeta(e);e.splice(t,r-t)}this._sortedMetasets=e.slice(0).sort(mn("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach(((e,r)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(r)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let r,o;for(this._removeUnreferencedMetasets(),r=0,o=t.length;r<o;r++){const o=t[r];let n=this.getDatasetMeta(r);const a=o.type||this.config.type;if(n.type&&n.type!==a&&(this._destroyDatasetMeta(r),n=this.getDatasetMeta(r)),n.type=a,n.indexAxis=o.indexAxis||tn(a,this.options),n.order=o.order||0,n.index=r,n.label=""+o.label,n.visible=this.isDatasetVisible(r),n.controller)n.controller.updateIndex(r),n.controller.linkScales();else{const t=Zo.getController(a),{datasetElementType:o,dataElementType:i}=st.datasets[a];Object.assign(t,{dataElementType:Zo.getElement(i),datasetElementType:o&&Zo.getElement(o)}),n.controller=new t(this,r),e.push(n.controller)}}return this._updateMetasets(),e}_resetElements(){X(this.data.datasets,((e,t)=>{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const r=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const n=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let e=0,t=this.data.datasets.length;e<t;e++){const{controller:t}=this.getDatasetMeta(e),r=!o&&-1===n.indexOf(t);t.buildOrUpdateElements(r),a=Math.max(+t.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),o||X(n,(e=>{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(mn("z","_idx"));const{_active:i,_lastEvent:l}=this;l?this._eventHandler(l,!0):i.length&&this._updateHoverStyles(i,i,!0),this.render()}_updateScales(){X(this.scales,(e=>{wo.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),r=new Set(e.events);le(t,r)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:r,start:o,count:n}of t)kn(e,o,"_removeElements"===r?-n:n)}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,r=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),o=r(0);for(let e=1;e<t;e++)if(!le(o,r(e)))return;return Array.from(o).map((e=>e.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;wo.update(this,this.width,this.height,e);const t=this.chartArea,r=t.width<=0||t.height<=0;this._layers=[],X(this.boxes,(e=>{r&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,r=this.data.datasets.length;t<r;++t)this._updateDataset(t,ie(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const r=this.getDatasetMeta(e),o={meta:r,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",o)&&(r.controller._update(t),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(kr.has(this)?this.attached&&!kr.running(this)&&kr.start(this):(this.draw(),yn({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:e,height:t}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(e,t)}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,r=[];let o,n;for(o=0,n=t.length;o<n;++o){const n=t[o];e&&!n.visible||r.push(n)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,r=e._clip,o=!r.disabled,n=function(e,t){const{xScale:r,yScale:o}=e;return r&&o?{left:Pn(r,t,"left"),right:Pn(r,t,"right"),top:Pn(o,t,"top"),bottom:Pn(o,t,"bottom")}:t}(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(o&>(t,{left:!1===r.left?0:n.left-r.left,right:!1===r.right?this.width:n.right+r.right,top:!1===r.top?0:n.top-r.top,bottom:!1===r.bottom?this.height:n.bottom+r.bottom}),e.controller.draw(),o&&mt(t),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return bt(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,r,o){const n=so.modes[t];return"function"==typeof n?n(this,e,r,o):[]}getDatasetMeta(e){const t=this.data.datasets[e],r=this._metasets;let o=r.filter((e=>e&&e._dataset===t)).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},r.push(o)),o}getContext(){return this.$context||(this.$context=Nt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const r=this.getDatasetMeta(e);return"boolean"==typeof r.hidden?!r.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,r){const o=r?"show":"hide",n=this.getDatasetMeta(e),a=n.controller._resolveAnimations(void 0,o);ae(t)?(n.data[t].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(n,{visible:r}),this.update((t=>t.datasetIndex===e?o:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),kr.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),ft(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete wn[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,r=(r,o)=>{t.addEventListener(this,r,o),e[r]=o},o=(e,t,r)=>{e.offsetX=t,e.offsetY=r,this._eventHandler(e)};X(this.options.events,(e=>r(e,o)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,r=(r,o)=>{t.addEventListener(this,r,o),e[r]=o},o=(r,o)=>{e[r]&&(t.removeEventListener(this,r,o),delete e[r])},n=(e,t)=>{this.canvas&&this.resize(e,t)};let a;const i=()=>{o("attach",i),this.attached=!0,this.resize(),r("resize",n),r("detach",a)};a=()=>{this.attached=!1,o("resize",n),this._stop(),this._resize(0,0),r("attach",i)},t.isAttached(this.canvas)?i():a()}unbindEvents(){X(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},X(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,r){const o=r?"set":"remove";let n,a,i,l;for("dataset"===t&&(n=this.getDatasetMeta(e[0].datasetIndex),n.controller["_"+o+"DatasetHoverStyle"]()),i=0,l=e.length;i<l;++i){a=e[i];const t=a&&this.getDatasetMeta(a.datasetIndex).controller;t&&t[o+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],r=e.map((({datasetIndex:e,index:t})=>{const r=this.getDatasetMeta(e);if(!r)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:r.data[t],index:t}}));!K(r,t)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,t))}notifyPlugins(e,t,r){return this._plugins.notify(this,e,t,r)}isPluginEnabled(e){return 1===this._plugins._cache.filter((t=>t.plugin.id===e)).length}_updateHoverStyles(e,t,r){const o=this.options.hover,n=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),a=n(t,e),i=r?e:n(e,t);a.length&&this.updateHoverStyle(a,o.mode,!1),i.length&&o.mode&&this.updateHoverStyle(i,o.mode,!0)}_eventHandler(e,t){const r={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},o=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",r,o))return;const n=this._handleEvent(e,t,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,o),(n||r.changed)&&this.render(),this}_handleEvent(e,t,r){const{_active:o=[],options:n}=this,a=t,i=this._getActiveElements(e,o,r,a),l=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),s=function(e,t,r,o){return r&&"mouseout"!==e.type?o?t:e:null}(e,this._lastEvent,r,l);r&&(this._lastEvent=null,Y(n.onHover,[e,i,this],this),l&&Y(n.onClick,[e,i,this],this));const c=!K(i,o);return(c||t)&&(this._active=i,this._updateHoverStyles(i,o,t)),this._lastEvent=s,c}_getActiveElements(e,t,r,o){if("mouseout"===e.type)return[];if(!r)return t;const n=this.options.hover;return this.getElementsAtEventForMode(e,n.mode,n,o)}}function Tn(){return X(Cn.instances,(e=>e._plugins.invalidate()))}function Mn(e,t,r,o){return{x:r+e*Math.cos(t),y:o+e*Math.sin(t)}}function Sn(e,t,r,o,n,a){const{x:i,y:l,startAngle:s,pixelMargin:c,innerRadius:u}=t,d=Math.max(t.outerRadius+o+r-c,0),f=u>0?u+o+r+c:0;let p=0;const h=n-s;if(o){const e=((u>0?u-o:0)+(d>0?d-o:0))/2;p=(h-(0!==e?h*e/(e+o):h))/2}const b=(h-Math.max(.001,h*d-r/se)/d)/2,g=s+b+p,m=n-b-p,{outerStart:y,outerEnd:v,innerStart:x,innerEnd:w}=function(e,t,r,o){const n=Tt(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),a=(r-t)/2,i=Math.min(a,o*t/2),l=e=>{const t=(r-Math.min(a,e))*o/2;return Ee(e,0,Math.min(a,t))};return{outerStart:l(n.outerStart),outerEnd:l(n.outerEnd),innerStart:Ee(n.innerStart,0,i),innerEnd:Ee(n.innerEnd,0,i)}}(t,f,d,m-g),O=d-y,_=d-v,k=g+y/O,P=m-v/_,C=f+x,T=f+w,M=g+x/C,S=m-w/T;if(e.beginPath(),a){const t=(k+P)/2;if(e.arc(i,l,d,k,t),e.arc(i,l,d,t,P),v>0){const t=Mn(_,P,i,l);e.arc(t.x,t.y,v,P,m+pe)}const r=Mn(T,m,i,l);if(e.lineTo(r.x,r.y),w>0){const t=Mn(T,S,i,l);e.arc(t.x,t.y,w,m+pe,S+Math.PI)}const o=(m-w/f+(g+x/f))/2;if(e.arc(i,l,f,m-w/f,o,!0),e.arc(i,l,f,o,g+x/f,!0),x>0){const t=Mn(C,M,i,l);e.arc(t.x,t.y,x,M+Math.PI,g-pe)}const n=Mn(O,g,i,l);if(e.lineTo(n.x,n.y),y>0){const t=Mn(O,k,i,l);e.arc(t.x,t.y,y,g-pe,k)}}else{e.moveTo(i,l);const t=Math.cos(k)*d+i,r=Math.sin(k)*d+l;e.lineTo(t,r);const o=Math.cos(P)*d+i,n=Math.sin(P)*d+l;e.lineTo(o,n)}e.closePath()}function En(e,t,r=t){e.lineCap=q(r.borderCapStyle,t.borderCapStyle),e.setLineDash(q(r.borderDash,t.borderDash)),e.lineDashOffset=q(r.borderDashOffset,t.borderDashOffset),e.lineJoin=q(r.borderJoinStyle,t.borderJoinStyle),e.lineWidth=q(r.borderWidth,t.borderWidth),e.strokeStyle=q(r.borderColor,t.borderColor)}function jn(e,t,r){e.lineTo(r.x,r.y)}function An(e,t,r={}){const o=e.length,{start:n=0,end:a=o-1}=r,{start:i,end:l}=t,s=Math.max(n,i),c=Math.min(a,l),u=n<i&&a<i||n>l&&a>l;return{count:o,start:s,loop:t.loop,ilen:c<s&&!u?o+c-s:c-s}}function Nn(e,t,r,o){const{points:n,options:a}=t,{count:i,start:l,loop:s,ilen:c}=An(n,r,o),u=function(e){return e.stepped?yt:e.tension||"monotone"===e.cubicInterpolationMode?vt:jn}(a);let d,f,p,{move:h=!0,reverse:b}=o||{};for(d=0;d<=c;++d)f=n[(l+(b?c-d:d))%i],f.skip||(h?(e.moveTo(f.x,f.y),h=!1):u(e,p,f,b,a.stepped),p=f);return s&&(f=n[(l+(b?c:0))%i],u(e,p,f,b,a.stepped)),!!s}function Rn(e,t,r,o){const n=t.points,{count:a,start:i,ilen:l}=An(n,r,o),{move:s=!0,reverse:c}=o||{};let u,d,f,p,h,b,g=0,m=0;const y=e=>(i+(c?l-e:e))%a,v=()=>{p!==h&&(e.lineTo(g,h),e.lineTo(g,p),e.lineTo(g,b))};for(s&&(d=n[y(0)],e.moveTo(d.x,d.y)),u=0;u<=l;++u){if(d=n[y(u)],d.skip)continue;const t=d.x,r=d.y,o=0|t;o===f?(r<p?p=r:r>h&&(h=r),g=(m*g+t)/++m):(v(),e.lineTo(t,r),f=o,m=0,p=h=r),b=r}v()}function In(e){const t=e.options,r=t.borderDash&&t.borderDash.length;return e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||r?Nn:Rn}const Dn="function"==typeof Path2D;class Ln extends Fo{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const r=this.options;if((r.tension||"monotone"===r.cubicInterpolationMode)&&!r.stepped&&!this._pointsUpdated){const o=r.spanGaps?this._loop:this._fullLoop;Qt(this._points,r,e,o,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){const r=e.points,o=e.options.spanGaps,n=r.length;if(!n)return[];const a=!!e._loop,{start:i,end:l}=function(e,t,r,o){let n=0,a=t-1;if(r&&!o)for(;n<t&&!e[n].skip;)n++;for(;n<t&&e[n].skip;)n++;for(n%=t,r&&(a+=n);a>n&&e[a%t].skip;)a--;return a%=t,{start:n,end:a}}(r,n,a,o);return function(e,t,r,o){return o&&o.setContext&&r?function(e,t,r,o){const n=e._chart.getContext(),a=wr(e.options),{_datasetIndex:i,options:{spanGaps:l}}=e,s=r.length,c=[];let u=a,d=t[0].start,f=d;function p(e,t,o,n){const a=l?-1:1;if(e!==t){for(e+=s;r[e%s].skip;)e-=a;for(;r[t%s].skip;)t+=a;e%s!=t%s&&(c.push({start:e%s,end:t%s,loop:o,style:n}),u=n,d=t%s)}}for(const e of t){d=l?d:e.start;let t,a=r[d%s];for(f=d+1;f<=e.end;f++){const l=r[f%s];t=wr(o.setContext(Nt(n,{type:"segment",p0:a,p1:l,p0DataIndex:(f-1)%s,p1DataIndex:f%s,datasetIndex:i}))),Or(t,u)&&p(d,f-1,e.loop,u),a=l,u=t}d<f-1&&p(d,f-1,e.loop,u)}return c}(e,t,r,o):t}(e,!0===o?[{start:i,end:l,loop:a}]:function(e,t,r,o){const n=e.length,a=[];let i,l=t,s=e[t];for(i=t+1;i<=r;++i){const r=e[i%n];r.skip||r.stop?s.skip||(o=!1,a.push({start:t%n,end:(i-1)%n,loop:o}),t=l=r.stop?i:null):(l=i,s.skip&&(t=i)),s=r}return null!==l&&a.push({start:t%n,end:l%n,loop:o}),a}(r,i,l<i?l+n:l,!!e._fullLoop&&0===i&&l===n-1),r,t)}(this,this.options.segment))}first(){const e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){const e=this.segments,t=this.points,r=e.length;return r&&t[e[r-1].end]}interpolate(e,t){const r=this.options,o=e[t],n=this.points,a=xr(this,{property:t,start:o,end:o});if(!a.length)return;const i=[],l=function(e){return e.stepped?fr:e.tension||"monotone"===e.cubicInterpolationMode?pr:dr}(r);let s,c;for(s=0,c=a.length;s<c;++s){const{start:c,end:u}=a[s],d=n[c],f=n[u];if(d===f){i.push(d);continue}const p=l(d,f,Math.abs((o-d[t])/(f[t]-d[t])),r.stepped);p[t]=e[t],i.push(p)}return 1===i.length?i[0]:i}pathSegment(e,t,r){return In(this)(e,this,t,r)}path(e,t,r){const o=this.segments,n=In(this);let a=this._loop;t=t||0,r=r||this.points.length-t;for(const i of o)a&=n(e,this,i,{start:t,end:t+r-1});return!!a}draw(e,t,r,o){const n=this.options||{};(this.points||[]).length&&n.borderWidth&&(e.save(),function(e,t,r,o){Dn&&!t.options.segment?function(e,t,r,o){let n=t._path;n||(n=t._path=new Path2D,t.path(n,r,o)&&n.closePath()),En(e,t.options),e.stroke(n)}(e,t,r,o):function(e,t,r,o){const{segments:n,options:a}=t,i=In(t);for(const l of n)En(e,a,l.style),e.beginPath(),i(e,t,l,{start:r,end:r+o-1})&&e.closePath(),e.stroke()}(e,t,r,o)}(e,this,r,o),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function zn(e,t,r,o){const n=e.options,{[r]:a}=e.getProps([r],o);return Math.abs(t-a)<n.radius+n.hitRadius}class Fn extends Fo{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,r){const o=this.options,{x:n,y:a}=this.getProps(["x","y"],r);return Math.pow(e-n,2)+Math.pow(t-a,2)<Math.pow(o.hitRadius+o.radius,2)}inXRange(e,t){return zn(this,e,"x",t)}inYRange(e,t){return zn(this,e,"y",t)}getCenterPoint(e){const{x:t,y:r}=this.getProps(["x","y"],e);return{x:t,y:r}}size(e){let t=(e=e||this.options||{}).radius||0;return t=Math.max(t,t&&e.hoverRadius||0),2*(t+(t&&e.borderWidth||0))}draw(e,t){const r=this.options;this.skip||r.radius<.1||!bt(this,t,this.size(r)/2)||(e.strokeStyle=r.borderColor,e.lineWidth=r.borderWidth,e.fillStyle=r.backgroundColor,pt(e,r,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}function Vn(e,t){const{x:r,y:o,base:n,width:a,height:i}=e.getProps(["x","y","base","width","height"],t);let l,s,c,u,d;return e.horizontal?(d=i/2,l=Math.min(r,n),s=Math.max(r,n),c=o-d,u=o+d):(d=a/2,l=r-d,s=r+d,c=Math.min(o,n),u=Math.max(o,n)),{left:l,top:c,right:s,bottom:u}}function Bn(e,t,r,o){return e?0:Ee(t,r,o)}function Wn(e,t,r,o){const n=null===t,a=null===r,i=e&&!(n&&a)&&Vn(e,o);return i&&(n||je(t,i.left,i.right))&&(a||je(r,i.top,i.bottom))}function Hn(e,t){e.rect(t.x,t.y,t.w,t.h)}function Un(e,t,r={}){const o=e.x!==r.x?-t:0,n=e.y!==r.y?-t:0,a=(e.x+e.w!==r.x+r.w?t:0)-o,i=(e.y+e.h!==r.y+r.h?t:0)-n;return{x:e.x+o,y:e.y+n,w:e.w+a,h:e.h+i,radius:e.radius}}var qn=Object.freeze({__proto__:null,ArcElement:class extends Fo{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,r){const o=this.getProps(["x","y"],r),{angle:n,distance:a}=Pe(o,{x:e,y:t}),{startAngle:i,endAngle:l,innerRadius:s,outerRadius:c,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],r),d=(this.options.spacing+this.options.borderWidth)/2,f=q(u,l-i),p=Se(n,i,l)&&i!==l,h=f>=ce||p,b=je(a,s+d,c+d);return h&&b}getCenterPoint(e){const{x:t,y:r,startAngle:o,endAngle:n,innerRadius:a,outerRadius:i}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:l,spacing:s}=this.options,c=(o+n)/2,u=(a+i+s+l)/2;return{x:t+Math.cos(c)*u,y:r+Math.sin(c)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:r}=this,o=(t.offset||0)/4,n=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=r>ce?Math.floor(r/ce):0,0===r||this.innerRadius<0||this.outerRadius<0)return;e.save();const i=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(i)*o,Math.sin(i)*o);const l=o*(1-Math.sin(Math.min(se,r||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,function(e,t,r,o,n){const{fullCircles:a,startAngle:i,circumference:l}=t;let s=t.endAngle;if(a){Sn(e,t,r,o,s,n);for(let t=0;t<a;++t)e.fill();isNaN(l)||(s=i+(l%ce||ce))}Sn(e,t,r,o,s,n),e.fill()}(e,this,l,n,a),function(e,t,r,o,n){const{fullCircles:a,startAngle:i,circumference:l,options:s}=t,{borderWidth:c,borderJoinStyle:u,borderDash:d,borderDashOffset:f}=s,p="inner"===s.borderAlign;if(!c)return;e.setLineDash(d||[]),e.lineDashOffset=f,p?(e.lineWidth=2*c,e.lineJoin=u||"round"):(e.lineWidth=c,e.lineJoin=u||"bevel");let h=t.endAngle;if(a){Sn(e,t,r,o,h,n);for(let t=0;t<a;++t)e.stroke();isNaN(l)||(h=i+(l%ce||ce))}p&&function(e,t,r){const{startAngle:o,pixelMargin:n,x:a,y:i,outerRadius:l,innerRadius:s}=t;let c=n/l;e.beginPath(),e.arc(a,i,l,o-c,r+c),s>n?(c=n/s,e.arc(a,i,s,r+c,o-c,!0)):e.arc(a,i,n,r+pe,o-pe),e.closePath(),e.clip()}(e,t,h),a||(Sn(e,t,r,o,h,n),e.stroke())}(e,this,l,n,a),e.restore()}},BarElement:class extends Fo{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:t,options:{borderColor:r,backgroundColor:o}}=this,{inner:n,outer:a}=function(e){const t=Vn(e),r=t.right-t.left,o=t.bottom-t.top,n=function(e,t,r){const o=e.options.borderWidth,n=e.borderSkipped,a=Mt(o);return{t:Bn(n.top,a.top,0,r),r:Bn(n.right,a.right,0,t),b:Bn(n.bottom,a.bottom,0,r),l:Bn(n.left,a.left,0,t)}}(e,r/2,o/2),a=function(e,t,r){const{enableBorderRadius:o}=e.getProps(["enableBorderRadius"]),n=e.options.borderRadius,a=St(n),i=Math.min(t,r),l=e.borderSkipped,s=o||W(n);return{topLeft:Bn(!s||l.top||l.left,a.topLeft,0,i),topRight:Bn(!s||l.top||l.right,a.topRight,0,i),bottomLeft:Bn(!s||l.bottom||l.left,a.bottomLeft,0,i),bottomRight:Bn(!s||l.bottom||l.right,a.bottomRight,0,i)}}(e,r/2,o/2);return{outer:{x:t.left,y:t.top,w:r,h:o,radius:a},inner:{x:t.left+n.l,y:t.top+n.t,w:r-n.l-n.r,h:o-n.t-n.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(n.t,n.l)),topRight:Math.max(0,a.topRight-Math.max(n.t,n.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(n.b,n.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(n.b,n.r))}}}}(this),i=(l=a.radius).topLeft||l.topRight||l.bottomLeft||l.bottomRight?_t:Hn;var l;e.save(),a.w===n.w&&a.h===n.h||(e.beginPath(),i(e,Un(a,t,n)),e.clip(),i(e,Un(n,-t,a)),e.fillStyle=r,e.fill("evenodd")),e.beginPath(),i(e,Un(n,t)),e.fillStyle=o,e.fill(),e.restore()}inRange(e,t,r){return Wn(this,e,t,r)}inXRange(e,t){return Wn(this,e,null,t)}inYRange(e,t){return Wn(this,null,e,t)}getCenterPoint(e){const{x:t,y:r,base:o,horizontal:n}=this.getProps(["x","y","base","horizontal"],e);return{x:n?(t+o)/2:t,y:n?r:(r+o)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}},LineElement:Ln,PointElement:Fn});const $n=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],Yn=$n.map((e=>e.replace("rgb(","rgba(").replace(")",", 0.5)")));function Xn(e){return $n[e%$n.length]}function Kn(e){return Yn[e%Yn.length]}function Gn(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}var Zn={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,r){if(!r.enabled)return;const{data:{datasets:o},options:n}=e.config,{elements:a}=n,i=Gn(o)||(l=n)&&(l.borderColor||l.backgroundColor)||a&&Gn(a)||"rgba(0,0,0,0.1)"!==st.borderColor||"rgba(0,0,0,0.1)"!==st.backgroundColor;var l;if(!r.forceOverride&&i)return;const s=function(e){let t=0;return(r,o)=>{const n=e.getDatasetMeta(o).controller;n instanceof Gr?t=function(e,t){return e.backgroundColor=e.data.map((()=>Xn(t++))),t}(r,t):n instanceof Jr?t=function(e,t){return e.backgroundColor=e.data.map((()=>Kn(t++))),t}(r,t):n&&(t=function(e,t){return e.borderColor=Xn(t),e.backgroundColor=Kn(t),++t}(r,t))}}(e);o.forEach(s)}};function Jn(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function Qn(e){e.data.datasets.forEach((e=>{Jn(e)}))}var ea={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,r)=>{if(!r.enabled)return void Qn(e);const o=e.width;e.data.datasets.forEach(((t,n)=>{const{_data:a,indexAxis:i}=t,l=e.getDatasetMeta(n),s=a||t.data;if("y"===At([i,e.options.indexAxis]))return;if(!l.controller.supportsDecimation)return;const c=e.scales[l.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(e.options.parsing)return;let u,{start:d,count:f}=function(e,t){const r=t.length;let o,n=0;const{iScale:a}=e,{min:i,max:l,minDefined:s,maxDefined:c}=a.getUserBounds();return s&&(n=Ee(Ne(t,a.axis,i).lo,0,r-1)),o=c?Ee(Ne(t,a.axis,l).hi+1,n,r)-n:r-n,{start:n,count:o}}(l,s);if(f<=(r.threshold||4*o))Jn(t);else{switch(V(a)&&(t._data=s,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}})),r.algorithm){case"lttb":u=function(e,t,r,o,n){const a=n.samples||o;if(a>=r)return e.slice(t,t+r);const i=[],l=(r-2)/(a-2);let s=0;const c=t+r-1;let u,d,f,p,h,b=t;for(i[s++]=e[b],u=0;u<a-2;u++){let o,n=0,a=0;const c=Math.floor((u+1)*l)+1+t,g=Math.min(Math.floor((u+2)*l)+1,r)+t,m=g-c;for(o=c;o<g;o++)n+=e[o].x,a+=e[o].y;n/=m,a/=m;const y=Math.floor(u*l)+1+t,v=Math.min(Math.floor((u+1)*l)+1,r)+t,{x,y:w}=e[b];for(f=p=-1,o=y;o<v;o++)p=.5*Math.abs((x-n)*(e[o].y-w)-(x-e[o].x)*(a-w)),p>f&&(f=p,d=e[o],h=o);i[s++]=d,b=h}return i[s++]=e[c],i}(s,d,f,o,r);break;case"min-max":u=function(e,t,r,o){let n,a,i,l,s,c,u,d,f,p,h=0,b=0;const g=[],m=t+r-1,y=e[t].x,v=e[m].x-y;for(n=t;n<t+r;++n){a=e[n],i=(a.x-y)/v*o,l=a.y;const t=0|i;if(t===s)l<f?(f=l,c=n):l>p&&(p=l,u=n),h=(b*h+a.x)/++b;else{const r=n-1;if(!V(c)&&!V(u)){const t=Math.min(c,u),o=Math.max(c,u);t!==d&&t!==r&&g.push({...e[t],x:h}),o!==d&&o!==r&&g.push({...e[o],x:h})}n>0&&r!==d&&g.push(e[r]),g.push(a),s=t,b=0,f=p=l,c=u=d=n}}return g}(s,d,f,o);break;default:throw new Error(`Unsupported decimation algorithm '${r.algorithm}'`)}t._decimated=u}}))},destroy(e){Qn(e)}};function ta(e,t,r,o){if(o)return;let n=t[e],a=r[e];return"angle"===e&&(n=Me(n),a=Me(a)),{property:e,start:n,end:a}}function ra(e,t,r){for(;t>e;t--){const e=r[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function oa(e,t,r,o){return e&&t?o(e[r],t[r]):e?e[r]:t?t[r]:0}function na(e,t){let r=[],o=!1;return B(e)?(o=!0,r=e):r=function(e,t){const{x:r=null,y:o=null}=e||{},n=t.points,a=[];return t.segments.forEach((({start:e,end:t})=>{t=ra(e,t,n);const i=n[e],l=n[t];null!==o?(a.push({x:i.x,y:o}),a.push({x:l.x,y:o})):null!==r&&(a.push({x:r,y:i.y}),a.push({x:r,y:l.y}))})),a}(e,t),r.length?new Ln({points:r,options:{tension:0},_loop:o,_fullLoop:o}):null}function aa(e){return e&&!1!==e.fill}function ia(e,t,r){let o=e[t].fill;const n=[t];let a;if(!r)return o;for(;!1!==o&&-1===n.indexOf(o);){if(!H(o))return o;if(a=e[o],!a)return!1;if(a.visible)return o;n.push(o),o=a.fill}return!1}function la(e,t,r){const o=function(e){const t=e.options,r=t.fill;let o=q(r&&r.target,r);return void 0===o&&(o=!!t.backgroundColor),!1!==o&&null!==o&&(!0===o?"origin":o)}(e);if(W(o))return!isNaN(o.value)&&o;let n=parseFloat(o);return H(n)&&Math.floor(n)===n?function(e,t,r,o){return"-"!==e&&"+"!==e||(r=t+r),!(r===t||r<0||r>=o)&&r}(o[0],t,n,r):["origin","start","end","stack","shape"].indexOf(o)>=0&&o}function sa(e,t,r){const o=[];for(let n=0;n<r.length;n++){const a=r[n],{first:i,last:l,point:s}=ca(a,t,"x");if(!(!s||i&&l))if(i)o.unshift(s);else if(e.push(s),!l)break}e.push(...o)}function ca(e,t,r){const o=e.interpolate(t,r);if(!o)return{};const n=o[r],a=e.segments,i=e.points;let l=!1,s=!1;for(let e=0;e<a.length;e++){const t=a[e],o=i[t.start][r],c=i[t.end][r];if(je(n,o,c)){l=n===o,s=n===c;break}}return{first:l,last:s,point:o}}class ua{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,r){const{x:o,y:n,radius:a}=this;return t=t||{start:0,end:ce},e.arc(o,n,a,t.end,t.start,!0),!r.bounds}interpolate(e){const{x:t,y:r,radius:o}=this,n=e.angle;return{x:t+Math.cos(n)*o,y:r+Math.sin(n)*o,angle:n}}}function da(e,t,r){const o=function(e){const{chart:t,fill:r,line:o}=e;if(H(r))return function(e,t){const r=e.getDatasetMeta(t);return r&&e.isDatasetVisible(t)?r.dataset:null}(t,r);if("stack"===r)return function(e){const{scale:t,index:r,line:o}=e,n=[],a=o.segments,i=o.points,l=function(e,t){const r=[],o=e.getMatchingVisibleMetas("line");for(let e=0;e<o.length;e++){const n=o[e];if(n.index===t)break;n.hidden||r.unshift(n.dataset)}return r}(t,r);l.push(na({x:null,y:t.bottom},o));for(let e=0;e<a.length;e++){const t=a[e];for(let e=t.start;e<=t.end;e++)sa(n,i[e],l)}return new Ln({points:n,options:{}})}(e);if("shape"===r)return!0;const n=function(e){return(e.scale||{}).getPointPositionForValue?function(e){const{scale:t,fill:r}=e,o=t.options,n=t.getLabels().length,a=o.reverse?t.max:t.min,i=function(e,t,r){let o;return o="start"===e?r:"end"===e?t.options.reverse?t.min:t.max:W(e)?e.value:t.getBaseValue(),o}(r,t,a),l=[];if(o.grid.circular){const e=t.getPointPositionForValue(0,a);return new ua({x:e.x,y:e.y,radius:t.getDistanceFromCenterForValue(i)})}for(let e=0;e<n;++e)l.push(t.getPointPositionForValue(e,i));return l}(e):function(e){const{scale:t={},fill:r}=e,o=function(e,t){let r=null;return"start"===e?r=t.bottom:"end"===e?r=t.top:W(e)?r=t.getPixelForValue(e.value):t.getBasePixel&&(r=t.getBasePixel()),r}(r,t);if(H(o)){const e=t.isHorizontal();return{x:e?o:null,y:e?null:o}}return null}(e)}(e);return n instanceof ua?n:na(n,o)}(t),{line:n,scale:a,axis:i}=t,l=n.options,s=l.fill,c=l.backgroundColor,{above:u=c,below:d=c}=s||{};o&&n.points.length&&(gt(e,r),function(e,t){const{line:r,target:o,above:n,below:a,area:i,scale:l}=t,s=r._loop?"angle":t.axis;e.save(),"x"===s&&a!==n&&(fa(e,o,i.top),pa(e,{line:r,target:o,color:n,scale:l,property:s}),e.restore(),e.save(),fa(e,o,i.bottom)),pa(e,{line:r,target:o,color:a,scale:l,property:s}),e.restore()}(e,{line:n,target:o,above:u,below:d,area:r,scale:a,axis:i}),mt(e))}function fa(e,t,r){const{segments:o,points:n}=t;let a=!0,i=!1;e.beginPath();for(const l of o){const{start:o,end:s}=l,c=n[o],u=n[ra(o,s,n)];a?(e.moveTo(c.x,c.y),a=!1):(e.lineTo(c.x,r),e.lineTo(c.x,c.y)),i=!!t.pathSegment(e,l,{move:i}),i?e.closePath():e.lineTo(u.x,r)}e.lineTo(t.first().x,r),e.closePath(),e.clip()}function pa(e,t){const{line:r,target:o,property:n,color:a,scale:i}=t,l=function(e,t,r){const o=e.segments,n=e.points,a=t.points,i=[];for(const e of o){let{start:o,end:l}=e;l=ra(o,l,n);const s=ta(r,n[o],n[l],e.loop);if(!t.segments){i.push({source:e,target:s,start:n[o],end:n[l]});continue}const c=xr(t,s);for(const t of c){const o=ta(r,a[t.start],a[t.end],t.loop),l=vr(e,n,o);for(const e of l)i.push({source:e,target:t,start:{[r]:oa(s,o,"start",Math.max)},end:{[r]:oa(s,o,"end",Math.min)}})}}return i}(r,o,n);for(const{source:t,target:s,start:c,end:u}of l){const{style:{backgroundColor:l=a}={}}=t,d=!0!==o;e.save(),e.fillStyle=l,ha(e,i,d&&ta(n,c,u)),e.beginPath();const f=!!r.pathSegment(e,t);let p;if(d){f?e.closePath():ba(e,o,u,n);const t=!!o.pathSegment(e,s,{move:f,reverse:!0});p=f&&t,p||ba(e,o,c,n)}e.closePath(),e.fill(p?"evenodd":"nonzero"),e.restore()}}function ha(e,t,r){const{top:o,bottom:n}=t.chart.chartArea,{property:a,start:i,end:l}=r||{};"x"===a&&(e.beginPath(),e.rect(i,o,l-i,n-o),e.clip())}function ba(e,t,r,o){const n=t.interpolate(r,o);n&&e.lineTo(n.x,n.y)}var ga={id:"filler",afterDatasetsUpdate(e,t,r){const o=(e.data.datasets||[]).length,n=[];let a,i,l,s;for(i=0;i<o;++i)a=e.getDatasetMeta(i),l=a.dataset,s=null,l&&l.options&&l instanceof Ln&&(s={visible:e.isDatasetVisible(i),index:i,fill:la(l,i,o),chart:e,axis:a.controller.options.indexAxis,scale:a.vScale,line:l}),a.$filler=s,n.push(s);for(i=0;i<o;++i)s=n[i],s&&!1!==s.fill&&(s.fill=ia(n,i,r.propagate))},beforeDraw(e,t,r){const o="beforeDraw"===r.drawTime,n=e.getSortedVisibleDatasetMetas(),a=e.chartArea;for(let t=n.length-1;t>=0;--t){const r=n[t].$filler;r&&(r.line.updateControlPoints(a,r.axis),o&&r.fill&&da(e.ctx,r,a))}},beforeDatasetsDraw(e,t,r){if("beforeDatasetsDraw"!==r.drawTime)return;const o=e.getSortedVisibleDatasetMetas();for(let t=o.length-1;t>=0;--t){const r=o[t].$filler;aa(r)&&da(e.ctx,r,e.chartArea)}},beforeDatasetDraw(e,t,r){const o=t.meta.$filler;aa(o)&&"beforeDatasetDraw"===r.drawTime&&da(e.ctx,o,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ma=(e,t)=>{let{boxHeight:r=t,boxWidth:o=t}=e;return e.usePointStyle&&(r=Math.min(r,t),o=e.pointStyleWidth||Math.min(o,t)),{boxWidth:o,boxHeight:r,itemHeight:Math.max(t,r)}};class ya extends Fo{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,r){this.maxWidth=e,this.maxHeight=t,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=Y(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,r)=>e.sort(t,r,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const r=e.labels,o=jt(r.font),n=o.size,a=this._computeTitleHeight(),{boxWidth:i,itemHeight:l}=ma(r,n);let s,c;t.font=o.string,this.isHorizontal()?(s=this.maxWidth,c=this._fitRows(a,n,i,l)+10):(c=this.maxHeight,s=this._fitCols(a,o,i,l)+10),this.width=Math.min(s,e.maxWidth||this.maxWidth),this.height=Math.min(c,e.maxHeight||this.maxHeight)}_fitRows(e,t,r,o){const{ctx:n,maxWidth:a,options:{labels:{padding:i}}}=this,l=this.legendHitBoxes=[],s=this.lineWidths=[0],c=o+i;let u=e;n.textAlign="left",n.textBaseline="middle";let d=-1,f=-c;return this.legendItems.forEach(((e,p)=>{const h=r+t/2+n.measureText(e.text).width;(0===p||s[s.length-1]+h+2*i>a)&&(u+=c,s[s.length-(p>0?0:1)]=0,f+=c,d++),l[p]={left:0,top:f,row:d,width:h,height:o},s[s.length-1]+=h+i})),u}_fitCols(e,t,r,o){const{ctx:n,maxHeight:a,options:{labels:{padding:i}}}=this,l=this.legendHitBoxes=[],s=this.columnSizes=[],c=a-e;let u=i,d=0,f=0,p=0,h=0;return this.legendItems.forEach(((e,a)=>{const{itemWidth:b,itemHeight:g}=function(e,t,r,o,n){const a=function(e,t,r,o){let n=e.text;return n&&"string"!=typeof n&&(n=n.reduce(((e,t)=>e.length>t.length?e:t))),t+r.size/2+o.measureText(n).width}(o,e,t,r),i=function(e,t,r){let o=e;return"string"!=typeof t.text&&(o=va(t,r)),o}(n,o,t.lineHeight);return{itemWidth:a,itemHeight:i}}(r,t,n,e,o);a>0&&f+g+2*i>c&&(u+=d+i,s.push({width:d,height:f}),p+=d+i,h++,d=f=0),l[a]={left:p,top:f,col:h,width:b,height:g},d=Math.max(d,b),f+=g+i})),u+=d,s.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:r,labels:{padding:o},rtl:n}}=this,a=hr(n,this.left,this.width);if(this.isHorizontal()){let n=0,i=Be(r,this.left+o,this.right-this.lineWidths[n]);for(const l of t)n!==l.row&&(n=l.row,i=Be(r,this.left+o,this.right-this.lineWidths[n])),l.top+=this.top+e+o,l.left=a.leftForLtr(a.x(i),l.width),i+=l.width+o}else{let n=0,i=Be(r,this.top+e+o,this.bottom-this.columnSizes[n].height);for(const l of t)l.col!==n&&(n=l.col,i=Be(r,this.top+e+o,this.bottom-this.columnSizes[n].height)),l.top=i,l.left+=this.left+o,l.left=a.leftForLtr(a.x(l.left),l.width),i+=l.height+o}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;gt(e,this),this._draw(),mt(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:r,ctx:o}=this,{align:n,labels:a}=e,i=st.color,l=hr(e.rtl,this.left,this.width),s=jt(a.font),{padding:c}=a,u=s.size,d=u/2;let f;this.drawTitle(),o.textAlign=l.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=s.string;const{boxWidth:p,boxHeight:h,itemHeight:b}=ma(a,u),g=this.isHorizontal(),m=this._computeTitleHeight();f=g?{x:Be(n,this.left+c,this.right-r[0]),y:this.top+c+m,line:0}:{x:this.left+c,y:Be(n,this.top+m+c,this.bottom-t[0].height),line:0},br(this.ctx,e.textDirection);const y=b+c;this.legendItems.forEach(((v,x)=>{o.strokeStyle=v.fontColor,o.fillStyle=v.fontColor;const w=o.measureText(v.text).width,O=l.textAlign(v.textAlign||(v.textAlign=a.textAlign)),_=p+d+w;let k=f.x,P=f.y;if(l.setWidth(this.width),g?x>0&&k+_+c>this.right&&(P=f.y+=y,f.line++,k=f.x=Be(n,this.left+c,this.right-r[f.line])):x>0&&P+y>this.bottom&&(k=f.x=k+t[f.line].width+c,f.line++,P=f.y=Be(n,this.top+m+c,this.bottom-t[f.line].height)),function(e,t,r){if(isNaN(p)||p<=0||isNaN(h)||h<0)return;o.save();const n=q(r.lineWidth,1);if(o.fillStyle=q(r.fillStyle,i),o.lineCap=q(r.lineCap,"butt"),o.lineDashOffset=q(r.lineDashOffset,0),o.lineJoin=q(r.lineJoin,"miter"),o.lineWidth=n,o.strokeStyle=q(r.strokeStyle,i),o.setLineDash(q(r.lineDash,[])),a.usePointStyle){const i={radius:h*Math.SQRT2/2,pointStyle:r.pointStyle,rotation:r.rotation,borderWidth:n},s=l.xPlus(e,p/2);ht(o,i,s,t+d,a.pointStyleWidth&&p)}else{const a=t+Math.max((u-h)/2,0),i=l.leftForLtr(e,p),s=St(r.borderRadius);o.beginPath(),Object.values(s).some((e=>0!==e))?_t(o,{x:i,y:a,w:p,h,radius:s}):o.rect(i,a,p,h),o.fill(),0!==n&&o.stroke()}o.restore()}(l.x(k),P,v),k=((e,t,r,o)=>e===(o?"left":"right")?r:"center"===e?(t+r)/2:t)(O,k+p+d,g?k+_:this.right,e.rtl),function(e,t,r){Ot(o,r.text,e,t+b/2,s,{strikethrough:r.hidden,textAlign:l.textAlign(r.textAlign)})}(l.x(k),P,v),g)f.x+=_+c;else if("string"!=typeof v.text){const e=s.lineHeight;f.y+=va(v,e)+c}else f.y+=y})),gr(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,r=jt(t.font),o=Et(t.padding);if(!t.display)return;const n=hr(e.rtl,this.left,this.width),a=this.ctx,i=t.position,l=r.size/2,s=o.top+l;let c,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),c=this.top+s,u=Be(e.align,u,this.right-d);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);c=s+Be(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const f=Be(i,u,u+d);a.textAlign=n.textAlign(Ve(i)),a.textBaseline="middle",a.strokeStyle=t.color,a.fillStyle=t.color,a.font=r.string,Ot(a,t.text,f,c,r)}_computeTitleHeight(){const e=this.options.title,t=jt(e.font),r=Et(e.padding);return e.display?t.lineHeight+r.height:0}_getLegendItemAt(e,t){let r,o,n;if(je(e,this.left,this.right)&&je(t,this.top,this.bottom))for(n=this.legendHitBoxes,r=0;r<n.length;++r)if(o=n[r],je(e,o.left,o.left+o.width)&&je(t,o.top,o.top+o.height))return this.legendItems[r];return null}handleEvent(e){const t=this.options;if(!function(e,t){return!("mousemove"!==e&&"mouseout"!==e||!t.onHover&&!t.onLeave)||!(!t.onClick||"click"!==e&&"mouseup"!==e)}(e.type,t))return;const r=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){const a=this._hoveredItem,i=(n=r,null!==(o=a)&&null!==n&&o.datasetIndex===n.datasetIndex&&o.index===n.index);a&&!i&&Y(t.onLeave,[e,a,this],this),this._hoveredItem=r,r&&!i&&Y(t.onHover,[e,r,this],this)}else r&&Y(t.onClick,[e,r,this],this);var o,n}}function va(e,t){return t*(e.text?e.text.length:0)}var xa={id:"legend",_element:ya,start(e,t,r){const o=e.legend=new ya({ctx:e.ctx,options:r,chart:e});wo.configure(e,o,r),wo.addBox(e,o)},stop(e){wo.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,r){const o=e.legend;wo.configure(e,o,r),o.options=r},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,r){const o=t.datasetIndex,n=r.chart;n.isDatasetVisible(o)?(n.hide(o),t.hidden=!0):(n.show(o),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:r,pointStyle:o,textAlign:n,color:a,useBorderRadius:i,borderRadius:l}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const s=e.controller.getStyle(r?0:void 0),c=Et(s.borderWidth);return{text:t[e.index].label,fillStyle:s.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:s.borderCapStyle,lineDash:s.borderDash,lineDashOffset:s.borderDashOffset,lineJoin:s.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:s.borderColor,pointStyle:o||s.pointStyle,rotation:s.rotation,textAlign:n||s.textAlign,borderRadius:i&&(l||s.borderRadius),datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class wa extends Fo{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const r=this.options;if(this.left=0,this.top=0,!r.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const o=B(r.text)?r.text.length:1;this._padding=Et(r.padding);const n=o*jt(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=n:this.width=n}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:r,bottom:o,right:n,options:a}=this,i=a.align;let l,s,c,u=0;return this.isHorizontal()?(s=Be(i,r,n),c=t+e,l=n-r):("left"===a.position?(s=r+e,c=Be(i,o,t),u=-.5*se):(s=n-e,c=Be(i,t,o),u=.5*se),l=o-t),{titleX:s,titleY:c,maxWidth:l,rotation:u}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const r=jt(t.font),o=r.lineHeight/2+this._padding.top,{titleX:n,titleY:a,maxWidth:i,rotation:l}=this._drawArgs(o);Ot(e,t.text,0,0,r,{color:t.color,maxWidth:i,rotation:l,textAlign:Ve(t.align),textBaseline:"middle",translation:[n,a]})}}var Oa={id:"title",_element:wa,start(e,t,r){!function(e,t){const r=new wa({ctx:e.ctx,options:t,chart:e});wo.configure(e,r,t),wo.addBox(e,r),e.titleBlock=r}(e,r)},stop(e){const t=e.titleBlock;wo.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,r){const o=e.titleBlock;wo.configure(e,o,r),o.options=r},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const _a=new WeakMap;var ka={id:"subtitle",start(e,t,r){const o=new wa({ctx:e.ctx,options:r,chart:e});wo.configure(e,o,r),wo.addBox(e,o),_a.set(e,o)},stop(e){wo.removeBox(e,_a.get(e)),_a.delete(e)},beforeUpdate(e,t,r){const o=_a.get(e);wo.configure(e,o,r),o.options=r},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Pa={average(e){if(!e.length)return!1;let t,r,o=new Set,n=0,a=0;for(t=0,r=e.length;t<r;++t){const r=e[t].element;if(r&&r.hasValue()){const e=r.tooltipPosition();o.add(e.x),n+=e.y,++a}}return 0!==a&&0!==o.size&&{x:[...o].reduce(((e,t)=>e+t))/o.size,y:n/a}},nearest(e,t){if(!e.length)return!1;let r,o,n,a=t.x,i=t.y,l=Number.POSITIVE_INFINITY;for(r=0,o=e.length;r<o;++r){const o=e[r].element;if(o&&o.hasValue()){const e=Ce(t,o.getCenterPoint());e<l&&(l=e,n=o)}}if(n){const e=n.tooltipPosition();a=e.x,i=e.y}return{x:a,y:i}}};function Ca(e,t){return t&&(B(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Ta(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function Ma(e,t){const{element:r,datasetIndex:o,index:n}=t,a=e.getDatasetMeta(o).controller,{label:i,value:l}=a.getLabelAndValue(n);return{chart:e,label:i,parsed:a.getParsed(n),raw:e.data.datasets[o].data[n],formattedValue:l,dataset:a.getDataset(),dataIndex:n,datasetIndex:o,element:r}}function Sa(e,t){const r=e.chart.ctx,{body:o,footer:n,title:a}=e,{boxWidth:i,boxHeight:l}=t,s=jt(t.bodyFont),c=jt(t.titleFont),u=jt(t.footerFont),d=a.length,f=n.length,p=o.length,h=Et(t.padding);let b=h.height,g=0,m=o.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);m+=e.beforeBody.length+e.afterBody.length,d&&(b+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),m&&(b+=p*(t.displayColors?Math.max(l,s.lineHeight):s.lineHeight)+(m-p)*s.lineHeight+(m-1)*t.bodySpacing),f&&(b+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let y=0;const v=function(e){g=Math.max(g,r.measureText(e).width+y)};return r.save(),r.font=c.string,X(e.title,v),r.font=s.string,X(e.beforeBody.concat(e.afterBody),v),y=t.displayColors?i+2+t.boxPadding:0,X(o,(e=>{X(e.before,v),X(e.lines,v),X(e.after,v)})),y=0,r.font=u.string,X(e.footer,v),r.restore(),g+=h.width,{width:g,height:b}}function Ea(e,t,r,o){const{x:n,width:a}=r,{width:i,chartArea:{left:l,right:s}}=e;let c="center";return"center"===o?c=n<=(l+s)/2?"left":"right":n<=a/2?c="left":n>=i-a/2&&(c="right"),function(e,t,r,o){const{x:n,width:a}=o,i=r.caretSize+r.caretPadding;return"left"===e&&n+a+i>t.width||"right"===e&&n-a-i<0||void 0}(c,e,t,r)&&(c="center"),c}function ja(e,t,r){const o=r.yAlign||t.yAlign||function(e,t){const{y:r,height:o}=t;return r<o/2?"top":r>e.height-o/2?"bottom":"center"}(e,r);return{xAlign:r.xAlign||t.xAlign||Ea(e,t,r,o),yAlign:o}}function Aa(e,t,r,o){const{caretSize:n,caretPadding:a,cornerRadius:i}=e,{xAlign:l,yAlign:s}=r,c=n+a,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=St(i);let h=function(e,t){let{x:r,width:o}=e;return"right"===t?r-=o:"center"===t&&(r-=o/2),r}(t,l);const b=function(e,t,r){let{y:o,height:n}=e;return"top"===t?o+=r:o-="bottom"===t?n+r:n/2,o}(t,s,c);return"center"===s?"left"===l?h+=c:"right"===l&&(h-=c):"left"===l?h-=Math.max(u,f)+n:"right"===l&&(h+=Math.max(d,p)+n),{x:Ee(h,0,o.width-t.width),y:Ee(b,0,o.height-t.height)}}function Na(e,t,r){const o=Et(r.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-o.right:e.x+o.left}function Ra(e){return Ca([],Ta(e))}function Ia(e,t){const r=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return r?e.override(r):e}const Da={beforeTitle:z,title(e){if(e.length>0){const t=e[0],r=t.chart.data.labels,o=r?r.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(o>0&&t.dataIndex<o)return r[t.dataIndex]}return""},afterTitle:z,beforeBody:z,beforeLabel:z,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const r=e.formattedValue;return V(r)||(t+=r),t},labelColor(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:z,afterBody:z,beforeFooter:z,footer:z,afterFooter:z};function La(e,t,r,o){const n=e[t].call(r,o);return void 0===n?Da[t].call(r,o):n}class za extends Fo{static positioners=Pa;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,r=this.options.setContext(this.getContext()),o=r.enabled&&t.options.animation&&r.animations,n=new Mr(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(n)),n}getContext(){return this.$context||(this.$context=Nt(this.chart.getContext(),{tooltip:this,tooltipItems:this._tooltipItems,type:"tooltip"}))}getTitle(e,t){const{callbacks:r}=t,o=La(r,"beforeTitle",this,e),n=La(r,"title",this,e),a=La(r,"afterTitle",this,e);let i=[];return i=Ca(i,Ta(o)),i=Ca(i,Ta(n)),i=Ca(i,Ta(a)),i}getBeforeBody(e,t){return Ra(La(t.callbacks,"beforeBody",this,e))}getBody(e,t){const{callbacks:r}=t,o=[];return X(e,(e=>{const t={before:[],lines:[],after:[]},n=Ia(r,e);Ca(t.before,Ta(La(n,"beforeLabel",this,e))),Ca(t.lines,La(n,"label",this,e)),Ca(t.after,Ta(La(n,"afterLabel",this,e))),o.push(t)})),o}getAfterBody(e,t){return Ra(La(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:r}=t,o=La(r,"beforeFooter",this,e),n=La(r,"footer",this,e),a=La(r,"afterFooter",this,e);let i=[];return i=Ca(i,Ta(o)),i=Ca(i,Ta(n)),i=Ca(i,Ta(a)),i}_createItems(e){const t=this._active,r=this.chart.data,o=[],n=[],a=[];let i,l,s=[];for(i=0,l=t.length;i<l;++i)s.push(Ma(this.chart,t[i]));return e.filter&&(s=s.filter(((t,o,n)=>e.filter(t,o,n,r)))),e.itemSort&&(s=s.sort(((t,o)=>e.itemSort(t,o,r)))),X(s,(t=>{const r=Ia(e.callbacks,t);o.push(La(r,"labelColor",this,t)),n.push(La(r,"labelPointStyle",this,t)),a.push(La(r,"labelTextColor",this,t))})),this.labelColors=o,this.labelPointStyles=n,this.labelTextColors=a,this.dataPoints=s,s}update(e,t){const r=this.options.setContext(this.getContext()),o=this._active;let n,a=[];if(o.length){const e=Pa[r.position].call(this,o,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const t=this._size=Sa(this,r),i=Object.assign({},e,t),l=ja(this.chart,r,i),s=Aa(r,i,l,this.chart);this.xAlign=l.xAlign,this.yAlign=l.yAlign,n={opacity:1,x:s.x,y:s.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=a,this.$context=void 0,n&&this._resolveAnimations().update(this,n),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,r,o){const n=this.getCaretPosition(e,r,o);t.lineTo(n.x1,n.y1),t.lineTo(n.x2,n.y2),t.lineTo(n.x3,n.y3)}getCaretPosition(e,t,r){const{xAlign:o,yAlign:n}=this,{caretSize:a,cornerRadius:i}=r,{topLeft:l,topRight:s,bottomLeft:c,bottomRight:u}=St(i),{x:d,y:f}=e,{width:p,height:h}=t;let b,g,m,y,v,x;return"center"===n?(v=f+h/2,"left"===o?(b=d,g=b-a,y=v+a,x=v-a):(b=d+p,g=b+a,y=v-a,x=v+a),m=b):(g="left"===o?d+Math.max(l,c)+a:"right"===o?d+p-Math.max(s,u)-a:this.caretX,"top"===n?(y=f,v=y-a,b=g-a,m=g+a):(y=f+h,v=y+a,b=g+a,m=g-a),x=y),{x1:b,x2:g,x3:m,y1:y,y2:v,y3:x}}drawTitle(e,t,r){const o=this.title,n=o.length;let a,i,l;if(n){const s=hr(r.rtl,this.x,this.width);for(e.x=Na(this,r.titleAlign,r),t.textAlign=s.textAlign(r.titleAlign),t.textBaseline="middle",a=jt(r.titleFont),i=r.titleSpacing,t.fillStyle=r.titleColor,t.font=a.string,l=0;l<n;++l)t.fillText(o[l],s.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+i,l+1===n&&(e.y+=r.titleMarginBottom-i)}}_drawColorBox(e,t,r,o,n){const a=this.labelColors[r],i=this.labelPointStyles[r],{boxHeight:l,boxWidth:s}=n,c=jt(n.bodyFont),u=Na(this,"left",n),d=o.x(u),f=l<c.lineHeight?(c.lineHeight-l)/2:0,p=t.y+f;if(n.usePointStyle){const t={radius:Math.min(s,l)/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:1},r=o.leftForLtr(d,s)+s/2,c=p+l/2;e.strokeStyle=n.multiKeyBackground,e.fillStyle=n.multiKeyBackground,pt(e,t,r,c),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,pt(e,t,r,c)}else{e.lineWidth=W(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const t=o.leftForLtr(d,s),r=o.leftForLtr(o.xPlus(d,1),s-2),i=St(a.borderRadius);Object.values(i).some((e=>0!==e))?(e.beginPath(),e.fillStyle=n.multiKeyBackground,_t(e,{x:t,y:p,w:s,h:l,radius:i}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),_t(e,{x:r,y:p+1,w:s-2,h:l-2,radius:i}),e.fill()):(e.fillStyle=n.multiKeyBackground,e.fillRect(t,p,s,l),e.strokeRect(t,p,s,l),e.fillStyle=a.backgroundColor,e.fillRect(r,p+1,s-2,l-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,t,r){const{body:o}=this,{bodySpacing:n,bodyAlign:a,displayColors:i,boxHeight:l,boxWidth:s,boxPadding:c}=r,u=jt(r.bodyFont);let d=u.lineHeight,f=0;const p=hr(r.rtl,this.x,this.width),h=function(r){t.fillText(r,p.x(e.x+f),e.y+d/2),e.y+=d+n},b=p.textAlign(a);let g,m,y,v,x,w,O;for(t.textAlign=a,t.textBaseline="middle",t.font=u.string,e.x=Na(this,b,r),t.fillStyle=r.bodyColor,X(this.beforeBody,h),f=i&&"right"!==b?"center"===a?s/2+c:s+2+c:0,v=0,w=o.length;v<w;++v){for(g=o[v],m=this.labelTextColors[v],t.fillStyle=m,X(g.before,h),y=g.lines,i&&y.length&&(this._drawColorBox(t,e,v,p,r),d=Math.max(u.lineHeight,l)),x=0,O=y.length;x<O;++x)h(y[x]),d=u.lineHeight;X(g.after,h)}f=0,d=u.lineHeight,X(this.afterBody,h),e.y-=n}drawFooter(e,t,r){const o=this.footer,n=o.length;let a,i;if(n){const l=hr(r.rtl,this.x,this.width);for(e.x=Na(this,r.footerAlign,r),e.y+=r.footerMarginTop,t.textAlign=l.textAlign(r.footerAlign),t.textBaseline="middle",a=jt(r.footerFont),t.fillStyle=r.footerColor,t.font=a.string,i=0;i<n;++i)t.fillText(o[i],l.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+r.footerSpacing}}drawBackground(e,t,r,o){const{xAlign:n,yAlign:a}=this,{x:i,y:l}=e,{width:s,height:c}=r,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=St(o.cornerRadius);t.fillStyle=o.backgroundColor,t.strokeStyle=o.borderColor,t.lineWidth=o.borderWidth,t.beginPath(),t.moveTo(i+u,l),"top"===a&&this.drawCaret(e,t,r,o),t.lineTo(i+s-d,l),t.quadraticCurveTo(i+s,l,i+s,l+d),"center"===a&&"right"===n&&this.drawCaret(e,t,r,o),t.lineTo(i+s,l+c-p),t.quadraticCurveTo(i+s,l+c,i+s-p,l+c),"bottom"===a&&this.drawCaret(e,t,r,o),t.lineTo(i+f,l+c),t.quadraticCurveTo(i,l+c,i,l+c-f),"center"===a&&"left"===n&&this.drawCaret(e,t,r,o),t.lineTo(i,l+u),t.quadraticCurveTo(i,l,i+u,l),t.closePath(),t.fill(),o.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,r=this.$animations,o=r&&r.x,n=r&&r.y;if(o||n){const r=Pa[e.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=Sa(this,e),i=Object.assign({},r,this._size),l=ja(t,e,i),s=Aa(e,i,l,t);o._to===s.x&&n._to===s.y||(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,s))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(t);const o={width:this.width,height:this.height},n={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=Et(t.padding),i=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&i&&(e.save(),e.globalAlpha=r,this.drawBackground(n,e,o,t),br(e,t.textDirection),n.y+=a.top,this.drawTitle(n,e,t),this.drawBody(n,e,t),this.drawFooter(n,e,t),gr(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const r=this._active,o=e.map((({datasetIndex:e,index:t})=>{const r=this.chart.getDatasetMeta(e);if(!r)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:r.data[t],index:t}})),n=!K(r,o),a=this._positionChanged(o,t);(n||a)&&(this._active=o,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,r=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,n=this._active||[],a=this._getActiveElements(e,n,t,r),i=this._positionChanged(a,e),l=t||!K(a,n)||i;return l&&(this._active=a,(o.enabled||o.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),l}_getActiveElements(e,t,r,o){const n=this.options;if("mouseout"===e.type)return[];if(!o)return t.filter((e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)));const a=this.chart.getElementsAtEventForMode(e,n.mode,n,r);return n.reverse&&a.reverse(),a}_positionChanged(e,t){const{caretX:r,caretY:o,options:n}=this,a=Pa[n.position].call(this,e,t);return!1!==a&&(r!==a.x||o!==a.y)}}var Fa={id:"tooltip",_element:za,positioners:Pa,afterInit(e,t,r){r&&(e.tooltip=new za({chart:e,options:r}))},beforeUpdate(e,t,r){e.tooltip&&e.tooltip.initialize(r)},reset(e,t,r){e.tooltip&&e.tooltip.initialize(r)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const r={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",{...r,cancelable:!0}))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",r)}},afterEvent(e,t){if(e.tooltip){const r=t.replay;e.tooltip.handleEvent(t.event,r,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Da},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Va=Object.freeze({__proto__:null,Colors:Zn,Decimation:ea,Filler:ga,Legend:xa,SubTitle:ka,Title:Oa,Tooltip:Fa});function Ba(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Wa extends Xo{static id="category";static defaults={ticks:{callback:Ba}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:r,label:o}of t)e[r]===o&&e.splice(r,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(V(e))return null;const r=this.getLabels();return((e,t)=>null===e?null:Ee(Math.round(e),0,t))(t=isFinite(t)&&r[t]===e?t:function(e,t,r,o){const n=e.indexOf(t);return-1===n?((e,t,r,o)=>("string"==typeof t?(r=e.push(t)-1,o.unshift({index:r,label:t})):isNaN(t)&&(r=null),r))(e,t,r,o):n!==e.lastIndexOf(t)?r:n}(r,e,q(t,e),this._addedLabels),r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:r,max:o}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(r=0),t||(o=this.getLabels().length-1)),this.min=r,this.max=o}buildTicks(){const e=this.min,t=this.max,r=this.options.offset,o=[];let n=this.getLabels();n=0===e&&t===n.length-1?n:n.slice(e,t+1),this._valueRange=Math.max(n.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let r=e;r<=t;r++)o.push({value:r});return o}getLabelForValue(e){return Ba.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function Ha(e,t,{horizontal:r,minRotation:o}){const n=Oe(o),a=(r?Math.sin(n):Math.cos(n))||.001,i=.75*t*(""+e).length;return Math.min(t/a,i)}class Ua extends Xo{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return V(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:r}=this.getUserBounds();let{min:o,max:n}=this;const a=e=>o=t?o:e,i=e=>n=r?n:e;if(e){const e=me(o),t=me(n);e<0&&t<0?i(0):e>0&&t>0&&a(0)}if(o===n){let t=0===n?1:Math.abs(.05*n);i(n+t),e||a(o-t)}this.min=o,this.max=n}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:r,stepSize:o}=e;return o?(t=Math.ceil(this.max/o)-Math.floor(this.min/o)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${o} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),r=r||11),r&&(t=Math.min(r,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const o=function(e,t){const r=[],{bounds:o,step:n,min:a,max:i,precision:l,count:s,maxTicks:c,maxDigits:u,includeBounds:d}=e,f=n||1,p=c-1,{min:h,max:b}=t,g=!V(a),m=!V(i),y=!V(s),v=(b-h)/(u+1);let x,w,O,_,k=ve((b-h)/p/f)*f;if(k<1e-14&&!g&&!m)return[{value:h},{value:b}];_=Math.ceil(b/k)-Math.floor(h/k),_>p&&(k=ve(_*k/p/f)*f),V(l)||(x=Math.pow(10,l),k=Math.ceil(k*x)/x),"ticks"===o?(w=Math.floor(h/k)*k,O=Math.ceil(b/k)*k):(w=h,O=b),g&&m&&n&&function(e,t){const r=Math.round(e);return r-t<=e&&r+t>=e}((i-a)/n,k/1e3)?(_=Math.round(Math.min((i-a)/k,c)),k=(i-a)/_,w=a,O=i):y?(w=g?a:w,O=m?i:O,_=s-1,k=(O-w)/_):(_=(O-w)/k,_=ye(_,Math.round(_),k/1e3)?Math.round(_):Math.ceil(_));const P=Math.max(ke(k),ke(w));x=Math.pow(10,V(l)?P:l),w=Math.round(w*x)/x,O=Math.round(O*x)/x;let C=0;for(g&&(d&&w!==a?(r.push({value:a}),w<a&&C++,ye(Math.round((w+C*k)*x)/x,a,Ha(a,v,e))&&C++):w<a&&C++);C<_;++C){const e=Math.round((w+C*k)*x)/x;if(m&&e>i)break;r.push({value:e})}return m&&d&&O!==i?r.length&&ye(r[r.length-1].value,i,Ha(i,v,e))?r[r.length-1].value=i:r.push({value:i}):m&&O!==i||r.push({value:O}),r}({maxTicks:r,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&we(o,this,"value"),e.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const e=this.ticks;let t=this.min,r=this.max;if(super.configure(),this.options.offset&&e.length){const o=(r-t)/Math.max(e.length-1,1)/2;t-=o,r+=o}this._startValue=t,this._endValue=r,this._valueRange=r-t}getLabelForValue(e){return et(e,this.chart.options.locale,this.options.ticks.format)}}class qa extends Ua{static id="linear";static defaults={ticks:{callback:rt.formatters.numeric}};determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=H(e)?e:0,this.max=H(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,r=Oe(this.options.ticks.minRotation),o=(e?Math.sin(r):Math.cos(r))||.001,n=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,n.lineHeight/o))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const $a=e=>Math.floor(ge(e)),Ya=(e,t)=>Math.pow(10,$a(e)+t);function Xa(e){return 1==e/Math.pow(10,$a(e))}function Ka(e,t,r){const o=Math.pow(10,r),n=Math.floor(e/o);return Math.ceil(t/o)-n}class Ga extends Xo{static id="logarithmic";static defaults={ticks:{callback:rt.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const r=Ua.prototype.parse.apply(this,[e,t]);if(0!==r)return H(r)&&r>0?r:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=H(e)?Math.max(0,e):null,this.max=H(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!H(this._userMin)&&(this.min=e===Ya(this.min,0)?Ya(this.min,-1):Ya(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let r=this.min,o=this.max;const n=t=>r=e?r:t,a=e=>o=t?o:e;r===o&&(r<=0?(n(1),a(10)):(n(Ya(r,-1)),a(Ya(o,1)))),r<=0&&n(Ya(o,-1)),o<=0&&a(Ya(r,1)),this.min=r,this.max=o}buildTicks(){const e=this.options,t=function(e,{min:t,max:r}){t=U(e.min,t);const o=[],n=$a(t);let a=function(e,t){let r=$a(t-e);for(;Ka(e,t,r)>10;)r++;for(;Ka(e,t,r)<10;)r--;return Math.min(r,$a(e))}(t,r),i=a<0?Math.pow(10,Math.abs(a)):1;const l=Math.pow(10,a),s=n>a?Math.pow(10,n):0,c=Math.round((t-s)*i)/i,u=Math.floor((t-s)/l/10)*l*10;let d=Math.floor((c-u)/Math.pow(10,a)),f=U(e.min,Math.round((s+u+d*Math.pow(10,a))*i)/i);for(;f<r;)o.push({value:f,major:Xa(f),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,i=a>=0?1:i),f=Math.round((s+u+d*Math.pow(10,a))*i)/i;const p=U(e.max,f);return o.push({value:p,major:Xa(p),significand:d}),o}({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&&we(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return void 0===e?"0":et(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=ge(e),this._valueRange=ge(this.max)-ge(e)}getPixelForValue(e){return void 0!==e&&0!==e||(e=this.min),null===e||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(ge(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function Za(e){const t=e.ticks;if(t.display&&e.display){const e=Et(t.backdropPadding);return q(t.font&&t.font.size,st.font.size)+e.height}return 0}function Ja(e,t,r,o,n){return e===o||e===n?{start:t-r/2,end:t+r/2}:e<o||e>n?{start:t-r,end:t}:{start:t,end:t+r}}function Qa(e,t,r,o,n){const a=Math.abs(Math.sin(r)),i=Math.abs(Math.cos(r));let l=0,s=0;o.start<t.l?(l=(t.l-o.start)/a,e.l=Math.min(e.l,t.l-l)):o.end>t.r&&(l=(o.end-t.r)/a,e.r=Math.max(e.r,t.r+l)),n.start<t.t?(s=(t.t-n.start)/i,e.t=Math.min(e.t,t.t-s)):n.end>t.b&&(s=(n.end-t.b)/i,e.b=Math.max(e.b,t.b+s))}function ei(e,t,r){const o=e.drawingArea,{extra:n,additionalAngle:a,padding:i,size:l}=r,s=e.getPointPosition(t,o+n+i,a),c=Math.round(_e(Me(s.angle+pe))),u=function(e,t,r){return 90===r||270===r?e-=t/2:(r>270||r<90)&&(e-=t),e}(s.y,l.h,c),d=function(e){return 0===e||180===e?"center":e<180?"left":"right"}(c),f=(p=s.x,h=l.w,"right"===(b=d)?p-=h:"center"===b&&(p-=h/2),p);var p,h,b;return{visible:!0,x:s.x,y:u,textAlign:d,left:f,top:u,right:f+l.w,bottom:u+l.h}}function ti(e,t){if(!t)return!0;const{left:r,top:o,right:n,bottom:a}=e;return!(bt({x:r,y:o},t)||bt({x:r,y:a},t)||bt({x:n,y:o},t)||bt({x:n,y:a},t))}function ri(e,t,r){const{left:o,top:n,right:a,bottom:i}=r,{backdropColor:l}=t;if(!V(l)){const r=St(t.borderRadius),s=Et(t.backdropPadding);e.fillStyle=l;const c=o-s.left,u=n-s.top,d=a-o+s.width,f=i-n+s.height;Object.values(r).some((e=>0!==e))?(e.beginPath(),_t(e,{x:c,y:u,w:d,h:f,radius:r}),e.fill()):e.fillRect(c,u,d,f)}}function oi(e,t,r,o){const{ctx:n}=e;if(r)n.arc(e.xCenter,e.yCenter,t,0,ce);else{let r=e.getPointPosition(0,t);n.moveTo(r.x,r.y);for(let a=1;a<o;a++)r=e.getPointPosition(a,t),n.lineTo(r.x,r.y)}}class ni extends Ua{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:rt.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:e=>e,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=Et(Za(this.options)/2),t=this.width=this.maxWidth-e.width,r=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+r/2+e.top),this.drawingArea=Math.floor(Math.min(t,r)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=H(e)&&!isNaN(e)?e:0,this.max=H(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Za(this.options))}generateTickLabels(e){Ua.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map(((e,t)=>{const r=Y(this.options.pointLabels.callback,[e,t],this);return r||0===r?r:""})).filter(((e,t)=>this.chart.getDataVisibility(t)))}fit(){const e=this.options;e.display&&e.pointLabels.display?function(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},r=Object.assign({},t),o=[],n=[],a=e._pointLabels.length,i=e.options.pointLabels,l=i.centerPointLabels?se/a:0;for(let d=0;d<a;d++){const a=i.setContext(e.getPointLabelContext(d));n[d]=a.padding;const f=e.getPointPosition(d,e.drawingArea+n[d],l),p=jt(a.font),h=(s=e.ctx,c=p,u=B(u=e._pointLabels[d])?u:[u],{w:ut(s,c.string,u),h:u.length*c.lineHeight});o[d]=h;const b=Me(e.getIndexAngle(d)+l),g=Math.round(_e(b));Qa(r,t,b,Ja(g,f.x,h.w,0,180),Ja(g,f.y,h.h,90,270))}var s,c,u;e.setCenterPoint(t.l-r.l,r.r-t.r,t.t-r.t,r.b-t.b),e._pointLabelItems=function(e,t,r){const o=[],n=e._pointLabels.length,a=e.options,{centerPointLabels:i,display:l}=a.pointLabels,s={extra:Za(a)/2,additionalAngle:i?se/n:0};let c;for(let a=0;a<n;a++){s.padding=r[a],s.size=t[a];const n=ei(e,a,s);o.push(n),"auto"===l&&(n.visible=ti(n,c),n.visible&&(c=n))}return o}(e,o,n)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,r,o){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((r-o)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,r,o))}getIndexAngle(e){return Me(e*(ce/(this._pointLabels.length||1))+Oe(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(V(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(V(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e<t.length){const r=t[e];return function(e,t,r){return Nt(e,{label:r,index:t,type:"pointLabel"})}(this.getContext(),e,r)}}getPointPosition(e,t,r=0){const o=this.getIndexAngle(e)-pe+r;return{x:Math.cos(o)*t+this.xCenter,y:Math.sin(o)*t+this.yCenter,angle:o}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:t,top:r,right:o,bottom:n}=this._pointLabelItems[e];return{left:t,top:r,right:o,bottom:n}}drawBackground(){const{backgroundColor:e,grid:{circular:t}}=this.options;if(e){const r=this.ctx;r.save(),r.beginPath(),oi(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),r.closePath(),r.fillStyle=e,r.fill(),r.restore()}}drawGrid(){const e=this.ctx,t=this.options,{angleLines:r,grid:o,border:n}=t,a=this._pointLabels.length;let i,l,s;if(t.pointLabels.display&&function(e,t){const{ctx:r,options:{pointLabels:o}}=e;for(let n=t-1;n>=0;n--){const t=e._pointLabelItems[n];if(!t.visible)continue;const a=o.setContext(e.getPointLabelContext(n));ri(r,a,t);const i=jt(a.font),{x:l,y:s,textAlign:c}=t;Ot(r,e._pointLabels[n],l,s+i.lineHeight/2,i,{color:a.color,textAlign:c,textBaseline:"middle"})}}(this,a),o.display&&this.ticks.forEach(((e,t)=>{if(0!==t||0===t&&this.min<0){l=this.getDistanceFromCenterForValue(e.value);const r=this.getContext(t),i=o.setContext(r),s=n.setContext(r);!function(e,t,r,o,n){const a=e.ctx,i=t.circular,{color:l,lineWidth:s}=t;!i&&!o||!l||!s||r<0||(a.save(),a.strokeStyle=l,a.lineWidth=s,a.setLineDash(n.dash||[]),a.lineDashOffset=n.dashOffset,a.beginPath(),oi(e,r,i,o),a.closePath(),a.stroke(),a.restore())}(this,i,l,a,s)}})),r.display){for(e.save(),i=a-1;i>=0;i--){const o=r.setContext(this.getPointLabelContext(i)),{color:n,lineWidth:a}=o;a&&n&&(e.lineWidth=a,e.strokeStyle=n,e.setLineDash(o.borderDash),e.lineDashOffset=o.borderDashOffset,l=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),s=this.getPointPosition(i,l),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(s.x,s.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,r=t.ticks;if(!r.display)return;const o=this.getIndexAngle(0);let n,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(o),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach(((o,i)=>{if(0===i&&this.min>=0&&!t.reverse)return;const l=r.setContext(this.getContext(i)),s=jt(l.font);if(n=this.getDistanceFromCenterForValue(this.ticks[i].value),l.showLabelBackdrop){e.font=s.string,a=e.measureText(o.label).width,e.fillStyle=l.backdropColor;const t=Et(l.backdropPadding);e.fillRect(-a/2-t.left,-n-s.size/2-t.top,a+t.width,s.size+t.height)}Ot(e,o.label,0,-n,s,{color:l.color,strokeColor:l.textStrokeColor,strokeWidth:l.textStrokeWidth})})),e.restore()}drawTitle(){}}const ai={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ii=Object.keys(ai);function li(e,t){return e-t}function si(e,t){if(V(t))return null;const r=e._adapter,{parser:o,round:n,isoWeekday:a}=e._parseOpts;let i=t;return"function"==typeof o&&(i=o(i)),H(i)||(i="string"==typeof o?r.parse(i,o):r.parse(i)),null===i?null:(n&&(i="week"!==n||!xe(a)&&!0!==a?r.startOf(i,n):r.startOf(i,"isoWeek",a)),+i)}function ci(e,t,r,o){const n=ii.length;for(let a=ii.indexOf(e);a<n-1;++a){const e=ai[ii[a]],n=e.steps?e.steps:Number.MAX_SAFE_INTEGER;if(e.common&&Math.ceil((r-t)/(n*e.size))<=o)return ii[a]}return ii[n-1]}function ui(e,t,r){if(r){if(r.length){const{lo:o,hi:n}=Ae(r,t);e[r[o]>=t?r[o]:r[n]]=!0}}else e[t]=!0}function di(e,t,r){const o=[],n={},a=t.length;let i,l;for(i=0;i<a;++i)l=t[i],n[l]=i,o.push({value:l,major:!1});return 0!==a&&r?function(e,t,r,o){const n=e._adapter,a=+n.startOf(t[0].value,o),i=t[t.length-1].value;let l,s;for(l=a;l<=i;l=+n.add(l,1,o))s=r[l],s>=0&&(t[s].major=!0);return t}(e,o,n,r):o}class fi extends Xo{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){const r=e.time||(e.time={}),o=this._adapter=new ro(e.adapters.date);o.init(t),ee(r.displayFormats,o.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:si(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,r=e.time.unit||"day";let{min:o,max:n,minDefined:a,maxDefined:i}=this.getUserBounds();function l(e){a||isNaN(e.min)||(o=Math.min(o,e.min)),i||isNaN(e.max)||(n=Math.max(n,e.max))}a&&i||(l(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||l(this.getMinMax(!1))),o=H(o)&&!isNaN(o)?o:+t.startOf(Date.now(),r),n=H(n)&&!isNaN(n)?n:+t.endOf(Date.now(),r)+1,this.min=Math.min(o,n-1),this.max=Math.max(o+1,n)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],r=e[e.length-1]),{min:t,max:r}}buildTicks(){const e=this.options,t=e.time,r=e.ticks,o="labels"===r.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const n=this.min,a=function(e,t,r){let o=0,n=e.length;for(;o<n&&e[o]<t;)o++;for(;n>o&&e[n-1]>r;)n--;return o>0||n<e.length?e.slice(o,n):e}(o,n,this.max);return this._unit=t.unit||(r.autoSkip?ci(t.minUnit,this.min,this.max,this._getLabelCapacity(n)):function(e,t,r,o,n){for(let a=ii.length-1;a>=ii.indexOf(r);a--){const r=ii[a];if(ai[r].common&&e._adapter.diff(n,o,r)>=t-1)return r}return ii[r?ii.indexOf(r):0]}(this,a.length,t.minUnit,this.min,this.max)),this._majorUnit=r.major.enabled&&"year"!==this._unit?function(e){for(let t=ii.indexOf(e)+1,r=ii.length;t<r;++t)if(ai[ii[t]].common)return ii[t]}(this._unit):void 0,this.initOffsets(o),e.reverse&&a.reverse(),di(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((e=>+e.value)))}initOffsets(e=[]){let t,r,o=0,n=0;this.options.offset&&e.length&&(t=this.getDecimalForValue(e[0]),o=1===e.length?1-t:(this.getDecimalForValue(e[1])-t)/2,r=this.getDecimalForValue(e[e.length-1]),n=1===e.length?r:(r-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;o=Ee(o,0,a),n=Ee(n,0,a),this._offsets={start:o,end:n,factor:1/(o+1+n)}}_generate(){const e=this._adapter,t=this.min,r=this.max,o=this.options,n=o.time,a=n.unit||ci(n.minUnit,t,r,this._getLabelCapacity(t)),i=q(o.ticks.stepSize,1),l="week"===a&&n.isoWeekday,s=xe(l)||!0===l,c={};let u,d,f=t;if(s&&(f=+e.startOf(f,"isoWeek",l)),f=+e.startOf(f,s?"day":a),e.diff(r,t,a)>1e5*i)throw new Error(t+" and "+r+" are too far apart with stepSize of "+i+" "+a);const p="data"===o.ticks.source&&this.getDataTimestamps();for(u=f,d=0;u<r;u=+e.add(u,i,a),d++)ui(c,u,p);return u!==r&&"ticks"!==o.bounds&&1!==d||ui(c,u,p),Object.keys(c).sort(li).map((e=>+e))}getLabelForValue(e){const t=this._adapter,r=this.options.time;return r.tooltipFormat?t.format(e,r.tooltipFormat):t.format(e,r.displayFormats.datetime)}format(e,t){const r=this.options.time.displayFormats,o=this._unit,n=t||r[o];return this._adapter.format(e,n)}_tickFormatFunction(e,t,r,o){const n=this.options,a=n.ticks.callback;if(a)return Y(a,[e,t,r],this);const i=n.time.displayFormats,l=this._unit,s=this._majorUnit,c=l&&i[l],u=s&&i[s],d=r[t],f=s&&u&&d&&d.major;return this._adapter.format(e,o||(f?u:c))}generateTickLabels(e){let t,r,o;for(t=0,r=e.length;t<r;++t)o=e[t],o.label=this._tickFormatFunction(o.value,t,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const t=this._offsets,r=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+r)*t.factor)}getValueForPixel(e){const t=this._offsets,r=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+r*(this.max-this.min)}_getLabelSize(e){const t=this.options.ticks,r=this.ctx.measureText(e).width,o=Oe(this.isHorizontal()?t.maxRotation:t.minRotation),n=Math.cos(o),a=Math.sin(o),i=this._resolveTickFontOptions(0).size;return{w:r*n+i*a,h:r*a+i*n}}_getLabelCapacity(e){const t=this.options.time,r=t.displayFormats,o=r[t.unit]||r.millisecond,n=this._tickFormatFunction(e,0,di(this,[e],this._majorUnit),o),a=this._getLabelSize(n),i=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return i>0?i:1}getDataTimestamps(){let e,t,r=this._cache.data||[];if(r.length)return r;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(e=0,t=o.length;e<t;++e)r=r.concat(o[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(r)}getLabelTimestamps(){const e=this._cache.labels||[];let t,r;if(e.length)return e;const o=this.getLabels();for(t=0,r=o.length;t<r;++t)e.push(si(this,o[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Le(e.sort(li))}}function pi(e,t,r){let o,n,a,i,l=0,s=e.length-1;r?(t>=e[l].pos&&t<=e[s].pos&&({lo:l,hi:s}=Ne(e,"pos",t)),({pos:o,time:a}=e[l]),({pos:n,time:i}=e[s])):(t>=e[l].time&&t<=e[s].time&&({lo:l,hi:s}=Ne(e,"time",t)),({time:o,pos:a}=e[l]),({time:n,pos:i}=e[s]));const c=n-o;return c?a+(i-a)*(t-o)/c:a}const hi=[Qr,qn,Va,Object.freeze({__proto__:null,CategoryScale:Wa,LinearScale:qa,LogarithmicScale:Ga,RadialLinearScale:ni,TimeScale:fi,TimeSeriesScale:class extends fi{static id="timeseries";static defaults=fi.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=pi(t,this.min),this._tableRange=pi(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:r}=this,o=[],n=[];let a,i,l,s,c;for(a=0,i=e.length;a<i;++a)s=e[a],s>=t&&s<=r&&o.push(s);if(o.length<2)return[{time:t,pos:0},{time:r,pos:1}];for(a=0,i=o.length;a<i;++a)c=o[a+1],l=o[a-1],s=o[a],Math.round((c+l)/2)!==s&&n.push({time:s,pos:a/(i-1)});return n}_generate(){const e=this.min,t=this.max;let r=super.getDataTimestamps();return r.includes(e)&&r.length||r.splice(0,0,e),r.includes(t)&&1!==r.length||r.push(t),r.sort(((e,t)=>e-t))}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),r=this.getLabelTimestamps();return e=t.length&&r.length?this.normalize(t.concat(r)):t.length?t:r,e=this._cache.all=e,e}getDecimalForValue(e){return(pi(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,r=this.getDecimalForPixel(e)/t.factor-t.end;return pi(this._table,r*this._tableRange+this._minPos,!0)}}})];Cn.register(...hi);const bi="label";function gi(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function mi(e,t){e.labels=t}function yi(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:bi;const o=[];e.datasets=t.map((t=>{const n=e.datasets.find((e=>e[r]===t[r]));return n&&t.data&&!o.includes(n)?(o.push(n),Object.assign(n,t),n):{...t}}))}function vi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:bi;const r={labels:[],datasets:[]};return mi(r,e.labels),yi(r,e.datasets,t),r}function xi(t,r){const{height:o=150,width:n=300,redraw:a=!1,datasetIdKey:i,type:l,data:s,options:c,plugins:u=[],fallbackContent:d,updateMode:f,...p}=t,h=(0,e.useRef)(null),b=(0,e.useRef)(null),g=()=>{h.current&&(b.current=new Cn(h.current,{type:l,data:vi(s,i),options:c&&{...c},plugins:u}),gi(r,b.current))},m=()=>{gi(r,null),b.current&&(b.current.destroy(),b.current=null)};return(0,e.useEffect)((()=>{!a&&b.current&&c&&function(e,t){const r=e.options;r&&t&&Object.assign(r,t)}(b.current,c)}),[a,c]),(0,e.useEffect)((()=>{!a&&b.current&&mi(b.current.config.data,s.labels)}),[a,s.labels]),(0,e.useEffect)((()=>{!a&&b.current&&s.datasets&&yi(b.current.config.data,s.datasets,i)}),[a,s.datasets]),(0,e.useEffect)((()=>{b.current&&(a?(m(),setTimeout(g)):b.current.update(f))}),[a,c,s.labels,s.datasets,f]),(0,e.useEffect)((()=>{b.current&&(m(),setTimeout(g))}),[l]),(0,e.useEffect)((()=>(g(),()=>m())),[]),e.createElement("canvas",{ref:h,role:"img",height:o,width:n,...p},d)}const wi=(0,e.forwardRef)(xi);function Oi(t,r){return Cn.register(r),(0,e.forwardRef)(((r,o)=>e.createElement(wi,{...r,ref:o,type:t})))}const _i=Oi("line",Zr),ki=Oi("bar",Kr);Cn.register(Ln,Wa,qa,Fn,Fa,xa);const Pi=()=>{const[r,o]=(0,e.useState)(0);if((0,e.useEffect)((()=>{(async()=>{try{const e=await l.A.get("/wp-json/dci/app/v1/dashboard/welcome",{headers:{"X-WP-Nonce":DCIConfig.nonce}});o(e.data.data)}catch(e){console.error("Error fetching data:",e)}})()}),[]),!r)return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"text-center"},(0,t.__)("Loading","data-collector-insights"),"..."),(0,e.createElement)("div",{className:"flex justify-center items-center h-40 mt-12"},(0,e.createElement)("div",{className:"animate-spin rounded-full h-10 w-10 border-t-2 border-b-2 border-blue-500"})));const n={responsive:!0,maintainAspectRatio:!1,scales:{y:{beginAtZero:!0}},plugins:{legend:{display:!0,position:"top"}}},s={indexAxis:"x",responsive:!0,maintainAspectRatio:!1,scales:{y:{beginAtZero:!0}},plugins:{legend:{display:!0,position:"top"}}};return console.log(r),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"mt-12"},(0,e.createElement)("div",{className:"mb-12 grid gap-y-10 gap-x-6 grid-cols-1 md:grid-cols-4 xl:grid-cols-4"},(0,e.createElement)("div",{className:"relative flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,e.createElement)("div",{className:"bg-clip-border mx-4 rounded-xl overflow-hidden bg-gradient-to-tr from-blue-600 to-blue-400 text-white shadow-blue-500/40 shadow-lg absolute -mt-4 grid h-16 w-16 place-items-center"},(0,e.createElement)(a.g,{icon:i.gdJ,color:"white",className:"w-6 h-6 text-white"})),(0,e.createElement)("div",{className:"p-4 text-right"},(0,e.createElement)("p",{className:"block antialiased font-sans text-sm leading-normal font-normal text-blue-gray-600 dark:text-gray-400"},"Total Users"," "),(0,e.createElement)("h4",{className:"block antialiased tracking-normal font-sans text-2xl font-semibold leading-snug text-blue-gray-900 dark:text-white"},r?.total_clients||0))),(0,e.createElement)("div",{className:"relative flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,e.createElement)("div",{className:"bg-clip-border mx-4 rounded-xl overflow-hidden bg-gradient-to-tr from-orange-600 to-orange-400 text-white shadow-orange-500/40 shadow-lg absolute -mt-4 grid h-16 w-16 place-items-center"},(0,e.createElement)(a.g,{icon:i.s67,color:"white",className:"w-6 h-6 text-white"})),(0,e.createElement)("div",{className:"p-4 text-right"},(0,e.createElement)("p",{className:"block antialiased font-sans text-sm leading-normal font-normal text-blue-gray-600 dark:text-gray-400"},"Today's Users"),(0,e.createElement)("h4",{className:"block antialiased tracking-normal font-sans text-2xl font-semibold leading-snug text-blue-gray-900 dark:text-white"},r?.today_clients||0))),(0,e.createElement)("div",{className:"relative flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,e.createElement)("div",{className:"bg-clip-border mx-4 rounded-xl overflow-hidden bg-gradient-to-tr from-pink-600 to-pink-400 text-white shadow-pink-500/40 shadow-lg absolute -mt-4 grid h-16 w-16 place-items-center"},(0,e.createElement)(a.g,{icon:i.gK3,color:"white",className:"w-6 h-6 text-white"})),(0,e.createElement)("div",{className:"p-4 text-right"},(0,e.createElement)("p",{className:"block antialiased font-sans text-sm leading-normal font-normal text-blue-gray-600 dark:text-gray-400"},"Today's Update"," "),(0,e.createElement)("h4",{className:"block antialiased tracking-normal font-sans text-2xl font-semibold leading-snug text-blue-gray-900 dark:text-white"},r?.today_clients_updates||0))),(0,e.createElement)("div",{className:"relative flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,e.createElement)("div",{className:"bg-clip-border mx-4 rounded-xl overflow-hidden bg-gradient-to-tr from-blue-600 to-blue-400 text-white shadow-pink-500/40 shadow-lg absolute -mt-4 grid h-16 w-16 place-items-center"},(0,e.createElement)(a.g,{icon:i.KuB,color:"white",className:"w-6 h-6 text-white"})),(0,e.createElement)("div",{className:"p-4 text-right"},(0,e.createElement)("p",{className:"block antialiased font-sans text-sm leading-normal font-normal text-blue-gray-600 dark:text-gray-400"},"Total Uninstall"),(0,e.createElement)("h4",{className:"block antialiased tracking-normal font-sans text-2xl font-semibold leading-snug text-blue-gray-900 dark:text-white"},r?.total_uninstall||0))),(0,e.createElement)("div",{className:"relative flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,e.createElement)("div",{className:"bg-clip-border mx-4 rounded-xl overflow-hidden bg-gradient-to-tr from-pink-600 to-pink-400 text-white shadow-pink-500/40 shadow-lg absolute -mt-4 grid h-16 w-16 place-items-center"},(0,e.createElement)(a.g,{icon:i.KuB,color:"white",className:"w-6 h-6 text-white"})),(0,e.createElement)("div",{className:"p-4 text-right"},(0,e.createElement)("p",{className:"block antialiased font-sans text-sm leading-normal font-normal text-blue-gray-600 dark:text-gray-400"},"Today's Uninstall"," "),(0,e.createElement)("h4",{className:"block antialiased tracking-normal font-sans text-2xl font-semibold leading-snug text-blue-gray-900 dark:text-white"},r?.today_uninstall||0))),(0,e.createElement)("div",{className:"relative flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,e.createElement)("div",{className:"bg-clip-border mx-4 rounded-xl overflow-hidden bg-gradient-to-tr from-blue-600 to-blue-400 text-white shadow-blue-500/40 shadow-lg absolute -mt-4 grid h-16 w-16 place-items-center"},(0,e.createElement)(a.g,{icon:i.D6w,color:"white",className:"w-6 h-6 text-white"})),(0,e.createElement)("div",{className:"p-4 text-right"},(0,e.createElement)("p",{className:"block antialiased font-sans text-sm leading-normal font-normal text-blue-gray-600 dark:text-gray-400"},"Sent CRM"),(0,e.createElement)("h4",{className:"block antialiased tracking-normal font-sans text-2xl font-semibold leading-snug text-blue-gray-900 dark:text-white"},r?.crm_sent_total||0)))),(0,e.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,e.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,e.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-2 text-center"},"Installs by Products"),(0,e.createElement)("div",{className:"w-100",style:{height:350,width:"100%"}},(0,e.createElement)(ki,{data:r.users_of_products,options:s})))),(0,e.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,e.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,e.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-2 text-center"},"Last 12 Months Installs"),(0,e.createElement)("div",{className:"w-100",style:{height:350,width:"100%"}},(0,e.createElement)(_i,{data:r.users_per_month,options:n})))),(0,e.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,e.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,e.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-2 text-center"},"Last 30 Days Installs"),(0,e.createElement)("div",{className:"w-100",style:{height:350,width:"100%"}},(0,e.createElement)(_i,{data:r.last_30_days_data,options:n})))),(0,e.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,e.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,e.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-2 text-center"},"Last 30 Days Uninstalls"),(0,e.createElement)("div",{className:"w-100",style:{height:350,width:"100%"}},(0,e.createElement)(_i,{data:r.last_30_days_uninstall,options:n})))),(0,e.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,e.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,e.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-2 text-center"},"Uninstalls Feedback"),(0,e.createElement)("div",{className:"w-100",style:{height:350,width:"100%"}},(0,e.createElement)(ki,{data:r.feedback_data,options:s})))),(0,e.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,e.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,e.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-2 text-center"},"CRM Sent History"),(0,e.createElement)("div",{className:"w-100",style:{height:350,width:"100%"}},(0,e.createElement)(_i,{data:r.crm_sent,options:n}))))))};var Ci=n(5533);const Ti=(0,e.lazy)((()=>Promise.all([n.e(465),n.e(257)]).then(n.bind(n,1257)))),Mi=(0,e.lazy)((()=>Promise.all([n.e(465),n.e(757),n.e(629)]).then(n.bind(n,3629)))),Si=(0,e.lazy)((()=>Promise.all([n.e(465),n.e(757),n.e(300)]).then(n.bind(n,1300)))),Ei=(0,e.lazy)((()=>Promise.all([n.e(757),n.e(312)]).then(n.bind(n,7312)))),ji=(0,e.lazy)((()=>Promise.all([n.e(757),n.e(873)]).then(n.bind(n,9873)))),Ai=(0,e.lazy)((()=>Promise.all([n.e(465),n.e(750)]).then(n.bind(n,1750)))),Ni=(0,e.lazy)((()=>n.e(432).then(n.bind(n,9432)))),Ri=()=>{const[t,n]=(0,e.useState)((()=>localStorage.getItem("activeTab")||"dashboard"));(0,e.useEffect)((()=>{localStorage.setItem("activeTab",t)}),[t]);const l=()=>(0,e.createElement)("div",{className:"p-4 min-h-[60vh]"},(0,e.createElement)("h1",{className:"text-2xl font-bold mb-4"},"Help Center"),(0,e.createElement)("p",null,"If you need help, please visit our ",(0,e.createElement)("a",{href:"https://wowdevs.com/data-collector-insights/",target:"_blank",className:"text-blue-500"},"Help Center (https://wowdevs.com/data-collector-insights/)"),".")),s=[{label:"Dashboard",value:"dashboard",icon:(0,e.createElement)(a.g,{icon:i.BwJ,className:"h-5 w-5"}),desc:(0,e.createElement)(Pi,null)},{label:"Products",value:"products",icon:(0,e.createElement)(a.g,{icon:i.wd3,className:"h-5 w-5"}),desc:(0,e.createElement)(Ti,null)},{label:"Clients",value:"clients",icon:(0,e.createElement)(a.g,{icon:i.gdJ,className:"h-5 w-5"}),desc:(0,e.createElement)(Mi,null)},{label:"Uninstalls",value:"uninstalls",icon:(0,e.createElement)(a.g,{icon:i.HoF,className:"h-5 w-5"}),desc:(0,e.createElement)(Si,null)},{label:"Plugin Stats",value:"pluginstats",icon:(0,e.createElement)(a.g,{icon:i.hem,className:"h-5 w-5"}),desc:(0,e.createElement)(Ei,null)},{label:"Theme Stats",value:"themestats",icon:(0,e.createElement)(a.g,{icon:i.hem,className:"h-5 w-5"}),desc:(0,e.createElement)(ji,null)},{label:"Settings",value:"settings",icon:(0,e.createElement)(a.g,{icon:i._g1,className:"h-5 w-5"}),desc:(0,e.createElement)(Ai,null)},{label:"Sponsored",value:"sponsored",icon:(0,e.createElement)(a.g,{icon:i.qcK,className:"h-5 w-5"}),desc:(0,e.createElement)(Ni,null)},{label:"Docs",value:"docs",desc:l()},{label:"Help",value:"help",desc:l()}];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"bg-white"},(0,e.createElement)("div",null,(0,e.createElement)(r,null)),(0,e.createElement)(Ci.Tabs,{value:t,orientation:"vertical",className:"flex gap-2 px-4 lg:px-6 py-2.5 my-6"},(0,e.createElement)(Ci.TabsHeader,{className:"min-w-72 bg-indigo-600 p-4 shadow-xl mt-4 bg-opacity-100"},s.map((({label:r,value:o,icon:a})=>(0,e.createElement)(Ci.Tab,{key:o,value:o,onClick:()=>n(o),className:"flex items-center w-full leading-tight transition-all rounded-lg outline-none text-start justify-start "+(t===o?"bg-indigo-700":"hover:bg-indigo-700 text-white")},(0,e.createElement)("div",{className:"flex items-center w-full p-3 leading-tight transition-all rounded-lg outline-none text-start"},(0,e.createElement)("div",{className:"grid mr-4 place-items-center"},a),r))))),(0,e.createElement)(Ci.TabsBody,null,s.map((({value:t,desc:r})=>(0,e.createElement)(Ci.TabPanel,{key:t,value:t,className:"py-0"},(0,e.createElement)(e.Suspense,{fallback:(0,e.createElement)("div",null,"Loading...")},r)))))),(0,e.createElement)("div",null,(0,e.createElement)(o,null))))},Ii=window.wp.element;document.getElementById("dci-app-root")&&(0,Ii.render)((0,e.createElement)((()=>(0,e.createElement)("div",null,(0,e.createElement)("h2",{className:"app-title"}),(0,e.createElement)(Ri,null))),null),document.getElementById("dci-app-root"))})()})();1 (()=>{var t,e,i={982:(t,e,i)=>{"use strict";function n(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function a(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}i.d(e,{g:()=>Pi});const r=()=>{};let o={},l={},c=null,h={mark:r,measure:r};try{"undefined"!=typeof window&&(o=window),"undefined"!=typeof document&&(l=document),"undefined"!=typeof MutationObserver&&(c=MutationObserver),"undefined"!=typeof performance&&(h=performance)}catch(t){}const{userAgent:d=""}=o.navigator||{},u=o,f=l,g=c,p=h,m=(u.document,!!f.documentElement&&!!f.head&&"function"==typeof f.addEventListener&&"function"==typeof f.createElement),b=~d.indexOf("MSIE")||~d.indexOf("Trident/");var x={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},y=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],v="classic",_="duotone",w=[v,_,"sharp","sharp-duotone"],k=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),E=["fak","fa-kit","fakd","fa-kit-duotone"],M=["fak","fakd"],S={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},C=["fak","fa-kit","fakd","fa-kit-duotone"],O={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},P=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],N=[1,2,3,4,5,6,7,8,9,10],A=N.concat([11,12,13,14,15,16,17,18,19,20]),L=[...Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]}),"solid","regular","light","thin","duotone","brands","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",S.GROUP,S.SWAP_OPACITY,S.PRIMARY,S.SECONDARY].concat(N.map((t=>"".concat(t,"x")))).concat(A.map((t=>"w-".concat(t))));const T="___FONT_AWESOME___",D=16,R="svg-inline--fa",z="data-fa-i2svg",I="data-fa-pseudo-element",F="data-prefix",j="data-icon",B="fontawesome-i2svg",V=["HTML","HEAD","STYLE","SCRIPT"],H=(()=>{try{return!0}catch(t){return!1}})();function W(t){return new Proxy(t,{get:(t,e)=>e in t?t[e]:t[v]})}const U=a({},x);U[v]=a(a(a(a({},{"fa-duotone":"duotone"}),x[v]),{fak:"kit","fa-kit":"kit"}),{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"});const $=W(U),Y=a({},{classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}});Y[v]=a(a(a(a({},{duotone:"fad"}),Y[v]),{kit:"fak"}),{"kit-duotone":"fakd"});const q=W(Y),X=a({},O);X[v]=a(a({},X[v]),{fak:"fa-kit"});const K=W(X),J=a({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}});J[v]=a(a({},J[v]),{"fa-kit":"fak"}),W(J);const G=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Z="fa-layers-text",Q=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,tt=(W(a({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}})),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),et="duotone-group",it="primary",nt="secondary",st=["kit",...L],at=u.FontAwesomeConfig||{};f&&"function"==typeof f.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((t=>{let[e,i]=t;const n=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=f.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(e));null!=n&&(at[i]=n)}));const rt={styleDefault:"solid",familyDefault:v,cssPrefix:"fa",replacementClass:R,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};at.familyPrefix&&(at.cssPrefix=at.familyPrefix);const ot=a(a({},rt),at);ot.autoReplaceSvg||(ot.observeMutations=!1);const lt={};Object.keys(rt).forEach((t=>{Object.defineProperty(lt,t,{enumerable:!0,set:function(e){ot[t]=e,ct.forEach((t=>t(lt)))},get:function(){return ot[t]}})})),Object.defineProperty(lt,"familyPrefix",{enumerable:!0,set:function(t){ot.cssPrefix=t,ct.forEach((t=>t(lt)))},get:function(){return ot.cssPrefix}}),u.FontAwesomeConfig=lt;const ct=[],ht=D,dt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ut(){let t=12,e="";for(;t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function ft(t){const e=[];for(let i=(t||[]).length>>>0;i--;)e[i]=t[i];return e}function gt(t){return t.classList?ft(t.classList):(t.getAttribute("class")||"").split(" ").filter((t=>t))}function pt(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function mt(t){return Object.keys(t||{}).reduce(((e,i)=>e+"".concat(i,": ").concat(t[i].trim(),";")),"")}function bt(t){return t.size!==dt.size||t.x!==dt.x||t.y!==dt.y||t.rotate!==dt.rotate||t.flipX||t.flipY}function xt(){const t="fa",e=R,i=lt.cssPrefix,n=lt.replacementClass;let s=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n 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));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}';if(i!==t||n!==e){const a=new RegExp("\\.".concat(t,"\\-"),"g"),r=new RegExp("\\--".concat(t,"\\-"),"g"),o=new RegExp("\\.".concat(e),"g");s=s.replace(a,".".concat(i,"-")).replace(r,"--".concat(i,"-")).replace(o,".".concat(n))}return s}let yt=!1;function vt(){lt.autoAddCss&&!yt&&(function(t){if(!t||!m)return;const e=f.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;const i=f.head.childNodes;let n=null;for(let t=i.length-1;t>-1;t--){const e=i[t],s=(e.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(n=e)}f.head.insertBefore(e,n)}(xt()),yt=!0)}var _t={mixout:()=>({dom:{css:xt,insertCss:vt}}),hooks:()=>({beforeDOMElementCreation(){vt()},beforeI2svg(){vt()}})};const wt=u||{};wt[T]||(wt[T]={}),wt[T].styles||(wt[T].styles={}),wt[T].hooks||(wt[T].hooks={}),wt[T].shims||(wt[T].shims=[]);var kt=wt[T];const Et=[],Mt=function(){f.removeEventListener("DOMContentLoaded",Mt),St=1,Et.map((t=>t()))};let St=!1;function Ct(t){const{tag:e,attributes:i={},children:n=[]}=t;return"string"==typeof t?pt(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce(((e,i)=>e+"".concat(i,'="').concat(pt(t[i]),'" ')),"").trim()}(i),">").concat(n.map(Ct).join(""),"</").concat(e,">")}function Ot(t,e,i){if(t&&t[e]&&t[e][i])return{prefix:e,iconName:i,icon:t[e][i]}}m&&(St=(f.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(f.readyState),St||f.addEventListener("DOMContentLoaded",Mt));var Pt=function(t,e,i,n){var s,a,r,o=Object.keys(t),l=o.length,c=void 0!==n?function(t,e){return function(i,n,s,a){return t.call(e,i,n,s,a)}}(e,n):e;for(void 0===i?(s=1,r=t[o[0]]):(s=0,r=i);s<l;s++)r=c(r,t[a=o[s]],a,t);return r};function Nt(t){const e=function(t){const e=[];let i=0;const n=t.length;for(;i<n;){const s=t.charCodeAt(i++);if(s>=55296&&s<=56319&&i<n){const n=t.charCodeAt(i++);56320==(64512&n)?e.push(((1023&s)<<10)+(1023&n)+65536):(e.push(s),i--)}else e.push(s)}return e}(t);return 1===e.length?e[0].toString(16):null}function At(t){return Object.keys(t).reduce(((e,i)=>{const n=t[i];return n.icon?e[n.iconName]=n.icon:e[i]=n,e}),{})}function Lt(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:n=!1}=i,s=At(e);"function"!=typeof kt.hooks.addPack||n?kt.styles[t]=a(a({},kt.styles[t]||{}),s):kt.hooks.addPack(t,At(e)),"fas"===t&&Lt("fa",e)}const{styles:Tt,shims:Dt}=kt,Rt=Object.keys(K),zt=Rt.reduce(((t,e)=>(t[e]=Object.keys(K[e]),t)),{});let It=null,Ft={},jt={},Bt={},Vt={},Ht={};const Wt=()=>{const t=t=>Pt(Tt,((e,i,n)=>(e[n]=Pt(i,t,{}),e)),{});Ft=t(((t,e,i)=>(e[3]&&(t[e[3]]=i),e[2]&&e[2].filter((t=>"number"==typeof t)).forEach((e=>{t[e.toString(16)]=i})),t))),jt=t(((t,e,i)=>(t[i]=i,e[2]&&e[2].filter((t=>"string"==typeof t)).forEach((e=>{t[e]=i})),t))),Ht=t(((t,e,i)=>{const n=e[2];return t[i]=i,n.forEach((e=>{t[e]=i})),t}));const e="far"in Tt||lt.autoFetchSvg,i=Pt(Dt,((t,i)=>{const n=i[0];let s=i[1];const a=i[2];return"far"!==s||e||(s="fas"),"string"==typeof n&&(t.names[n]={prefix:s,iconName:a}),"number"==typeof n&&(t.unicodes[n.toString(16)]={prefix:s,iconName:a}),t}),{names:{},unicodes:{}});Bt=i.names,Vt=i.unicodes,It=Kt(lt.styleDefault,{family:lt.familyDefault})};var Ut;function $t(t,e){return(Ft[t]||{})[e]}function Yt(t,e){return(Ht[t]||{})[e]}function qt(t){return Bt[t]||{prefix:null,iconName:null}}function Xt(){return It}function Kt(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:i=v}=e,n=$[i][t];if(i===_&&!t)return"fad";const s=q[i][t]||q[i][n],a=t in kt.styles?t:null;return s||a||null}function Jt(t){return t.sort().filter(((t,e,i)=>i.indexOf(t)===e))}function Gt(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:i=!1}=e;let n=null;const s=P.concat(C),r=Jt(t.filter((t=>s.includes(t)))),o=Jt(t.filter((t=>!P.includes(t)))),l=r.filter((t=>(n=t,!y.includes(t)))),[c=null]=l,h=function(t){let e=v;const i=Rt.reduce(((t,e)=>(t[e]="".concat(lt.cssPrefix,"-").concat(e),t)),{});return w.forEach((n=>{(t.includes(i[n])||t.some((t=>zt[n].includes(t))))&&(e=n)})),e}(r),d=a(a({},function(t){let e=[],i=null;return t.forEach((t=>{const n=function(t,e){const i=e.split("-"),n=i[0],s=i.slice(1).join("-");return n!==t||""===s||(a=s,~st.indexOf(a))?null:s;var a}(lt.cssPrefix,t);n?i=n:t&&e.push(t)})),{iconName:i,rest:e}}(o)),{},{prefix:Kt(c,{family:h})});return a(a(a({},d),function(t){const{values:e,family:i,canonical:n,givenPrefix:s="",styles:a={},config:r={}}=t,o=i===_,l=e.includes("fa-duotone")||e.includes("fad"),c="duotone"===r.familyDefault,h="fad"===n.prefix||"fa-duotone"===n.prefix;if(!o&&(l||c||h)&&(n.prefix="fad"),(e.includes("fa-brands")||e.includes("fab"))&&(n.prefix="fab"),!n.prefix&&Zt.includes(i)&&(Object.keys(a).find((t=>Qt.includes(t)))||r.autoFetchSvg)){const t=k.get(i).defaultShortPrefixId;n.prefix=t,n.iconName=Yt(n.prefix,n.iconName)||n.iconName}return"fa"!==n.prefix&&"fa"!==s||(n.prefix=Xt()||"fas"),n}({values:t,family:h,styles:Tt,config:lt,canonical:d,givenPrefix:n})),function(t,e,i){let{prefix:n,iconName:s}=i;if(t||!n||!s)return{prefix:n,iconName:s};const a="fa"===e?qt(s):{},r=Yt(n,s);return s=a.iconName||r||s,n=a.prefix||n,"far"!==n||Tt.far||!Tt.fas||lt.autoFetchSvg||(n="fas"),{prefix:n,iconName:s}}(i,n,d))}Ut=t=>{It=Kt(t.styleDefault,{family:lt.familyDefault})},ct.push(Ut),Wt();const Zt=w.filter((t=>t!==v||t!==_)),Qt=Object.keys(O).filter((t=>t!==v)).map((t=>Object.keys(O[t]))).flat();let te=[],ee={};const ie={},ne=Object.keys(ie);function se(t,e){for(var i=arguments.length,n=new Array(i>2?i-2:0),s=2;s<i;s++)n[s-2]=arguments[s];return(ee[t]||[]).forEach((t=>{e=t.apply(null,[e,...n])})),e}function ae(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];(ee[t]||[]).forEach((t=>{t.apply(null,i)}))}function re(){const t=arguments[0],e=Array.prototype.slice.call(arguments,1);return ie[t]?ie[t].apply(null,e):void 0}function oe(t){"fa"===t.prefix&&(t.prefix="fas");let{iconName:e}=t;const i=t.prefix||Xt();if(e)return e=Yt(i,e)||e,Ot(le.definitions,i,e)||Ot(kt.styles,i,e)}const le=new class{constructor(){this.definitions={}}add(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];const n=e.reduce(this._pullDefinitions,{});Object.keys(n).forEach((t=>{this.definitions[t]=a(a({},this.definitions[t]||{}),n[t]),Lt(t,n[t]);const e=K[v][t];e&&Lt(e,n[t]),Wt()}))}reset(){this.definitions={}}_pullDefinitions(t,e){const i=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(i).map((e=>{const{prefix:n,iconName:s,icon:a}=i[e],r=a[2];t[n]||(t[n]={}),r.length>0&&r.forEach((e=>{"string"==typeof e&&(t[n][e]=a)})),t[n][s]=a})),t}},ce={i2svg:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return m?(ae("beforeI2svg",t),re("pseudoElements2svg",t),re("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:e}=t;var i;!1===lt.autoReplaceSvg&&(lt.autoReplaceSvg=!0),lt.observeMutations=!0,i=()=>{ue({autoReplaceSvgRoot:e}),ae("watch",t)},m&&(St?setTimeout(i,0):Et.push(i))}},he={icon:t=>{if(null===t)return null;if("object"==typeof t&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Yt(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){const e=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],i=Kt(t[0]);return{prefix:i,iconName:Yt(i,e)||e}}if("string"==typeof t&&(t.indexOf("".concat(lt.cssPrefix,"-"))>-1||t.match(G))){const e=Gt(t.split(" "),{skipLookups:!0});return{prefix:e.prefix||Xt(),iconName:Yt(e.prefix,e.iconName)||e.iconName}}if("string"==typeof t){const e=Xt();return{prefix:e,iconName:Yt(e,t)||t}}}},de={noAuto:()=>{lt.autoReplaceSvg=!1,lt.observeMutations=!1,ae("noAuto")},config:lt,dom:ce,parse:he,library:le,findIconDefinition:oe,toHtml:Ct},ue=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:e=f}=t;(Object.keys(kt.styles).length>0||lt.autoFetchSvg)&&m&<.autoReplaceSvg&&de.dom.i2svg({node:e})};function fe(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((t=>Ct(t)))}}),Object.defineProperty(t,"node",{get:function(){if(!m)return;const e=f.createElement("div");return e.innerHTML=t.html,e.children}}),t}function ge(t){const{icons:{main:e,mask:i},prefix:n,iconName:s,transform:r,symbol:o,title:l,maskId:c,titleId:h,extra:d,watchable:u=!1}=t,{width:f,height:g}=i.found?i:e,p=M.includes(n),m=[lt.replacementClass,s?"".concat(lt.cssPrefix,"-").concat(s):""].filter((t=>-1===d.classes.indexOf(t))).filter((t=>""!==t||!!t)).concat(d.classes).join(" ");let b={children:[],attributes:a(a({},d.attributes),{},{"data-prefix":n,"data-icon":s,class:m,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(f," ").concat(g)})};const x=p&&!~d.classes.indexOf("fa-fw")?{width:"".concat(f/g*16*.0625,"em")}:{};u&&(b.attributes[z]=""),l&&(b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(h||ut())},children:[l]}),delete b.attributes.title);const y=a(a({},b),{},{prefix:n,iconName:s,main:e,mask:i,maskId:c,transform:r,symbol:o,styles:a(a({},x),d.styles)}),{children:v,attributes:_}=i.found&&e.found?re("generateAbstractMask",y)||{children:[],attributes:{}}:re("generateAbstractIcon",y)||{children:[],attributes:{}};return y.children=v,y.attributes=_,o?function(t){let{prefix:e,iconName:i,children:n,attributes:s,symbol:r}=t;const o=!0===r?"".concat(e,"-").concat(lt.cssPrefix,"-").concat(i):r;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:a(a({},s),{},{id:o}),children:n}]}]}(y):function(t){let{children:e,main:i,mask:n,attributes:s,styles:r,transform:o}=t;if(bt(o)&&i.found&&!n.found){const{width:t,height:e}=i,n={x:t/e/2,y:.5};s.style=mt(a(a({},r),{},{"transform-origin":"".concat(n.x+o.x/16,"em ").concat(n.y+o.y/16,"em")}))}return[{tag:"svg",attributes:s,children:e}]}(y)}function pe(t){const{content:e,width:i,height:n,transform:s,title:r,extra:o,watchable:l=!1}=t,c=a(a(a({},o.attributes),r?{title:r}:{}),{},{class:o.classes.join(" ")});l&&(c[z]="");const h=a({},o.styles);bt(s)&&(h.transform=function(t){let{transform:e,width:i=D,height:n=D,startCentered:s=!1}=t,a="";return a+=s&&b?"translate(".concat(e.x/ht-i/2,"em, ").concat(e.y/ht-n/2,"em) "):s?"translate(calc(-50% + ".concat(e.x/ht,"em), calc(-50% + ").concat(e.y/ht,"em)) "):"translate(".concat(e.x/ht,"em, ").concat(e.y/ht,"em) "),a+="scale(".concat(e.size/ht*(e.flipX?-1:1),", ").concat(e.size/ht*(e.flipY?-1:1),") "),a+="rotate(".concat(e.rotate,"deg) "),a}({transform:s,startCentered:!0,width:i,height:n}),h["-webkit-transform"]=h.transform);const d=mt(h);d.length>0&&(c.style=d);const u=[];return u.push({tag:"span",attributes:c,children:[e]}),r&&u.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),u}const{styles:me}=kt;function be(t){const e=t[0],i=t[1],[n]=t.slice(4);let s=null;return s=Array.isArray(n)?{tag:"g",attributes:{class:"".concat(lt.cssPrefix,"-").concat(et)},children:[{tag:"path",attributes:{class:"".concat(lt.cssPrefix,"-").concat(nt),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(lt.cssPrefix,"-").concat(it),fill:"currentColor",d:n[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:n}},{found:!0,width:e,height:i,icon:s}}const xe={found:!1,width:512,height:512};function ye(t,e){let i=e;return"fa"===e&&null!==lt.styleDefault&&(e=Xt()),new Promise(((n,s)=>{if("fa"===i){const i=qt(t)||{};t=i.iconName||t,e=i.prefix||e}if(t&&e&&me[e]&&me[e][t])return n(be(me[e][t]));!function(t,e){H||lt.showMissingIcons||!t||console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}(t,e),n(a(a({},xe),{},{icon:lt.showMissingIcons&&t&&re("missingIconAbstract")||{}}))}))}const ve=()=>{},_e=lt.measurePerformance&&p&&p.mark&&p.measure?p:{mark:ve,measure:ve},we='FA "6.7.2"';var ke=t=>(_e.mark("".concat(we," ").concat(t," begins")),()=>(t=>{_e.mark("".concat(we," ").concat(t," ends")),_e.measure("".concat(we," ").concat(t),"".concat(we," ").concat(t," begins"),"".concat(we," ").concat(t," ends"))})(t));const Ee=()=>{};function Me(t){return"string"==typeof(t.getAttribute?t.getAttribute(z):null)}function Se(t){return f.createElementNS("http://www.w3.org/2000/svg",t)}function Ce(t){return f.createElement(t)}function Oe(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:i=("svg"===t.tag?Se:Ce)}=e;if("string"==typeof t)return f.createTextNode(t);const n=i(t.tag);return Object.keys(t.attributes||[]).forEach((function(e){n.setAttribute(e,t.attributes[e])})),(t.children||[]).forEach((function(t){n.appendChild(Oe(t,{ceFn:i}))})),n}const Pe={replace:function(t){const e=t[0];if(e.parentNode)if(t[1].forEach((t=>{e.parentNode.insertBefore(Oe(t),e)})),null===e.getAttribute(z)&<.keepOriginalSource){let t=f.createComment(function(t){let e=" ".concat(t.outerHTML," ");return e="".concat(e,"Font Awesome fontawesome.com "),e}(e));e.parentNode.replaceChild(t,e)}else e.remove()},nest:function(t){const e=t[0],i=t[1];if(~gt(e).indexOf(lt.replacementClass))return Pe.replace(t);const n=new RegExp("".concat(lt.cssPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){const t=i[0].attributes.class.split(" ").reduce(((t,e)=>(e===lt.replacementClass||e.match(n)?t.toSvg.push(e):t.toNode.push(e),t)),{toNode:[],toSvg:[]});i[0].attributes.class=t.toSvg.join(" "),0===t.toNode.length?e.removeAttribute("class"):e.setAttribute("class",t.toNode.join(" "))}const s=i.map((t=>Ct(t))).join("\n");e.setAttribute(z,""),e.innerHTML=s}};function Ne(t){t()}function Ae(t,e){const i="function"==typeof e?e:Ee;if(0===t.length)i();else{let e=Ne;"async"===lt.mutateApproach&&(e=u.requestAnimationFrame||Ne),e((()=>{const e=!0===lt.autoReplaceSvg?Pe.replace:Pe[lt.autoReplaceSvg]||Pe.replace,n=ke("mutate");t.map(e),n(),i()}))}}let Le=!1;function Te(){Le=!0}function De(){Le=!1}let Re=null;function ze(t){if(!g)return;if(!lt.observeMutations)return;const{treeCallback:e=Ee,nodeCallback:i=Ee,pseudoElementsCallback:n=Ee,observeMutationsRoot:s=f}=t;Re=new g((t=>{if(Le)return;const s=Xt();ft(t).forEach((t=>{if("childList"===t.type&&t.addedNodes.length>0&&!Me(t.addedNodes[0])&&(lt.searchPseudoElements&&n(t.target),e(t.target)),"attributes"===t.type&&t.target.parentNode&<.searchPseudoElements&&n(t.target.parentNode),"attributes"===t.type&&Me(t.target)&&~tt.indexOf(t.attributeName))if("class"===t.attributeName&&function(t){const e=t.getAttribute?t.getAttribute(F):null,i=t.getAttribute?t.getAttribute(j):null;return e&&i}(t.target)){const{prefix:e,iconName:i}=Gt(gt(t.target));t.target.setAttribute(F,e||s),i&&t.target.setAttribute(j,i)}else(a=t.target)&&a.classList&&a.classList.contains&&a.classList.contains(lt.replacementClass)&&i(t.target);var a}))})),m&&Re.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Ie(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:i,prefix:n,rest:s}=function(t){const e=t.getAttribute("data-prefix"),i=t.getAttribute("data-icon"),n=void 0!==t.innerText?t.innerText.trim():"";let s=Gt(gt(t));return s.prefix||(s.prefix=Xt()),e&&i&&(s.prefix=e,s.iconName=i),s.iconName&&s.prefix||(s.prefix&&n.length>0&&(s.iconName=(a=s.prefix,r=t.innerText,(jt[a]||{})[r]||$t(s.prefix,Nt(t.innerText)))),!s.iconName&<.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=t.firstChild.data)),s;var a,r}(t),r=function(t){const e=ft(t.attributes).reduce(((t,e)=>("class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t)),{}),i=t.getAttribute("title"),n=t.getAttribute("data-fa-title-id");return lt.autoA11y&&(i?e["aria-labelledby"]="".concat(lt.replacementClass,"-title-").concat(n||ut()):(e["aria-hidden"]="true",e.focusable="false")),e}(t),o=se("parseNodeAttributes",{},t);let l=e.styleParser?function(t){const e=t.getAttribute("style");let i=[];return e&&(i=e.split(";").reduce(((t,e)=>{const i=e.split(":"),n=i[0],s=i.slice(1);return n&&s.length>0&&(t[n]=s.join(":").trim()),t}),{})),i}(t):[];return a({iconName:i,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:n,transform:dt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:s,styles:l,attributes:r}},o)}const{styles:Fe}=kt;function je(t){const e="nest"===lt.autoReplaceSvg?Ie(t,{styleParser:!1}):Ie(t);return~e.extra.classes.indexOf(Z)?re("generateLayersText",t,e):re("generateSvgReplacementMutation",t,e)}function Be(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!m)return Promise.resolve();const i=f.documentElement.classList,n=t=>i.add("".concat(B,"-").concat(t)),s=t=>i.remove("".concat(B,"-").concat(t)),a=lt.autoFetchSvg?[...E,...P]:y.concat(Object.keys(Fe));a.includes("fa")||a.push("fa");const r=[".".concat(Z,":not([").concat(z,"])")].concat(a.map((t=>".".concat(t,":not([").concat(z,"])")))).join(", ");if(0===r.length)return Promise.resolve();let o=[];try{o=ft(t.querySelectorAll(r))}catch(t){}if(!(o.length>0))return Promise.resolve();n("pending"),s("complete");const l=ke("onTree"),c=o.reduce(((t,e)=>{try{const i=je(e);i&&t.push(i)}catch(t){H||"MissingIcon"===t.name&&console.error(t)}return t}),[]);return new Promise(((t,i)=>{Promise.all(c).then((i=>{Ae(i,(()=>{n("active"),n("complete"),s("pending"),"function"==typeof e&&e(),l(),t()}))})).catch((t=>{l(),i(t)}))}))}function Ve(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;je(t).then((t=>{t&&Ae([t],e)}))}const He=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:i=dt,symbol:n=!1,mask:s=null,maskId:r=null,title:o=null,titleId:l=null,classes:c=[],attributes:h={},styles:d={}}=e;if(!t)return;const{prefix:u,iconName:f,icon:g}=t;return fe(a({type:"icon"},t),(()=>(ae("beforeDOMElementCreation",{iconDefinition:t,params:e}),lt.autoA11y&&(o?h["aria-labelledby"]="".concat(lt.replacementClass,"-title-").concat(l||ut()):(h["aria-hidden"]="true",h.focusable="false")),ge({icons:{main:be(g),mask:s?be(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:u,iconName:f,transform:a(a({},dt),i),symbol:n,title:o,maskId:r,titleId:l,extra:{attributes:h,styles:d,classes:c}}))))};var We={mixout(){return{icon:(t=He,function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(e||{}).icon?e:oe(e||{});let{mask:s}=i;return s&&(s=(s||{}).icon?s:oe(s||{})),t(n,a(a({},i),{},{mask:s}))})};var t},hooks:()=>({mutationObserverCallbacks:t=>(t.treeCallback=Be,t.nodeCallback=Ve,t)}),provides(t){t.i2svg=function(t){const{node:e=f,callback:i=()=>{}}=t;return Be(e,i)},t.generateSvgReplacementMutation=function(t,e){const{iconName:i,title:n,titleId:s,prefix:a,transform:r,symbol:o,mask:l,maskId:c,extra:h}=e;return new Promise(((e,d)=>{Promise.all([ye(i,a),l.iconName?ye(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((l=>{let[d,u]=l;e([t,ge({icons:{main:d,mask:u},prefix:a,iconName:i,transform:r,symbol:o,maskId:c,title:n,titleId:s,extra:h,watchable:!0})])})).catch(d)}))},t.generateAbstractIcon=function(t){let{children:e,attributes:i,main:n,transform:s,styles:a}=t;const r=mt(a);let o;return r.length>0&&(i.style=r),bt(s)&&(o=re("generateAbstractTransformGrouping",{main:n,transform:s,containerWidth:n.width,iconWidth:n.width})),e.push(o||n.icon),{children:e,attributes:i}}}},Ue={mixout:()=>({layer(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:i=[]}=e;return fe({type:"layer"},(()=>{ae("beforeDOMElementCreation",{assembler:t,params:e});let n=[];return t((t=>{Array.isArray(t)?t.map((t=>{n=n.concat(t.abstract)})):n=n.concat(t.abstract)})),[{tag:"span",attributes:{class:["".concat(lt.cssPrefix,"-layers"),...i].join(" ")},children:n}]}))}})},$e={mixout:()=>({counter(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:i=null,classes:n=[],attributes:s={},styles:r={}}=e;return fe({type:"counter",content:t},(()=>(ae("beforeDOMElementCreation",{content:t,params:e}),function(t){const{content:e,title:i,extra:n}=t,s=a(a(a({},n.attributes),i?{title:i}:{}),{},{class:n.classes.join(" ")}),r=mt(n.styles);r.length>0&&(s.style=r);const o=[];return o.push({tag:"span",attributes:s,children:[e]}),i&&o.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),o}({content:t.toString(),title:i,extra:{attributes:s,styles:r,classes:["".concat(lt.cssPrefix,"-layers-counter"),...n]}}))))}})},Ye={mixout:()=>({text(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:i=dt,title:n=null,classes:s=[],attributes:r={},styles:o={}}=e;return fe({type:"text",content:t},(()=>(ae("beforeDOMElementCreation",{content:t,params:e}),pe({content:t,transform:a(a({},dt),i),title:n,extra:{attributes:r,styles:o,classes:["".concat(lt.cssPrefix,"-layers-text"),...s]}}))))}}),provides(t){t.generateLayersText=function(t,e){const{title:i,transform:n,extra:s}=e;let a=null,r=null;if(b){const e=parseInt(getComputedStyle(t).fontSize,10),i=t.getBoundingClientRect();a=i.width/e,r=i.height/e}return lt.autoA11y&&!i&&(s.attributes["aria-hidden"]="true"),Promise.resolve([t,pe({content:t.innerHTML,width:a,height:r,transform:n,title:i,extra:s,watchable:!0})])}}};const qe=new RegExp('"',"ug"),Xe=[1105920,1112319],Ke=a(a(a(a({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),Je=Object.keys(Ke).reduce(((t,e)=>(t[e.toLowerCase()]=Ke[e],t)),{}),Ge=Object.keys(Je).reduce(((t,e)=>{const i=Je[e];return t[e]=i[900]||[...Object.entries(i)][0][1],t}),{});function Ze(t,e){const i="".concat("data-fa-pseudo-element-pending").concat(e.replace(":","-"));return new Promise(((n,s)=>{if(null!==t.getAttribute(i))return n();const r=ft(t.children).filter((t=>t.getAttribute(I)===e))[0],o=u.getComputedStyle(t,e),l=o.getPropertyValue("font-family"),c=l.match(Q),h=o.getPropertyValue("font-weight"),d=o.getPropertyValue("content");if(r&&!c)return t.removeChild(r),n();if(c&&"none"!==d&&""!==d){const d=o.getPropertyValue("content");let u=function(t,e){const i=t.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(e),s=isNaN(n)?"normal":n;return(Je[i]||{})[s]||Ge[i]}(l,h);const{value:g,isSecondary:p}=function(t){const e=t.replace(qe,""),i=function(t){const e=t.length;let i,n=t.charCodeAt(0);return n>=55296&&n<=56319&&e>1&&(i=t.charCodeAt(1),i>=56320&&i<=57343)?1024*(n-55296)+i-56320+65536:n}(e),n=i>=Xe[0]&&i<=Xe[1],s=2===e.length&&e[0]===e[1];return{value:Nt(s?e[0]:e),isSecondary:n||s}}(d),m=c[0].startsWith("FontAwesome");let b=$t(u,g),x=b;if(m){const t=function(t){const e=Vt[t],i=$t("fas",t);return e||(i?{prefix:"fas",iconName:i}:null)||{prefix:null,iconName:null}}(g);t.iconName&&t.prefix&&(b=t.iconName,u=t.prefix)}if(!b||p||r&&r.getAttribute(F)===u&&r.getAttribute(j)===x)n();else{t.setAttribute(i,x),r&&t.removeChild(r);const o={iconName:null,title:null,titleId:null,prefix:null,transform:dt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},{extra:l}=o;l.attributes[I]=e,ye(b,u).then((s=>{const r=ge(a(a({},o),{},{icons:{main:s,mask:{prefix:null,iconName:null,rest:[]}},prefix:u,iconName:x,extra:l,watchable:!0})),c=f.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===e?t.insertBefore(c,t.firstChild):t.appendChild(c),c.outerHTML=r.map((t=>Ct(t))).join("\n"),t.removeAttribute(i),n()})).catch(s)}}else n()}))}function Qe(t){return Promise.all([Ze(t,"::before"),Ze(t,"::after")])}function ti(t){return!(t.parentNode===document.head||~V.indexOf(t.tagName.toUpperCase())||t.getAttribute(I)||t.parentNode&&"svg"===t.parentNode.tagName)}function ei(t){if(m)return new Promise(((e,i)=>{const n=ft(t.querySelectorAll("*")).filter(ti).map(Qe),s=ke("searchPseudoElements");Te(),Promise.all(n).then((()=>{s(),De(),e()})).catch((()=>{s(),De(),i()}))}))}var ii={hooks:()=>({mutationObserverCallbacks:t=>(t.pseudoElementsCallback=ei,t)}),provides(t){t.pseudoElements2svg=function(t){const{node:e=f}=t;lt.searchPseudoElements&&ei(e)}}};let ni=!1;var si={mixout:()=>({dom:{unwatch(){Te(),ni=!0}}}),hooks:()=>({bootstrap(){ze(se("mutationObserverCallbacks",{}))},noAuto(){Re&&Re.disconnect()},watch(t){const{observeMutationsRoot:e}=t;ni?De():ze(se("mutationObserverCallbacks",{observeMutationsRoot:e}))}})};const ai=t=>t.toLowerCase().split(" ").reduce(((t,e)=>{const i=e.toLowerCase().split("-"),n=i[0];let s=i.slice(1).join("-");if(n&&"h"===s)return t.flipX=!0,t;if(n&&"v"===s)return t.flipY=!0,t;if(s=parseFloat(s),isNaN(s))return t;switch(n){case"grow":t.size=t.size+s;break;case"shrink":t.size=t.size-s;break;case"left":t.x=t.x-s;break;case"right":t.x=t.x+s;break;case"up":t.y=t.y-s;break;case"down":t.y=t.y+s;break;case"rotate":t.rotate=t.rotate+s}return t}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0});var ri={mixout:()=>({parse:{transform:t=>ai(t)}}),hooks:()=>({parseNodeAttributes(t,e){const i=e.getAttribute("data-fa-transform");return i&&(t.transform=ai(i)),t}}),provides(t){t.generateAbstractTransformGrouping=function(t){let{main:e,transform:i,containerWidth:n,iconWidth:s}=t;const r={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*i.x,", ").concat(32*i.y,") "),l="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),c="rotate(".concat(i.rotate," 0 0)"),h={outer:r,inner:{transform:"".concat(o," ").concat(l," ").concat(c)},path:{transform:"translate(".concat(s/2*-1," -256)")}};return{tag:"g",attributes:a({},h.outer),children:[{tag:"g",attributes:a({},h.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:a(a({},e.icon.attributes),h.path)}]}]}}}};const oi={x:0,y:0,width:"100%",height:"100%"};function li(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}var ci={hooks:()=>({parseNodeAttributes(t,e){const i=e.getAttribute("data-fa-mask"),n=i?Gt(i.split(" ").map((t=>t.trim()))):{prefix:null,iconName:null,rest:[]};return n.prefix||(n.prefix=Xt()),t.mask=n,t.maskId=e.getAttribute("data-fa-mask-id"),t}}),provides(t){t.generateAbstractMask=function(t){let{children:e,attributes:i,main:n,mask:s,maskId:r,transform:o}=t;const{width:l,icon:c}=n,{width:h,icon:d}=s,u=function(t){let{transform:e,containerWidth:i,iconWidth:n}=t;const s={transform:"translate(".concat(i/2," 256)")},a="translate(".concat(32*e.x,", ").concat(32*e.y,") "),r="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),o="rotate(".concat(e.rotate," 0 0)");return{outer:s,inner:{transform:"".concat(a," ").concat(r," ").concat(o)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:o,containerWidth:h,iconWidth:l}),f={tag:"rect",attributes:a(a({},oi),{},{fill:"white"})},g=c.children?{children:c.children.map(li)}:{},p={tag:"g",attributes:a({},u.inner),children:[li(a({tag:c.tag,attributes:a(a({},c.attributes),u.path)},g))]},m={tag:"g",attributes:a({},u.outer),children:[p]},b="mask-".concat(r||ut()),x="clip-".concat(r||ut()),y={tag:"mask",attributes:a(a({},oi),{},{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,m]},v={tag:"defs",children:[{tag:"clipPath",attributes:{id:x},children:(_=d,"g"===_.tag?_.children:[_])},y]};var _;return e.push(v,{tag:"rect",attributes:a({fill:"currentColor","clip-path":"url(#".concat(x,")"),mask:"url(#".concat(b,")")},oi)}),{children:e,attributes:i}}}},hi={provides(t){let e=!1;u.matchMedia&&(e=u.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){const t=[],i={fill:"currentColor"},n={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};t.push({tag:"path",attributes:a(a({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const s=a(a({},n),{},{attributeName:"opacity"}),r={tag:"circle",attributes:a(a({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||r.children.push({tag:"animate",attributes:a(a({},n),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:a(a({},s),{},{values:"1;0;1;1;0;1;"})}),t.push(r),t.push({tag:"path",attributes:a(a({},i),{},{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:e?[]:[{tag:"animate",attributes:a(a({},s),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:a(a({},i),{},{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:a(a({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}};!function(t,e){let{mixoutsTo:i}=e;te=t,ee={},Object.keys(ie).forEach((t=>{-1===ne.indexOf(t)&&delete ie[t]})),te.forEach((t=>{const e=t.mixout?t.mixout():{};if(Object.keys(e).forEach((t=>{"function"==typeof e[t]&&(i[t]=e[t]),"object"==typeof e[t]&&Object.keys(e[t]).forEach((n=>{i[t]||(i[t]={}),i[t][n]=e[t][n]}))})),t.hooks){const e=t.hooks();Object.keys(e).forEach((t=>{ee[t]||(ee[t]=[]),ee[t].push(e[t])}))}t.provides&&t.provides(ie)}))}([_t,We,Ue,$e,Ye,ii,si,ri,ci,hi,{hooks:()=>({parseNodeAttributes(t,e){const i=e.getAttribute("data-fa-symbol"),n=null!==i&&(""===i||i);return t.symbol=n,t}})}],{mixoutsTo:de});const di=de.parse,ui=de.icon;var fi=i(5556),gi=i.n(fi),pi=i(1609),mi=i.n(pi);function bi(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function xi(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?bi(Object(i),!0).forEach((function(e){vi(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):bi(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function yi(t){return yi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yi(t)}function vi(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function _i(t){return function(t){if(Array.isArray(t))return wi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return wi(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?wi(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wi(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function ki(t){return e=t,(e-=0)==e?t:(t=t.replace(/[\-_\s]+(.)?/g,(function(t,e){return e?e.toUpperCase():""}))).substr(0,1).toLowerCase()+t.substr(1);var e}var Ei=["style"],Mi=!1;try{Mi=!0}catch(t){}function Si(t){return t&&"object"===yi(t)&&t.prefix&&t.iconName&&t.icon?t:di.icon?di.icon(t):null===t?null:t&&"object"===yi(t)&&t.prefix&&t.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:"fas",iconName:t}:void 0}function Ci(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?vi({},t,e):{}}var Oi={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},Pi=mi().forwardRef((function(t,e){var i=xi(xi({},Oi),t),n=i.icon,s=i.mask,a=i.symbol,r=i.className,o=i.title,l=i.titleId,c=i.maskId,h=Si(n),d=Ci("classes",[].concat(_i(function(t){var e,i=t.beat,n=t.fade,s=t.beatFade,a=t.bounce,r=t.shake,o=t.flash,l=t.spin,c=t.spinPulse,h=t.spinReverse,d=t.pulse,u=t.fixedWidth,f=t.inverse,g=t.border,p=t.listItem,m=t.flip,b=t.size,x=t.rotation,y=t.pull,v=(vi(e={"fa-beat":i,"fa-fade":n,"fa-beat-fade":s,"fa-bounce":a,"fa-shake":r,"fa-flash":o,"fa-spin":l,"fa-spin-reverse":h,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":u,"fa-inverse":f,"fa-border":g,"fa-li":p,"fa-flip":!0===m,"fa-flip-horizontal":"horizontal"===m||"both"===m,"fa-flip-vertical":"vertical"===m||"both"===m},"fa-".concat(b),null!=b),vi(e,"fa-rotate-".concat(x),null!=x&&0!==x),vi(e,"fa-pull-".concat(y),null!=y),vi(e,"fa-swap-opacity",t.swapOpacity),e);return Object.keys(v).map((function(t){return v[t]?t:null})).filter((function(t){return t}))}(i)),_i((r||"").split(" ")))),u=Ci("transform","string"==typeof i.transform?di.transform(i.transform):i.transform),f=Ci("mask",Si(s)),g=ui(h,xi(xi(xi(xi({},d),u),f),{},{symbol:a,title:o,titleId:l,maskId:c}));if(!g)return function(){var t;!Mi&&console&&"function"==typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find icon",h),null;var p=g.abstract,m={ref:e};return Object.keys(i).forEach((function(t){Oi.hasOwnProperty(t)||(m[t]=i[t])})),Ni(p[0],m)}));Pi.displayName="FontAwesomeIcon",Pi.propTypes={beat:gi().bool,border:gi().bool,beatFade:gi().bool,bounce:gi().bool,className:gi().string,fade:gi().bool,flash:gi().bool,mask:gi().oneOfType([gi().object,gi().array,gi().string]),maskId:gi().string,fixedWidth:gi().bool,inverse:gi().bool,flip:gi().oneOf([!0,!1,"horizontal","vertical","both"]),icon:gi().oneOfType([gi().object,gi().array,gi().string]),listItem:gi().bool,pull:gi().oneOf(["right","left"]),pulse:gi().bool,rotation:gi().oneOf([0,90,180,270]),shake:gi().bool,size:gi().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:gi().bool,spinPulse:gi().bool,spinReverse:gi().bool,symbol:gi().oneOfType([gi().bool,gi().string]),title:gi().string,titleId:gi().string,transform:gi().oneOfType([gi().string,gi().object]),swapOpacity:gi().bool};var Ni=function t(e,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof i)return i;var s=(i.children||[]).map((function(i){return t(e,i)})),a=Object.keys(i.attributes||{}).reduce((function(t,e){var n=i.attributes[e];switch(e){case"class":t.attrs.className=n,delete i.attributes.class;break;case"style":t.attrs.style=n.split(";").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var i,n=e.indexOf(":"),s=ki(e.slice(0,n)),a=e.slice(n+1).trim();return s.startsWith("webkit")?t[(i=s,i.charAt(0).toUpperCase()+i.slice(1))]=a:t[s]=a,t}),{});break;default:0===e.indexOf("aria-")||0===e.indexOf("data-")?t.attrs[e.toLowerCase()]=n:t.attrs[ki(e)]=n}return t}),{attrs:{}}),r=n.style,o=void 0===r?{}:r,l=function(t,e){if(null==t)return{};var i,n,s=function(t,e){if(null==t)return{};var i,n,s={},a=Object.keys(t);for(n=0;n<a.length;n++)i=a[n],e.indexOf(i)>=0||(s[i]=t[i]);return s}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n<a.length;n++)i=a[n],e.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(s[i]=t[i])}return s}(n,Ei);return a.attrs.style=xi(xi({},a.attrs.style),o),e.apply(void 0,[i.tag,xi(xi({},a.attrs),l)].concat(_i(s)))}.bind(null,mi().createElement)},2694:(t,e,i)=>{"use strict";var n=i(6925);function s(){}function a(){}a.resetWarningCache=s,t.exports=function(){function t(t,e,i,s,a,r){if(r!==n){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function e(){return t}t.isRequired=t;var i={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:a,resetWarningCache:s};return i.PropTypes=i,i}},5556:(t,e,i)=>{t.exports=i(2694)()},6925:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5338:(t,e,i)=>{"use strict";var n=i(5795);e.H=n.createRoot,n.hydrateRoot},6801:function(t,e,i){"use strict";var n=this&&this.__rest||function(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(t);s<n.length;s++)e.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(i[n[s]]=t[n[s]])}return i},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.defaultProps=void 0;const a=s(i(1609)),r=s(i(1870));e.defaultProps=Object.assign(Object.assign({},r.default.defaultProps),{stickyClassName:"sticky",wrapperClassName:"",stickyStyle:{}}),e.default=function(t){const i=Object.assign(Object.assign({},e.defaultProps),t),{mode:s,onFixedToggle:o,hideOnBoundaryHit:l,offsetTransforms:c,disabled:h,boundaryElement:d,scrollElement:u,bottomOffset:f,topOffset:g,positionRecheckInterval:p,children:m,isIOSFixEnabled:b,dontUpdateHolderHeightWhenSticky:x,wrapperClassName:y,stickyClassName:v,stickyStyle:_}=i,w=n(i,["mode","onFixedToggle","hideOnBoundaryHit","offsetTransforms","disabled","boundaryElement","scrollElement","bottomOffset","topOffset","positionRecheckInterval","children","isIOSFixEnabled","dontUpdateHolderHeightWhenSticky","wrapperClassName","stickyClassName","stickyStyle"]);return a.default.createElement(r.default,{mode:s,onFixedToggle:o,hideOnBoundaryHit:l,offsetTransforms:c,disabled:h,boundaryElement:d,scrollElement:u,bottomOffset:f,topOffset:g,positionRecheckInterval:p,isIOSFixEnabled:b,dontUpdateHolderHeightWhenSticky:x},(({isFixed:t,wrapperStyles:e,wrapperRef:i,holderStyles:n,holderRef:s})=>a.default.createElement("div",Object.assign({},w,{ref:s,style:n}),a.default.createElement("div",Object.assign({},w,{className:`${y} ${t?v:""}`,style:t?Object.assign(Object.assign({},e),_):e,ref:i}),m))))}},6919:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unlisten=e.listen=void 0;const i=[],n=[];function s(t,e,s){let a=i.indexOf(t);-1===a&&(a=i.length,i.push(t),n.push(function(t){return{el:t,callbacks:{},realCallbacks:{},realListenersCnt:0}}(t))),function(t,e,i){t.callbacks[e]?-1===t.callbacks[e].indexOf(i)&&t.callbacks[e].push(i):(t.callbacks[e]=[i],t.realCallbacks[e]=i=>{for(let n=0,s=t.callbacks[e].length;n<s;n+=1)t.callbacks[e][n](i)},t.el.addEventListener(e,t.realCallbacks[e]),t.realListenersCnt+=1)}(n[a],e,s)}function a(t,e,s){const a=i.indexOf(t);if(-1===a)return;const r=n[a];!function(t,e,i){if(!t.callbacks[e])return;const n=t.callbacks[e].indexOf(i);-1!==n&&(t.callbacks[e].splice(n,1),t.callbacks[e].length>0||(t.el.removeEventListener(e,t.realCallbacks[e]),delete t.callbacks[e],delete t.realCallbacks[e],t.realListenersCnt-=1))}(r,e,s),r.realListenersCnt>0||(i.splice(a,1),n.splice(a,1))}e.listen=function(t,e,i){for(let n=0,a=e.length;n<a;n+=1)s(t,e[n],i)},e.unlisten=function(t,e,i){for(let n=0,s=e.length;n<s;n+=1)a(t,e[n],i)}},2521:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});const i={};"undefined"!=typeof document&&(i.body=document.body,i.window=window,i.document=document);const n=(()=>{if("undefined"!=typeof document&&document.body){const t=document.body;return"function"==typeof t.matches?"matches":"function"==typeof t.webkitMatchesSelector?"webkitMatchesSelector":"function"==typeof t.mozMatchesSelector?"mozMatchesSelector":"function"==typeof t.msMatchesSelector?"msMatchesSelector":"function"==typeof t.oMatchesSelector?"oMatchesSelector":null}return null})();e.default=function(t,e){if(!t)return null;if(i.hasOwnProperty(t))return i[t];if("#"===t[0])return document.getElementById(t.slice(1));if(null===n)return null;let s=e;for(;s=s.parentElement;)if(s[n](t))return s||null;return null}},2028:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){do{const e=window.getComputedStyle(t);if("none"!==e.transform||"none"!==e.webkitTransform)return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}},1744:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIntersecting=e.getRect=e.infiniteRect=void 0,e.infiniteRect={top:-1/0,bottom:1/0,height:1/0,left:-1/0,right:1/0,width:1/0},e.getRect=function(t){return t&&"getBoundingClientRect"in t&&"function"==typeof t.getBoundingClientRect?t.getBoundingClientRect():t===window||t===document?{top:0,left:0,bottom:window.innerHeight,height:window.innerHeight,width:window.innerWidth,right:window.innerWidth}:{top:0,left:0,right:0,bottom:0,width:0,height:0}},e.isIntersecting=function(t,e,i,n){const s=t.top+i,a=t.bottom+n;return s>=e.top&&s<=e.bottom||a>=e.top&&a<=e.bottom||a>=e.bottom&&s<=e.top}},1682:function(t,e,i){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.RenderPropSticky=void 0;const s=n(i(1870));e.RenderPropSticky=s.default;const a=n(i(6801));e.default=a.default},1870:function(t,e,i){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const s=i(1609),a=i(6919),r=n(i(2521)),o=n(i(2028)),l=i(1744),c=(t,e)=>{const{bottomOffset:i,hideOnBoundaryHit:n}=e,{top:s,height:a,width:r,boundaryBottom:o}=t;return n||s+a+i<o?{top:`${s}px`,width:`${r}px`,position:"fixed"}:!n&&o>0?{top:o-a-i+"px",width:`${r}px`,position:"fixed"}:{width:`${r}px`,bottom:`${i}px`,position:"absolute"}},h=(t,e)=>{const{bottomOffset:i,hideOnBoundaryHit:n}=e,{bottom:s,height:a,width:r,boundaryTop:o}=t;return n||s-a-i>o?{width:`${r}px`,top:s-a+"px",position:"fixed"}:{width:`${r}px`,top:`${i}px`,position:"absolute"}},d=(t,e,i)=>("top"===t?c:h)(i,e);class u extends s.Component{constructor(){super(...arguments),this.holderEl=null,this.wrapperEl=null,this.el=null,this.scrollEl=null,this.boundaryEl=null,this.disabled=!1,this.checkPositionIntervalId=null,this.lastMinHeight=null,this.state={isFixed:!1,wrapperStyles:void 0,holderStyles:void 0,height:0},this.holderRef=t=>{t!==this.holderEl&&(this.holderEl=t)},this.wrapperRef=t=>{t!==this.wrapperEl&&(this.wrapperEl=t,this.updateScrollEl(),this.updateBoundaryEl())},this.checkPosition=()=>{const{holderEl:t,wrapperEl:e,boundaryEl:i,scrollEl:n,disabled:s}=this;if(!n||!t||!e)return void console.error("Missing required elements:",{scrollEl:n,holderEl:t,wrapperEl:e});const{mode:a,onFixedToggle:r,offsetTransforms:c,isIOSFixEnabled:h,dontUpdateHolderHeightWhenSticky:u}=this.props;if(s)return void(this.state.isFixed&&this.setState({isFixed:!1,wrapperStyles:{}}));if(!t.getBoundingClientRect||!e.getBoundingClientRect)return;const f=t.getBoundingClientRect(),g=e.getBoundingClientRect(),p=i?(0,l.getRect)(i):l.infiniteRect,m=(0,l.getRect)(n),b=this.isFixed(f,g,p,m);let x=null;if(c&&b&&n instanceof HTMLElement){const t=(0,o.default)(n);t&&(x=(0,l.getRect)(t))}const y=this.state.isFixed&&u&&this.lastMinHeight?this.lastMinHeight:g.height;this.lastMinHeight=y;const v=h?{transform:"translateZ(0)",WebkitTransform:"translateZ(0)"}:void 0,_={isFixed:b,height:g.height,holderStyles:{minHeight:`${y}px`},wrapperStyles:b?Object.assign(Object.assign({},v),d(a,this.props,{boundaryTop:"bottom"===a?p.top:0,boundaryBottom:"top"===a?p.bottom:0,top:"top"===a?m.top-(x?x.top:0):0,bottom:"bottom"===a?m.bottom-(x?x.bottom:0):0,width:f.width,height:g.height})):v};b!==this.state.isFixed&&r&&"function"==typeof r&&r(b),((t,e)=>{const i=t.wrapperStyles,n=e.wrapperStyles;if(t.isFixed!==e.isFixed||t.height!==e.height||!i&&n||i&&!n)return!1;if(!n)return!0;for(const t in i)if(i.hasOwnProperty(t)&&i[t]!==n[t])return!1;return!0})(this.state,_)||this.setState(_)}}isFixed(t,e,i,n){const{hideOnBoundaryHit:s,bottomOffset:a,topOffset:r,mode:o}=this.props;if(this.disabled)return!1;if(s&&i&&!(0,l.isIntersecting)(i,n,r,a))return!1;const c=s?e.height+a:0;return"top"===o?t.top+r<n.top&&n.top+c<=i.bottom:t.bottom-r>n.bottom&&n.bottom-c>=i.top}updateScrollEl(){if(!this.wrapperEl)return;this.scrollEl&&((0,a.unlisten)(this.scrollEl,["scroll"],this.checkPosition),this.scrollEl=null);const{scrollElement:t}=this.props;this.scrollEl="string"==typeof t?(0,r.default)(t,this.wrapperEl):t,this.scrollEl?(0,a.listen)(this.scrollEl,["scroll"],this.checkPosition):console.error("Cannot find scrollElement "+("string"==typeof t?t:"unknown"))}updateBoundaryEl(){if(!this.wrapperEl)return;const{boundaryElement:t}=this.props;this.boundaryEl=(0,r.default)(t,this.wrapperEl),this.boundaryEl!==window&&this.boundaryEl!==document||(this.boundaryEl=null)}initialize(){const{positionRecheckInterval:t,disabled:e}=this.props;this.disabled=e,(0,a.listen)(window,["scroll","resize","pageshow","load"],this.checkPosition),this.checkPosition(),t&&(this.checkPositionIntervalId=setInterval(this.checkPosition,t))}componentDidUpdate({scrollElement:t,boundaryElement:e,disabled:i}){t===this.props.scrollElement&&null!==this.scrollEl||this.updateScrollEl(),e===this.props.boundaryElement&&null!==this.boundaryEl||this.updateBoundaryEl(),i!==this.props.disabled&&(this.disabled=this.props.disabled,this.checkPosition())}componentDidMount(){this.initialize(),null===this.wrapperEl&&console.error("Wrapper element is missing, please make sure that you have assigned refs correctly")}componentWillUnmount(){this.scrollEl&&(0,a.unlisten)(this.scrollEl,["scroll"],this.checkPosition),(0,a.unlisten)(window,["scroll","resize","pageshow","load"],this.checkPosition),this.boundaryEl=null,this.scrollEl=null,this.checkPositionIntervalId&&clearInterval(this.checkPositionIntervalId)}render(){const{holderRef:t,wrapperRef:e}=this,{isFixed:i,wrapperStyles:n,holderStyles:s}=this.state;return this.props.children({holderRef:t,wrapperRef:e,isFixed:i,wrapperStyles:n,holderStyles:s})}}u.defaultProps={mode:"top",topOffset:0,bottomOffset:0,isIOSFixEnabled:!0,offsetTransforms:!0,disabled:!1,onFixedToggle:void 0,boundaryElement:void 0,hideOnBoundaryHit:!0,scrollElement:"window",dontUpdateHolderHeightWhenSticky:!1},e.default=u},1609:t=>{"use strict";t.exports=window.React},5795:t=>{"use strict";t.exports=window.ReactDOM},7723:t=>{"use strict";t.exports=window.wp.i18n},6188:(t,e,i)=>{"use strict";i.d(e,{$Fj:()=>p,AaJ:()=>O,BwJ:()=>g,Bwz:()=>d,D6w:()=>u,DN2:()=>P,G06:()=>l,GRI:()=>j,HoF:()=>M,KuB:()=>_,LFz:()=>r,MjD:()=>z,NMo:()=>B,PJS:()=>U,QEm:()=>f,QLR:()=>F,SGM:()=>m,Vpu:()=>b,Wzs:()=>V,XkK:()=>H,_Xl:()=>y,_g1:()=>W,cbP:()=>L,ckx:()=>a,dB:()=>A,gK3:()=>w,gdJ:()=>o,hSh:()=>S,hem:()=>$,iW_:()=>N,ijD:()=>R,jPR:()=>I,jTw:()=>v,lLb:()=>T,oMq:()=>D,pCJ:()=>n,pS3:()=>E,qcK:()=>k,s0Q:()=>Y,s67:()=>c,uts:()=>h,w97:()=>s,wd3:()=>x,yLS:()=>C});const n={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304l91.4 0C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7L29.7 512C13.3 512 0 498.7 0 482.3zM625 177L497 305c-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 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},s={prefix:"fas",iconName:"table",icon:[512,512,[],"f0ce","M64 256l0-96 160 0 0 96L64 256zm0 64l160 0 0 96L64 416l0-96zm224 96l0-96 160 0 0 96-160 0zM448 256l-160 0 0-96 160 0 0 96zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},a={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},r={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z"]},o={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192l42.7 0c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0L21.3 320C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7l42.7 0C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3l-213.3 0zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352l117.3 0C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7l-330.7 0c-14.7 0-26.7-11.9-26.7-26.7z"]},l={prefix:"fas",iconName:"bookmark",icon:[384,512,[128278,61591],"f02e","M0 48V487.7C0 501.1 10.9 512 24.3 512c5 0 9.9-1.5 14-4.4L192 400 345.7 507.6c4.1 2.9 9 4.4 14 4.4c13.4 0 24.3-10.9 24.3-24.3V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48z"]},c={prefix:"fas",iconName:"chart-simple",icon:[448,512,[],"e473","M160 80c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 352c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-352zM0 272c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 160c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48L0 272zM368 96l32 0c26.5 0 48 21.5 48 48l0 288c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48z"]},h={prefix:"fas",iconName:"wand-magic-sparkles",icon:[576,512,["magic-wand-sparkles"],"e2ca","M234.7 42.7L197 56.8c-3 1.1-5 4-5 7.2s2 6.1 5 7.2l37.7 14.1L248.8 123c1.1 3 4 5 7.2 5s6.1-2 7.2-5l14.1-37.7L315 71.2c3-1.1 5-4 5-7.2s-2-6.1-5-7.2L277.3 42.7 263.2 5c-1.1-3-4-5-7.2-5s-6.1 2-7.2 5L234.7 42.7zM46.1 395.4c-18.7 18.7-18.7 49.1 0 67.9l34.6 34.6c18.7 18.7 49.1 18.7 67.9 0L529.9 116.5c18.7-18.7 18.7-49.1 0-67.9L495.3 14.1c-18.7-18.7-49.1-18.7-67.9 0L46.1 395.4zM484.6 82.6l-105 105-23.3-23.3 105-105 23.3 23.3zM7.5 117.2C3 118.9 0 123.2 0 128s3 9.1 7.5 10.8L64 160l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L128 160l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L128 96 106.8 39.5C105.1 35 100.8 32 96 32s-9.1 3-10.8 7.5L64 96 7.5 117.2zm352 256c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L416 416l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L480 416l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L480 352l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L416 352l-56.5 21.2z"]},d={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64l-185.3 0c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64l185.3 0c2.2 20.4 3.3 41.8 3.3 64zm28.8-64l123.1 0c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64l-123.1 0c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32l-116.7 0c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0l-176.6 0c6.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 0L18.6 160C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192l123.1 0c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64L8.1 320C2.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.6l176.6 0c-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 352l116.7 0zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6l116.7 0z"]},u={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 32zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 288zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},f={prefix:"fas",iconName:"headset",icon:[512,512,[],"f590","M256 48C141.1 48 48 141.1 48 256l0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40C0 114.6 114.6 0 256 0S512 114.6 512 256l0 144.1c0 48.6-39.4 88-88.1 88L313.6 488c-8.3 14.3-23.8 24-41.6 24l-32 0c-26.5 0-48-21.5-48-48s21.5-48 48-48l32 0c17.8 0 33.3 9.7 41.6 24l110.4 .1c22.1 0 40-17.9 40-40L464 256c0-114.9-93.1-208-208-208zM144 208l16 0c17.7 0 32 14.3 32 32l0 112c0 17.7-14.3 32-32 32l-16 0c-35.3 0-64-28.7-64-64l0-48c0-35.3 28.7-64 64-64zm224 0c35.3 0 64 28.7 64 64l0 48c0 35.3-28.7 64-64 64l-16 0c-17.7 0-32-14.3-32-32l0-112c0-17.7 14.3-32 32-32l16 0z"]},g={prefix:"fas",iconName:"wifi",icon:[640,512,["wifi-3","wifi-strong"],"f1eb","M54.2 202.9C123.2 136.7 216.8 96 320 96s196.8 40.7 265.8 106.9c12.8 12.2 33 11.8 45.2-.9s11.8-33-.9-45.2C549.7 79.5 440.4 32 320 32S90.3 79.5 9.8 156.7C-2.9 169-3.3 189.2 8.9 202s32.5 13.2 45.2 .9zM320 256c56.8 0 108.6 21.1 148.2 56c13.3 11.7 33.5 10.4 45.2-2.8s10.4-33.5-2.8-45.2C459.8 219.2 393 192 320 192s-139.8 27.2-190.5 72c-13.3 11.7-14.5 31.9-2.8 45.2s31.9 14.5 45.2 2.8c39.5-34.9 91.3-56 148.2-56zm64 160a64 64 0 1 0 -128 0 64 64 0 1 0 128 0z"]},p={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32l0 336c0 8.8 7.2 16 16 16l400 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L80 480c-44.2 0-80-35.8-80-80L0 64C0 46.3 14.3 32 32 32zm96 96c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 64l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 96l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},m={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 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 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},b={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160 352 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l111.5 0c0 0 0 0 0 0l.4 0c17.7 0 32-14.3 32-32l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1L16 432c0 17.7 14.3 32 32 32s32-14.3 32-32l0-35.1 17.6 17.5c0 0 0 0 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.8c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352l34.4 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L48.4 288c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]},x={prefix:"fas",iconName:"comments-dollar",icon:[640,512,[],"f653","M416 176c0 97.2-93.1 176-208 176c-38.2 0-73.9-8.7-104.7-23.9c-7.5 4-16 7.9-25.2 11.4C59.8 346.4 37.8 352 16 352c-6.9 0-13.1-4.5-15.2-11.1s.2-13.8 5.8-17.9c0 0 0 0 0 0s0 0 0 0l.2-.2c.2-.2 .6-.4 1.1-.8c1-.8 2.5-2 4.3-3.7c3.6-3.3 8.5-8.1 13.3-14.3c5.5-7 10.7-15.4 14.2-24.7C14.7 250.3 0 214.6 0 176C0 78.8 93.1 0 208 0S416 78.8 416 176zM231.5 383C348.9 372.9 448 288.3 448 176c0-5.2-.2-10.4-.6-15.5C555.1 167.1 640 243.2 640 336c0 38.6-14.7 74.3-39.6 103.4c3.5 9.4 8.7 17.7 14.2 24.7c4.8 6.2 9.7 11 13.3 14.3c1.8 1.6 3.3 2.9 4.3 3.7c.5 .4 .9 .7 1.1 .8l.2 .2s0 0 0 0s0 0 0 0c5.6 4.1 7.9 11.3 5.8 17.9c-2.1 6.6-8.3 11.1-15.2 11.1c-21.8 0-43.8-5.6-62.1-12.5c-9.2-3.5-17.8-7.4-25.2-11.4C505.9 503.3 470.2 512 432 512c-95.6 0-176.2-54.6-200.5-129zM228 72c0-11-9-20-20-20s-20 9-20 20l0 14c-7.6 1.7-15.2 4.4-22.2 8.5c-13.9 8.3-25.9 22.8-25.8 43.9c.1 20.3 12 33.1 24.7 40.7c11 6.6 24.7 10.8 35.6 14l1.7 .5c12.6 3.8 21.8 6.8 28 10.7c5.1 3.2 5.8 5.4 5.9 8.2c.1 5-1.8 8-5.9 10.5c-5 3.1-12.9 5-21.4 4.7c-11.1-.4-21.5-3.9-35.1-8.5c-2.3-.8-4.7-1.6-7.2-2.4c-10.5-3.5-21.8 2.2-25.3 12.6s2.2 21.8 12.6 25.3c1.9 .6 4 1.3 6.1 2.1c0 0 0 0 0 0s0 0 0 0c8.3 2.9 17.9 6.2 28.2 8.4l0 14.6c0 11 9 20 20 20s20-9 20-20l0-13.8c8-1.7 16-4.5 23.2-9c14.3-8.9 25.1-24.1 24.8-45c-.3-20.3-11.7-33.4-24.6-41.6c-11.5-7.2-25.9-11.6-37.1-15l-.7-.2c-12.8-3.9-21.9-6.7-28.3-10.5c-5.2-3.1-5.3-4.9-5.3-6.7c0-3.7 1.4-6.5 6.2-9.3c5.4-3.2 13.6-5.1 21.5-5c9.6 .1 20.2 2.2 31.2 5.2c10.7 2.8 21.6-3.5 24.5-14.2s-3.5-21.6-14.2-24.5c-6.5-1.7-13.7-3.4-21.1-4.7L228 72z"]},y={prefix:"fas",iconName:"puzzle-piece",icon:[512,512,[129513],"f12e","M192 104.8c0-9.2-5.8-17.3-13.2-22.8C167.2 73.3 160 61.3 160 48c0-26.5 28.7-48 64-48s64 21.5 64 48c0 13.3-7.2 25.3-18.8 34c-7.4 5.5-13.2 13.6-13.2 22.8c0 12.8 10.4 23.2 23.2 23.2l56.8 0c26.5 0 48 21.5 48 48l0 56.8c0 12.8 10.4 23.2 23.2 23.2c9.2 0 17.3-5.8 22.8-13.2c8.7-11.6 20.7-18.8 34-18.8c26.5 0 48 28.7 48 64s-21.5 64-48 64c-13.3 0-25.3-7.2-34-18.8c-5.5-7.4-13.6-13.2-22.8-13.2c-12.8 0-23.2 10.4-23.2 23.2L384 464c0 26.5-21.5 48-48 48l-56.8 0c-12.8 0-23.2-10.4-23.2-23.2c0-9.2 5.8-17.3 13.2-22.8c11.6-8.7 18.8-20.7 18.8-34c0-26.5-28.7-48-64-48s-64 21.5-64 48c0 13.3 7.2 25.3 18.8 34c7.4 5.5 13.2 13.6 13.2 22.8c0 12.8-10.4 23.2-23.2 23.2L48 512c-26.5 0-48-21.5-48-48L0 343.2C0 330.4 10.4 320 23.2 320c9.2 0 17.3 5.8 22.8 13.2C54.7 344.8 66.7 352 80 352c26.5 0 48-28.7 48-64s-21.5-64-48-64c-13.3 0-25.3 7.2-34 18.8C40.5 250.2 32.4 256 23.2 256C10.4 256 0 245.6 0 232.8L0 176c0-26.5 21.5-48 48-48l120.8 0c12.8 0 23.2-10.4 23.2-23.2z"]},v={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","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"]},_={prefix:"fas",iconName:"face-rolling-eyes",icon:[512,512,[128580,"meh-rolling-eyes"],"f5a5","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM192 368l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm32-144c0 35.3-28.7 64-64 64s-64-28.7-64-64c0-26 15.5-48.4 37.8-58.4c-3.7 5.2-5.8 11.6-5.8 18.4c0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.9-2.2-13.2-5.8-18.4C208.5 175.6 224 198 224 224zm128 64c-35.3 0-64-28.7-64-64c0-26 15.5-48.4 37.8-58.4c-3.7 5.2-5.8 11.6-5.8 18.4c0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.9-2.2-13.2-5.8-18.4C400.5 175.6 416 198 416 224c0 35.3-28.7 64-64 64z"]},w={prefix:"fas",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 400c0 44.2 35.8 80 80 80l400 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 416c-8.8 0-16-7.2-16-16L64 64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]},k={prefix:"fas",iconName:"heart",icon:[512,512,[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],"f004","M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"]},E={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.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 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},M={prefix:"fas",iconName:"face-frown",icon:[512,512,[9785,"frown"],"f119","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM159.3 388.7c-2.6 8.4-11.6 13.2-20 10.5s-13.2-11.6-10.5-20C145.2 326.1 196.3 288 256 288s110.8 38.1 127.3 91.3c2.6 8.4-2.1 17.4-10.5 20s-17.4-2.1-20-10.5C340.5 349.4 302.1 320 256 320s-84.5 29.4-96.7 68.7zM144.4 208a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},S={prefix:"fas",iconName:"floppy-disk",icon:[448,512,[128190,128426,"save"],"f0c7","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-242.7c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32L64 32zm0 96c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32L96 224c-17.7 0-32-14.3-32-32l0-64zM224 288a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"]},C={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z"]},O={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},P={prefix:"fas",iconName:"comment",icon:[512,512,[128489,61669],"f075","M512 240c0 114.9-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6C73.6 471.1 44.7 480 16 480c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4c0 0 0 0 0 0s0 0 0 0s0 0 0 0c0 0 0 0 0 0l.3-.3c.3-.3 .7-.7 1.3-1.4c1.1-1.2 2.8-3.1 4.9-5.7c4.1-5 9.6-12.4 15.2-21.6c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208z"]},N={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},A={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},L={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},T={prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M463.5 224l8.5 0c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8l119.5 0z"]},D={prefix:"fas",iconName:"sun",icon:[512,512,[9728],"f185","M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]},R={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},z={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},I={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"]},F={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},j={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","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"]},B={prefix:"fas",iconName:"arrow-trend-up",icon:[576,512,[],"e098","M384 160c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0c17.7 0 32 14.3 32 32l0 160c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-82.7L342.6 374.6c-12.5 12.5-32.8 12.5-45.3 0L192 269.3 54.6 406.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160c12.5-12.5 32.8-12.5 45.3 0L320 306.7 466.7 160 384 160z"]},V={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},H={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},W={prefix:"fas",iconName:"gears",icon:[640,512,["cogs"],"f085","M308.5 135.3c7.1-6.3 9.9-16.2 6.2-25c-2.3-5.3-4.8-10.5-7.6-15.5L304 89.4c-3-5-6.3-9.9-9.8-14.6c-5.7-7.6-15.7-10.1-24.7-7.1l-28.2 9.3c-10.7-8.8-23-16-36.2-20.9L199 27.1c-1.9-9.3-9.1-16.7-18.5-17.8C173.9 8.4 167.2 8 160.4 8l-.7 0c-6.8 0-13.5 .4-20.1 1.2c-9.4 1.1-16.6 8.6-18.5 17.8L115 56.1c-13.3 5-25.5 12.1-36.2 20.9L50.5 67.8c-9-3-19-.5-24.7 7.1c-3.5 4.7-6.8 9.6-9.9 14.6l-3 5.3c-2.8 5-5.3 10.2-7.6 15.6c-3.7 8.7-.9 18.6 6.2 25l22.2 19.8C32.6 161.9 32 168.9 32 176s.6 14.1 1.7 20.9L11.5 216.7c-7.1 6.3-9.9 16.2-6.2 25c2.3 5.3 4.8 10.5 7.6 15.6l3 5.2c3 5.1 6.3 9.9 9.9 14.6c5.7 7.6 15.7 10.1 24.7 7.1l28.2-9.3c10.7 8.8 23 16 36.2 20.9l6.1 29.1c1.9 9.3 9.1 16.7 18.5 17.8c6.7 .8 13.5 1.2 20.4 1.2s13.7-.4 20.4-1.2c9.4-1.1 16.6-8.6 18.5-17.8l6.1-29.1c13.3-5 25.5-12.1 36.2-20.9l28.2 9.3c9 3 19 .5 24.7-7.1c3.5-4.7 6.8-9.5 9.8-14.6l3.1-5.4c2.8-5 5.3-10.2 7.6-15.5c3.7-8.7 .9-18.6-6.2-25l-22.2-19.8c1.1-6.8 1.7-13.8 1.7-20.9s-.6-14.1-1.7-20.9l22.2-19.8zM112 176a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM504.7 500.5c6.3 7.1 16.2 9.9 25 6.2c5.3-2.3 10.5-4.8 15.5-7.6l5.4-3.1c5-3 9.9-6.3 14.6-9.8c7.6-5.7 10.1-15.7 7.1-24.7l-9.3-28.2c8.8-10.7 16-23 20.9-36.2l29.1-6.1c9.3-1.9 16.7-9.1 17.8-18.5c.8-6.7 1.2-13.5 1.2-20.4s-.4-13.7-1.2-20.4c-1.1-9.4-8.6-16.6-17.8-18.5L583.9 307c-5-13.3-12.1-25.5-20.9-36.2l9.3-28.2c3-9 .5-19-7.1-24.7c-4.7-3.5-9.6-6.8-14.6-9.9l-5.3-3c-5-2.8-10.2-5.3-15.6-7.6c-8.7-3.7-18.6-.9-25 6.2l-19.8 22.2c-6.8-1.1-13.8-1.7-20.9-1.7s-14.1 .6-20.9 1.7l-19.8-22.2c-6.3-7.1-16.2-9.9-25-6.2c-5.3 2.3-10.5 4.8-15.6 7.6l-5.2 3c-5.1 3-9.9 6.3-14.6 9.9c-7.6 5.7-10.1 15.7-7.1 24.7l9.3 28.2c-8.8 10.7-16 23-20.9 36.2L315.1 313c-9.3 1.9-16.7 9.1-17.8 18.5c-.8 6.7-1.2 13.5-1.2 20.4s.4 13.7 1.2 20.4c1.1 9.4 8.6 16.6 17.8 18.5l29.1 6.1c5 13.3 12.1 25.5 20.9 36.2l-9.3 28.2c-3 9-.5 19 7.1 24.7c4.7 3.5 9.5 6.8 14.6 9.8l5.4 3.1c5 2.8 10.2 5.3 15.5 7.6c8.7 3.7 18.6 .9 25-6.2l19.8-22.2c6.8 1.1 13.8 1.7 20.9 1.7s14.1-.6 20.9-1.7l19.8 22.2zM464 304a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},U={prefix:"fas",iconName:"moon",icon:[384,512,[127769,9214],"f186","M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"]},$={prefix:"fas",iconName:"database",icon:[448,512,[],"f1c0","M448 80l0 48c0 44.2-100.3 80-224 80S0 172.2 0 128L0 80C0 35.8 100.3 0 224 0S448 35.8 448 80zM393.2 214.7c20.8-7.4 39.9-16.9 54.8-28.6L448 288c0 44.2-100.3 80-224 80S0 332.2 0 288L0 186.1c14.9 11.8 34 21.2 54.8 28.6C99.7 230.7 159.5 240 224 240s124.3-9.3 169.2-25.3zM0 346.1c14.9 11.8 34 21.2 54.8 28.6C99.7 390.7 159.5 400 224 400s124.3-9.3 169.2-25.3c20.8-7.4 39.9-16.9 54.8-28.6l0 85.9c0 44.2-100.3 80-224 80S0 476.2 0 432l0-85.9z"]},Y={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]}},1083:(t,e,i)=>{"use strict";i.d(e,{A:()=>ye});var n={};function s(t,e){return function(){return t.apply(e,arguments)}}i.r(n),i.d(n,{hasBrowserEnv:()=>ft,hasStandardBrowserEnv:()=>pt,hasStandardBrowserWebWorkerEnv:()=>mt,navigator:()=>gt,origin:()=>bt});const{toString:a}=Object.prototype,{getPrototypeOf:r}=Object,o=(l=Object.create(null),t=>{const e=a.call(t);return l[e]||(l[e]=e.slice(8,-1).toLowerCase())});var l;const c=t=>(t=t.toLowerCase(),e=>o(e)===t),h=t=>e=>typeof e===t,{isArray:d}=Array,u=h("undefined"),f=c("ArrayBuffer"),g=h("string"),p=h("function"),m=h("number"),b=t=>null!==t&&"object"==typeof t,x=t=>{if("object"!==o(t))return!1;const e=r(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},y=c("Date"),v=c("File"),_=c("Blob"),w=c("FileList"),k=c("URLSearchParams"),[E,M,S,C]=["ReadableStream","Request","Response","Headers"].map(c);function O(t,e,{allOwnKeys:i=!1}={}){if(null==t)return;let n,s;if("object"!=typeof t&&(t=[t]),d(t))for(n=0,s=t.length;n<s;n++)e.call(null,t[n],n,t);else{const s=i?Object.getOwnPropertyNames(t):Object.keys(t),a=s.length;let r;for(n=0;n<a;n++)r=s[n],e.call(null,t[r],r,t)}}function P(t,e){e=e.toLowerCase();const i=Object.keys(t);let n,s=i.length;for(;s-- >0;)if(n=i[s],e===n.toLowerCase())return n;return null}const N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,A=t=>!u(t)&&t!==N,L=(T="undefined"!=typeof Uint8Array&&r(Uint8Array),t=>T&&t instanceof T);var T;const D=c("HTMLFormElement"),R=(({hasOwnProperty:t})=>(e,i)=>t.call(e,i))(Object.prototype),z=c("RegExp"),I=(t,e)=>{const i=Object.getOwnPropertyDescriptors(t),n={};O(i,((i,s)=>{let a;!1!==(a=e(i,s,t))&&(n[s]=a||i)})),Object.defineProperties(t,n)},F="abcdefghijklmnopqrstuvwxyz",j="0123456789",B={DIGIT:j,ALPHA:F,ALPHA_DIGIT:F+F.toUpperCase()+j},V=c("AsyncFunction"),H=(W="function"==typeof setImmediate,U=p(N.postMessage),W?setImmediate:U?($=`axios@${Math.random()}`,Y=[],N.addEventListener("message",(({source:t,data:e})=>{t===N&&e===$&&Y.length&&Y.shift()()}),!1),t=>{Y.push(t),N.postMessage($,"*")}):t=>setTimeout(t));var W,U,$,Y;const q="undefined"!=typeof queueMicrotask?queueMicrotask.bind(N):"undefined"!=typeof process&&process.nextTick||H,X={isArray:d,isArrayBuffer:f,isBuffer:function(t){return null!==t&&!u(t)&&null!==t.constructor&&!u(t.constructor)&&p(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||p(t.append)&&("formdata"===(e=o(t))||"object"===e&&p(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&f(t.buffer),e},isString:g,isNumber:m,isBoolean:t=>!0===t||!1===t,isObject:b,isPlainObject:x,isReadableStream:E,isRequest:M,isResponse:S,isHeaders:C,isUndefined:u,isDate:y,isFile:v,isBlob:_,isRegExp:z,isFunction:p,isStream:t=>b(t)&&p(t.pipe),isURLSearchParams:k,isTypedArray:L,isFileList:w,forEach:O,merge:function t(){const{caseless:e}=A(this)&&this||{},i={},n=(n,s)=>{const a=e&&P(i,s)||s;x(i[a])&&x(n)?i[a]=t(i[a],n):x(n)?i[a]=t({},n):d(n)?i[a]=n.slice():i[a]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&O(arguments[t],n);return i},extend:(t,e,i,{allOwnKeys:n}={})=>(O(e,((e,n)=>{i&&p(e)?t[n]=s(e,i):t[n]=e}),{allOwnKeys:n}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,i,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),i&&Object.assign(t.prototype,i)},toFlatObject:(t,e,i,n)=>{let s,a,o;const l={};if(e=e||{},null==t)return e;do{for(s=Object.getOwnPropertyNames(t),a=s.length;a-- >0;)o=s[a],n&&!n(o,t,e)||l[o]||(e[o]=t[o],l[o]=!0);t=!1!==i&&r(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e},kindOf:o,kindOfTest:c,endsWith:(t,e,i)=>{t=String(t),(void 0===i||i>t.length)&&(i=t.length),i-=e.length;const n=t.indexOf(e,i);return-1!==n&&n===i},toArray:t=>{if(!t)return null;if(d(t))return t;let e=t.length;if(!m(e))return null;const i=new Array(e);for(;e-- >0;)i[e]=t[e];return i},forEachEntry:(t,e)=>{const i=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=i.next())&&!n.done;){const i=n.value;e.call(t,i[0],i[1])}},matchAll:(t,e)=>{let i;const n=[];for(;null!==(i=t.exec(e));)n.push(i);return n},isHTMLForm:D,hasOwnProperty:R,hasOwnProp:R,reduceDescriptors:I,freezeMethods:t=>{I(t,((e,i)=>{if(p(t)&&-1!==["arguments","caller","callee"].indexOf(i))return!1;const n=t[i];p(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")}))}))},toObjectSet:(t,e)=>{const i={},n=t=>{t.forEach((t=>{i[t]=!0}))};return d(t)?n(t):n(String(t).split(e)),i},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,i){return e.toUpperCase()+i})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:P,global:N,isContextDefined:A,ALPHABET:B,generateString:(t=16,e=B.ALPHA_DIGIT)=>{let i="";const{length:n}=e;for(;t--;)i+=e[Math.random()*n|0];return i},isSpecCompliantForm:function(t){return!!(t&&p(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),i=(t,n)=>{if(b(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const s=d(t)?[]:{};return O(t,((t,e)=>{const a=i(t,n+1);!u(a)&&(s[e]=a)})),e[n]=void 0,s}}return t};return i(t,0)},isAsyncFn:V,isThenable:t=>t&&(b(t)||p(t))&&p(t.then)&&p(t.catch),setImmediate:H,asap:q};function K(t,e,i,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),n&&(this.request=n),s&&(this.response=s,this.status=s.status?s.status:null)}X.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}});const J=K.prototype,G={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{G[t]={value:t}})),Object.defineProperties(K,G),Object.defineProperty(J,"isAxiosError",{value:!0}),K.from=(t,e,i,n,s,a)=>{const r=Object.create(J);return X.toFlatObject(t,r,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),K.call(r,t.message,e,i,n,s),r.cause=t,r.name=t.name,a&&Object.assign(r,a),r};const Z=K;function Q(t){return X.isPlainObject(t)||X.isArray(t)}function tt(t){return X.endsWith(t,"[]")?t.slice(0,-2):t}function et(t,e,i){return t?t.concat(e).map((function(t,e){return t=tt(t),!i&&e?"["+t+"]":t})).join(i?".":""):e}const it=X.toFlatObject(X,{},null,(function(t){return/^is[A-Z]/.test(t)})),nt=function(t,e,i){if(!X.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(i=X.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!X.isUndefined(e[t])}))).metaTokens,s=i.visitor||c,a=i.dots,r=i.indexes,o=(i.Blob||"undefined"!=typeof Blob&&Blob)&&X.isSpecCompliantForm(e);if(!X.isFunction(s))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(X.isDate(t))return t.toISOString();if(!o&&X.isBlob(t))throw new Z("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(t)||X.isTypedArray(t)?o&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,i,s){let o=t;if(t&&!s&&"object"==typeof t)if(X.endsWith(i,"{}"))i=n?i:i.slice(0,-2),t=JSON.stringify(t);else if(X.isArray(t)&&function(t){return X.isArray(t)&&!t.some(Q)}(t)||(X.isFileList(t)||X.endsWith(i,"[]"))&&(o=X.toArray(t)))return i=tt(i),o.forEach((function(t,n){!X.isUndefined(t)&&null!==t&&e.append(!0===r?et([i],n,a):null===r?i:i+"[]",l(t))})),!1;return!!Q(t)||(e.append(et(s,i,a),l(t)),!1)}const h=[],d=Object.assign(it,{defaultVisitor:c,convertValue:l,isVisitable:Q});if(!X.isObject(t))throw new TypeError("data must be an object");return function t(i,n){if(!X.isUndefined(i)){if(-1!==h.indexOf(i))throw Error("Circular reference detected in "+n.join("."));h.push(i),X.forEach(i,(function(i,a){!0===(!(X.isUndefined(i)||null===i)&&s.call(e,i,X.isString(a)?a.trim():a,n,d))&&t(i,n?n.concat(a):[a])})),h.pop()}}(t),e};function st(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function at(t,e){this._pairs=[],t&&nt(t,this,e)}const rt=at.prototype;rt.append=function(t,e){this._pairs.push([t,e])},rt.toString=function(t){const e=t?function(e){return t.call(this,e,st)}:st;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const ot=at;function lt(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ct(t,e,i){if(!e)return t;const n=i&&i.encode||lt;X.isFunction(i)&&(i={serialize:i});const s=i&&i.serialize;let a;if(a=s?s(e,i):X.isURLSearchParams(e)?e.toString():new ot(e,i).toString(n),a){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}const ht=class{constructor(){this.handlers=[]}use(t,e,i){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){X.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},dt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ut={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ot,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ft="undefined"!=typeof window&&"undefined"!=typeof document,gt="object"==typeof navigator&&navigator||void 0,pt=ft&&(!gt||["ReactNative","NativeScript","NS"].indexOf(gt.product)<0),mt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,bt=ft&&window.location.href||"http://localhost",xt={...n,...ut},yt=function(t){function e(t,i,n,s){let a=t[s++];if("__proto__"===a)return!0;const r=Number.isFinite(+a),o=s>=t.length;return a=!a&&X.isArray(n)?n.length:a,o?(X.hasOwnProp(n,a)?n[a]=[n[a],i]:n[a]=i,!r):(n[a]&&X.isObject(n[a])||(n[a]=[]),e(t,i,n[a],s)&&X.isArray(n[a])&&(n[a]=function(t){const e={},i=Object.keys(t);let n;const s=i.length;let a;for(n=0;n<s;n++)a=i[n],e[a]=t[a];return e}(n[a])),!r)}if(X.isFormData(t)&&X.isFunction(t.entries)){const i={};return X.forEachEntry(t,((t,n)=>{e(function(t){return X.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,i,0)})),i}return null},vt={transitional:dt,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const i=e.getContentType()||"",n=i.indexOf("application/json")>-1,s=X.isObject(t);if(s&&X.isHTMLForm(t)&&(t=new FormData(t)),X.isFormData(t))return n?JSON.stringify(yt(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t)||X.isReadableStream(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(i.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return nt(t,new xt.classes.URLSearchParams,Object.assign({visitor:function(t,e,i,n){return xt.isNode&&X.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((a=X.isFileList(t))||i.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return nt(a?{"files[]":t}:t,e&&new e,this.formSerializer)}}return s||n?(e.setContentType("application/json",!1),function(t){if(X.isString(t))try{return(0,JSON.parse)(t),X.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||vt.transitional,i=e&&e.forcedJSONParsing,n="json"===this.responseType;if(X.isResponse(t)||X.isReadableStream(t))return t;if(t&&X.isString(t)&&(i&&!this.responseType||n)){const i=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw Z.from(t,Z.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:xt.classes.FormData,Blob:xt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],(t=>{vt.headers[t]={}}));const _t=vt,wt=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),kt=Symbol("internals");function Et(t){return t&&String(t).trim().toLowerCase()}function Mt(t){return!1===t||null==t?t:X.isArray(t)?t.map(Mt):String(t)}function St(t,e,i,n,s){return X.isFunction(n)?n.call(this,e,i):(s&&(e=i),X.isString(e)?X.isString(n)?-1!==e.indexOf(n):X.isRegExp(n)?n.test(e):void 0:void 0)}class Ct{constructor(t){t&&this.set(t)}set(t,e,i){const n=this;function s(t,e,i){const s=Et(e);if(!s)throw new Error("header name must be a non-empty string");const a=X.findKey(n,s);(!a||void 0===n[a]||!0===i||void 0===i&&!1!==n[a])&&(n[a||e]=Mt(t))}const a=(t,e)=>X.forEach(t,((t,i)=>s(t,i,e)));if(X.isPlainObject(t)||t instanceof this.constructor)a(t,e);else if(X.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))a((t=>{const e={};let i,n,s;return t&&t.split("\n").forEach((function(t){s=t.indexOf(":"),i=t.substring(0,s).trim().toLowerCase(),n=t.substring(s+1).trim(),!i||e[i]&&wt[i]||("set-cookie"===i?e[i]?e[i].push(n):e[i]=[n]:e[i]=e[i]?e[i]+", "+n:n)})),e})(t),e);else if(X.isHeaders(t))for(const[e,n]of t.entries())s(n,e,i);else null!=t&&s(e,t,i);return this}get(t,e){if(t=Et(t)){const i=X.findKey(this,t);if(i){const t=this[i];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=i.exec(t);)e[n[1]]=n[2];return e}(t);if(X.isFunction(e))return e.call(this,t,i);if(X.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Et(t)){const i=X.findKey(this,t);return!(!i||void 0===this[i]||e&&!St(0,this[i],i,e))}return!1}delete(t,e){const i=this;let n=!1;function s(t){if(t=Et(t)){const s=X.findKey(i,t);!s||e&&!St(0,i[s],s,e)||(delete i[s],n=!0)}}return X.isArray(t)?t.forEach(s):s(t),n}clear(t){const e=Object.keys(this);let i=e.length,n=!1;for(;i--;){const s=e[i];t&&!St(0,this[s],s,t,!0)||(delete this[s],n=!0)}return n}normalize(t){const e=this,i={};return X.forEach(this,((n,s)=>{const a=X.findKey(i,s);if(a)return e[a]=Mt(n),void delete e[s];const r=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,i)=>e.toUpperCase()+i))}(s):String(s).trim();r!==s&&delete e[s],e[r]=Mt(n),i[r]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return X.forEach(this,((i,n)=>{null!=i&&!1!==i&&(e[n]=t&&X.isArray(i)?i.join(", "):i)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const i=new this(t);return e.forEach((t=>i.set(t))),i}static accessor(t){const e=(this[kt]=this[kt]={accessors:{}}).accessors,i=this.prototype;function n(t){const n=Et(t);e[n]||(function(t,e){const i=X.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+i,{value:function(t,i,s){return this[n].call(this,e,t,i,s)},configurable:!0})}))}(i,t),e[n]=!0)}return X.isArray(t)?t.forEach(n):n(t),this}}Ct.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(Ct.prototype,(({value:t},e)=>{let i=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[i]=t}}})),X.freezeMethods(Ct);const Ot=Ct;function Pt(t,e){const i=this||_t,n=e||i,s=Ot.from(n.headers);let a=n.data;return X.forEach(t,(function(t){a=t.call(i,a,s.normalize(),e?e.status:void 0)})),s.normalize(),a}function Nt(t){return!(!t||!t.__CANCEL__)}function At(t,e,i){Z.call(this,null==t?"canceled":t,Z.ERR_CANCELED,e,i),this.name="CanceledError"}X.inherits(At,Z,{__CANCEL__:!0});const Lt=At;function Tt(t,e,i){const n=i.config.validateStatus;i.status&&n&&!n(i.status)?e(new Z("Request failed with status code "+i.status,[Z.ERR_BAD_REQUEST,Z.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):t(i)}const Dt=(t,e,i=3)=>{let n=0;const s=function(t,e){t=t||10;const i=new Array(t),n=new Array(t);let s,a=0,r=0;return e=void 0!==e?e:1e3,function(o){const l=Date.now(),c=n[r];s||(s=l),i[a]=o,n[a]=l;let h=r,d=0;for(;h!==a;)d+=i[h++],h%=t;if(a=(a+1)%t,a===r&&(r=(r+1)%t),l-s<e)return;const u=c&&l-c;return u?Math.round(1e3*d/u):void 0}}(50,250);return function(t,e){let i,n,s=0,a=1e3/e;const r=(e,a=Date.now())=>{s=a,i=null,n&&(clearTimeout(n),n=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),o=e-s;o>=a?r(t,e):(i=t,n||(n=setTimeout((()=>{n=null,r(i)}),a-o)))},()=>i&&r(i)]}((i=>{const a=i.loaded,r=i.lengthComputable?i.total:void 0,o=a-n,l=s(o);n=a,t({loaded:a,total:r,progress:r?a/r:void 0,bytes:o,rate:l||void 0,estimated:l&&r&&a<=r?(r-a)/l:void 0,event:i,lengthComputable:null!=r,[e?"download":"upload"]:!0})}),i)},Rt=(t,e)=>{const i=null!=t;return[n=>e[0]({lengthComputable:i,total:t,loaded:n}),e[1]]},zt=t=>(...e)=>X.asap((()=>t(...e))),It=xt.hasStandardBrowserEnv?((t,e)=>i=>(i=new URL(i,xt.origin),t.protocol===i.protocol&&t.host===i.host&&(e||t.port===i.port)))(new URL(xt.origin),xt.navigator&&/(msie|trident)/i.test(xt.navigator.userAgent)):()=>!0,Ft=xt.hasStandardBrowserEnv?{write(t,e,i,n,s,a){const r=[t+"="+encodeURIComponent(e)];X.isNumber(i)&&r.push("expires="+new Date(i).toGMTString()),X.isString(n)&&r.push("path="+n),X.isString(s)&&r.push("domain="+s),!0===a&&r.push("secure"),document.cookie=r.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function jt(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Bt=t=>t instanceof Ot?{...t}:t;function Vt(t,e){e=e||{};const i={};function n(t,e,i,n){return X.isPlainObject(t)&&X.isPlainObject(e)?X.merge.call({caseless:n},t,e):X.isPlainObject(e)?X.merge({},e):X.isArray(e)?e.slice():e}function s(t,e,i,s){return X.isUndefined(e)?X.isUndefined(t)?void 0:n(void 0,t,0,s):n(t,e,0,s)}function a(t,e){if(!X.isUndefined(e))return n(void 0,e)}function r(t,e){return X.isUndefined(e)?X.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function o(i,s,a){return a in e?n(i,s):a in t?n(void 0,i):void 0}const l={url:a,method:a,data:a,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:o,headers:(t,e,i)=>s(Bt(t),Bt(e),0,!0)};return X.forEach(Object.keys(Object.assign({},t,e)),(function(n){const a=l[n]||s,r=a(t[n],e[n],n);X.isUndefined(r)&&a!==o||(i[n]=r)})),i}const Ht=t=>{const e=Vt({},t);let i,{data:n,withXSRFToken:s,xsrfHeaderName:a,xsrfCookieName:r,headers:o,auth:l}=e;if(e.headers=o=Ot.from(o),e.url=ct(jt(e.baseURL,e.url),t.params,t.paramsSerializer),l&&o.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),X.isFormData(n))if(xt.hasStandardBrowserEnv||xt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(!1!==(i=o.getContentType())){const[t,...e]=i?i.split(";").map((t=>t.trim())).filter(Boolean):[];o.setContentType([t||"multipart/form-data",...e].join("; "))}if(xt.hasStandardBrowserEnv&&(s&&X.isFunction(s)&&(s=s(e)),s||!1!==s&&It(e.url))){const t=a&&r&&Ft.read(r);t&&o.set(a,t)}return e},Wt="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,i){const n=Ht(t);let s=n.data;const a=Ot.from(n.headers).normalize();let r,o,l,c,h,{responseType:d,onUploadProgress:u,onDownloadProgress:f}=n;function g(){c&&c(),h&&h(),n.cancelToken&&n.cancelToken.unsubscribe(r),n.signal&&n.signal.removeEventListener("abort",r)}let p=new XMLHttpRequest;function m(){if(!p)return;const n=Ot.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders());Tt((function(t){e(t),g()}),(function(t){i(t),g()}),{data:d&&"text"!==d&&"json"!==d?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:t,request:p}),p=null}p.open(n.method.toUpperCase(),n.url,!0),p.timeout=n.timeout,"onloadend"in p?p.onloadend=m:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(m)},p.onabort=function(){p&&(i(new Z("Request aborted",Z.ECONNABORTED,t,p)),p=null)},p.onerror=function(){i(new Z("Network Error",Z.ERR_NETWORK,t,p)),p=null},p.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const s=n.transitional||dt;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),i(new Z(e,s.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,t,p)),p=null},void 0===s&&a.setContentType(null),"setRequestHeader"in p&&X.forEach(a.toJSON(),(function(t,e){p.setRequestHeader(e,t)})),X.isUndefined(n.withCredentials)||(p.withCredentials=!!n.withCredentials),d&&"json"!==d&&(p.responseType=n.responseType),f&&([l,h]=Dt(f,!0),p.addEventListener("progress",l)),u&&p.upload&&([o,c]=Dt(u),p.upload.addEventListener("progress",o),p.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(r=e=>{p&&(i(!e||e.type?new Lt(null,t,p):e),p.abort(),p=null)},n.cancelToken&&n.cancelToken.subscribe(r),n.signal&&(n.signal.aborted?r():n.signal.addEventListener("abort",r)));const b=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(n.url);b&&-1===xt.protocols.indexOf(b)?i(new Z("Unsupported protocol "+b+":",Z.ERR_BAD_REQUEST,t)):p.send(s||null)}))},Ut=(t,e)=>{const{length:i}=t=t?t.filter(Boolean):[];if(e||i){let i,n=new AbortController;const s=function(t){if(!i){i=!0,r();const e=t instanceof Error?t:this.reason;n.abort(e instanceof Z?e:new Lt(e instanceof Error?e.message:e))}};let a=e&&setTimeout((()=>{a=null,s(new Z(`timeout ${e} of ms exceeded`,Z.ETIMEDOUT))}),e);const r=()=>{t&&(a&&clearTimeout(a),a=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(s):t.removeEventListener("abort",s)})),t=null)};t.forEach((t=>t.addEventListener("abort",s)));const{signal:o}=n;return o.unsubscribe=()=>X.asap(r),o}},$t=function*(t,e){let i=t.byteLength;if(!e||i<e)return void(yield t);let n,s=0;for(;s<i;)n=s+e,yield t.slice(s,n),s=n},Yt=(t,e,i,n)=>{const s=async function*(t,e){for await(const i of async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:i}=await e.read();if(t)break;yield i}}finally{await e.cancel()}}(t))yield*$t(i,e)}(t,e);let a,r=0,o=t=>{a||(a=!0,n&&n(t))};return new ReadableStream({async pull(t){try{const{done:e,value:n}=await s.next();if(e)return o(),void t.close();let a=n.byteLength;if(i){let t=r+=a;i(t)}t.enqueue(new Uint8Array(n))}catch(t){throw o(t),t}},cancel:t=>(o(t),s.return())},{highWaterMark:2})},qt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Xt=qt&&"function"==typeof ReadableStream,Kt=qt&&("function"==typeof TextEncoder?(Jt=new TextEncoder,t=>Jt.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var Jt;const Gt=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},Zt=Xt&&Gt((()=>{let t=!1;const e=new Request(xt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),Qt=Xt&&Gt((()=>X.isReadableStream(new Response("").body))),te={stream:Qt&&(t=>t.body)};var ee;qt&&(ee=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!te[t]&&(te[t]=X.isFunction(ee[t])?e=>e[t]():(e,i)=>{throw new Z(`Response type '${t}' is not supported`,Z.ERR_NOT_SUPPORT,i)})})));const ie={http:null,xhr:Wt,fetch:qt&&(async t=>{let{url:e,method:i,data:n,signal:s,cancelToken:a,timeout:r,onDownloadProgress:o,onUploadProgress:l,responseType:c,headers:h,withCredentials:d="same-origin",fetchOptions:u}=Ht(t);c=c?(c+"").toLowerCase():"text";let f,g=Ut([s,a&&a.toAbortSignal()],r);const p=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let m;try{if(l&&Zt&&"get"!==i&&"head"!==i&&0!==(m=await(async(t,e)=>{const i=X.toFiniteNumber(t.getContentLength());return null==i?(async t=>{if(null==t)return 0;if(X.isBlob(t))return t.size;if(X.isSpecCompliantForm(t)){const e=new Request(xt.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return X.isArrayBufferView(t)||X.isArrayBuffer(t)?t.byteLength:(X.isURLSearchParams(t)&&(t+=""),X.isString(t)?(await Kt(t)).byteLength:void 0)})(e):i})(h,n))){let t,i=new Request(e,{method:"POST",body:n,duplex:"half"});if(X.isFormData(n)&&(t=i.headers.get("content-type"))&&h.setContentType(t),i.body){const[t,e]=Rt(m,Dt(zt(l)));n=Yt(i.body,65536,t,e)}}X.isString(d)||(d=d?"include":"omit");const s="credentials"in Request.prototype;f=new Request(e,{...u,signal:g,method:i.toUpperCase(),headers:h.normalize().toJSON(),body:n,duplex:"half",credentials:s?d:void 0});let a=await fetch(f);const r=Qt&&("stream"===c||"response"===c);if(Qt&&(o||r&&p)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=a[e]}));const e=X.toFiniteNumber(a.headers.get("content-length")),[i,n]=o&&Rt(e,Dt(zt(o),!0))||[];a=new Response(Yt(a.body,65536,i,(()=>{n&&n(),p&&p()})),t)}c=c||"text";let b=await te[X.findKey(te,c)||"text"](a,t);return!r&&p&&p(),await new Promise(((e,i)=>{Tt(e,i,{data:b,headers:Ot.from(a.headers),status:a.status,statusText:a.statusText,config:t,request:f})}))}catch(e){if(p&&p(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new Z("Network Error",Z.ERR_NETWORK,t,f),{cause:e.cause||e});throw Z.from(e,e&&e.code,t,f)}})};X.forEach(ie,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const ne=t=>`- ${t}`,se=t=>X.isFunction(t)||null===t||!1===t,ae=t=>{t=X.isArray(t)?t:[t];const{length:e}=t;let i,n;const s={};for(let a=0;a<e;a++){let e;if(i=t[a],n=i,!se(i)&&(n=ie[(e=String(i)).toLowerCase()],void 0===n))throw new Z(`Unknown adapter '${e}'`);if(n)break;s[e||"#"+a]=n}if(!n){const t=Object.entries(s).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let i=e?t.length>1?"since :\n"+t.map(ne).join("\n"):" "+ne(t[0]):"as no adapter specified";throw new Z("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n};function re(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Lt(null,t)}function oe(t){return re(t),t.headers=Ot.from(t.headers),t.data=Pt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ae(t.adapter||_t.adapter)(t).then((function(e){return re(t),e.data=Pt.call(t,t.transformResponse,e),e.headers=Ot.from(e.headers),e}),(function(e){return Nt(e)||(re(t),e&&e.response&&(e.response.data=Pt.call(t,t.transformResponse,e.response),e.response.headers=Ot.from(e.response.headers))),Promise.reject(e)}))}const le={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{le[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}}));const ce={};le.transitional=function(t,e,i){function n(t,e){return"[Axios v1.7.8] Transitional option '"+t+"'"+e+(i?". "+i:"")}return(i,s,a)=>{if(!1===t)throw new Z(n(s," has been removed"+(e?" in "+e:"")),Z.ERR_DEPRECATED);return e&&!ce[s]&&(ce[s]=!0,console.warn(n(s," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(i,s,a)}},le.spelling=function(t){return(e,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};const he={assertOptions:function(t,e,i){if("object"!=typeof t)throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let s=n.length;for(;s-- >0;){const a=n[s],r=e[a];if(r){const e=t[a],i=void 0===e||r(e,a,t);if(!0!==i)throw new Z("option "+a+" must be "+i,Z.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new Z("Unknown option "+a,Z.ERR_BAD_OPTION)}},validators:le},de=he.validators;class ue{constructor(t){this.defaults=t,this.interceptors={request:new ht,response:new ht}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const i=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?i&&!String(t.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+i):t.stack=i}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Vt(this.defaults,e);const{transitional:i,paramsSerializer:n,headers:s}=e;void 0!==i&&he.assertOptions(i,{silentJSONParsing:de.transitional(de.boolean),forcedJSONParsing:de.transitional(de.boolean),clarifyTimeoutError:de.transitional(de.boolean)},!1),null!=n&&(X.isFunction(n)?e.paramsSerializer={serialize:n}:he.assertOptions(n,{encode:de.function,serialize:de.function},!0)),he.assertOptions(e,{baseUrl:de.spelling("baseURL"),withXsrfToken:de.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let a=s&&X.merge(s.common,s[e.method]);s&&X.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete s[t]})),e.headers=Ot.concat(a,s);const r=[];let o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let h,d=0;if(!o){const t=[oe.bind(this),void 0];for(t.unshift.apply(t,r),t.push.apply(t,l),h=t.length,c=Promise.resolve(e);d<h;)c=c.then(t[d++],t[d++]);return c}h=r.length;let u=e;for(d=0;d<h;){const t=r[d++],e=r[d++];try{u=t(u)}catch(t){e.call(this,t);break}}try{c=oe.call(this,u)}catch(t){return Promise.reject(t)}for(d=0,h=l.length;d<h;)c=c.then(l[d++],l[d++]);return c}getUri(t){return ct(jt((t=Vt(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}X.forEach(["delete","get","head","options"],(function(t){ue.prototype[t]=function(e,i){return this.request(Vt(i||{},{method:t,url:e,data:(i||{}).data}))}})),X.forEach(["post","put","patch"],(function(t){function e(e){return function(i,n,s){return this.request(Vt(s||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:i,data:n}))}}ue.prototype[t]=e(),ue.prototype[t+"Form"]=e(!0)}));const fe=ue;class ge{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const i=this;this.promise.then((t=>{if(!i._listeners)return;let e=i._listeners.length;for(;e-- >0;)i._listeners[e](t);i._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{i.subscribe(t),e=t})).then(t);return n.cancel=function(){i.unsubscribe(e)},n},t((function(t,n,s){i.reason||(i.reason=new Lt(t,n,s),e(i.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new ge((function(e){t=e})),cancel:t}}}const pe=ge,me={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(me).forEach((([t,e])=>{me[e]=t}));const be=me,xe=function t(e){const i=new fe(e),n=s(fe.prototype.request,i);return X.extend(n,fe.prototype,i,{allOwnKeys:!0}),X.extend(n,i,null,{allOwnKeys:!0}),n.create=function(i){return t(Vt(e,i))},n}(_t);xe.Axios=fe,xe.CanceledError=Lt,xe.CancelToken=pe,xe.isCancel=Nt,xe.VERSION="1.7.8",xe.toFormData=nt,xe.AxiosError=Z,xe.Cancel=xe.CanceledError,xe.all=function(t){return Promise.all(t)},xe.spread=function(t){return function(e){return t.apply(null,e)}},xe.isAxiosError=function(t){return X.isObject(t)&&!0===t.isAxiosError},xe.mergeConfig=Vt,xe.AxiosHeaders=Ot,xe.formToJSON=t=>yt(X.isHTMLForm(t)?new FormData(t):t),xe.getAdapter=ae,xe.HttpStatusCode=be,xe.default=xe;const ye=xe},106:(t,e,i)=>{"use strict";function n(t){return t+.5|0}i.d(e,{A6:()=>Yi,PP:()=>Fa,t1:()=>_s,ju:()=>qi,s$:()=>ma,ZT:()=>Xi,No:()=>Ls,kc:()=>Va,FN:()=>Ds,m_:()=>Ra,$L:()=>hr});const s=(t,e,i)=>Math.max(Math.min(t,i),e);function a(t){return s(n(2.55*t),0,255)}function r(t){return s(n(255*t),0,255)}function o(t){return s(n(t/2.55)/100,0,1)}function l(t){return s(n(100*t),0,100)}const c={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},h=[..."0123456789ABCDEF"],d=t=>h[15&t],u=t=>h[(240&t)>>4]+h[15&t],f=t=>(240&t)>>4==(15&t);const g=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function p(t,e,i){const n=e*Math.min(i,1-i),s=(e,s=(e+t/30)%12)=>i-n*Math.max(Math.min(s-3,9-s,1),-1);return[s(0),s(8),s(4)]}function m(t,e,i){const n=(n,s=(n+t/60)%6)=>i-i*e*Math.max(Math.min(s,4-s,1),0);return[n(5),n(3),n(1)]}function b(t,e,i){const n=p(t,1,.5);let s;for(e+i>1&&(s=1/(e+i),e*=s,i*=s),s=0;s<3;s++)n[s]*=1-e-i,n[s]+=e;return n}function x(t){const e=t.r/255,i=t.g/255,n=t.b/255,s=Math.max(e,i,n),a=Math.min(e,i,n),r=(s+a)/2;let o,l,c;return s!==a&&(c=s-a,l=r>.5?c/(2-s-a):c/(s+a),o=function(t,e,i,n,s){return t===s?(e-i)/n+(e<i?6:0):e===s?(i-t)/n+2:(t-e)/n+4}(e,i,n,c,s),o=60*o+.5),[0|o,l||0,r]}function y(t,e,i,n){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,i,n)).map(r)}function v(t,e,i){return y(p,t,e,i)}function _(t){return(t%360+360)%360}const w={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},k={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let E;const M=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,S=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,C=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function O(t,e,i){if(t){let n=x(t);n[e]=Math.max(0,Math.min(n[e]+n[e]*i,0===e?360:1)),n=v(n),t.r=n[0],t.g=n[1],t.b=n[2]}}function P(t,e){return t?Object.assign(e||{},t):t}function N(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=r(t[3]))):(e=P(t,{r:0,g:0,b:0,a:1})).a=r(e.a),e}function A(t){return"r"===t.charAt(0)?function(t){const e=M.exec(t);let i,n,r,o=255;if(e){if(e[7]!==i){const t=+e[7];o=e[8]?a(t):s(255*t,0,255)}return i=+e[1],n=+e[3],r=+e[5],i=255&(e[2]?a(i):s(i,0,255)),n=255&(e[4]?a(n):s(n,0,255)),r=255&(e[6]?a(r):s(r,0,255)),{r:i,g:n,b:r,a:o}}}(t):function(t){const e=g.exec(t);let i,n=255;if(!e)return;e[5]!==i&&(n=e[6]?a(+e[5]):r(+e[5]));const s=_(+e[2]),o=+e[3]/100,l=+e[4]/100;return i="hwb"===e[1]?function(t,e,i){return y(b,t,e,i)}(s,o,l):"hsv"===e[1]?function(t,e,i){return y(m,t,e,i)}(s,o,l):v(s,o,l),{r:i[0],g:i[1],b:i[2],a:n}}(t)}class L{constructor(t){if(t instanceof L)return t;const e=typeof t;let i;var n,s,a;"object"===e?i=N(t):"string"===e&&(a=(n=t).length,"#"===n[0]&&(4===a||5===a?s={r:255&17*c[n[1]],g:255&17*c[n[2]],b:255&17*c[n[3]],a:5===a?17*c[n[4]]:255}:7!==a&&9!==a||(s={r:c[n[1]]<<4|c[n[2]],g:c[n[3]]<<4|c[n[4]],b:c[n[5]]<<4|c[n[6]],a:9===a?c[n[7]]<<4|c[n[8]]:255})),i=s||function(t){E||(E=function(){const t={},e=Object.keys(k),i=Object.keys(w);let n,s,a,r,o;for(n=0;n<e.length;n++){for(r=o=e[n],s=0;s<i.length;s++)a=i[s],o=o.replace(a,w[a]);a=parseInt(k[r],16),t[o]=[a>>16&255,a>>8&255,255&a]}return t}(),E.transparent=[0,0,0,0]);const e=E[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}(t)||A(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=P(this._rgb);return t&&(t.a=o(t.a)),t}set rgb(t){this._rgb=N(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${o(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?(t=this._rgb,e=(t=>f(t.r)&&f(t.g)&&f(t.b)&&f(t.a))(t)?d:u,t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0):void 0;var t,e}hslString(){return this._valid?function(t){if(!t)return;const e=x(t),i=e[0],n=l(e[1]),s=l(e[2]);return t.a<255?`hsla(${i}, ${n}%, ${s}%, ${o(t.a)})`:`hsl(${i}, ${n}%, ${s}%)`}(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,n=t.rgb;let s;const a=e===s?.5:e,r=2*a-1,o=i.a-n.a,l=((r*o==-1?r:(r+o)/(1+r*o))+1)/2;s=1-l,i.r=255&l*i.r+s*n.r+.5,i.g=255&l*i.g+s*n.g+.5,i.b=255&l*i.b+s*n.b+.5,i.a=a*i.a+(1-a)*n.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,i){const n=C(o(t.r)),s=C(o(t.g)),a=C(o(t.b));return{r:r(S(n+i*(C(o(e.r))-n))),g:r(S(s+i*(C(o(e.g))-s))),b:r(S(a+i*(C(o(e.b))-a))),a:t.a+i*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new L(this.rgb)}alpha(t){return this._rgb.a=r(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=n(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return O(this._rgb,2,t),this}darken(t){return O(this._rgb,2,-t),this}saturate(t){return O(this._rgb,1,t),this}desaturate(t){return O(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=x(t);i[0]=_(i[0]+e),i=v(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function T(){}const D=(()=>{let t=0;return()=>t++})();function R(t){return null==t}function z(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function I(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function F(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function j(t,e){return F(t)?t:e}function B(t,e){return void 0===t?e:t}const V=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function H(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function W(t,e,i,n){let s,a,r;if(z(t))if(a=t.length,n)for(s=a-1;s>=0;s--)e.call(i,t[s],s);else for(s=0;s<a;s++)e.call(i,t[s],s);else if(I(t))for(r=Object.keys(t),a=r.length,s=0;s<a;s++)e.call(i,t[r[s]],r[s])}function U(t,e){let i,n,s,a;if(!t||!e||t.length!==e.length)return!1;for(i=0,n=t.length;i<n;++i)if(s=t[i],a=e[i],s.datasetIndex!==a.datasetIndex||s.index!==a.index)return!1;return!0}function $(t){if(z(t))return t.map($);if(I(t)){const e=Object.create(null),i=Object.keys(t),n=i.length;let s=0;for(;s<n;++s)e[i[s]]=$(t[i[s]]);return e}return t}function Y(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function q(t,e,i,n){if(!Y(t))return;const s=e[t],a=i[t];I(s)&&I(a)?X(s,a,n):e[t]=$(a)}function X(t,e,i){const n=z(e)?e:[e],s=n.length;if(!I(t))return t;const a=(i=i||{}).merger||q;let r;for(let e=0;e<s;++e){if(r=n[e],!I(r))continue;const s=Object.keys(r);for(let e=0,n=s.length;e<n;++e)a(s[e],t,r,i)}return t}function K(t,e){return X(t,e,{merger:J})}function J(t,e,i){if(!Y(t))return;const n=e[t],s=i[t];I(n)&&I(s)?K(n,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=$(s))}const G={"":t=>t,x:t=>t.x,y:t=>t.y};function Z(t,e){const i=G[e]||(G[e]=function(t){const e=function(t){const e=t.split("."),i=[];let n="";for(const t of e)n+=t,n.endsWith("\\")?n=n.slice(0,-1)+".":(i.push(n),n="");return i}(t);return t=>{for(const i of e){if(""===i)break;t=t&&t[i]}return t}}(e));return i(t)}function Q(t){return t.charAt(0).toUpperCase()+t.slice(1)}const tt=t=>void 0!==t,et=t=>"function"==typeof t,it=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0},nt=Math.PI,st=2*nt,at=st+nt,rt=Number.POSITIVE_INFINITY,ot=nt/180,lt=nt/2,ct=nt/4,ht=2*nt/3,dt=Math.log10,ut=Math.sign;function ft(t,e,i){return Math.abs(t-e)<i}function gt(t){const e=Math.round(t);t=ft(t,e,t/1e3)?e:t;const i=Math.pow(10,Math.floor(dt(t))),n=t/i;return(n<=1?1:n<=2?2:n<=5?5:10)*i}function pt(t){return!function(t){return"symbol"==typeof t||"object"==typeof t&&null!==t&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function mt(t,e,i){let n,s,a;for(n=0,s=t.length;n<s;n++)a=t[n][i],isNaN(a)||(e.min=Math.min(e.min,a),e.max=Math.max(e.max,a))}function bt(t){return t*(nt/180)}function xt(t){return t*(180/nt)}function yt(t){if(!F(t))return;let e=1,i=0;for(;Math.round(t*e)/e!==t;)e*=10,i++;return i}function vt(t,e){const i=e.x-t.x,n=e.y-t.y,s=Math.sqrt(i*i+n*n);let a=Math.atan2(n,i);return a<-.5*nt&&(a+=st),{angle:a,distance:s}}function _t(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function wt(t,e){return(t-e+at)%st-nt}function kt(t){return(t%st+st)%st}function Et(t,e,i,n){const s=kt(t),a=kt(e),r=kt(i),o=kt(a-s),l=kt(r-s),c=kt(s-a),h=kt(s-r);return s===a||s===r||n&&a===r||o>l&&c<h}function Mt(t,e,i){return Math.max(e,Math.min(i,t))}function St(t,e,i,n=1e-6){return t>=Math.min(e,i)-n&&t<=Math.max(e,i)+n}function Ct(t,e,i){i=i||(i=>t[i]<e);let n,s=t.length-1,a=0;for(;s-a>1;)n=a+s>>1,i(n)?a=n:s=n;return{lo:a,hi:s}}const Ot=(t,e,i,n)=>Ct(t,i,n?n=>{const s=t[n][e];return s<i||s===i&&t[n+1][e]===i}:n=>t[n][e]<i),Pt=(t,e,i)=>Ct(t,i,(n=>t[n][e]>=i)),Nt=["push","pop","shift","splice","unshift"];function At(t,e){const i=t._chartjs;if(!i)return;const n=i.listeners,s=n.indexOf(e);-1!==s&&n.splice(s,1),n.length>0||(Nt.forEach((e=>{delete t[e]})),delete t._chartjs)}function Lt(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const Tt="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function Dt(t,e){let i=[],n=!1;return function(...s){i=s,n||(n=!0,Tt.call(window,(()=>{n=!1,t.apply(e,i)})))}}const Rt=t=>"start"===t?"left":"end"===t?"right":"center",zt=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2;function It(t,e,i){const n=e.length;let s=0,a=n;if(t._sorted){const{iScale:r,vScale:o,_parsed:l}=t,c=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null,h=r.axis,{min:d,max:u,minDefined:f,maxDefined:g}=r.getUserBounds();if(f){if(s=Math.min(Ot(l,h,d).lo,i?n:Ot(e,h,r.getPixelForValue(d)).lo),c){const t=l.slice(0,s+1).reverse().findIndex((t=>!R(t[o.axis])));s-=Math.max(0,t)}s=Mt(s,0,n-1)}if(g){let t=Math.max(Ot(l,r.axis,u,!0).hi+1,i?0:Ot(e,h,r.getPixelForValue(u),!0).hi+1);if(c){const e=l.slice(t-1).findIndex((t=>!R(t[o.axis])));t+=Math.max(0,e)}a=Mt(t,s,n)-s}else a=n-s}return{start:s,count:a}}function Ft(t){const{xScale:e,yScale:i,_scaleRanges:n}=t,s={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!n)return t._scaleRanges=s,!0;const a=n.xmin!==e.min||n.xmax!==e.max||n.ymin!==i.min||n.ymax!==i.max;return Object.assign(n,s),a}const jt=t=>0===t||1===t,Bt=(t,e,i)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*st/i),Vt=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*st/i)+1,Ht={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*lt),easeOutSine:t=>Math.sin(t*lt),easeInOutSine:t=>-.5*(Math.cos(nt*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>jt(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>jt(t)?t:Bt(t,.075,.3),easeOutElastic:t=>jt(t)?t:Vt(t,.075,.3),easeInOutElastic(t){const e=.1125;return jt(t)?t:t<.5?.5*Bt(2*t,e,.45):.5+.5*Vt(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-Ht.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*Ht.easeInBounce(2*t):.5*Ht.easeOutBounce(2*t-1)+.5};function Wt(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function Ut(t){return Wt(t)?t:new L(t)}function $t(t){return Wt(t)?t:new L(t).saturate(.5).darken(.1).hexString()}const Yt=["x","y","borderWidth","radius","tension"],qt=["color","borderColor","backgroundColor"],Xt=new Map;function Kt(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let n=Xt.get(i);return n||(n=new Intl.NumberFormat(t,e),Xt.set(i,n)),n}(e,i).format(t)}const Jt={values:t=>z(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";const n=this.chart.options.locale;let s,a=t;if(i.length>1){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||e>1e15)&&(s="scientific"),a=function(t,e){let i=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(i)>=1&&t!==Math.floor(t)&&(i=t-Math.floor(t)),i}(t,i)}const r=dt(Math.abs(a)),o=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:s,minimumFractionDigits:o,maximumFractionDigits:o};return Object.assign(l,this.options.ticks.format),Kt(t,n,l)},logarithmic(t,e,i){if(0===t)return"0";const n=i[e].significand||t/Math.pow(10,Math.floor(dt(t)));return[1,2,3,5,10,15].includes(n)||e>.8*i.length?Jt.numeric.call(this,t,e,i):""}};var Gt={formatters:Jt};const Zt=Object.create(null),Qt=Object.create(null);function te(t,e){if(!e)return t;const i=e.split(".");for(let e=0,n=i.length;e<n;++e){const n=i[e];t=t[n]||(t[n]=Object.create(null))}return t}function ee(t,e,i){return"string"==typeof e?X(te(t,e),i):X(te(t,""),e)}class ie{constructor(t,e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>$t(e.backgroundColor),this.hoverBorderColor=(t,e)=>$t(e.borderColor),this.hoverColor=(t,e)=>$t(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return ee(this,t,e)}get(t){return te(this,t)}describe(t,e){return ee(Qt,t,e)}override(t,e){return ee(Zt,t,e)}route(t,e,i,n){const s=te(this,t),a=te(this,i),r="_"+e;Object.defineProperties(s,{[r]:{value:s[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[r],e=a[n];return I(t)?Object.assign({},e,t):B(t,e)},set(t){this[r]=t}}})}apply(t){t.forEach((t=>t(this)))}}var ne=new ie({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:qt},numbers:{type:"number",properties:Yt}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Gt.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function se(t,e,i,n,s){let a=e[s];return a||(a=e[s]=t.measureText(s).width,i.push(s)),a>n&&(n=a),n}function ae(t,e,i,n){let s=(n=n||{}).data=n.data||{},a=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(s=n.data={},a=n.garbageCollect=[],n.font=e),t.save(),t.font=e;let r=0;const o=i.length;let l,c,h,d,u;for(l=0;l<o;l++)if(d=i[l],null==d||z(d)){if(z(d))for(c=0,h=d.length;c<h;c++)u=d[c],null==u||z(u)||(r=se(t,s,a,r,u))}else r=se(t,s,a,r,d);t.restore();const f=a.length/2;if(f>i.length){for(l=0;l<f;l++)delete s[a[l]];a.splice(0,f)}return r}function re(t,e,i){const n=t.currentDevicePixelRatio,s=0!==i?Math.max(i/2,.5):0;return Math.round((e-s)*n)/n+s}function oe(t,e){(e||t)&&((e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function le(t,e,i,n){ce(t,e,i,n,null)}function ce(t,e,i,n,s){let a,r,o,l,c,h,d,u;const f=e.pointStyle,g=e.rotation,p=e.radius;let m=(g||0)*ot;if(f&&"object"==typeof f&&(a=f.toString(),"[object HTMLImageElement]"===a||"[object HTMLCanvasElement]"===a))return t.save(),t.translate(i,n),t.rotate(m),t.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),void t.restore();if(!(isNaN(p)||p<=0)){switch(t.beginPath(),f){default:s?t.ellipse(i,n,s/2,p,0,0,st):t.arc(i,n,p,0,st),t.closePath();break;case"triangle":h=s?s/2:p,t.moveTo(i+Math.sin(m)*h,n-Math.cos(m)*p),m+=ht,t.lineTo(i+Math.sin(m)*h,n-Math.cos(m)*p),m+=ht,t.lineTo(i+Math.sin(m)*h,n-Math.cos(m)*p),t.closePath();break;case"rectRounded":c=.516*p,l=p-c,r=Math.cos(m+ct)*l,d=Math.cos(m+ct)*(s?s/2-c:l),o=Math.sin(m+ct)*l,u=Math.sin(m+ct)*(s?s/2-c:l),t.arc(i-d,n-o,c,m-nt,m-lt),t.arc(i+u,n-r,c,m-lt,m),t.arc(i+d,n+o,c,m,m+lt),t.arc(i-u,n+r,c,m+lt,m+nt),t.closePath();break;case"rect":if(!g){l=Math.SQRT1_2*p,h=s?s/2:l,t.rect(i-h,n-l,2*h,2*l);break}m+=ct;case"rectRot":d=Math.cos(m)*(s?s/2:p),r=Math.cos(m)*p,o=Math.sin(m)*p,u=Math.sin(m)*(s?s/2:p),t.moveTo(i-d,n-o),t.lineTo(i+u,n-r),t.lineTo(i+d,n+o),t.lineTo(i-u,n+r),t.closePath();break;case"crossRot":m+=ct;case"cross":d=Math.cos(m)*(s?s/2:p),r=Math.cos(m)*p,o=Math.sin(m)*p,u=Math.sin(m)*(s?s/2:p),t.moveTo(i-d,n-o),t.lineTo(i+d,n+o),t.moveTo(i+u,n-r),t.lineTo(i-u,n+r);break;case"star":d=Math.cos(m)*(s?s/2:p),r=Math.cos(m)*p,o=Math.sin(m)*p,u=Math.sin(m)*(s?s/2:p),t.moveTo(i-d,n-o),t.lineTo(i+d,n+o),t.moveTo(i+u,n-r),t.lineTo(i-u,n+r),m+=ct,d=Math.cos(m)*(s?s/2:p),r=Math.cos(m)*p,o=Math.sin(m)*p,u=Math.sin(m)*(s?s/2:p),t.moveTo(i-d,n-o),t.lineTo(i+d,n+o),t.moveTo(i+u,n-r),t.lineTo(i-u,n+r);break;case"line":r=s?s/2:Math.cos(m)*p,o=Math.sin(m)*p,t.moveTo(i-r,n-o),t.lineTo(i+r,n+o);break;case"dash":t.moveTo(i,n),t.lineTo(i+Math.cos(m)*(s?s/2:p),n+Math.sin(m)*p);break;case!1:t.closePath()}t.fill(),e.borderWidth>0&&t.stroke()}}function he(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.x<e.right+i&&t.y>e.top-i&&t.y<e.bottom+i}function de(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function ue(t){t.restore()}function fe(t,e,i,n,s){if(!e)return t.lineTo(i.x,i.y);if("middle"===s){const n=(e.x+i.x)/2;t.lineTo(n,e.y),t.lineTo(n,i.y)}else"after"===s!=!!n?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);t.lineTo(i.x,i.y)}function ge(t,e,i,n){if(!e)return t.lineTo(i.x,i.y);t.bezierCurveTo(n?e.cp1x:e.cp2x,n?e.cp1y:e.cp2y,n?i.cp2x:i.cp1x,n?i.cp2y:i.cp1y,i.x,i.y)}function pe(t,e,i,n,s){if(s.strikethrough||s.underline){const a=t.measureText(n),r=e-a.actualBoundingBoxLeft,o=e+a.actualBoundingBoxRight,l=i-a.actualBoundingBoxAscent,c=i+a.actualBoundingBoxDescent,h=s.strikethrough?(l+c)/2:c;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=s.decorationWidth||2,t.moveTo(r,h),t.lineTo(o,h),t.stroke()}}function me(t,e){const i=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=i}function be(t,e,i,n,s,a={}){const r=z(e)?e:[e],o=a.strokeWidth>0&&""!==a.strokeColor;let l,c;for(t.save(),t.font=s.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),R(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,a),l=0;l<r.length;++l)c=r[l],a.backdrop&&me(t,a.backdrop),o&&(a.strokeColor&&(t.strokeStyle=a.strokeColor),R(a.strokeWidth)||(t.lineWidth=a.strokeWidth),t.strokeText(c,i,n,a.maxWidth)),t.fillText(c,i,n,a.maxWidth),pe(t,i,n,c,a),n+=Number(s.lineHeight);t.restore()}function xe(t,e){const{x:i,y:n,w:s,h:a,radius:r}=e;t.arc(i+r.topLeft,n+r.topLeft,r.topLeft,1.5*nt,nt,!0),t.lineTo(i,n+a-r.bottomLeft),t.arc(i+r.bottomLeft,n+a-r.bottomLeft,r.bottomLeft,nt,lt,!0),t.lineTo(i+s-r.bottomRight,n+a),t.arc(i+s-r.bottomRight,n+a-r.bottomRight,r.bottomRight,lt,0,!0),t.lineTo(i+s,n+r.topRight),t.arc(i+s-r.topRight,n+r.topRight,r.topRight,0,-lt,!0),t.lineTo(i+r.topLeft,n)}const ye=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,ve=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function _e(t,e){const i=(""+t).match(ye);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t}function we(t,e){const i={},n=I(e),s=n?Object.keys(e):e,a=I(t)?n?i=>B(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of s)i[t]=+a(t)||0;return i}function ke(t){return we(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Ee(t){return we(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Me(t){const e=ke(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Se(t,e){t=t||{},e=e||ne.font;let i=B(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let n=B(t.style,e.style);n&&!(""+n).match(ve)&&(console.warn('Invalid font style specified: "'+n+'"'),n=void 0);const s={family:B(t.family,e.family),lineHeight:_e(B(t.lineHeight,e.lineHeight),i),size:i,style:n,weight:B(t.weight,e.weight),string:""};return s.string=function(t){return!t||R(t.size)||R(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(s),s}function Ce(t,e,i,n){let s,a,r,o=!0;for(s=0,a=t.length;s<a;++s)if(r=t[s],void 0!==r&&(void 0!==e&&"function"==typeof r&&(r=r(e),o=!1),void 0!==i&&z(r)&&(r=r[i%r.length],o=!1),void 0!==r))return n&&!o&&(n.cacheable=!1),r}function Oe(t,e){return Object.assign(Object.create(t),e)}function Pe(t,e=[""],i,n,s=()=>t[0]){const a=i||t;void 0===n&&(n=Be("_fallback",t));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:a,_fallback:n,_getTarget:s,override:i=>Pe([i,...t],e,a,n)};return new Proxy(r,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,n)=>De(i,n,(()=>function(t,e,i,n){let s;for(const a of e)if(s=Be(Le(a,t),i),void 0!==s)return Te(t,s)?Fe(i,n,t,s):s}(n,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>Ve(t).includes(e),ownKeys:t=>Ve(t),set(t,e,i){const n=t._storage||(t._storage=s());return t[e]=n[e]=i,delete t._keys,!0}})}function Ne(t,e,i,n){const s={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:Ae(t,n),setContext:e=>Ne(t,e,i,n),override:s=>Ne(t.override(s),e,i,n)};return new Proxy(s,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>De(t,e,(()=>function(t,e,i){const{_proxy:n,_context:s,_subProxy:a,_descriptors:r}=t;let o=n[e];return et(o)&&r.isScriptable(e)&&(o=function(t,e,i,n){const{_proxy:s,_context:a,_subProxy:r,_stack:o}=i;if(o.has(t))throw new Error("Recursion detected: "+Array.from(o).join("->")+"->"+t);o.add(t);let l=e(a,r||n);return o.delete(t),Te(t,l)&&(l=Fe(s._scopes,s,t,l)),l}(e,o,t,i)),z(o)&&o.length&&(o=function(t,e,i,n){const{_proxy:s,_context:a,_subProxy:r,_descriptors:o}=i;if(void 0!==a.index&&n(t))return e[a.index%e.length];if(I(e[0])){const i=e,n=s._scopes.filter((t=>t!==i));e=[];for(const l of i){const i=Fe(n,s,t,l);e.push(Ne(i,a,r&&r[t],o))}}return e}(e,o,t,r.isIndexable)),Te(e,o)&&(o=Ne(o,s,a&&a[e],r)),o}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,n)=>(t[i]=n,delete e[i],!0)})}function Ae(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:n=e.indexable,_allKeys:s=e.allKeys}=t;return{allKeys:s,scriptable:i,indexable:n,isScriptable:et(i)?i:()=>i,isIndexable:et(n)?n:()=>n}}const Le=(t,e)=>t?t+Q(e):e,Te=(t,e)=>I(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function De(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e)||"constructor"===e)return t[e];const n=i();return t[e]=n,n}function Re(t,e,i){return et(t)?t(e,i):t}const ze=(t,e)=>!0===t?e:"string"==typeof t?Z(e,t):void 0;function Ie(t,e,i,n,s){for(const a of e){const e=ze(i,a);if(e){t.add(e);const a=Re(e._fallback,i,s);if(void 0!==a&&a!==i&&a!==n)return a}else if(!1===e&&void 0!==n&&i!==n)return null}return!1}function Fe(t,e,i,n){const s=e._rootScopes,a=Re(e._fallback,i,n),r=[...t,...s],o=new Set;o.add(n);let l=je(o,r,i,a||i,n);return null!==l&&(void 0===a||a===i||(l=je(o,r,a,l,n),null!==l))&&Pe(Array.from(o),[""],s,a,(()=>function(t,e,i){const n=t._getTarget();e in n||(n[e]={});const s=n[e];return z(s)&&I(i)?i:s||{}}(e,i,n)))}function je(t,e,i,n,s){for(;i;)i=Ie(t,e,i,n,s);return i}function Be(t,e){for(const i of e){if(!i)continue;const e=i[t];if(void 0!==e)return e}}function Ve(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function He(t,e,i,n){const{iScale:s}=t,{key:a="r"}=this._parsing,r=new Array(n);let o,l,c,h;for(o=0,l=n;o<l;++o)c=o+i,h=e[c],r[o]={r:s.parse(Z(h,a),c)};return r}const We=Number.EPSILON||1e-14,Ue=(t,e)=>e<t.length&&!t[e].skip&&t[e],$e=t=>"x"===t?"y":"x";function Ye(t,e,i,n){const s=t.skip?e:t,a=e,r=i.skip?e:i,o=_t(a,s),l=_t(r,a);let c=o/(o+l),h=l/(o+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;const d=n*c,u=n*h;return{previous:{x:a.x-d*(r.x-s.x),y:a.y-d*(r.y-s.y)},next:{x:a.x+u*(r.x-s.x),y:a.y+u*(r.y-s.y)}}}function qe(t,e,i){return Math.max(Math.min(t,i),e)}function Xe(t,e,i,n,s){let a,r,o,l;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)!function(t,e="x"){const i=$e(e),n=t.length,s=Array(n).fill(0),a=Array(n);let r,o,l,c=Ue(t,0);for(r=0;r<n;++r)if(o=l,l=c,c=Ue(t,r+1),l){if(c){const t=c[e]-l[e];s[r]=0!==t?(c[i]-l[i])/t:0}a[r]=o?c?ut(s[r-1])!==ut(s[r])?0:(s[r-1]+s[r])/2:s[r-1]:s[r]}!function(t,e,i){const n=t.length;let s,a,r,o,l,c=Ue(t,0);for(let h=0;h<n-1;++h)l=c,c=Ue(t,h+1),l&&c&&(ft(e[h],0,We)?i[h]=i[h+1]=0:(s=i[h]/e[h],a=i[h+1]/e[h],o=Math.pow(s,2)+Math.pow(a,2),o<=9||(r=3/Math.sqrt(o),i[h]=s*r*e[h],i[h+1]=a*r*e[h])))}(t,s,a),function(t,e,i="x"){const n=$e(i),s=t.length;let a,r,o,l=Ue(t,0);for(let c=0;c<s;++c){if(r=o,o=l,l=Ue(t,c+1),!o)continue;const s=o[i],h=o[n];r&&(a=(s-r[i])/3,o[`cp1${i}`]=s-a,o[`cp1${n}`]=h-a*e[c]),l&&(a=(l[i]-s)/3,o[`cp2${i}`]=s+a,o[`cp2${n}`]=h+a*e[c])}}(t,a,e)}(t,s);else{let i=n?t[t.length-1]:t[0];for(a=0,r=t.length;a<r;++a)o=t[a],l=Ye(i,o,t[Math.min(a+1,r-(n?0:1))%r],e.tension),o.cp1x=l.previous.x,o.cp1y=l.previous.y,o.cp2x=l.next.x,o.cp2y=l.next.y,i=o}e.capBezierPoints&&function(t,e){let i,n,s,a,r,o=he(t[0],e);for(i=0,n=t.length;i<n;++i)r=a,a=o,o=i<n-1&&he(t[i+1],e),a&&(s=t[i],r&&(s.cp1x=qe(s.cp1x,e.left,e.right),s.cp1y=qe(s.cp1y,e.top,e.bottom)),o&&(s.cp2x=qe(s.cp2x,e.left,e.right),s.cp2y=qe(s.cp2y,e.top,e.bottom)))}(t,i)}function Ke(){return"undefined"!=typeof window&&"undefined"!=typeof document}function Je(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function Ge(t,e,i){let n;return"string"==typeof t?(n=parseInt(t,10),-1!==t.indexOf("%")&&(n=n/100*e.parentNode[i])):n=t,n}const Ze=t=>t.ownerDocument.defaultView.getComputedStyle(t,null),Qe=["top","right","bottom","left"];function ti(t,e,i){const n={};i=i?"-"+i:"";for(let s=0;s<4;s++){const a=Qe[s];n[a]=parseFloat(t[e+"-"+a+i])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}function ei(t,e){if("native"in t)return t;const{canvas:i,currentDevicePixelRatio:n}=e,s=Ze(i),a="border-box"===s.boxSizing,r=ti(s,"padding"),o=ti(s,"border","width"),{x:l,y:c,box:h}=function(t,e){const i=t.touches,n=i&&i.length?i[0]:t,{offsetX:s,offsetY:a}=n;let r,o,l=!1;if(((t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot))(s,a,t.target))r=s,o=a;else{const t=e.getBoundingClientRect();r=n.clientX-t.left,o=n.clientY-t.top,l=!0}return{x:r,y:o,box:l}}(t,i),d=r.left+(h&&o.left),u=r.top+(h&&o.top);let{width:f,height:g}=e;return a&&(f-=r.width+o.width,g-=r.height+o.height),{x:Math.round((l-d)/f*i.width/n),y:Math.round((c-u)/g*i.height/n)}}const ii=t=>Math.round(10*t)/10;function ni(t,e,i){const n=e||1,s=Math.floor(t.height*n),a=Math.floor(t.width*n);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const r=t.canvas;return r.style&&(i||!r.style.height&&!r.style.width)&&(r.style.height=`${t.height}px`,r.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==n||r.height!==s||r.width!==a)&&(t.currentDevicePixelRatio=n,r.height=s,r.width=a,t.ctx.setTransform(n,0,0,n,0,0),!0)}const si=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Ke()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(t){}return t}();function ai(t,e){const i=function(t,e){return Ze(t).getPropertyValue(e)}(t,e),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}function ri(t,e,i,n){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function oi(t,e,i,n){return{x:t.x+i*(e.x-t.x),y:"middle"===n?i<.5?t.y:e.y:"after"===n?i<1?t.y:e.y:i>0?e.y:t.y}}function li(t,e,i,n){const s={x:t.cp2x,y:t.cp2y},a={x:e.cp1x,y:e.cp1y},r=ri(t,s,i),o=ri(s,a,i),l=ri(a,e,i),c=ri(r,o,i),h=ri(o,l,i);return ri(c,h,i)}function ci(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function hi(t,e){let i,n;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,n=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=n)}function di(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function ui(t){return"angle"===t?{between:Et,compare:wt,normalize:kt}:{between:St,compare:(t,e)=>t-e,normalize:t=>t}}function fi({start:t,end:e,count:i,loop:n,style:s}){return{start:t%i,end:e%i,loop:n&&(e-t+1)%i==0,style:s}}function gi(t,e,i){if(!i)return[t];const{property:n,start:s,end:a}=i,r=e.length,{compare:o,between:l,normalize:c}=ui(n),{start:h,end:d,loop:u,style:f}=function(t,e,i){const{property:n,start:s,end:a}=i,{between:r,normalize:o}=ui(n),l=e.length;let c,h,{start:d,end:u,loop:f}=t;if(f){for(d+=l,u+=l,c=0,h=l;c<h&&r(o(e[d%l][n]),s,a);++c)d--,u--;d%=l,u%=l}return u<d&&(u+=l),{start:d,end:u,loop:f,style:t.style}}(t,e,i),g=[];let p,m,b,x=!1,y=null;for(let t=h,i=h;t<=d;++t)m=e[t%r],m.skip||(p=c(m[n]),p!==b&&(x=l(p,s,a),null===y&&(x||l(s,b,p)&&0!==o(s,b))&&(y=0===o(p,s)?t:i),null!==y&&(!x||0===o(a,p)||l(a,b,p))&&(g.push(fi({start:y,end:t,loop:u,count:r,style:f})),y=null),i=t,b=p));return null!==y&&g.push(fi({start:y,end:d,loop:u,count:r,style:f})),g}function pi(t,e){const i=[],n=t.segments;for(let s=0;s<n.length;s++){const a=gi(n[s],t.points,e);a.length&&i.push(...a)}return i}function mi(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function bi(t,e){if(!e)return!1;const i=[],n=function(t,e){return Wt(e)?(i.includes(e)||i.push(e),i.indexOf(e)):e};return JSON.stringify(t,n)!==JSON.stringify(e,n)}function xi(t,e,i){return t.options.clip?t[i]:e[i]}function yi(t,e){const i=e._clip;if(i.disabled)return!1;const n=function(t,e){const{xScale:i,yScale:n}=t;return i&&n?{left:xi(i,e,"left"),right:xi(i,e,"right"),top:xi(n,e,"top"),bottom:xi(n,e,"bottom")}:e}(e,t.chartArea);return{left:!1===i.left?0:n.left-(!0===i.left?0:i.left),right:!1===i.right?t.width:n.right+(!0===i.right?0:i.right),top:!1===i.top?0:n.top-(!0===i.top?0:i.top),bottom:!1===i.bottom?t.height:n.bottom+(!0===i.bottom?0:i.bottom)}}class vi{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,n){const s=e.listeners[n],a=e.duration;s.forEach((n=>n({chart:t,initial:e.initial,numSteps:a,currentStep:Math.min(i-e.start,a)})))}_refresh(){this._request||(this._running=!0,this._request=Tt.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((i,n)=>{if(!i.running||!i.items.length)return;const s=i.items;let a,r=s.length-1,o=!1;for(;r>=0;--r)a=s[r],a._active?(a._total>i.duration&&(i.duration=a._total),a.tick(t),o=!0):(s[r]=s[s.length-1],s.pop());o&&(n.draw(),this._notify(n,i,t,"progress")),s.length||(i.running=!1,this._notify(n,i,t,"complete"),i.initial=!1),e+=s.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let n=i.length-1;for(;n>=0;--n)i[n].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var _i=new vi;const wi="transparent",ki={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const n=Ut(t||wi),s=n.valid&&Ut(e||wi);return s&&s.valid?s.mix(n,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class Ei{constructor(t,e,i,n){const s=e[i];n=Ce([t.to,n,s,t.from]);const a=Ce([t.from,s,n]);this._active=!0,this._fn=t.fn||ki[t.type||typeof a],this._easing=Ht[t.easing]||Ht.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=a,this._to=n,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const n=this._target[this._prop],s=i-this._start,a=this._duration-s;this._start=i,this._duration=Math.floor(Math.max(a,t.duration)),this._total+=s,this._loop=!!t.loop,this._to=Ce([t.to,e,n,t.from]),this._from=Ce([t.from,n,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,n=this._prop,s=this._from,a=this._loop,r=this._to;let o;if(this._active=s!==r&&(a||e<i),!this._active)return this._target[n]=r,void this._notify(!0);e<0?this._target[n]=s:(o=e/i%2,o=a&&o>1?2-o:o,o=this._easing(Math.min(1,Math.max(0,o))),this._target[n]=this._fn(s,r,o))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t<i.length;t++)i[t][e]()}}class Mi{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!I(t))return;const e=Object.keys(ne.animation),i=this._properties;Object.getOwnPropertyNames(t).forEach((n=>{const s=t[n];if(!I(s))return;const a={};for(const t of e)a[t]=s[t];(z(s.properties)&&s.properties||[n]).forEach((t=>{t!==n&&i.has(t)||i.set(t,a)}))}))}_animateOptions(t,e){const i=e.options,n=function(t,e){if(!e)return;let i=t.options;if(i)return i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}})),i;t.options=e}(t,i);if(!n)return[];const s=this._createAnimations(n,i);return i.$shared&&function(t,e){const i=[],n=Object.keys(e);for(let e=0;e<n.length;e++){const s=t[n[e]];s&&s.active()&&i.push(s.wait())}return Promise.all(i)}(t.options.$animations,i).then((()=>{t.options=i}),(()=>{})),s}_createAnimations(t,e){const i=this._properties,n=[],s=t.$animations||(t.$animations={}),a=Object.keys(e),r=Date.now();let o;for(o=a.length-1;o>=0;--o){const l=a[o];if("$"===l.charAt(0))continue;if("options"===l){n.push(...this._animateOptions(t,e));continue}const c=e[l];let h=s[l];const d=i.get(l);if(h){if(d&&h.active()){h.update(d,c,r);continue}h.cancel()}d&&d.duration?(s[l]=h=new Ei(d,t,l,c),n.push(h)):t[l]=c}return n}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(_i.add(this._chart,i),!0):void 0}}function Si(t,e){const i=t&&t.options||{},n=i.reverse,s=void 0===i.min?e:0,a=void 0===i.max?e:0;return{start:n?a:s,end:n?s:a}}function Ci(t,e){const i=[],n=t._getSortedDatasetMetas(e);let s,a;for(s=0,a=n.length;s<a;++s)i.push(n[s].index);return i}function Oi(t,e,i,n={}){const s=t.keys,a="single"===n.mode;let r,o,l,c;if(null===e)return;let h=!1;for(r=0,o=s.length;r<o;++r){if(l=+s[r],l===i){if(h=!0,n.all)continue;break}c=t.values[l],F(c)&&(a||0===e||ut(e)===ut(c))&&(e+=c)}return h||n.all?e:0}function Pi(t,e){const i=t&&t.options.stacked;return i||void 0===i&&void 0!==e.stack}function Ni(t,e,i){const n=t[e]||(t[e]={});return n[i]||(n[i]={})}function Ai(t,e,i,n){for(const s of e.getMatchingVisibleMetas(n).reverse()){const e=t[s.index];if(i&&e>0||!i&&e<0)return s.index}return null}function Li(t,e){const{chart:i,_cachedMeta:n}=t,s=i._stacks||(i._stacks={}),{iScale:a,vScale:r,index:o}=n,l=a.axis,c=r.axis,h=function(t,e,i){return`${t.id}.${e.id}.${i.stack||i.type}`}(a,r,n),d=e.length;let u;for(let t=0;t<d;++t){const i=e[t],{[l]:a,[c]:d}=i;u=(i._stacks||(i._stacks={}))[c]=Ni(s,h,a),u[o]=d,u._top=Ai(u,r,!0,n.type),u._bottom=Ai(u,r,!1,n.type),(u._visualValues||(u._visualValues={}))[o]=d}}function Ti(t,e){const i=t.scales;return Object.keys(i).filter((t=>i[t].axis===e)).shift()}function Di(t,e){const i=t.controller.index,n=t.vScale&&t.vScale.axis;if(n){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[n]||void 0===e[n][i])return;delete e[n][i],void 0!==e[n]._visualValues&&void 0!==e[n]._visualValues[i]&&delete e[n]._visualValues[i]}}}const Ri=t=>"reset"===t||"none"===t,zi=(t,e)=>e?t:Object.assign({},t);class Ii{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Pi(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Di(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),n=(t,e,i,n)=>"x"===t?e:"r"===t?n:i,s=e.xAxisID=B(i.xAxisID,Ti(t,"x")),a=e.yAxisID=B(i.yAxisID,Ti(t,"y")),r=e.rAxisID=B(i.rAxisID,Ti(t,"r")),o=e.indexAxis,l=e.iAxisID=n(o,s,a,r),c=e.vAxisID=n(o,a,s,r);e.xScale=this.getScaleForId(s),e.yScale=this.getScaleForId(a),e.rScale=this.getScaleForId(r),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&At(this._data,this),t._stacked&&Di(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(I(e)){const t=this._cachedMeta;this._data=function(t,e){const{iScale:i,vScale:n}=e,s="x"===i.axis?"x":"y",a="x"===n.axis?"x":"y",r=Object.keys(t),o=new Array(r.length);let l,c,h;for(l=0,c=r.length;l<c;++l)h=r[l],o[l]={[s]:h,[a]:t[h]};return o}(e,t)}else if(i!==e){if(i){At(i,this);const t=this._cachedMeta;Di(t),t._parsed=[]}e&&Object.isExtensible(e)&&((n=e)._chartjs?n._chartjs.listeners.push(this):(Object.defineProperty(n,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[this]}}),Nt.forEach((t=>{const e="_onData"+Q(t),i=n[t];Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value(...t){const s=i.apply(this,t);return n._chartjs.listeners.forEach((i=>{"function"==typeof i[e]&&i[e](...t)})),s}})})))),this._syncList=[],this._data=e}var n}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,i=this.getDataset();let n=!1;this._dataCheck();const s=e._stacked;e._stacked=Pi(e.vScale,e),e.stack!==i.stack&&(n=!0,Di(e),e.stack=i.stack),this._resyncElements(t),(n||s!==e._stacked)&&(Li(this,e._parsed),e._stacked=Pi(e.vScale,e))}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:i,_data:n}=this,{iScale:s,_stacked:a}=i,r=s.axis;let o,l,c,h=0===t&&e===n.length||i._sorted,d=t>0&&i._parsed[t-1];if(!1===this._parsing)i._parsed=n,i._sorted=!0,c=n;else{c=z(n[t])?this.parseArrayData(i,n,t,e):I(n[t])?this.parseObjectData(i,n,t,e):this.parsePrimitiveData(i,n,t,e);const s=()=>null===l[r]||d&&l[r]<d[r];for(o=0;o<e;++o)i._parsed[o+t]=l=c[o],h&&(s()&&(h=!1),d=l);i._sorted=h}a&&Li(this,c)}parsePrimitiveData(t,e,i,n){const{iScale:s,vScale:a}=t,r=s.axis,o=a.axis,l=s.getLabels(),c=s===a,h=new Array(n);let d,u,f;for(d=0,u=n;d<u;++d)f=d+i,h[d]={[r]:c||s.parse(l[f],f),[o]:a.parse(e[f],f)};return h}parseArrayData(t,e,i,n){const{xScale:s,yScale:a}=t,r=new Array(n);let o,l,c,h;for(o=0,l=n;o<l;++o)c=o+i,h=e[c],r[o]={x:s.parse(h[0],c),y:a.parse(h[1],c)};return r}parseObjectData(t,e,i,n){const{xScale:s,yScale:a}=t,{xAxisKey:r="x",yAxisKey:o="y"}=this._parsing,l=new Array(n);let c,h,d,u;for(c=0,h=n;c<h;++c)d=c+i,u=e[d],l[c]={x:s.parse(Z(u,r),d),y:a.parse(Z(u,o),d)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,i){const n=this.chart,s=this._cachedMeta,a=e[t.axis];return Oi({keys:Ci(n,!0),values:e._stacks[t.axis]._visualValues},a,s.index,{mode:i})}updateRangeFromParsed(t,e,i,n){const s=i[e.axis];let a=null===s?NaN:s;const r=n&&i._stacks[e.axis];n&&r&&(n.values=r,a=Oi(n,s,this._cachedMeta.index)),t.min=Math.min(t.min,a),t.max=Math.max(t.max,a)}getMinMax(t,e){const i=this._cachedMeta,n=i._parsed,s=i._sorted&&t===i.iScale,a=n.length,r=this._getOtherScale(t),o=((t,e,i)=>t&&!e.hidden&&e._stacked&&{keys:Ci(i,!0),values:null})(e,i,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:h}=function(t){const{min:e,max:i,minDefined:n,maxDefined:s}=t.getUserBounds();return{min:n?e:Number.NEGATIVE_INFINITY,max:s?i:Number.POSITIVE_INFINITY}}(r);let d,u;function f(){u=n[d];const e=u[r.axis];return!F(u[t.axis])||c>e||h<e}for(d=0;d<a&&(f()||(this.updateRangeFromParsed(l,t,u,o),!s));++d);if(s)for(d=a-1;d>=0;--d)if(!f()){this.updateRangeFromParsed(l,t,u,o);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let n,s,a;for(n=0,s=e.length;n<s;++n)a=e[n][t.axis],F(a)&&i.push(a);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,i=e.iScale,n=e.vScale,s=this.getParsed(t);return{label:i?""+i.getLabelForValue(s[i.axis]):"",value:n?""+n.getLabelForValue(s[n.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,i,n,s;return I(t)?(e=t.top,i=t.right,n=t.bottom,s=t.left):e=i=n=s=t,{top:e,right:i,bottom:n,left:s,disabled:!1===t}}(B(this.options.clip,function(t,e,i){if(!1===i)return!1;const n=Si(t,i),s=Si(e,i);return{top:s.end,right:n.end,bottom:s.start,left:n.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,i=this._cachedMeta,n=i.data||[],s=e.chartArea,a=[],r=this._drawStart||0,o=this._drawCount||n.length-r,l=this.options.drawActiveElementsOnTop;let c;for(i.dataset&&i.dataset.draw(t,s,r,o),c=r;c<r+o;++c){const e=n[c];e.hidden||(e.active&&l?a.push(e):e.draw(t,s))}for(c=0;c<a.length;++c)a[c].draw(t,s)}getStyle(t,e){const i=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(t||0,i)}getContext(t,e,i){const n=this.getDataset();let s;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];s=e.$context||(e.$context=function(t,e,i){return Oe(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:i,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),s.parsed=this.getParsed(t),s.raw=n.data[t],s.index=s.dataIndex=t}else s=this.$context||(this.$context=function(t,e){return Oe(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),s.dataset=n,s.index=s.datasetIndex=this.index;return s.active=!!e,s.mode=i,s}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",i){const n="active"===e,s=this._cachedDataOpts,a=t+"-"+e,r=s[a],o=this.enableOptionSharing&&tt(i);if(r)return zi(r,o);const l=this.chart.config,c=l.datasetElementScopeKeys(this._type,t),h=n?[`${t}Hover`,"hover",t,""]:[t,""],d=l.getOptionScopes(this.getDataset(),c),u=Object.keys(ne.elements[t]),f=l.resolveNamedOptions(d,u,(()=>this.getContext(i,n,e)),h);return f.$shared&&(f.$shared=o,s[a]=Object.freeze(zi(f,o))),f}_resolveAnimations(t,e,i){const n=this.chart,s=this._cachedDataOpts,a=`animation-${e}`,r=s[a];if(r)return r;let o;if(!1!==n.options.animation){const n=this.chart.config,s=n.datasetAnimationScopeKeys(this._type,e),a=n.getOptionScopes(this.getDataset(),s);o=n.createResolver(a,this.getContext(t,i,e))}const l=new Mi(n,o&&o.animations);return o&&o._cacheable&&(s[a]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Ri(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const i=this.resolveDataElementOptions(t,e),n=this._sharedOptions,s=this.getSharedOptions(i),a=this.includeOptions(e,s)||s!==n;return this.updateSharedOptions(s,e,i),{sharedOptions:s,includeOptions:a}}updateElement(t,e,i,n){Ri(n)?Object.assign(t,i):this._resolveAnimations(e,n).update(t,i)}updateSharedOptions(t,e,i){t&&!Ri(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,n){t.active=n;const s=this.getStyle(e,n);this._resolveAnimations(e,i,n).update(t,{options:!n&&this.getSharedOptions(s)||s})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[t,e,i]of this._syncList)this[t](e,i);this._syncList=[];const n=i.length,s=e.length,a=Math.min(s,n);a&&this.parse(0,a),s>n?this._insertElements(n,s-n,t):s<n&&this._removeElements(s,n-s)}_insertElements(t,e,i=!0){const n=this._cachedMeta,s=n.data,a=t+e;let r;const o=t=>{for(t.length+=e,r=t.length-1;r>=a;r--)t[r]=t[r-e]};for(o(s),r=t;r<a;++r)s[r]=new this.dataElementType;this._parsing&&o(n._parsed),this.parse(t,e),i&&this.updateElements(s,t,e,"reset")}updateElements(t,e,i,n){}_removeElements(t,e){const i=this._cachedMeta;if(this._parsing){const n=i._parsed.splice(t,e);i._stacked&&Di(i,n)}i.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,i,n]=t;this[e](i,n)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const i=arguments.length-2;i&&this._sync(["_insertElements",t,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Fi(t){const e=t.iScale,i=function(t,e){if(!t._cache.$bar){const i=t.getMatchingVisibleMetas(e);let n=[];for(let e=0,s=i.length;e<s;e++)n=n.concat(i[e].controller.getAllParsedValues(t));t._cache.$bar=Lt(n.sort(((t,e)=>t-e)))}return t._cache.$bar}(e,t.type);let n,s,a,r,o=e._length;const l=()=>{32767!==a&&-32768!==a&&(tt(r)&&(o=Math.min(o,Math.abs(a-r)||o)),r=a)};for(n=0,s=i.length;n<s;++n)a=e.getPixelForValue(i[n]),l();for(r=void 0,n=0,s=e.ticks.length;n<s;++n)a=e.getPixelForTick(n),l();return o}function ji(t,e,i,n){return z(t)?function(t,e,i,n){const s=i.parse(t[0],n),a=i.parse(t[1],n),r=Math.min(s,a),o=Math.max(s,a);let l=r,c=o;Math.abs(r)>Math.abs(o)&&(l=o,c=r),e[i.axis]=c,e._custom={barStart:l,barEnd:c,start:s,end:a,min:r,max:o}}(t,e,i,n):e[i.axis]=i.parse(t,n),e}function Bi(t,e,i,n){const s=t.iScale,a=t.vScale,r=s.getLabels(),o=s===a,l=[];let c,h,d,u;for(c=i,h=i+n;c<h;++c)u=e[c],d={},d[s.axis]=o||s.parse(r[c],c),l.push(ji(u,d,a,c));return l}function Vi(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function Hi(t,e,i,n){let s=e.borderSkipped;const a={};if(!s)return void(t.borderSkipped=a);if(!0===s)return void(t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:r,end:o,reverse:l,top:c,bottom:h}=function(t){let e,i,n,s,a;return t.horizontal?(e=t.base>t.x,i="left",n="right"):(e=t.base<t.y,i="bottom",n="top"),e?(s="end",a="start"):(s="start",a="end"),{start:i,end:n,reverse:e,top:s,bottom:a}}(t);"middle"===s&&i&&(t.enableBorderRadius=!0,(i._top||0)===n?s=c:(i._bottom||0)===n?s=h:(a[Wi(h,r,o,l)]=!0,s=c)),a[Wi(s,r,o,l)]=!0,t.borderSkipped=a}function Wi(t,e,i,n){var s,a,r;return n?(r=i,t=Ui(t=(s=t)===(a=e)?r:s===r?a:s,i,e)):t=Ui(t,e,i),t}function Ui(t,e,i){return"start"===t?e:"end"===t?i:t}function $i(t,{inflateAmount:e},i){t.inflateAmount="auto"===e?1===i?.33:0:e}class Yi extends Ii{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,e,i,n){return Bi(t,e,i,n)}parseArrayData(t,e,i,n){return Bi(t,e,i,n)}parseObjectData(t,e,i,n){const{iScale:s,vScale:a}=t,{xAxisKey:r="x",yAxisKey:o="y"}=this._parsing,l="x"===s.axis?r:o,c="x"===a.axis?r:o,h=[];let d,u,f,g;for(d=i,u=i+n;d<u;++d)g=e[d],f={},f[s.axis]=s.parse(Z(g,l),d),h.push(ji(Z(g,c),f,a,d));return h}updateRangeFromParsed(t,e,i,n){super.updateRangeFromParsed(t,e,i,n);const s=i._custom;s&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,s.min),t.max=Math.max(t.max,s.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:i,vScale:n}=e,s=this.getParsed(t),a=s._custom,r=Vi(a)?"["+a.start+", "+a.end+"]":""+n.getLabelForValue(s[n.axis]);return{label:""+i.getLabelForValue(s[i.axis]),value:r}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,i,n){const s="reset"===n,{index:a,_cachedMeta:{vScale:r}}=this,o=r.getBasePixel(),l=r.isHorizontal(),c=this._getRuler(),{sharedOptions:h,includeOptions:d}=this._getSharedOptions(e,n);for(let u=e;u<e+i;u++){const e=this.getParsed(u),i=s||R(e[r.axis])?{base:o,head:o}:this._calculateBarValuePixels(u),f=this._calculateBarIndexPixels(u,c),g=(e._stacks||{})[r.axis],p={horizontal:l,base:i.base,enableBorderRadius:!g||Vi(e._custom)||a===g._top||a===g._bottom,x:l?i.head:f.center,y:l?f.center:i.head,height:l?f.size:Math.abs(i.size),width:l?Math.abs(i.size):f.size};d&&(p.options=h||this.resolveDataElementOptions(u,t[u].active?"active":n));const m=p.options||t[u].options;Hi(p,m,g,a),$i(p,m,c.ratio),this.updateElement(t[u],u,p,n)}}_getStacks(t,e){const{iScale:i}=this._cachedMeta,n=i.getMatchingVisibleMetas(this._type).filter((t=>t.controller.options.grouped)),s=i.options.stacked,a=[],r=this._cachedMeta.controller.getParsed(e),o=r&&r[i.axis],l=t=>{const e=t._parsed.find((t=>t[i.axis]===o)),n=e&&e[t.vScale.axis];if(R(n)||isNaN(n))return!0};for(const i of n)if((void 0===e||!l(i))&&((!1===s||-1===a.indexOf(i.stack)||void 0===s&&void 0===i.stack)&&a.push(i.stack),i.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const t=this.chart.scales,e=this.chart.options.indexAxis;return Object.keys(t).filter((i=>t[i].axis===e)).shift()}_getAxis(){const t={},e=this.getFirstScaleIdForIndexAxis();for(const i of this.chart.data.datasets)t[B("x"===this.chart.options.indexAxis?i.xAxisID:i.yAxisID,e)]=!0;return Object.keys(t)}_getStackIndex(t,e,i){const n=this._getStacks(t,i),s=void 0!==e?n.indexOf(e):-1;return-1===s?n.length-1:s}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,n=[];let s,a;for(s=0,a=e.data.length;s<a;++s)n.push(i.getPixelForValue(this.getParsed(s)[i.axis],s));const r=t.barThickness;return{min:r||Fi(e),pixels:n,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:r?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:i,index:n},options:{base:s,minBarLength:a}}=this,r=s||0,o=this.getParsed(t),l=o._custom,c=Vi(l);let h,d,u=o[e.axis],f=0,g=i?this.applyStack(e,o,i):u;g!==u&&(f=g-u,g=u),c&&(u=l.barStart,g=l.barEnd-l.barStart,0!==u&&ut(u)!==ut(l.barEnd)&&(f=0),f+=u);const p=R(s)||c?f:s;let m=e.getPixelForValue(p);if(h=this.chart.getDataVisibility(t)?e.getPixelForValue(f+g):m,d=h-m,Math.abs(d)<a){d=function(t,e,i){return 0!==t?ut(t):(e.isHorizontal()?1:-1)*(e.min>=i?1:-1)}(d,e,r)*a,u===r&&(m-=d/2);const t=e.getPixelForDecimal(0),s=e.getPixelForDecimal(1),l=Math.min(t,s),f=Math.max(t,s);m=Math.max(Math.min(m,f),l),h=m+d,i&&!c&&(o._stacks[e.axis]._visualValues[n]=e.getValueForPixel(h)-e.getValueForPixel(m))}if(m===e.getPixelForValue(r)){const t=ut(d)*e.getLineWidthForValue(r)/2;m+=t,d-=t}return{size:d,base:m,head:h,center:h+d/2}}_calculateBarIndexPixels(t,e){const i=e.scale,n=this.options,s=n.skipNull,a=B(n.maxBarThickness,1/0);let r,o;const l=this._getAxisCount();if(e.grouped){const i=s?this._getStackCount(t):e.stackCount,c="flex"===n.barThickness?function(t,e,i,n){const s=e.pixels,a=s[t];let r=t>0?s[t-1]:null,o=t<s.length-1?s[t+1]:null;const l=i.categoryPercentage;null===r&&(r=a-(null===o?e.end-e.start:o-a)),null===o&&(o=a+a-r);const c=a-(a-Math.min(r,o))/2*l;return{chunk:Math.abs(o-r)/2*l/n,ratio:i.barPercentage,start:c}}(t,e,n,i*l):function(t,e,i,n){const s=i.barThickness;let a,r;return R(s)?(a=e.min*i.categoryPercentage,r=i.barPercentage):(a=s*n,r=1),{chunk:a/n,ratio:r,start:e.pixels[t]-a/2}}(t,e,n,i*l),h="x"===this.chart.options.indexAxis?this.getDataset().xAxisID:this.getDataset().yAxisID,d=this._getAxis().indexOf(B(h,this.getFirstScaleIdForIndexAxis())),u=this._getStackIndex(this.index,this._cachedMeta.stack,s?t:void 0)+d;r=c.start+c.chunk*u+c.chunk/2,o=Math.min(a,c.chunk*c.ratio)}else r=i.getPixelForValue(this.getParsed(t)[i.axis],t),o=Math.min(a,e.min*e.ratio);return{base:r-o/2,head:r+o/2,center:r,size:o}}draw(){const t=this._cachedMeta,e=t.vScale,i=t.data,n=i.length;let s=0;for(;s<n;++s)null===this.getParsed(s)[e.axis]||i[s].hidden||i[s].draw(this._ctx)}}class qi extends Ii{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i,color:n}}=t.legend.options;return e.labels.map(((e,s)=>{const a=t.getDatasetMeta(0).controller.getStyle(s);return{text:e,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:n,lineWidth:a.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}}};constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,n=this._cachedMeta;if(!1===this._parsing)n._parsed=i;else{let s,a,r=t=>+i[t];if(I(i[t])){const{key:t="value"}=this._parsing;r=e=>+Z(i[e],t)}for(s=t,a=t+e;s<a;++s)n._parsed[s]=r(s)}}_getRotation(){return bt(this.options.rotation-90)}_getCircumference(){return bt(this.options.circumference)}_getRotationExtents(){let t=st,e=-st;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)&&this.chart.getDatasetMeta(i).type===this._type){const n=this.chart.getDatasetMeta(i).controller,s=n._getRotation(),a=n._getCircumference();t=Math.min(t,s),e=Math.max(e,s+a)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:i}=e,n=this._cachedMeta,s=n.data,a=this.getMaxBorderWidth()+this.getMaxOffset(s)+this.options.spacing,r=Math.max((Math.min(i.width,i.height)-a)/2,0),o=Math.min((c=r,"string"==typeof(l=this.options.cutout)&&l.endsWith("%")?parseFloat(l)/100:+l/c),1);var l,c;const h=this._getRingWeight(this.index),{circumference:d,rotation:u}=this._getRotationExtents(),{ratioX:f,ratioY:g,offsetX:p,offsetY:m}=function(t,e,i){let n=1,s=1,a=0,r=0;if(e<st){const o=t,l=o+e,c=Math.cos(o),h=Math.sin(o),d=Math.cos(l),u=Math.sin(l),f=(t,e,n)=>Et(t,o,l,!0)?1:Math.max(e,e*i,n,n*i),g=(t,e,n)=>Et(t,o,l,!0)?-1:Math.min(e,e*i,n,n*i),p=f(0,c,d),m=f(lt,h,u),b=g(nt,c,d),x=g(nt+lt,h,u);n=(p-b)/2,s=(m-x)/2,a=-(p+b)/2,r=-(m+x)/2}return{ratioX:n,ratioY:s,offsetX:a,offsetY:r}}(u,d,o),b=(i.width-a)/f,x=(i.height-a)/g,y=Math.max(Math.min(b,x)/2,0),v=V(this.options.radius,y),_=(v-Math.max(v*o,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*v,this.offsetY=m*v,n.total=this.calculateTotal(),this.outerRadius=v-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*h,0),this.updateElements(s,0,s.length,t)}_circumference(t,e){const i=this.options,n=this._cachedMeta,s=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===n._parsed[t]||n.data[t].hidden?0:this.calculateCircumference(n._parsed[t]*s/st)}updateElements(t,e,i,n){const s="reset"===n,a=this.chart,r=a.chartArea,o=a.options.animation,l=(r.left+r.right)/2,c=(r.top+r.bottom)/2,h=s&&o.animateScale,d=h?0:this.innerRadius,u=h?0:this.outerRadius,{sharedOptions:f,includeOptions:g}=this._getSharedOptions(e,n);let p,m=this._getRotation();for(p=0;p<e;++p)m+=this._circumference(p,s);for(p=e;p<e+i;++p){const e=this._circumference(p,s),i=t[p],a={x:l+this.offsetX,y:c+this.offsetY,startAngle:m,endAngle:m+e,circumference:e,outerRadius:u,innerRadius:d};g&&(a.options=f||this.resolveDataElementOptions(p,i.active?"active":n)),m+=e,this.updateElement(i,p,a,n)}}calculateTotal(){const t=this._cachedMeta,e=t.data;let i,n=0;for(i=0;i<e.length;i++){const s=t._parsed[i];null===s||isNaN(s)||!this.chart.getDataVisibility(i)||e[i].hidden||(n+=Math.abs(s))}return n}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?st*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,n=i.data.labels||[],s=Kt(e._parsed[t],i.options.locale);return{label:n[t]||"",value:s}}getMaxBorderWidth(t){let e=0;const i=this.chart;let n,s,a,r,o;if(!t)for(n=0,s=i.data.datasets.length;n<s;++n)if(i.isDatasetVisible(n)){a=i.getDatasetMeta(n),t=a.data,r=a.controller;break}if(!t)return 0;for(n=0,s=t.length;n<s;++n)o=r.resolveDataElementOptions(n),"inner"!==o.borderAlign&&(e=Math.max(e,o.borderWidth||0,o.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let i=0,n=t.length;i<n;++i){const t=this.resolveDataElementOptions(i);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e}_getRingWeight(t){return Math.max(B(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class Xi extends Ii{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:i,data:n=[],_dataset:s}=e,a=this.chart._animationsDisabled;let{start:r,count:o}=It(e,n,a);this._drawStart=r,this._drawCount=o,Ft(e)&&(r=0,o=n.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!s._decimated,i.points=n;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(i,void 0,{animated:!a,options:l},t),this.updateElements(n,r,o,t)}updateElements(t,e,i,n){const s="reset"===n,{iScale:a,vScale:r,_stacked:o,_dataset:l}=this._cachedMeta,{sharedOptions:c,includeOptions:h}=this._getSharedOptions(e,n),d=a.axis,u=r.axis,{spanGaps:f,segment:g}=this.options,p=pt(f)?f:Number.POSITIVE_INFINITY,m=this.chart._animationsDisabled||s||"none"===n,b=e+i,x=t.length;let y=e>0&&this.getParsed(e-1);for(let i=0;i<x;++i){const f=t[i],x=m?f:{};if(i<e||i>=b){x.skip=!0;continue}const v=this.getParsed(i),_=R(v[u]),w=x[d]=a.getPixelForValue(v[d],i),k=x[u]=s||_?r.getBasePixel():r.getPixelForValue(o?this.applyStack(r,v,o):v[u],i);x.skip=isNaN(w)||isNaN(k)||_,x.stop=i>0&&Math.abs(v[d]-y[d])>p,g&&(x.parsed=v,x.raw=l.data[i]),h&&(x.options=c||this.resolveDataElementOptions(i,f.active?"active":n)),m||this.updateElement(f,i,x,n),y=v}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,n=t.data||[];if(!n.length)return i;const s=n[0].size(this.resolveDataElementOptions(0)),a=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,s,a)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}class Ki extends Ii{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i,color:n}}=t.legend.options;return e.labels.map(((e,s)=>{const a=t.getDatasetMeta(0).controller.getStyle(s);return{text:e,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:n,lineWidth:a.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,n=i.data.labels||[],s=Kt(e._parsed[t].r,i.options.locale);return{label:n[t]||"",value:s}}parseObjectData(t,e,i,n){return He.bind(this)(t,e,i,n)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,i)=>{const n=this.getParsed(i).r;!isNaN(n)&&this.chart.getDataVisibility(i)&&(n<e.min&&(e.min=n),n>e.max&&(e.max=n))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,n=Math.min(e.right-e.left,e.bottom-e.top),s=Math.max(n/2,0),a=(s-Math.max(i.cutoutPercentage?s/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=s-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,e,i,n){const s="reset"===n,a=this.chart,r=a.options.animation,o=this._cachedMeta.rScale,l=o.xCenter,c=o.yCenter,h=o.getIndexAngle(0)-.5*nt;let d,u=h;const f=360/this.countVisibleElements();for(d=0;d<e;++d)u+=this._computeAngle(d,n,f);for(d=e;d<e+i;d++){const e=t[d];let i=u,g=u+this._computeAngle(d,n,f),p=a.getDataVisibility(d)?o.getDistanceFromCenterForValue(this.getParsed(d).r):0;u=g,s&&(r.animateScale&&(p=0),r.animateRotate&&(i=g=h));const m={x:l,y:c,innerRadius:0,outerRadius:p,startAngle:i,endAngle:g,options:this.resolveDataElementOptions(d,e.active?"active":n)};this.updateElement(e,d,m,n)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach(((t,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&e++})),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?bt(this.resolveDataElementOptions(t,e).angle||i):0}}var Ji=Object.freeze({__proto__:null,BarController:Yi,BubbleController:class extends Ii{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,i,n){const s=super.parsePrimitiveData(t,e,i,n);for(let t=0;t<s.length;t++)s[t]._custom=this.resolveDataElementOptions(t+i).radius;return s}parseArrayData(t,e,i,n){const s=super.parseArrayData(t,e,i,n);for(let t=0;t<s.length;t++){const n=e[i+t];s[t]._custom=B(n[2],this.resolveDataElementOptions(t+i).radius)}return s}parseObjectData(t,e,i,n){const s=super.parseObjectData(t,e,i,n);for(let t=0;t<s.length;t++){const n=e[i+t];s[t]._custom=B(n&&n.r&&+n.r,this.resolveDataElementOptions(t+i).radius)}return s}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart.data.labels||[],{xScale:n,yScale:s}=e,a=this.getParsed(t),r=n.getLabelForValue(a.x),o=s.getLabelForValue(a.y),l=a._custom;return{label:i[t]||"",value:"("+r+", "+o+(l?", "+l:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,n){const s="reset"===n,{iScale:a,vScale:r}=this._cachedMeta,{sharedOptions:o,includeOptions:l}=this._getSharedOptions(e,n),c=a.axis,h=r.axis;for(let d=e;d<e+i;d++){const e=t[d],i=!s&&this.getParsed(d),u={},f=u[c]=s?a.getPixelForDecimal(.5):a.getPixelForValue(i[c]),g=u[h]=s?r.getBasePixel():r.getPixelForValue(i[h]);u.skip=isNaN(f)||isNaN(g),l&&(u.options=o||this.resolveDataElementOptions(d,e.active?"active":n),s&&(u.options.radius=0)),this.updateElement(e,d,u,n)}}resolveDataElementOptions(t,e){const i=this.getParsed(t);let n=super.resolveDataElementOptions(t,e);n.$shared&&(n=Object.assign({},n,{$shared:!1}));const s=n.radius;return"active"!==e&&(n.radius=0),n.radius+=B(i&&i._custom,s),n}},DoughnutController:qi,LineController:Xi,PieController:class extends qi{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}},PolarAreaController:Ki,RadarController:class extends Ii{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,n){return He.bind(this)(t,e,i,n)}update(t){const e=this._cachedMeta,i=e.dataset,n=e.data||[],s=e.iScale.getLabels();if(i.points=n,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const a={_loop:!0,_fullLoop:s.length===n.length,options:e};this.updateElement(i,void 0,a,t)}this.updateElements(n,0,n.length,t)}updateElements(t,e,i,n){const s=this._cachedMeta.rScale,a="reset"===n;for(let r=e;r<e+i;r++){const e=t[r],i=this.resolveDataElementOptions(r,e.active?"active":n),o=s.getPointPositionForValue(r,this.getParsed(r).r),l=a?s.xCenter:o.x,c=a?s.yCenter:o.y,h={x:l,y:c,angle:o.angle,skip:isNaN(l)||isNaN(c),options:i};this.updateElement(e,r,h,n)}}},ScatterController:class extends Ii{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(t){const e=this._cachedMeta,i=this.chart.data.labels||[],{xScale:n,yScale:s}=e,a=this.getParsed(t),r=n.getLabelForValue(a.x),o=s.getLabelForValue(a.y);return{label:i[t]||"",value:"("+r+", "+o+")"}}update(t){const e=this._cachedMeta,{data:i=[]}=e,n=this.chart._animationsDisabled;let{start:s,count:a}=It(e,i,n);if(this._drawStart=s,this._drawCount=a,Ft(e)&&(s=0,a=i.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:s,_dataset:a}=e;s._chart=this.chart,s._datasetIndex=this.index,s._decimated=!!a._decimated,s.points=i;const r=this.resolveDatasetElementOptions(t);r.segment=this.options.segment,this.updateElement(s,void 0,{animated:!n,options:r},t)}else this.datasetElementType&&(delete e.dataset,this.datasetElementType=!1);this.updateElements(i,s,a,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,e,i,n){const s="reset"===n,{iScale:a,vScale:r,_stacked:o,_dataset:l}=this._cachedMeta,c=this.resolveDataElementOptions(e,n),h=this.getSharedOptions(c),d=this.includeOptions(n,h),u=a.axis,f=r.axis,{spanGaps:g,segment:p}=this.options,m=pt(g)?g:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||s||"none"===n;let x=e>0&&this.getParsed(e-1);for(let c=e;c<e+i;++c){const e=t[c],i=this.getParsed(c),g=b?e:{},y=R(i[f]),v=g[u]=a.getPixelForValue(i[u],c),_=g[f]=s||y?r.getBasePixel():r.getPixelForValue(o?this.applyStack(r,i,o):i[f],c);g.skip=isNaN(v)||isNaN(_)||y,g.stop=c>0&&Math.abs(i[u]-x[u])>m,p&&(g.parsed=i,g.raw=l.data[c]),d&&(g.options=h||this.resolveDataElementOptions(c,e.active?"active":n)),b||this.updateElement(e,c,g,n),x=i}this.updateSharedOptions(h,n,c)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}const i=t.dataset,n=i.options&&i.options.borderWidth||0;if(!e.length)return n;const s=e[0].size(this.resolveDataElementOptions(0)),a=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(n,s,a)/2}}});function Gi(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Zi{static override(t){Object.assign(Zi.prototype,t)}options;constructor(t){this.options=t||{}}init(){}formats(){return Gi()}parse(){return Gi()}format(){return Gi()}add(){return Gi()}diff(){return Gi()}startOf(){return Gi()}endOf(){return Gi()}}var Qi=Zi;function tn(t,e,i,n){const{controller:s,data:a,_sorted:r}=t,o=s._cachedMeta.iScale,l=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(o&&e===o.axis&&"r"!==e&&r&&a.length){const r=o._reversePixels?Pt:Ot;if(!n){const n=r(a,e,i);if(l){const{vScale:e}=s._cachedMeta,{_parsed:i}=t,a=i.slice(0,n.lo+1).reverse().findIndex((t=>!R(t[e.axis])));n.lo-=Math.max(0,a);const r=i.slice(n.hi).findIndex((t=>!R(t[e.axis])));n.hi+=Math.max(0,r)}return n}if(s._sharedOptions){const t=a[0],n="function"==typeof t.getRange&&t.getRange(e);if(n){const t=r(a,e,i-n),s=r(a,e,i+n);return{lo:t.lo,hi:s.hi}}}}return{lo:0,hi:a.length-1}}function en(t,e,i,n,s){const a=t.getSortedVisibleDatasetMetas(),r=i[e];for(let t=0,i=a.length;t<i;++t){const{index:i,data:o}=a[t],{lo:l,hi:c}=tn(a[t],e,r,s);for(let t=l;t<=c;++t){const e=o[t];e.skip||n(e,i,t)}}}function nn(t,e,i,n,s){const a=[];return s||t.isPointInArea(e)?(en(t,i,e,(function(i,r,o){(s||he(i,t.chartArea,0))&&i.inRange(e.x,e.y,n)&&a.push({element:i,datasetIndex:r,index:o})}),!0),a):a}function sn(t,e,i,n,s,a){return a||t.isPointInArea(e)?"r"!==i||n?function(t,e,i,n,s,a){let r=[];const o=function(t){const e=-1!==t.indexOf("x"),i=-1!==t.indexOf("y");return function(t,n){const s=e?Math.abs(t.x-n.x):0,a=i?Math.abs(t.y-n.y):0;return Math.sqrt(Math.pow(s,2)+Math.pow(a,2))}}(i);let l=Number.POSITIVE_INFINITY;return en(t,i,e,(function(i,c,h){const d=i.inRange(e.x,e.y,s);if(n&&!d)return;const u=i.getCenterPoint(s);if(!a&&!t.isPointInArea(u)&&!d)return;const f=o(e,u);f<l?(r=[{element:i,datasetIndex:c,index:h}],l=f):f===l&&r.push({element:i,datasetIndex:c,index:h})})),r}(t,e,i,n,s,a):function(t,e,i,n){let s=[];return en(t,i,e,(function(t,i,a){const{startAngle:r,endAngle:o}=t.getProps(["startAngle","endAngle"],n),{angle:l}=vt(t,{x:e.x,y:e.y});Et(l,r,o)&&s.push({element:t,datasetIndex:i,index:a})})),s}(t,e,i,s):[]}function an(t,e,i,n,s){const a=[],r="x"===i?"inXRange":"inYRange";let o=!1;return en(t,i,e,((t,n,l)=>{t[r]&&t[r](e[i],s)&&(a.push({element:t,datasetIndex:n,index:l}),o=o||t.inRange(e.x,e.y,s))})),n&&!o?[]:a}var rn={evaluateInteractionItems:en,modes:{index(t,e,i,n){const s=ei(e,t),a=i.axis||"x",r=i.includeInvisible||!1,o=i.intersect?nn(t,s,a,n,r):sn(t,s,a,!1,n,r),l=[];return o.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=o[0].index,i=t.data[e];i&&!i.skip&&l.push({element:i,datasetIndex:t.index,index:e})})),l):[]},dataset(t,e,i,n){const s=ei(e,t),a=i.axis||"xy",r=i.includeInvisible||!1;let o=i.intersect?nn(t,s,a,n,r):sn(t,s,a,!1,n,r);if(o.length>0){const e=o[0].datasetIndex,i=t.getDatasetMeta(e).data;o=[];for(let t=0;t<i.length;++t)o.push({element:i[t],datasetIndex:e,index:t})}return o},point:(t,e,i,n)=>nn(t,ei(e,t),i.axis||"xy",n,i.includeInvisible||!1),nearest(t,e,i,n){const s=ei(e,t),a=i.axis||"xy",r=i.includeInvisible||!1;return sn(t,s,a,i.intersect,n,r)},x:(t,e,i,n)=>an(t,ei(e,t),"x",i.intersect,n),y:(t,e,i,n)=>an(t,ei(e,t),"y",i.intersect,n)}};const on=["left","top","right","bottom"];function ln(t,e){return t.filter((t=>t.pos===e))}function cn(t,e){return t.filter((t=>-1===on.indexOf(t.pos)&&t.box.axis===e))}function hn(t,e){return t.sort(((t,i)=>{const n=e?i:t,s=e?t:i;return n.weight===s.weight?n.index-s.index:n.weight-s.weight}))}function dn(t,e,i,n){return Math.max(t[i],e[i])+Math.max(t[n],e[n])}function un(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function fn(t,e,i,n){const{pos:s,box:a}=i,r=t.maxPadding;if(!I(s)){i.size&&(t[s]-=i.size);const e=n[i.stack]||{size:0,count:1};e.size=Math.max(e.size,i.horizontal?a.height:a.width),i.size=e.size/e.count,t[s]+=i.size}a.getPadding&&un(r,a.getPadding());const o=Math.max(0,e.outerWidth-dn(r,t,"left","right")),l=Math.max(0,e.outerHeight-dn(r,t,"top","bottom")),c=o!==t.w,h=l!==t.h;return t.w=o,t.h=l,i.horizontal?{same:c,other:h}:{same:h,other:c}}function gn(t,e){const i=e.maxPadding;return function(t){const n={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{n[t]=Math.max(e[t],i[t])})),n}(t?["left","right"]:["top","bottom"])}function pn(t,e,i,n){const s=[];let a,r,o,l,c,h;for(a=0,r=t.length,c=0;a<r;++a){o=t[a],l=o.box,l.update(o.width||e.w,o.height||e.h,gn(o.horizontal,e));const{same:r,other:d}=fn(e,i,o,n);c|=r&&s.length,h=h||d,l.fullSize||s.push(o)}return c&&pn(s,e,i,n)||h}function mn(t,e,i,n,s){t.top=i,t.left=e,t.right=e+n,t.bottom=i+s,t.width=n,t.height=s}function bn(t,e,i,n){const s=i.padding;let{x:a,y:r}=e;for(const o of t){const t=o.box,l=n[o.stack]||{count:1,placed:0,weight:1},c=o.stackWeight/l.weight||1;if(o.horizontal){const n=e.w*c,a=l.size||t.height;tt(l.start)&&(r=l.start),t.fullSize?mn(t,s.left,r,i.outerWidth-s.right-s.left,a):mn(t,e.left+l.placed,r,n,a),l.start=r,l.placed+=n,r=t.bottom}else{const n=e.h*c,r=l.size||t.width;tt(l.start)&&(a=l.start),t.fullSize?mn(t,a,s.top,r,i.outerHeight-s.bottom-s.top):mn(t,a,e.top+l.placed,r,n),l.start=a,l.placed+=n,a=t.right}}e.x=a,e.y=r}var xn={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure(t,e,i){e.fullSize=i.fullSize,e.position=i.position,e.weight=i.weight},update(t,e,i,n){if(!t)return;const s=Me(t.options.layout.padding),a=Math.max(e-s.width,0),r=Math.max(i-s.height,0),o=function(t){const e=function(t){const e=[];let i,n,s,a,r,o;for(i=0,n=(t||[]).length;i<n;++i)s=t[i],({position:a,options:{stack:r,stackWeight:o=1}}=s),e.push({index:i,box:s,pos:a,horizontal:s.isHorizontal(),weight:s.weight,stack:r&&a+r,stackWeight:o});return e}(t),i=hn(e.filter((t=>t.box.fullSize)),!0),n=hn(ln(e,"left"),!0),s=hn(ln(e,"right")),a=hn(ln(e,"top"),!0),r=hn(ln(e,"bottom")),o=cn(e,"x"),l=cn(e,"y");return{fullSize:i,leftAndTop:n.concat(a),rightAndBottom:s.concat(l).concat(r).concat(o),chartArea:ln(e,"chartArea"),vertical:n.concat(s).concat(l),horizontal:a.concat(r).concat(o)}}(t.boxes),l=o.vertical,c=o.horizontal;W(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const h=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:i,padding:s,availableWidth:a,availableHeight:r,vBoxMaxWidth:a/2/h,hBoxMaxHeight:r/2}),u=Object.assign({},s);un(u,Me(n));const f=Object.assign({maxPadding:u,w:a,h:r,x:s.left,y:s.top},s),g=function(t,e){const i=function(t){const e={};for(const i of t){const{stack:t,pos:n,stackWeight:s}=i;if(!t||!on.includes(n))continue;const a=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=s}return e}(t),{vBoxMaxWidth:n,hBoxMaxHeight:s}=e;let a,r,o;for(a=0,r=t.length;a<r;++a){o=t[a];const{fullSize:r}=o.box,l=i[o.stack],c=l&&o.stackWeight/l.weight;o.horizontal?(o.width=c?c*n:r&&e.availableWidth,o.height=s):(o.width=n,o.height=c?c*s:r&&e.availableHeight)}return i}(l.concat(c),d);pn(o.fullSize,f,d,g),pn(l,f,d,g),pn(c,f,d,g)&&pn(l,f,d,g),function(t){const e=t.maxPadding;function i(i){const n=Math.max(e[i]-t[i],0);return t[i]+=n,n}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}(f),bn(o.leftAndTop,f,d,g),f.x+=f.w,f.y+=f.h,bn(o.rightAndBottom,f,d,g),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},W(o.chartArea,(e=>{const i=e.box;Object.assign(i,t.chartArea),i.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})}))}};class yn{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,n){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,n?Math.floor(e/n):i)}}isAttached(t){return!0}updateConfig(t){}}class vn extends yn{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const wn="$chartjs",kn={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},En=t=>null===t||""===t,Mn=!!si&&{passive:!0};function Sn(t,e,i){t&&t.canvas&&t.canvas.removeEventListener(e,i,Mn)}function Cn(t,e){for(const i of t)if(i===e||i.contains(e))return!0}function On(t,e,i){const n=t.canvas,s=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Cn(i.addedNodes,n),e=e&&!Cn(i.removedNodes,n);e&&i()}));return s.observe(document,{childList:!0,subtree:!0}),s}function Pn(t,e,i){const n=t.canvas,s=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Cn(i.removedNodes,n),e=e&&!Cn(i.addedNodes,n);e&&i()}));return s.observe(document,{childList:!0,subtree:!0}),s}const Nn=new Map;let An=0;function Ln(){const t=window.devicePixelRatio;t!==An&&(An=t,Nn.forEach(((e,i)=>{i.currentDevicePixelRatio!==t&&e()})))}function Tn(t,e,i){const n=t.canvas,s=n&&Je(n);if(!s)return;const a=Dt(((t,e)=>{const n=s.clientWidth;i(t,e),n<s.clientWidth&&i()}),window),r=new ResizeObserver((t=>{const e=t[0],i=e.contentRect.width,n=e.contentRect.height;0===i&&0===n||a(i,n)}));return r.observe(s),function(t,e){Nn.size||window.addEventListener("resize",Ln),Nn.set(t,e)}(t,a),r}function Dn(t,e,i){i&&i.disconnect(),"resize"===e&&function(t){Nn.delete(t),Nn.size||window.removeEventListener("resize",Ln)}(t)}function Rn(t,e,i){const n=t.canvas,s=Dt((e=>{null!==t.ctx&&i(function(t,e){const i=kn[t.type]||t.type,{x:n,y:s}=ei(t,e);return{type:i,chart:e,native:t,x:void 0!==n?n:null,y:void 0!==s?s:null}}(e,t))}),t);return function(t,e,i){t&&t.addEventListener(e,i,Mn)}(n,e,s),s}class zn extends yn{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,n=t.getAttribute("height"),s=t.getAttribute("width");if(t[wn]={initial:{height:n,width:s,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",En(s)){const e=ai(t,"width");void 0!==e&&(t.width=e)}if(En(n))if(""===t.style.height)t.height=t.width/(e||2);else{const e=ai(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e[wn])return!1;const i=e[wn].initial;["height","width"].forEach((t=>{const n=i[t];R(n)?e.removeAttribute(t):e.setAttribute(t,n)}));const n=i.style||{};return Object.keys(n).forEach((t=>{e.style[t]=n[t]})),e.width=e.width,delete e[wn],!0}addEventListener(t,e,i){this.removeEventListener(t,e);const n=t.$proxies||(t.$proxies={}),s={attach:On,detach:Pn,resize:Tn}[e]||Rn;n[e]=s(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),n=i[e];n&&(({attach:Dn,detach:Dn,resize:Dn}[e]||Sn)(t,e,n),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,n){return function(t,e,i,n){const s=Ze(t),a=ti(s,"margin"),r=Ge(s.maxWidth,t,"clientWidth")||rt,o=Ge(s.maxHeight,t,"clientHeight")||rt,l=function(t,e,i){let n,s;if(void 0===e||void 0===i){const a=t&&Je(t);if(a){const t=a.getBoundingClientRect(),r=Ze(a),o=ti(r,"border","width"),l=ti(r,"padding");e=t.width-l.width-o.width,i=t.height-l.height-o.height,n=Ge(r.maxWidth,a,"clientWidth"),s=Ge(r.maxHeight,a,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:n||rt,maxHeight:s||rt}}(t,e,i);let{width:c,height:h}=l;if("content-box"===s.boxSizing){const t=ti(s,"border","width"),e=ti(s,"padding");c-=e.width+t.width,h-=e.height+t.height}return c=Math.max(0,c-a.width),h=Math.max(0,n?c/n:h-a.height),c=ii(Math.min(c,r,l.maxWidth)),h=ii(Math.min(h,o,l.maxHeight)),c&&!h&&(h=ii(c/2)),(void 0!==e||void 0!==i)&&n&&l.height&&h>l.height&&(h=l.height,c=ii(Math.floor(h*n))),{width:c,height:h}}(t,e,i,n)}isAttached(t){const e=t&&Je(t);return!(!e||!e.isConnected)}}class In{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}hasValue(){return pt(this.x)&&pt(this.y)}getProps(t,e){const i=this.$animations;if(!e||!i)return this;const n={};return t.forEach((t=>{n[t]=i[t]&&i[t].active()?i[t]._to:this[t]})),n}}function Fn(t,e,i,n,s){const a=B(n,0),r=Math.min(B(s,t.length),t.length);let o,l,c,h=0;for(i=Math.ceil(i),s&&(o=s-n,i=o/Math.floor(o/i)),c=a;c<0;)h++,c=Math.round(a+h*i);for(l=Math.max(a,0);l<r;l++)l===c&&(e.push(t[l]),h++,c=Math.round(a+h*i))}const jn=(t,e,i)=>"top"===e||"left"===e?t[e]+i:t[e]-i,Bn=(t,e)=>Math.min(e||t,t);function Vn(t,e){const i=[],n=t.length/e,s=t.length;let a=0;for(;a<s;a+=n)i.push(t[Math.floor(a)]);return i}function Hn(t,e,i){const n=t.ticks.length,s=Math.min(e,n-1),a=t._startPixel,r=t._endPixel,o=1e-6;let l,c=t.getPixelForTick(s);if(!(i&&(l=1===n?Math.max(c-a,r-c):0===e?(t.getPixelForTick(1)-c)/2:(c-t.getPixelForTick(s-1))/2,c+=s<e?l:-l,c<a-o||c>r+o)))return c}function Wn(t){return t.drawTicks?t.tickLength:0}function Un(t,e){if(!t.display)return 0;const i=Se(t.font,e),n=Me(t.padding);return(z(t.text)?t.text.length:1)*i.lineHeight+n.height}function $n(t,e,i){let n=Rt(t);return(i&&"right"!==e||!i&&"right"===e)&&(n=(t=>"left"===t?"right":"right"===t?"left":t)(n)),n}class Yn extends In{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:n}=this;return t=j(t,Number.POSITIVE_INFINITY),e=j(e,Number.NEGATIVE_INFINITY),i=j(i,Number.POSITIVE_INFINITY),n=j(n,Number.NEGATIVE_INFINITY),{min:j(t,i),max:j(e,n),minDefined:F(t),maxDefined:F(e)}}getMinMax(t){let e,{min:i,max:n,minDefined:s,maxDefined:a}=this.getUserBounds();if(s&&a)return{min:i,max:n};const r=this.getMatchingVisibleMetas();for(let o=0,l=r.length;o<l;++o)e=r[o].controller.getMinMax(this,t),s||(i=Math.min(i,e.min)),a||(n=Math.max(n,e.max));return i=a&&i>n?n:i,n=s&&i>n?i:n,{min:j(i,j(n,i)),max:j(n,j(i,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){H(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:n,grace:s,ticks:a}=this.options,r=a.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(t,e,i){const{min:n,max:s}=t,a=V(e,(s-n)/2),r=(t,e)=>i&&0===t?0:t+e;return{min:r(n,-Math.abs(a)),max:r(s,a)}}(this,s,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const o=r<this.ticks.length;this._convertTicksToLabels(o?Vn(this.ticks,r):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||"auto"===a.source)&&(this.ticks=function(t,e){const i=t.options.ticks,n=function(t){const e=t.options.offset,i=t._tickSize(),n=t._length/i+(e?0:1),s=t._maxLength/i;return Math.floor(Math.min(n,s))}(t),s=Math.min(i.maxTicksLimit||n,n),a=i.major.enabled?function(t){const e=[];let i,n;for(i=0,n=t.length;i<n;i++)t[i].major&&e.push(i);return e}(e):[],r=a.length,o=a[0],l=a[r-1],c=[];if(r>s)return function(t,e,i,n){let s,a=0,r=i[0];for(n=Math.ceil(n),s=0;s<t.length;s++)s===r&&(e.push(t[s]),a++,r=i[a*n])}(e,c,a,r/s),c;const h=function(t,e,i){const n=function(t){const e=t.length;let i,n;if(e<2)return!1;for(n=t[0],i=1;i<e;++i)if(t[i]-t[i-1]!==n)return!1;return n}(t),s=e.length/i;if(!n)return Math.max(s,1);const a=function(t){const e=[],i=Math.sqrt(t);let n;for(n=1;n<i;n++)t%n==0&&(e.push(n),e.push(t/n));return i===(0|i)&&e.push(i),e.sort(((t,e)=>t-e)).pop(),e}(n);for(let t=0,e=a.length-1;t<e;t++){const e=a[t];if(e>s)return e}return Math.max(s,1)}(a,e,s);if(r>0){let t,i;const n=r>1?Math.round((l-o)/(r-1)):null;for(Fn(e,c,h,R(n)?0:o-n,o),t=0,i=r-1;t<i;t++)Fn(e,c,h,a[t],a[t+1]);return Fn(e,c,h,l,R(n)?e.length:l+n),c}return Fn(e,c,h),c}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),o&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,i=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,i=!i),this._startPixel=t,this._endPixel=e,this._reversePixels=i,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){H(this.options.afterUpdate,[this])}beforeSetDimensions(){H(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){H(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),H(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){H(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let i,n,s;for(i=0,n=t.length;i<n;i++)s=t[i],s.label=H(e.callback,[s.value,i,t],this)}afterTickToLabelConversion(){H(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){H(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,i=Bn(this.ticks.length,t.ticks.maxTicksLimit),n=e.minRotation||0,s=e.maxRotation;let a,r,o,l=n;if(!this._isVisible()||!e.display||n>=s||i<=1||!this.isHorizontal())return void(this.labelRotation=n);const c=this._getLabelSizes(),h=c.widest.width,d=c.highest.height,u=Mt(this.chart.width-h,0,this.maxWidth);a=t.offset?this.maxWidth/i:u/(i-1),h+6>a&&(a=u/(i-(t.offset?.5:1)),r=this.maxHeight-Wn(t.grid)-e.padding-Un(t.title,this.chart.options.font),o=Math.sqrt(h*h+d*d),l=xt(Math.min(Math.asin(Mt((c.highest.height+6)/a,-1,1)),Math.asin(Mt(r/o,-1,1))-Math.asin(Mt(d/o,-1,1)))),l=Math.max(n,Math.min(s,l))),this.labelRotation=l}afterCalculateLabelRotation(){H(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){H(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:n,grid:s}}=this,a=this._isVisible(),r=this.isHorizontal();if(a){const a=Un(n,e.options.font);if(r?(t.width=this.maxWidth,t.height=Wn(s)+a):(t.height=this.maxHeight,t.width=Wn(s)+a),i.display&&this.ticks.length){const{first:e,last:n,widest:s,highest:a}=this._getLabelSizes(),o=2*i.padding,l=bt(this.labelRotation),c=Math.cos(l),h=Math.sin(l);if(r){const e=i.mirror?0:h*s.width+c*a.height;t.height=Math.min(this.maxHeight,t.height+e+o)}else{const e=i.mirror?0:c*s.width+h*a.height;t.width=Math.min(this.maxWidth,t.width+e+o)}this._calculatePadding(e,n,h,c)}}this._handleMargins(),r?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,n){const{ticks:{align:s,padding:a},position:r}=this.options,o=0!==this.labelRotation,l="top"!==r&&"x"===this.axis;if(this.isHorizontal()){const r=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let h=0,d=0;o?l?(h=n*t.width,d=i*e.height):(h=i*t.height,d=n*e.width):"start"===s?d=e.width:"end"===s?h=t.width:"inner"!==s&&(h=t.width/2,d=e.width/2),this.paddingLeft=Math.max((h-r+a)*this.width/(this.width-r),0),this.paddingRight=Math.max((d-c+a)*this.width/(this.width-c),0)}else{let i=e.height/2,n=t.height/2;"start"===s?(i=0,n=t.height):"end"===s&&(i=e.height,n=0),this.paddingTop=i+a,this.paddingBottom=n+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){H(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e<i;e++)R(t[e].label)&&(t.splice(e,1),i--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let i=this.ticks;e<i.length&&(i=Vn(i,e)),this._labelSizes=t=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,e,i){const{ctx:n,_longestTextCache:s}=this,a=[],r=[],o=Math.floor(e/Bn(e,i));let l,c,h,d,u,f,g,p,m,b,x,y=0,v=0;for(l=0;l<e;l+=o){if(d=t[l].label,u=this._resolveTickFontOptions(l),n.font=f=u.string,g=s[f]=s[f]||{data:{},gc:[]},p=u.lineHeight,m=b=0,R(d)||z(d)){if(z(d))for(c=0,h=d.length;c<h;++c)x=d[c],R(x)||z(x)||(m=se(n,g.data,g.gc,m,x),b+=p)}else m=se(n,g.data,g.gc,m,d),b=p;a.push(m),r.push(b),y=Math.max(m,y),v=Math.max(b,v)}!function(t,e){W(t,(t=>{const i=t.gc,n=i.length/2;let s;if(n>e){for(s=0;s<n;++s)delete t.data[i[s]];i.splice(0,n)}}))}(s,e);const _=a.indexOf(y),w=r.indexOf(v),k=t=>({width:a[t]||0,height:r[t]||0});return{first:k(0),last:k(e-1),widest:k(_),highest:k(w),widths:a,heights:r}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return Mt(this._alignToPixels?re(this.chart,e,0):e,-32768,32767)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const i=e[t];return i.$context||(i.$context=function(t,e,i){return Oe(t,{tick:i,index:e,type:"tick"})}(this.getContext(),t,i))}return this.$context||(this.$context=Oe(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const t=this.options.ticks,e=bt(this.labelRotation),i=Math.abs(Math.cos(e)),n=Math.abs(Math.sin(e)),s=this._getLabelSizes(),a=t.autoSkipPadding||0,r=s?s.widest.width+a:0,o=s?s.highest.height+a:0;return this.isHorizontal()?o*i>r*n?r/i:o/n:o*n<r*i?o/i:r/n}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,i=this.chart,n=this.options,{grid:s,position:a,border:r}=n,o=s.offset,l=this.isHorizontal(),c=this.ticks.length+(o?1:0),h=Wn(s),d=[],u=r.setContext(this.getContext()),f=u.display?u.width:0,g=f/2,p=function(t){return re(i,t,f)};let m,b,x,y,v,_,w,k,E,M,S,C;if("top"===a)m=p(this.bottom),_=this.bottom-h,k=m-g,M=p(t.top)+g,C=t.bottom;else if("bottom"===a)m=p(this.top),M=t.top,C=p(t.bottom)-g,_=m+g,k=this.top+h;else if("left"===a)m=p(this.right),v=this.right-h,w=m-g,E=p(t.left)+g,S=t.right;else if("right"===a)m=p(this.left),E=t.left,S=p(t.right)-g,v=m+g,w=this.left+h;else if("x"===e){if("center"===a)m=p((t.top+t.bottom)/2+.5);else if(I(a)){const t=Object.keys(a)[0],e=a[t];m=p(this.chart.scales[t].getPixelForValue(e))}M=t.top,C=t.bottom,_=m+g,k=_+h}else if("y"===e){if("center"===a)m=p((t.left+t.right)/2);else if(I(a)){const t=Object.keys(a)[0],e=a[t];m=p(this.chart.scales[t].getPixelForValue(e))}v=m-g,w=v-h,E=t.left,S=t.right}const O=B(n.ticks.maxTicksLimit,c),P=Math.max(1,Math.ceil(c/O));for(b=0;b<c;b+=P){const t=this.getContext(b),e=s.setContext(t),n=r.setContext(t),a=e.lineWidth,c=e.color,h=n.dash||[],u=n.dashOffset,f=e.tickWidth,g=e.tickColor,p=e.tickBorderDash||[],m=e.tickBorderDashOffset;x=Hn(this,b,o),void 0!==x&&(y=re(i,x,a),l?v=w=E=S=y:_=k=M=C=y,d.push({tx1:v,ty1:_,tx2:w,ty2:k,x1:E,y1:M,x2:S,y2:C,width:a,color:c,borderDash:h,borderDashOffset:u,tickWidth:f,tickColor:g,tickBorderDash:p,tickBorderDashOffset:m}))}return this._ticksLength=c,this._borderValue=m,d}_computeLabelItems(t){const e=this.axis,i=this.options,{position:n,ticks:s}=i,a=this.isHorizontal(),r=this.ticks,{align:o,crossAlign:l,padding:c,mirror:h}=s,d=Wn(i.grid),u=d+c,f=h?-c:u,g=-bt(this.labelRotation),p=[];let m,b,x,y,v,_,w,k,E,M,S,C,O="middle";if("top"===n)_=this.bottom-f,w=this._getXAxisLabelAlignment();else if("bottom"===n)_=this.top+f,w=this._getXAxisLabelAlignment();else if("left"===n){const t=this._getYAxisLabelAlignment(d);w=t.textAlign,v=t.x}else if("right"===n){const t=this._getYAxisLabelAlignment(d);w=t.textAlign,v=t.x}else if("x"===e){if("center"===n)_=(t.top+t.bottom)/2+u;else if(I(n)){const t=Object.keys(n)[0],e=n[t];_=this.chart.scales[t].getPixelForValue(e)+u}w=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===n)v=(t.left+t.right)/2-u;else if(I(n)){const t=Object.keys(n)[0],e=n[t];v=this.chart.scales[t].getPixelForValue(e)}w=this._getYAxisLabelAlignment(d).textAlign}"y"===e&&("start"===o?O="top":"end"===o&&(O="bottom"));const P=this._getLabelSizes();for(m=0,b=r.length;m<b;++m){x=r[m],y=x.label;const t=s.setContext(this.getContext(m));k=this.getPixelForTick(m)+s.labelOffset,E=this._resolveTickFontOptions(m),M=E.lineHeight,S=z(y)?y.length:1;const e=S/2,i=t.color,o=t.textStrokeColor,c=t.textStrokeWidth;let d,u=w;if(a?(v=k,"inner"===w&&(u=m===b-1?this.options.reverse?"left":"right":0===m?this.options.reverse?"right":"left":"center"),C="top"===n?"near"===l||0!==g?-S*M+M/2:"center"===l?-P.highest.height/2-e*M+M:-P.highest.height+M/2:"near"===l||0!==g?M/2:"center"===l?P.highest.height/2-e*M:P.highest.height-S*M,h&&(C*=-1),0===g||t.showLabelBackdrop||(v+=M/2*Math.sin(g))):(_=k,C=(1-S)*M/2),t.showLabelBackdrop){const e=Me(t.backdropPadding),i=P.heights[m],n=P.widths[m];let s=C-e.top,a=0-e.left;switch(O){case"middle":s-=i/2;break;case"bottom":s-=i}switch(w){case"center":a-=n/2;break;case"right":a-=n;break;case"inner":m===b-1?a-=n:m>0&&(a-=n/2)}d={left:a,top:s,width:n+e.width,height:i+e.height,color:t.backdropColor}}p.push({label:y,font:E,textOffset:C,options:{rotation:g,color:i,strokeColor:o,strokeWidth:c,textAlign:u,textBaseline:O,translation:[v,_],backdrop:d}})}return p}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-bt(this.labelRotation))return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align?i="right":"inner"===e.align&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:i,mirror:n,padding:s}}=this.options,a=t+s,r=this._getLabelSizes().widest.width;let o,l;return"left"===e?n?(l=this.right+s,"near"===i?o="left":"center"===i?(o="center",l+=r/2):(o="right",l+=r)):(l=this.right-a,"near"===i?o="right":"center"===i?(o="center",l-=r/2):(o="left",l=this.left)):"right"===e?n?(l=this.left+s,"near"===i?o="right":"center"===i?(o="center",l-=r/2):(o="left",l-=r)):(l=this.left+a,"near"===i?o="left":"center"===i?(o="center",l+=r/2):(o="right",l=this.right)):o="right",{textAlign:o,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:n,width:s,height:a}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,n,s,a),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const i=this.ticks.findIndex((e=>e.value===t));return i>=0?e.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const e=this.options.grid,i=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let s,a;const r=(t,e,n)=>{n.width&&n.color&&(i.save(),i.lineWidth=n.width,i.strokeStyle=n.color,i.setLineDash(n.borderDash||[]),i.lineDashOffset=n.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(e.display)for(s=0,a=n.length;s<a;++s){const t=n[s];e.drawOnChartArea&&r({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&r({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{border:i,grid:n}}=this,s=i.setContext(this.getContext()),a=i.display?s.width:0;if(!a)return;const r=n.setContext(this.getContext(0)).lineWidth,o=this._borderValue;let l,c,h,d;this.isHorizontal()?(l=re(t,this.left,a)-a/2,c=re(t,this.right,r)+r/2,h=d=o):(h=re(t,this.top,a)-a/2,d=re(t,this.bottom,r)+r/2,l=c=o),e.save(),e.lineWidth=s.width,e.strokeStyle=s.color,e.beginPath(),e.moveTo(l,h),e.lineTo(c,d),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,i=this._computeLabelArea();i&&de(e,i);const n=this.getLabelItems(t);for(const t of n){const i=t.options,n=t.font;be(e,t.label,0,t.textOffset,n,i)}i&&ue(e)}drawTitle(){const{ctx:t,options:{position:e,title:i,reverse:n}}=this;if(!i.display)return;const s=Se(i.font),a=Me(i.padding),r=i.align;let o=s.lineHeight/2;"bottom"===e||"center"===e||I(e)?(o+=a.bottom,z(i.text)&&(o+=s.lineHeight*(i.text.length-1))):o+=a.top;const{titleX:l,titleY:c,maxWidth:h,rotation:d}=function(t,e,i,n){const{top:s,left:a,bottom:r,right:o,chart:l}=t,{chartArea:c,scales:h}=l;let d,u,f,g=0;const p=r-s,m=o-a;if(t.isHorizontal()){if(u=zt(n,a,o),I(i)){const t=Object.keys(i)[0],n=i[t];f=h[t].getPixelForValue(n)+p-e}else f="center"===i?(c.bottom+c.top)/2+p-e:jn(t,i,e);d=o-a}else{if(I(i)){const t=Object.keys(i)[0],n=i[t];u=h[t].getPixelForValue(n)-m+e}else u="center"===i?(c.left+c.right)/2-m+e:jn(t,i,e);f=zt(n,r,s),g="left"===i?-lt:lt}return{titleX:u,titleY:f,maxWidth:d,rotation:g}}(this,o,e,r);be(t,i.text,0,0,s,{color:i.color,maxWidth:h,rotation:d,textAlign:$n(r,e,n),textBaseline:"middle",translation:[l,c]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,i=B(t.grid&&t.grid.z,-1),n=B(t.border&&t.border.z,0);return this._isVisible()&&this.draw===Yn.prototype.draw?[{z:i,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",n=[];let s,a;for(s=0,a=e.length;s<a;++s){const a=e[s];a[i]!==this.id||t&&a.type!==t||n.push(a)}return n}_resolveTickFontOptions(t){return Se(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class qn{constructor(t,e,i){this.type=t,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let i;(function(t){return"id"in t&&"defaults"in t})(e)&&(i=this.register(e));const n=this.items,s=t.id,a=this.scope+"."+s;if(!s)throw new Error("class does not have id: "+t);return s in n||(n[s]=t,function(t,e,i){const n=X(Object.create(null),[i?ne.get(i):{},ne.get(e),t.defaults]);ne.set(e,n),t.defaultRoutes&&function(t,e){Object.keys(e).forEach((i=>{const n=i.split("."),s=n.pop(),a=[t].concat(n).join("."),r=e[i].split("."),o=r.pop(),l=r.join(".");ne.route(a,s,l,o)}))}(e,t.defaultRoutes),t.descriptors&&ne.describe(e,t.descriptors)}(t,a,i),this.override&&ne.override(t.id,t.overrides)),a}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,n=this.scope;i in e&&delete e[i],n&&i in ne[n]&&(delete ne[n][i],this.override&&delete Zt[i])}}class Xn{constructor(){this.controllers=new qn(Ii,"datasets",!0),this.elements=new qn(In,"elements"),this.plugins=new qn(Object,"plugins"),this.scales=new qn(Yn,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach((e=>{const n=i||this._getRegistryForType(e);i||n.isForType(e)||n===this.plugins&&e.id?this._exec(t,n,e):W(e,(e=>{const n=i||this._getRegistryForType(e);this._exec(t,n,e)}))}))}_exec(t,e,i){const n=Q(t);H(i["before"+n],[],i),e[t](i),H(i["after"+n],[],i)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const i=this._typedRegistries[e];if(i.isForType(t))return i}return this.plugins}_get(t,e,i){const n=e.get(t);if(void 0===n)throw new Error('"'+t+'" is not a registered '+i+".");return n}}var Kn=new Xn;class Jn{constructor(){this._init=[]}notify(t,e,i,n){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const s=n?this._descriptors(t).filter(n):this._descriptors(t),a=this._notify(s,t,e,i);return"afterDestroy"===e&&(this._notify(s,t,"stop"),this._notify(this._init,t,"uninstall")),a}_notify(t,e,i,n){n=n||{};for(const s of t){const t=s.plugin;if(!1===H(t[i],[e,n,s.options],t)&&n.cancelable)return!1}return!0}invalidate(){R(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const i=t&&t.config,n=B(i.options&&i.options.plugins,{}),s=function(t){const e={},i=[],n=Object.keys(Kn.plugins.items);for(let t=0;t<n.length;t++)i.push(Kn.getPlugin(n[t]));const s=t.plugins||[];for(let t=0;t<s.length;t++){const n=s[t];-1===i.indexOf(n)&&(i.push(n),e[n.id]=!0)}return{plugins:i,localIds:e}}(i);return!1!==n||e?function(t,{plugins:e,localIds:i},n,s){const a=[],r=t.getContext();for(const o of e){const e=o.id,l=Gn(n[e],s);null!==l&&a.push({plugin:o,options:Zn(t.config,{plugin:o,local:i[e]},l,r)})}return a}(t,s,n,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],i=this._cache,n=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(n(e,i),t,"stop"),this._notify(n(i,e),t,"start")}}function Gn(t,e){return e||!1!==t?!0===t?{}:t:null}function Zn(t,{plugin:e,local:i},n,s){const a=t.pluginScopeKeys(e),r=t.getOptionScopes(n,a);return i&&e.defaults&&r.push(e.defaults),t.createResolver(r,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Qn(t,e){const i=ne.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function ts(t){if("x"===t||"y"===t||"r"===t)return t}function es(t,...e){if(ts(t))return t;for(const n of e){const e=n.axis||("top"===(i=n.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.length>1&&ts(t[0].toLowerCase());if(e)return e}var i;throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function is(t,e,i){if(i[e+"AxisID"]===t)return{axis:e}}function ns(t){const e=t.options||(t.options={});e.plugins=B(e.plugins,{}),e.scales=function(t,e){const i=Zt[t.type]||{scales:{}},n=e.scales||{},s=Qn(t.type,e),a=Object.create(null);return Object.keys(n).forEach((e=>{const r=n[e];if(!I(r))return console.error(`Invalid scale configuration for scale: ${e}`);if(r._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const o=es(e,r,function(t,e){if(e.data&&e.data.datasets){const i=e.data.datasets.filter((e=>e.xAxisID===t||e.yAxisID===t));if(i.length)return is(t,"x",i[0])||is(t,"y",i[0])}return{}}(e,t),ne.scales[r.type]),l=function(t,e){return t===e?"_index_":"_value_"}(o,s),c=i.scales||{};a[e]=K(Object.create(null),[{axis:o},r,c[o],c[l]])})),t.data.datasets.forEach((i=>{const s=i.type||t.type,r=i.indexAxis||Qn(s,e),o=(Zt[s]||{}).scales||{};Object.keys(o).forEach((t=>{const e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,r),s=i[e+"AxisID"]||e;a[s]=a[s]||Object.create(null),K(a[s],[{axis:e},n[s],o[t]])}))})),Object.keys(a).forEach((t=>{const e=a[t];K(e,[ne.scales[e.type],ne.scale])})),a}(t,e)}function ss(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const as=new Map,rs=new Set;function os(t,e){let i=as.get(t);return i||(i=e(),as.set(t,i),rs.add(i)),i}const ls=(t,e,i)=>{const n=Z(e,i);void 0!==n&&t.add(n)};class cs{constructor(t){this._config=function(t){return(t=t||{}).data=ss(t.data),ns(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=ss(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),ns(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return os(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return os(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return os(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return os(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const i=this._scopeCache;let n=i.get(t);return n&&!e||(n=new Map,i.set(t,n)),n}getOptionScopes(t,e,i){const{options:n,type:s}=this,a=this._cachedScopes(t,i),r=a.get(e);if(r)return r;const o=new Set;e.forEach((e=>{t&&(o.add(t),e.forEach((e=>ls(o,t,e)))),e.forEach((t=>ls(o,n,t))),e.forEach((t=>ls(o,Zt[s]||{},t))),e.forEach((t=>ls(o,ne,t))),e.forEach((t=>ls(o,Qt,t)))}));const l=Array.from(o);return 0===l.length&&l.push(Object.create(null)),rs.has(e)&&a.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,Zt[e]||{},ne.datasets[e]||{},{type:e},ne,Qt]}resolveNamedOptions(t,e,i,n=[""]){const s={$shared:!0},{resolver:a,subPrefixes:r}=hs(this._resolverCache,t,n);let o=a;(function(t,e){const{isScriptable:i,isIndexable:n}=Ae(t);for(const s of e){const e=i(s),a=n(s),r=(a||e)&&t[s];if(e&&(et(r)||ds(r))||a&&z(r))return!0}return!1})(a,e)&&(s.$shared=!1,o=Ne(a,i=et(i)?i():i,this.createResolver(t,i,r)));for(const t of e)s[t]=o[t];return s}createResolver(t,e,i=[""],n){const{resolver:s}=hs(this._resolverCache,t,i);return I(e)?Ne(s,e,void 0,n):s}}function hs(t,e,i){let n=t.get(e);n||(n=new Map,t.set(e,n));const s=i.join();let a=n.get(s);return a||(a={resolver:Pe(e,i),subPrefixes:i.filter((t=>!t.toLowerCase().includes("hover")))},n.set(s,a)),a}const ds=t=>I(t)&&Object.getOwnPropertyNames(t).some((e=>et(t[e]))),us=["top","bottom","left","right","chartArea"];function fs(t,e){return"top"===t||"bottom"===t||-1===us.indexOf(t)&&"x"===e}function gs(t,e){return function(i,n){return i[t]===n[t]?i[e]-n[e]:i[t]-n[t]}}function ps(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),H(i&&i.onComplete,[t],e)}function ms(t){const e=t.chart,i=e.options.animation;H(i&&i.onProgress,[t],e)}function bs(t){return Ke()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const xs={},ys=t=>{const e=bs(t);return Object.values(xs).filter((t=>t.canvas===e)).pop()};function vs(t,e,i){const n=Object.keys(t);for(const s of n){const n=+s;if(n>=e){const a=t[s];delete t[s],(i>0||n>e)&&(t[n+i]=a)}}}class _s{static defaults=ne;static instances=xs;static overrides=Zt;static registry=Kn;static version="4.5.0";static getChart=ys;static register(...t){Kn.add(...t),ws()}static unregister(...t){Kn.remove(...t),ws()}constructor(t,e){const i=this.config=new cs(e),n=bs(t),s=ys(n);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const a=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(t){return!Ke()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?vn:zn}(n)),this.platform.updateConfig(i);const r=this.platform.acquireContext(n,a.aspectRatio),o=r&&r.canvas,l=o&&o.height,c=o&&o.width;this.id=D(),this.ctx=r,this.canvas=o,this.width=c,this.height=l,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Jn,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){let i;return function(...n){return e?(clearTimeout(i),i=setTimeout(t,e,n)):t.apply(this,n),e}}((t=>this.update(t)),a.resizeDelay||0),this._dataChanges=[],xs[this.id]=this,r&&o?(_i.listen(this,"complete",ps),_i.listen(this,"progress",ms),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:n,_aspectRatio:s}=this;return R(t)?e&&s?s:n?i/n:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Kn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ni(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return oe(this.canvas,this.ctx),this}stop(){return _i.stop(this),this}resize(t,e){_i.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,n=this.canvas,s=i.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(n,t,e,s),r=i.devicePixelRatio||this.platform.getDevicePixelRatio(),o=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,ni(this,r,!0)&&(this.notifyPlugins("resize",{size:a}),H(i.onResize,[this,a],this),this.attached&&this._doResize(o)&&this.render())}ensureScalesHaveIDs(){W(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,n=Object.keys(i).reduce(((t,e)=>(t[e]=!1,t)),{});let s=[];e&&(s=s.concat(Object.keys(e).map((t=>{const i=e[t],n=es(t,i),s="r"===n,a="x"===n;return{options:i,dposition:s?"chartArea":a?"bottom":"left",dtype:s?"radialLinear":a?"category":"linear"}})))),W(s,(e=>{const s=e.options,a=s.id,r=es(a,s),o=B(s.type,e.dtype);void 0!==s.position&&fs(s.position,r)===fs(e.dposition)||(s.position=e.dposition),n[a]=!0;let l=null;a in i&&i[a].type===o?l=i[a]:(l=new(Kn.getScale(o))({id:a,type:o,ctx:this.ctx,chart:this}),i[l.id]=l),l.init(s,t)})),W(n,((t,e)=>{t||delete i[e]})),W(i,(t=>{xn.configure(this,t,t.options),xn.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort(((t,e)=>t.index-e.index)),i>e){for(let t=e;t<i;++t)this._destroyDatasetMeta(t);t.splice(e,i-e)}this._sortedMetasets=t.slice(0).sort(gs("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach(((t,i)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,n;for(this._removeUnreferencedMetasets(),i=0,n=e.length;i<n;i++){const n=e[i];let s=this.getDatasetMeta(i);const a=n.type||this.config.type;if(s.type&&s.type!==a&&(this._destroyDatasetMeta(i),s=this.getDatasetMeta(i)),s.type=a,s.indexAxis=n.indexAxis||Qn(a,this.options),s.order=n.order||0,s.index=i,s.label=""+n.label,s.visible=this.isDatasetVisible(i),s.controller)s.controller.updateIndex(i),s.controller.linkScales();else{const e=Kn.getController(a),{datasetElementType:n,dataElementType:r}=ne.datasets[a];Object.assign(e,{dataElementType:Kn.getElement(r),datasetElementType:n&&Kn.getElement(n)}),s.controller=new e(this,i),t.push(s.controller)}}return this._updateMetasets(),t}_resetElements(){W(this.data.datasets,((t,e)=>{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let t=0,e=this.data.datasets.length;t<e;t++){const{controller:e}=this.getDatasetMeta(t),i=!n&&-1===s.indexOf(e);e.buildOrUpdateElements(i),a=Math.max(+e.getMaxOverflow(),a)}a=this._minPadding=i.layout.autoPadding?a:0,this._updateLayout(a),n||W(s,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(gs("z","_idx"));const{_active:r,_lastEvent:o}=this;o?this._eventHandler(o,!0):r.length&&this._updateHoverStyles(r,r,!0),this.render()}_updateScales(){W(this.scales,(t=>{xn.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);it(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:n,count:s}of e)vs(t,n,"_removeElements"===i?-s:s)}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),n=i(0);for(let t=1;t<e;t++)if(!it(n,i(t)))return;return Array.from(n).map((t=>t.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;xn.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],W(this.boxes,(t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,i=this.data.datasets.length;e<i;++e)this._updateDataset(e,et(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const i=this.getDatasetMeta(t),n={meta:i,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",n)&&(i.controller._update(e),n.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",n))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(_i.has(this)?this.attached&&!_i.running(this)&&_i.start(this):(this.draw(),ps({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(t,e)}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,i=[];let n,s;for(n=0,s=e.length;n<s;++n){const s=e[n];t&&!s.visible||i.push(s)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i={meta:t,index:t.index,cancelable:!0},n=yi(this,t);!1!==this.notifyPlugins("beforeDatasetDraw",i)&&(n&&de(e,n),t.controller.draw(),n&&ue(e),i.cancelable=!1,this.notifyPlugins("afterDatasetDraw",i))}isPointInArea(t){return he(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,n){const s=rn.modes[e];return"function"==typeof s?s(this,t,i,n):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let n=i.filter((t=>t&&t._dataset===e)).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(n)),n}getContext(){return this.$context||(this.$context=Oe(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const n=i?"show":"hide",s=this.getDatasetMeta(t),a=s.controller._resolveAnimations(void 0,n);tt(e)?(s.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),a.update(s,{visible:i}),this.update((e=>e.datasetIndex===t?n:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),_i.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),oe(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),delete xs[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,i=(i,n)=>{e.addEventListener(this,i,n),t[i]=n},n=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};W(this.options.events,(t=>i(t,n)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(i,n)=>{e.addEventListener(this,i,n),t[i]=n},n=(i,n)=>{t[i]&&(e.removeEventListener(this,i,n),delete t[i])},s=(t,e)=>{this.canvas&&this.resize(t,e)};let a;const r=()=>{n("attach",r),this.attached=!0,this.resize(),i("resize",s),i("detach",a)};a=()=>{this.attached=!1,n("resize",s),this._stop(),this._resize(0,0),i("attach",r)},e.isAttached(this.canvas)?r():a()}unbindEvents(){W(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},W(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const n=i?"set":"remove";let s,a,r,o;for("dataset"===e&&(s=this.getDatasetMeta(t[0].datasetIndex),s.controller["_"+n+"DatasetHoverStyle"]()),r=0,o=t.length;r<o;++r){a=t[r];const e=a&&this.getDatasetMeta(a.datasetIndex).controller;e&&e[n+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],i=t.map((({datasetIndex:t,index:e})=>{const i=this.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}));!U(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}isPluginEnabled(t){return 1===this._plugins._cache.filter((e=>e.plugin.id===t)).length}_updateHoverStyles(t,e,i){const n=this.options.hover,s=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),a=s(e,t),r=i?t:s(t,e);a.length&&this.updateHoverStyle(a,n.mode,!1),r.length&&n.mode&&this.updateHoverStyle(r,n.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},n=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,n))return;const s=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,n),(s||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:n=[],options:s}=this,a=e,r=this._getActiveElements(t,n,i,a),o=function(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(t),l=function(t,e,i,n){return i&&"mouseout"!==t.type?n?e:t:null}(t,this._lastEvent,i,o);i&&(this._lastEvent=null,H(s.onHover,[t,r,this],this),o&&H(s.onClick,[t,r,this],this));const c=!U(r,n);return(c||e)&&(this._active=r,this._updateHoverStyles(r,n,e)),this._lastEvent=l,c}_getActiveElements(t,e,i,n){if("mouseout"===t.type)return[];if(!i)return e;const s=this.options.hover;return this.getElementsAtEventForMode(t,s.mode,s,n)}}function ws(){return W(_s.instances,(t=>t._plugins.invalidate()))}function ks(t,e,i,n){return{x:i+t*Math.cos(e),y:n+t*Math.sin(e)}}function Es(t,e,i,n,s,a){const{x:r,y:o,startAngle:l,pixelMargin:c,innerRadius:h}=e,d=Math.max(e.outerRadius+n+i-c,0),u=h>0?h+n+i+c:0;let f=0;const g=s-l;if(n){const t=((h>0?h-n:0)+(d>0?d-n:0))/2;f=(g-(0!==t?g*t/(t+n):g))/2}const p=(g-Math.max(.001,g*d-i/nt)/d)/2,m=l+p+f,b=s-p-f,{outerStart:x,outerEnd:y,innerStart:v,innerEnd:_}=function(t,e,i,n){const s=we(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),a=(i-e)/2,r=Math.min(a,n*e/2),o=t=>{const e=(i-Math.min(a,t))*n/2;return Mt(t,0,Math.min(a,e))};return{outerStart:o(s.outerStart),outerEnd:o(s.outerEnd),innerStart:Mt(s.innerStart,0,r),innerEnd:Mt(s.innerEnd,0,r)}}(e,u,d,b-m),w=d-x,k=d-y,E=m+x/w,M=b-y/k,S=u+v,C=u+_,O=m+v/S,P=b-_/C;if(t.beginPath(),a){const e=(E+M)/2;if(t.arc(r,o,d,E,e),t.arc(r,o,d,e,M),y>0){const e=ks(k,M,r,o);t.arc(e.x,e.y,y,M,b+lt)}const i=ks(C,b,r,o);if(t.lineTo(i.x,i.y),_>0){const e=ks(C,P,r,o);t.arc(e.x,e.y,_,b+lt,P+Math.PI)}const n=(b-_/u+(m+v/u))/2;if(t.arc(r,o,u,b-_/u,n,!0),t.arc(r,o,u,n,m+v/u,!0),v>0){const e=ks(S,O,r,o);t.arc(e.x,e.y,v,O+Math.PI,m-lt)}const s=ks(w,m,r,o);if(t.lineTo(s.x,s.y),x>0){const e=ks(w,E,r,o);t.arc(e.x,e.y,x,m-lt,E)}}else{t.moveTo(r,o);const e=Math.cos(E)*d+r,i=Math.sin(E)*d+o;t.lineTo(e,i);const n=Math.cos(M)*d+r,s=Math.sin(M)*d+o;t.lineTo(n,s)}t.closePath()}function Ms(t,e,i=e){t.lineCap=B(i.borderCapStyle,e.borderCapStyle),t.setLineDash(B(i.borderDash,e.borderDash)),t.lineDashOffset=B(i.borderDashOffset,e.borderDashOffset),t.lineJoin=B(i.borderJoinStyle,e.borderJoinStyle),t.lineWidth=B(i.borderWidth,e.borderWidth),t.strokeStyle=B(i.borderColor,e.borderColor)}function Ss(t,e,i){t.lineTo(i.x,i.y)}function Cs(t,e,i={}){const n=t.length,{start:s=0,end:a=n-1}=i,{start:r,end:o}=e,l=Math.max(s,r),c=Math.min(a,o),h=s<r&&a<r||s>o&&a>o;return{count:n,start:l,loop:e.loop,ilen:c<l&&!h?n+c-l:c-l}}function Os(t,e,i,n){const{points:s,options:a}=e,{count:r,start:o,loop:l,ilen:c}=Cs(s,i,n),h=function(t){return t.stepped?fe:t.tension||"monotone"===t.cubicInterpolationMode?ge:Ss}(a);let d,u,f,{move:g=!0,reverse:p}=n||{};for(d=0;d<=c;++d)u=s[(o+(p?c-d:d))%r],u.skip||(g?(t.moveTo(u.x,u.y),g=!1):h(t,f,u,p,a.stepped),f=u);return l&&(u=s[(o+(p?c:0))%r],h(t,f,u,p,a.stepped)),!!l}function Ps(t,e,i,n){const s=e.points,{count:a,start:r,ilen:o}=Cs(s,i,n),{move:l=!0,reverse:c}=n||{};let h,d,u,f,g,p,m=0,b=0;const x=t=>(r+(c?o-t:t))%a,y=()=>{f!==g&&(t.lineTo(m,g),t.lineTo(m,f),t.lineTo(m,p))};for(l&&(d=s[x(0)],t.moveTo(d.x,d.y)),h=0;h<=o;++h){if(d=s[x(h)],d.skip)continue;const e=d.x,i=d.y,n=0|e;n===u?(i<f?f=i:i>g&&(g=i),m=(b*m+e)/++b):(y(),t.lineTo(e,i),u=n,b=0,f=g=i),p=i}y()}function Ns(t){const e=t.options,i=e.borderDash&&e.borderDash.length;return t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i?Os:Ps}const As="function"==typeof Path2D;class Ls extends In{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const n=i.spanGaps?this._loop:this._fullLoop;Xe(this._points,i,t,n,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(t,e){const i=t.points,n=t.options.spanGaps,s=i.length;if(!s)return[];const a=!!t._loop,{start:r,end:o}=function(t,e,i,n){let s=0,a=e-1;if(i&&!n)for(;s<e&&!t[s].skip;)s++;for(;s<e&&t[s].skip;)s++;for(s%=e,i&&(a+=s);a>s&&t[a%e].skip;)a--;return a%=e,{start:s,end:a}}(i,s,a,n);return function(t,e,i,n){return n&&n.setContext&&i?function(t,e,i,n){const s=t._chart.getContext(),a=mi(t.options),{_datasetIndex:r,options:{spanGaps:o}}=t,l=i.length,c=[];let h=a,d=e[0].start,u=d;function f(t,e,n,s){const a=o?-1:1;if(t!==e){for(t+=l;i[t%l].skip;)t-=a;for(;i[e%l].skip;)e+=a;t%l!=e%l&&(c.push({start:t%l,end:e%l,loop:n,style:s}),h=s,d=e%l)}}for(const t of e){d=o?d:t.start;let e,a=i[d%l];for(u=d+1;u<=t.end;u++){const o=i[u%l];e=mi(n.setContext(Oe(s,{type:"segment",p0:a,p1:o,p0DataIndex:(u-1)%l,p1DataIndex:u%l,datasetIndex:r}))),bi(e,h)&&f(d,u-1,t.loop,h),a=o,h=e}d<u-1&&f(d,u-1,t.loop,h)}return c}(t,e,i,n):e}(t,!0===n?[{start:r,end:o,loop:a}]:function(t,e,i,n){const s=t.length,a=[];let r,o=e,l=t[e];for(r=e+1;r<=i;++r){const i=t[r%s];i.skip||i.stop?l.skip||(n=!1,a.push({start:e%s,end:(r-1)%s,loop:n}),e=o=i.stop?r:null):(o=r,l.skip&&(e=r)),l=i}return null!==o&&a.push({start:e%s,end:o%s,loop:n}),a}(i,r,o<r?o+s:o,!!t._fullLoop&&0===r&&o===s-1),i,e)}(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){const i=this.options,n=t[e],s=this.points,a=pi(this,{property:e,start:n,end:n});if(!a.length)return;const r=[],o=function(t){return t.stepped?oi:t.tension||"monotone"===t.cubicInterpolationMode?li:ri}(i);let l,c;for(l=0,c=a.length;l<c;++l){const{start:c,end:h}=a[l],d=s[c],u=s[h];if(d===u){r.push(d);continue}const f=o(d,u,Math.abs((n-d[e])/(u[e]-d[e])),i.stepped);f[e]=t[e],r.push(f)}return 1===r.length?r[0]:r}pathSegment(t,e,i){return Ns(this)(t,this,e,i)}path(t,e,i){const n=this.segments,s=Ns(this);let a=this._loop;e=e||0,i=i||this.points.length-e;for(const r of n)a&=s(t,this,r,{start:e,end:e+i-1});return!!a}draw(t,e,i,n){const s=this.options||{};(this.points||[]).length&&s.borderWidth&&(t.save(),function(t,e,i,n){As&&!e.options.segment?function(t,e,i,n){let s=e._path;s||(s=e._path=new Path2D,e.path(s,i,n)&&s.closePath()),Ms(t,e.options),t.stroke(s)}(t,e,i,n):function(t,e,i,n){const{segments:s,options:a}=e,r=Ns(e);for(const o of s)Ms(t,a,o.style),t.beginPath(),r(t,e,o,{start:i,end:i+n-1})&&t.closePath(),t.stroke()}(t,e,i,n)}(t,this,i,n),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Ts(t,e,i,n){const s=t.options,{[i]:a}=t.getProps([i],n);return Math.abs(e-a)<s.radius+s.hitRadius}class Ds extends In{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){const n=this.options,{x:s,y:a}=this.getProps(["x","y"],i);return Math.pow(t-s,2)+Math.pow(e-a,2)<Math.pow(n.hitRadius+n.radius,2)}inXRange(t,e){return Ts(this,t,"x",e)}inYRange(t,e){return Ts(this,t,"y",e)}getCenterPoint(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}size(t){let e=(t=t||this.options||{}).radius||0;return e=Math.max(e,e&&t.hoverRadius||0),2*(e+(e&&t.borderWidth||0))}draw(t,e){const i=this.options;this.skip||i.radius<.1||!he(this,e,this.size(i)/2)||(t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.fillStyle=i.backgroundColor,le(t,i,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function Rs(t,e){const{x:i,y:n,base:s,width:a,height:r}=t.getProps(["x","y","base","width","height"],e);let o,l,c,h,d;return t.horizontal?(d=r/2,o=Math.min(i,s),l=Math.max(i,s),c=n-d,h=n+d):(d=a/2,o=i-d,l=i+d,c=Math.min(n,s),h=Math.max(n,s)),{left:o,top:c,right:l,bottom:h}}function zs(t,e,i,n){return t?0:Mt(e,i,n)}function Is(t,e,i,n){const s=null===e,a=null===i,r=t&&!(s&&a)&&Rs(t,n);return r&&(s||St(e,r.left,r.right))&&(a||St(i,r.top,r.bottom))}function Fs(t,e){t.rect(e.x,e.y,e.w,e.h)}function js(t,e,i={}){const n=t.x!==i.x?-e:0,s=t.y!==i.y?-e:0,a=(t.x+t.w!==i.x+i.w?e:0)-n,r=(t.y+t.h!==i.y+i.h?e:0)-s;return{x:t.x+n,y:t.y+s,w:t.w+a,h:t.h+r,radius:t.radius}}var Bs=Object.freeze({__proto__:null,ArcElement:class extends In{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const n=this.getProps(["x","y"],i),{angle:s,distance:a}=vt(n,{x:t,y:e}),{startAngle:r,endAngle:o,innerRadius:l,outerRadius:c,circumference:h}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),d=(this.options.spacing+this.options.borderWidth)/2,u=B(h,o-r),f=Et(s,r,o)&&r!==o,g=u>=st||f,p=St(a,l+d,c+d);return g&&p}getCenterPoint(t){const{x:e,y:i,startAngle:n,endAngle:s,innerRadius:a,outerRadius:r}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:o,spacing:l}=this.options,c=(n+s)/2,h=(a+r+l+o)/2;return{x:e+Math.cos(c)*h,y:i+Math.sin(c)*h}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,n=(e.offset||0)/4,s=(e.spacing||0)/2,a=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>st?Math.floor(i/st):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();const r=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(r)*n,Math.sin(r)*n);const o=n*(1-Math.sin(Math.min(nt,i||0)));t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,function(t,e,i,n,s){const{fullCircles:a,startAngle:r,circumference:o}=e;let l=e.endAngle;if(a){Es(t,e,i,n,l,s);for(let e=0;e<a;++e)t.fill();isNaN(o)||(l=r+(o%st||st))}Es(t,e,i,n,l,s),t.fill()}(t,this,o,s,a),function(t,e,i,n,s){const{fullCircles:a,startAngle:r,circumference:o,options:l}=e,{borderWidth:c,borderJoinStyle:h,borderDash:d,borderDashOffset:u,borderRadius:f}=l,g="inner"===l.borderAlign;if(!c)return;t.setLineDash(d||[]),t.lineDashOffset=u,g?(t.lineWidth=2*c,t.lineJoin=h||"round"):(t.lineWidth=c,t.lineJoin=h||"bevel");let p=e.endAngle;if(a){Es(t,e,i,n,p,s);for(let e=0;e<a;++e)t.stroke();isNaN(o)||(p=r+(o%st||st))}g&&function(t,e,i){const{startAngle:n,pixelMargin:s,x:a,y:r,outerRadius:o,innerRadius:l}=e;let c=s/o;t.beginPath(),t.arc(a,r,o,n-c,i+c),l>s?(c=s/l,t.arc(a,r,l,i+c,n-c,!0)):t.arc(a,r,s,i+lt,n-lt),t.closePath(),t.clip()}(t,e,p),l.selfJoin&&p-r>=nt&&0===f&&"miter"!==h&&function(t,e,i){const{startAngle:n,x:s,y:a,outerRadius:r,innerRadius:o,options:l}=e,{borderWidth:c,borderJoinStyle:h}=l,d=Math.min(c/r,kt(n-i));if(t.beginPath(),t.arc(s,a,r-c/2,n+d/2,i-d/2),o>0){const e=Math.min(c/o,kt(n-i));t.arc(s,a,o+c/2,i-e/2,n+e/2,!0)}else{const e=Math.min(c/2,r*kt(n-i));if("round"===h)t.arc(s,a,e,i-nt/2,n+nt/2,!0);else if("bevel"===h){const r=2*e*e,o=-r*Math.cos(i+nt/2)+s,l=-r*Math.sin(i+nt/2)+a,c=r*Math.cos(n+nt/2)+s,h=r*Math.sin(n+nt/2)+a;t.lineTo(o,l),t.lineTo(c,h)}}t.closePath(),t.moveTo(0,0),t.rect(0,0,t.canvas.width,t.canvas.height),t.clip("evenodd")}(t,e,p),a||(Es(t,e,i,n,p,s),t.stroke())}(t,this,o,s,a),t.restore()}},BarElement:class extends In{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:i,backgroundColor:n}}=this,{inner:s,outer:a}=function(t){const e=Rs(t),i=e.right-e.left,n=e.bottom-e.top,s=function(t,e,i){const n=t.options.borderWidth,s=t.borderSkipped,a=ke(n);return{t:zs(s.top,a.top,0,i),r:zs(s.right,a.right,0,e),b:zs(s.bottom,a.bottom,0,i),l:zs(s.left,a.left,0,e)}}(t,i/2,n/2),a=function(t,e,i){const{enableBorderRadius:n}=t.getProps(["enableBorderRadius"]),s=t.options.borderRadius,a=Ee(s),r=Math.min(e,i),o=t.borderSkipped,l=n||I(s);return{topLeft:zs(!l||o.top||o.left,a.topLeft,0,r),topRight:zs(!l||o.top||o.right,a.topRight,0,r),bottomLeft:zs(!l||o.bottom||o.left,a.bottomLeft,0,r),bottomRight:zs(!l||o.bottom||o.right,a.bottomRight,0,r)}}(t,i/2,n/2);return{outer:{x:e.left,y:e.top,w:i,h:n,radius:a},inner:{x:e.left+s.l,y:e.top+s.t,w:i-s.l-s.r,h:n-s.t-s.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(s.t,s.l)),topRight:Math.max(0,a.topRight-Math.max(s.t,s.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(s.b,s.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(s.b,s.r))}}}}(this),r=(o=a.radius).topLeft||o.topRight||o.bottomLeft||o.bottomRight?xe:Fs;var o;t.save(),a.w===s.w&&a.h===s.h||(t.beginPath(),r(t,js(a,e,s)),t.clip(),r(t,js(s,-e,a)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),r(t,js(s,e)),t.fillStyle=n,t.fill(),t.restore()}inRange(t,e,i){return Is(this,t,e,i)}inXRange(t,e){return Is(this,t,null,e)}inYRange(t,e){return Is(this,null,t,e)}getCenterPoint(t){const{x:e,y:i,base:n,horizontal:s}=this.getProps(["x","y","base","horizontal"],t);return{x:s?(e+n)/2:e,y:s?i:(i+n)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}},LineElement:Ls,PointElement:Ds});const Vs=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],Hs=Vs.map((t=>t.replace("rgb(","rgba(").replace(")",", 0.5)")));function Ws(t){return Vs[t%Vs.length]}function Us(t){return Hs[t%Hs.length]}function $s(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}var Ys={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,i){if(!i.enabled)return;const{data:{datasets:n},options:s}=t.config,{elements:a}=s,r=$s(n)||(o=s)&&(o.borderColor||o.backgroundColor)||a&&$s(a)||"rgba(0,0,0,0.1)"!==ne.borderColor||"rgba(0,0,0,0.1)"!==ne.backgroundColor;var o;if(!i.forceOverride&&r)return;const l=function(t){let e=0;return(i,n)=>{const s=t.getDatasetMeta(n).controller;s instanceof qi?e=function(t,e){return t.backgroundColor=t.data.map((()=>Ws(e++))),e}(i,e):s instanceof Ki?e=function(t,e){return t.backgroundColor=t.data.map((()=>Us(e++))),e}(i,e):s&&(e=function(t,e){return t.borderColor=Ws(e),t.backgroundColor=Us(e),++e}(i,e))}}(t);n.forEach(l)}};function qs(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function Xs(t){t.data.datasets.forEach((t=>{qs(t)}))}var Ks={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,i)=>{if(!i.enabled)return void Xs(t);const n=t.width;t.data.datasets.forEach(((e,s)=>{const{_data:a,indexAxis:r}=e,o=t.getDatasetMeta(s),l=a||e.data;if("y"===Ce([r,t.options.indexAxis]))return;if(!o.controller.supportsDecimation)return;const c=t.scales[o.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(t.options.parsing)return;let h,{start:d,count:u}=function(t,e){const i=e.length;let n,s=0;const{iScale:a}=t,{min:r,max:o,minDefined:l,maxDefined:c}=a.getUserBounds();return l&&(s=Mt(Ot(e,a.axis,r).lo,0,i-1)),n=c?Mt(Ot(e,a.axis,o).hi+1,s,i)-s:i-s,{start:s,count:n}}(o,l);if(u<=(i.threshold||4*n))qs(e);else{switch(R(a)&&(e._data=l,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),i.algorithm){case"lttb":h=function(t,e,i,n,s){const a=s.samples||n;if(a>=i)return t.slice(e,e+i);const r=[],o=(i-2)/(a-2);let l=0;const c=e+i-1;let h,d,u,f,g,p=e;for(r[l++]=t[p],h=0;h<a-2;h++){let n,s=0,a=0;const c=Math.floor((h+1)*o)+1+e,m=Math.min(Math.floor((h+2)*o)+1,i)+e,b=m-c;for(n=c;n<m;n++)s+=t[n].x,a+=t[n].y;s/=b,a/=b;const x=Math.floor(h*o)+1+e,y=Math.min(Math.floor((h+1)*o)+1,i)+e,{x:v,y:_}=t[p];for(u=f=-1,n=x;n<y;n++)f=.5*Math.abs((v-s)*(t[n].y-_)-(v-t[n].x)*(a-_)),f>u&&(u=f,d=t[n],g=n);r[l++]=d,p=g}return r[l++]=t[c],r}(l,d,u,n,i);break;case"min-max":h=function(t,e,i,n){let s,a,r,o,l,c,h,d,u,f,g=0,p=0;const m=[],b=e+i-1,x=t[e].x,y=t[b].x-x;for(s=e;s<e+i;++s){a=t[s],r=(a.x-x)/y*n,o=a.y;const e=0|r;if(e===l)o<u?(u=o,c=s):o>f&&(f=o,h=s),g=(p*g+a.x)/++p;else{const i=s-1;if(!R(c)&&!R(h)){const e=Math.min(c,h),n=Math.max(c,h);e!==d&&e!==i&&m.push({...t[e],x:g}),n!==d&&n!==i&&m.push({...t[n],x:g})}s>0&&i!==d&&m.push(t[i]),m.push(a),l=e,p=0,u=f=o,c=h=d=s}}return m}(l,d,u,n);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}e._decimated=h}}))},destroy(t){Xs(t)}};function Js(t,e,i,n){if(n)return;let s=e[t],a=i[t];return"angle"===t&&(s=kt(s),a=kt(a)),{property:t,start:s,end:a}}function Gs(t,e,i){for(;e>t;e--){const t=i[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function Zs(t,e,i,n){return t&&e?n(t[i],e[i]):t?t[i]:e?e[i]:0}function Qs(t,e){let i=[],n=!1;return z(t)?(n=!0,i=t):i=function(t,e){const{x:i=null,y:n=null}=t||{},s=e.points,a=[];return e.segments.forEach((({start:t,end:e})=>{e=Gs(t,e,s);const r=s[t],o=s[e];null!==n?(a.push({x:r.x,y:n}),a.push({x:o.x,y:n})):null!==i&&(a.push({x:i,y:r.y}),a.push({x:i,y:o.y}))})),a}(t,e),i.length?new Ls({points:i,options:{tension:0},_loop:n,_fullLoop:n}):null}function ta(t){return t&&!1!==t.fill}function ea(t,e,i){let n=t[e].fill;const s=[e];let a;if(!i)return n;for(;!1!==n&&-1===s.indexOf(n);){if(!F(n))return n;if(a=t[n],!a)return!1;if(a.visible)return n;s.push(n),n=a.fill}return!1}function ia(t,e,i){const n=function(t){const e=t.options,i=e.fill;let n=B(i&&i.target,i);return void 0===n&&(n=!!e.backgroundColor),!1!==n&&null!==n&&(!0===n?"origin":n)}(t);if(I(n))return!isNaN(n.value)&&n;let s=parseFloat(n);return F(s)&&Math.floor(s)===s?function(t,e,i,n){return"-"!==t&&"+"!==t||(i=e+i),!(i===e||i<0||i>=n)&&i}(n[0],e,s,i):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function na(t,e,i){const n=[];for(let s=0;s<i.length;s++){const a=i[s],{first:r,last:o,point:l}=sa(a,e,"x");if(!(!l||r&&o))if(r)n.unshift(l);else if(t.push(l),!o)break}t.push(...n)}function sa(t,e,i){const n=t.interpolate(e,i);if(!n)return{};const s=n[i],a=t.segments,r=t.points;let o=!1,l=!1;for(let t=0;t<a.length;t++){const e=a[t],n=r[e.start][i],c=r[e.end][i];if(St(s,n,c)){o=s===n,l=s===c;break}}return{first:o,last:l,point:n}}class aa{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){const{x:n,y:s,radius:a}=this;return e=e||{start:0,end:st},t.arc(n,s,a,e.end,e.start,!0),!i.bounds}interpolate(t){const{x:e,y:i,radius:n}=this,s=t.angle;return{x:e+Math.cos(s)*n,y:i+Math.sin(s)*n,angle:s}}}function ra(t,e,i){const n=function(t){const{chart:e,fill:i,line:n}=t;if(F(i))return function(t,e){const i=t.getDatasetMeta(e);return i&&t.isDatasetVisible(e)?i.dataset:null}(e,i);if("stack"===i)return function(t){const{scale:e,index:i,line:n}=t,s=[],a=n.segments,r=n.points,o=function(t,e){const i=[],n=t.getMatchingVisibleMetas("line");for(let t=0;t<n.length;t++){const s=n[t];if(s.index===e)break;s.hidden||i.unshift(s.dataset)}return i}(e,i);o.push(Qs({x:null,y:e.bottom},n));for(let t=0;t<a.length;t++){const e=a[t];for(let t=e.start;t<=e.end;t++)na(s,r[t],o)}return new Ls({points:s,options:{}})}(t);if("shape"===i)return!0;const s=function(t){return(t.scale||{}).getPointPositionForValue?function(t){const{scale:e,fill:i}=t,n=e.options,s=e.getLabels().length,a=n.reverse?e.max:e.min,r=function(t,e,i){let n;return n="start"===t?i:"end"===t?e.options.reverse?e.min:e.max:I(t)?t.value:e.getBaseValue(),n}(i,e,a),o=[];if(n.grid.circular){const t=e.getPointPositionForValue(0,a);return new aa({x:t.x,y:t.y,radius:e.getDistanceFromCenterForValue(r)})}for(let t=0;t<s;++t)o.push(e.getPointPositionForValue(t,r));return o}(t):function(t){const{scale:e={},fill:i}=t,n=function(t,e){let i=null;return"start"===t?i=e.bottom:"end"===t?i=e.top:I(t)?i=e.getPixelForValue(t.value):e.getBasePixel&&(i=e.getBasePixel()),i}(i,e);if(F(n)){const t=e.isHorizontal();return{x:t?n:null,y:t?null:n}}return null}(t)}(t);return s instanceof aa?s:Qs(s,n)}(e),{chart:s,index:a,line:r,scale:o,axis:l}=e,c=r.options,h=c.fill,d=c.backgroundColor,{above:u=d,below:f=d}=h||{},g=s.getDatasetMeta(a),p=yi(s,g);n&&r.points.length&&(de(t,i),function(t,e){const{line:i,target:n,above:s,below:a,area:r,scale:o,clip:l}=e,c=i._loop?"angle":e.axis;t.save();let h=a;a!==s&&("x"===c?(oa(t,n,r.top),ca(t,{line:i,target:n,color:s,scale:o,property:c,clip:l}),t.restore(),t.save(),oa(t,n,r.bottom)):"y"===c&&(la(t,n,r.left),ca(t,{line:i,target:n,color:a,scale:o,property:c,clip:l}),t.restore(),t.save(),la(t,n,r.right),h=s)),ca(t,{line:i,target:n,color:h,scale:o,property:c,clip:l}),t.restore()}(t,{line:r,target:n,above:u,below:f,area:i,scale:o,axis:l,clip:p}),ue(t))}function oa(t,e,i){const{segments:n,points:s}=e;let a=!0,r=!1;t.beginPath();for(const o of n){const{start:n,end:l}=o,c=s[n],h=s[Gs(n,l,s)];a?(t.moveTo(c.x,c.y),a=!1):(t.lineTo(c.x,i),t.lineTo(c.x,c.y)),r=!!e.pathSegment(t,o,{move:r}),r?t.closePath():t.lineTo(h.x,i)}t.lineTo(e.first().x,i),t.closePath(),t.clip()}function la(t,e,i){const{segments:n,points:s}=e;let a=!0,r=!1;t.beginPath();for(const o of n){const{start:n,end:l}=o,c=s[n],h=s[Gs(n,l,s)];a?(t.moveTo(c.x,c.y),a=!1):(t.lineTo(i,c.y),t.lineTo(c.x,c.y)),r=!!e.pathSegment(t,o,{move:r}),r?t.closePath():t.lineTo(i,h.y)}t.lineTo(i,e.first().y),t.closePath(),t.clip()}function ca(t,e){const{line:i,target:n,property:s,color:a,scale:r,clip:o}=e,l=function(t,e,i){const n=t.segments,s=t.points,a=e.points,r=[];for(const t of n){let{start:n,end:o}=t;o=Gs(n,o,s);const l=Js(i,s[n],s[o],t.loop);if(!e.segments){r.push({source:t,target:l,start:s[n],end:s[o]});continue}const c=pi(e,l);for(const e of c){const n=Js(i,a[e.start],a[e.end],e.loop),o=gi(t,s,n);for(const t of o)r.push({source:t,target:e,start:{[i]:Zs(l,n,"start",Math.max)},end:{[i]:Zs(l,n,"end",Math.min)}})}}return r}(i,n,s);for(const{source:e,target:c,start:h,end:d}of l){const{style:{backgroundColor:l=a}={}}=e,u=!0!==n;t.save(),t.fillStyle=l,ha(t,r,o,u&&Js(s,h,d)),t.beginPath();const f=!!i.pathSegment(t,e);let g;if(u){f?t.closePath():da(t,n,d,s);const e=!!n.pathSegment(t,c,{move:f,reverse:!0});g=f&&e,g||da(t,n,h,s)}t.closePath(),t.fill(g?"evenodd":"nonzero"),t.restore()}}function ha(t,e,i,n){const s=e.chart.chartArea,{property:a,start:r,end:o}=n||{};if("x"===a||"y"===a){let e,n,l,c;"x"===a?(e=r,n=s.top,l=o,c=s.bottom):(e=s.left,n=r,l=s.right,c=o),t.beginPath(),i&&(e=Math.max(e,i.left),l=Math.min(l,i.right),n=Math.max(n,i.top),c=Math.min(c,i.bottom)),t.rect(e,n,l-e,c-n),t.clip()}}function da(t,e,i,n){const s=e.interpolate(i,n);s&&t.lineTo(s.x,s.y)}var ua={id:"filler",afterDatasetsUpdate(t,e,i){const n=(t.data.datasets||[]).length,s=[];let a,r,o,l;for(r=0;r<n;++r)a=t.getDatasetMeta(r),o=a.dataset,l=null,o&&o.options&&o instanceof Ls&&(l={visible:t.isDatasetVisible(r),index:r,fill:ia(o,r,n),chart:t,axis:a.controller.options.indexAxis,scale:a.vScale,line:o}),a.$filler=l,s.push(l);for(r=0;r<n;++r)l=s[r],l&&!1!==l.fill&&(l.fill=ea(s,r,i.propagate))},beforeDraw(t,e,i){const n="beforeDraw"===i.drawTime,s=t.getSortedVisibleDatasetMetas(),a=t.chartArea;for(let e=s.length-1;e>=0;--e){const i=s[e].$filler;i&&(i.line.updateControlPoints(a,i.axis),n&&i.fill&&ra(t.ctx,i,a))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;const n=t.getSortedVisibleDatasetMetas();for(let e=n.length-1;e>=0;--e){const i=n[e].$filler;ta(i)&&ra(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,i){const n=e.meta.$filler;ta(n)&&"beforeDatasetDraw"===i.drawTime&&ra(t.ctx,n,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const fa=(t,e)=>{let{boxHeight:i=e,boxWidth:n=e}=t;return t.usePointStyle&&(i=Math.min(i,e),n=t.pointStyleWidth||Math.min(n,e)),{boxWidth:n,boxHeight:i,itemHeight:Math.max(e,i)}};class ga extends In{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=H(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,i)=>t.sort(e,i,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,n=Se(i.font),s=n.size,a=this._computeTitleHeight(),{boxWidth:r,itemHeight:o}=fa(i,s);let l,c;e.font=n.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(a,s,r,o)+10):(c=this.maxHeight,l=this._fitCols(a,n,r,o)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(c,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,n){const{ctx:s,maxWidth:a,options:{labels:{padding:r}}}=this,o=this.legendHitBoxes=[],l=this.lineWidths=[0],c=n+r;let h=t;s.textAlign="left",s.textBaseline="middle";let d=-1,u=-c;return this.legendItems.forEach(((t,f)=>{const g=i+e/2+s.measureText(t.text).width;(0===f||l[l.length-1]+g+2*r>a)&&(h+=c,l[l.length-(f>0?0:1)]=0,u+=c,d++),o[f]={left:0,top:u,row:d,width:g,height:n},l[l.length-1]+=g+r})),h}_fitCols(t,e,i,n){const{ctx:s,maxHeight:a,options:{labels:{padding:r}}}=this,o=this.legendHitBoxes=[],l=this.columnSizes=[],c=a-t;let h=r,d=0,u=0,f=0,g=0;return this.legendItems.forEach(((t,a)=>{const{itemWidth:p,itemHeight:m}=function(t,e,i,n,s){const a=function(t,e,i,n){let s=t.text;return s&&"string"!=typeof s&&(s=s.reduce(((t,e)=>t.length>e.length?t:e))),e+i.size/2+n.measureText(s).width}(n,t,e,i),r=function(t,e,i){let n=t;return"string"!=typeof e.text&&(n=pa(e,i)),n}(s,n,e.lineHeight);return{itemWidth:a,itemHeight:r}}(i,e,s,t,n);a>0&&u+m+2*r>c&&(h+=d+r,l.push({width:d,height:u}),f+=d+r,g++,d=u=0),o[a]={left:f,top:u,col:g,width:p,height:m},d=Math.max(d,p),u+=m+r})),h+=d,l.push({width:d,height:u}),h}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:n},rtl:s}}=this,a=ci(s,this.left,this.width);if(this.isHorizontal()){let s=0,r=zt(i,this.left+n,this.right-this.lineWidths[s]);for(const o of e)s!==o.row&&(s=o.row,r=zt(i,this.left+n,this.right-this.lineWidths[s])),o.top+=this.top+t+n,o.left=a.leftForLtr(a.x(r),o.width),r+=o.width+n}else{let s=0,r=zt(i,this.top+t+n,this.bottom-this.columnSizes[s].height);for(const o of e)o.col!==s&&(s=o.col,r=zt(i,this.top+t+n,this.bottom-this.columnSizes[s].height)),o.top=r,o.left+=this.left+n,o.left=a.leftForLtr(a.x(o.left),o.width),r+=o.height+n}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;de(t,this),this._draw(),ue(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:n}=this,{align:s,labels:a}=t,r=ne.color,o=ci(t.rtl,this.left,this.width),l=Se(a.font),{padding:c}=a,h=l.size,d=h/2;let u;this.drawTitle(),n.textAlign=o.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=l.string;const{boxWidth:f,boxHeight:g,itemHeight:p}=fa(a,h),m=this.isHorizontal(),b=this._computeTitleHeight();u=m?{x:zt(s,this.left+c,this.right-i[0]),y:this.top+c+b,line:0}:{x:this.left+c,y:zt(s,this.top+b+c,this.bottom-e[0].height),line:0},hi(this.ctx,t.textDirection);const x=p+c;this.legendItems.forEach(((y,v)=>{n.strokeStyle=y.fontColor,n.fillStyle=y.fontColor;const _=n.measureText(y.text).width,w=o.textAlign(y.textAlign||(y.textAlign=a.textAlign)),k=f+d+_;let E=u.x,M=u.y;if(o.setWidth(this.width),m?v>0&&E+k+c>this.right&&(M=u.y+=x,u.line++,E=u.x=zt(s,this.left+c,this.right-i[u.line])):v>0&&M+x>this.bottom&&(E=u.x=E+e[u.line].width+c,u.line++,M=u.y=zt(s,this.top+b+c,this.bottom-e[u.line].height)),function(t,e,i){if(isNaN(f)||f<=0||isNaN(g)||g<0)return;n.save();const s=B(i.lineWidth,1);if(n.fillStyle=B(i.fillStyle,r),n.lineCap=B(i.lineCap,"butt"),n.lineDashOffset=B(i.lineDashOffset,0),n.lineJoin=B(i.lineJoin,"miter"),n.lineWidth=s,n.strokeStyle=B(i.strokeStyle,r),n.setLineDash(B(i.lineDash,[])),a.usePointStyle){const r={radius:g*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:s},l=o.xPlus(t,f/2);ce(n,r,l,e+d,a.pointStyleWidth&&f)}else{const a=e+Math.max((h-g)/2,0),r=o.leftForLtr(t,f),l=Ee(i.borderRadius);n.beginPath(),Object.values(l).some((t=>0!==t))?xe(n,{x:r,y:a,w:f,h:g,radius:l}):n.rect(r,a,f,g),n.fill(),0!==s&&n.stroke()}n.restore()}(o.x(E),M,y),E=((t,e,i,n)=>t===(n?"left":"right")?i:"center"===t?(e+i)/2:e)(w,E+f+d,m?E+k:this.right,t.rtl),function(t,e,i){be(n,i.text,t,e+p/2,l,{strikethrough:i.hidden,textAlign:o.textAlign(i.textAlign)})}(o.x(E),M,y),m)u.x+=k+c;else if("string"!=typeof y.text){const t=l.lineHeight;u.y+=pa(y,t)+c}else u.y+=x})),di(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=Se(e.font),n=Me(e.padding);if(!e.display)return;const s=ci(t.rtl,this.left,this.width),a=this.ctx,r=e.position,o=i.size/2,l=n.top+o;let c,h=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),c=this.top+l,h=zt(t.align,h,this.right-d);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);c=l+zt(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const u=zt(r,h,h+d);a.textAlign=s.textAlign(Rt(r)),a.textBaseline="middle",a.strokeStyle=e.color,a.fillStyle=e.color,a.font=i.string,be(a,e.text,u,c,i)}_computeTitleHeight(){const t=this.options.title,e=Se(t.font),i=Me(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,n,s;if(St(t,this.left,this.right)&&St(e,this.top,this.bottom))for(s=this.legendHitBoxes,i=0;i<s.length;++i)if(n=s[i],St(t,n.left,n.left+n.width)&&St(e,n.top,n.top+n.height))return this.legendItems[i];return null}handleEvent(t){const e=this.options;if(!function(t,e){return!("mousemove"!==t&&"mouseout"!==t||!e.onHover&&!e.onLeave)||!(!e.onClick||"click"!==t&&"mouseup"!==t)}(t.type,e))return;const i=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const a=this._hoveredItem,r=(s=i,null!==(n=a)&&null!==s&&n.datasetIndex===s.datasetIndex&&n.index===s.index);a&&!r&&H(e.onLeave,[t,a,this],this),this._hoveredItem=i,i&&!r&&H(e.onHover,[t,i,this],this)}else i&&H(e.onClick,[t,i,this],this);var n,s}}function pa(t,e){return e*(t.text?t.text.length:0)}var ma={id:"legend",_element:ga,start(t,e,i){const n=t.legend=new ga({ctx:t.ctx,options:i,chart:t});xn.configure(t,n,i),xn.addBox(t,n)},stop(t){xn.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,i){const n=t.legend;xn.configure(t,n,i),n.options=i},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,i){const n=e.datasetIndex,s=i.chart;s.isDatasetVisible(n)?(s.hide(n),e.hidden=!0):(s.show(n),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:n,textAlign:s,color:a,useBorderRadius:r,borderRadius:o}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const l=t.controller.getStyle(i?0:void 0),c=Me(l.borderWidth);return{text:e[t.index].label,fillStyle:l.backgroundColor,fontColor:a,hidden:!t.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:l.borderColor,pointStyle:n||l.pointStyle,rotation:l.rotation,textAlign:s||l.textAlign,borderRadius:r&&(o||l.borderRadius),datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class ba extends In{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const n=z(i.text)?i.text.length:1;this._padding=Me(i.padding);const s=n*Se(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=s:this.width=s}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:i,bottom:n,right:s,options:a}=this,r=a.align;let o,l,c,h=0;return this.isHorizontal()?(l=zt(r,i,s),c=e+t,o=s-i):("left"===a.position?(l=i+t,c=zt(r,n,e),h=-.5*nt):(l=s-t,c=zt(r,e,n),h=.5*nt),o=n-e),{titleX:l,titleY:c,maxWidth:o,rotation:h}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=Se(e.font),n=i.lineHeight/2+this._padding.top,{titleX:s,titleY:a,maxWidth:r,rotation:o}=this._drawArgs(n);be(t,e.text,0,0,i,{color:e.color,maxWidth:r,rotation:o,textAlign:Rt(e.align),textBaseline:"middle",translation:[s,a]})}}var xa={id:"title",_element:ba,start(t,e,i){!function(t,e){const i=new ba({ctx:t.ctx,options:e,chart:t});xn.configure(t,i,e),xn.addBox(t,i),t.titleBlock=i}(t,i)},stop(t){const e=t.titleBlock;xn.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const n=t.titleBlock;xn.configure(t,n,i),n.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const ya=new WeakMap;var va={id:"subtitle",start(t,e,i){const n=new ba({ctx:t.ctx,options:i,chart:t});xn.configure(t,n,i),xn.addBox(t,n),ya.set(t,n)},stop(t){xn.removeBox(t,ya.get(t)),ya.delete(t)},beforeUpdate(t,e,i){const n=ya.get(t);xn.configure(t,n,i),n.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const _a={average(t){if(!t.length)return!1;let e,i,n=new Set,s=0,a=0;for(e=0,i=t.length;e<i;++e){const i=t[e].element;if(i&&i.hasValue()){const t=i.tooltipPosition();n.add(t.x),s+=t.y,++a}}return 0!==a&&0!==n.size&&{x:[...n].reduce(((t,e)=>t+e))/n.size,y:s/a}},nearest(t,e){if(!t.length)return!1;let i,n,s,a=e.x,r=e.y,o=Number.POSITIVE_INFINITY;for(i=0,n=t.length;i<n;++i){const n=t[i].element;if(n&&n.hasValue()){const t=_t(e,n.getCenterPoint());t<o&&(o=t,s=n)}}if(s){const t=s.tooltipPosition();a=t.x,r=t.y}return{x:a,y:r}}};function wa(t,e){return e&&(z(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function ka(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Ea(t,e){const{element:i,datasetIndex:n,index:s}=e,a=t.getDatasetMeta(n).controller,{label:r,value:o}=a.getLabelAndValue(s);return{chart:t,label:r,parsed:a.getParsed(s),raw:t.data.datasets[n].data[s],formattedValue:o,dataset:a.getDataset(),dataIndex:s,datasetIndex:n,element:i}}function Ma(t,e){const i=t.chart.ctx,{body:n,footer:s,title:a}=t,{boxWidth:r,boxHeight:o}=e,l=Se(e.bodyFont),c=Se(e.titleFont),h=Se(e.footerFont),d=a.length,u=s.length,f=n.length,g=Me(e.padding);let p=g.height,m=0,b=n.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);b+=t.beforeBody.length+t.afterBody.length,d&&(p+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),b&&(p+=f*(e.displayColors?Math.max(o,l.lineHeight):l.lineHeight)+(b-f)*l.lineHeight+(b-1)*e.bodySpacing),u&&(p+=e.footerMarginTop+u*h.lineHeight+(u-1)*e.footerSpacing);let x=0;const y=function(t){m=Math.max(m,i.measureText(t).width+x)};return i.save(),i.font=c.string,W(t.title,y),i.font=l.string,W(t.beforeBody.concat(t.afterBody),y),x=e.displayColors?r+2+e.boxPadding:0,W(n,(t=>{W(t.before,y),W(t.lines,y),W(t.after,y)})),x=0,i.font=h.string,W(t.footer,y),i.restore(),m+=g.width,{width:m,height:p}}function Sa(t,e,i,n){const{x:s,width:a}=i,{width:r,chartArea:{left:o,right:l}}=t;let c="center";return"center"===n?c=s<=(o+l)/2?"left":"right":s<=a/2?c="left":s>=r-a/2&&(c="right"),function(t,e,i,n){const{x:s,width:a}=n,r=i.caretSize+i.caretPadding;return"left"===t&&s+a+r>e.width||"right"===t&&s-a-r<0||void 0}(c,t,e,i)&&(c="center"),c}function Ca(t,e,i){const n=i.yAlign||e.yAlign||function(t,e){const{y:i,height:n}=e;return i<n/2?"top":i>t.height-n/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||Sa(t,e,i,n),yAlign:n}}function Oa(t,e,i,n){const{caretSize:s,caretPadding:a,cornerRadius:r}=t,{xAlign:o,yAlign:l}=i,c=s+a,{topLeft:h,topRight:d,bottomLeft:u,bottomRight:f}=Ee(r);let g=function(t,e){let{x:i,width:n}=t;return"right"===e?i-=n:"center"===e&&(i-=n/2),i}(e,o);const p=function(t,e,i){let{y:n,height:s}=t;return"top"===e?n+=i:n-="bottom"===e?s+i:s/2,n}(e,l,c);return"center"===l?"left"===o?g+=c:"right"===o&&(g-=c):"left"===o?g-=Math.max(h,u)+s:"right"===o&&(g+=Math.max(d,f)+s),{x:Mt(g,0,n.width-e.width),y:Mt(p,0,n.height-e.height)}}function Pa(t,e,i){const n=Me(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-n.right:t.x+n.left}function Na(t){return wa([],ka(t))}function Aa(t,e){const i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}const La={beforeTitle:T,title(t){if(t.length>0){const e=t[0],i=e.chart.data.labels,n=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(n>0&&e.dataIndex<n)return i[e.dataIndex]}return""},afterTitle:T,beforeBody:T,beforeLabel:T,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const i=t.formattedValue;return R(i)||(e+=i),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:T,afterBody:T,beforeFooter:T,footer:T,afterFooter:T};function Ta(t,e,i,n){const s=t[e].call(i,n);return void 0===s?La[e].call(i,n):s}class Da extends In{static positioners=_a;constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,i=this.options.setContext(this.getContext()),n=i.enabled&&e.options.animation&&i.animations,s=new Mi(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=Oe(this.chart.getContext(),{tooltip:this,tooltipItems:this._tooltipItems,type:"tooltip"}))}getTitle(t,e){const{callbacks:i}=e,n=Ta(i,"beforeTitle",this,t),s=Ta(i,"title",this,t),a=Ta(i,"afterTitle",this,t);let r=[];return r=wa(r,ka(n)),r=wa(r,ka(s)),r=wa(r,ka(a)),r}getBeforeBody(t,e){return Na(Ta(e.callbacks,"beforeBody",this,t))}getBody(t,e){const{callbacks:i}=e,n=[];return W(t,(t=>{const e={before:[],lines:[],after:[]},s=Aa(i,t);wa(e.before,ka(Ta(s,"beforeLabel",this,t))),wa(e.lines,Ta(s,"label",this,t)),wa(e.after,ka(Ta(s,"afterLabel",this,t))),n.push(e)})),n}getAfterBody(t,e){return Na(Ta(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:i}=e,n=Ta(i,"beforeFooter",this,t),s=Ta(i,"footer",this,t),a=Ta(i,"afterFooter",this,t);let r=[];return r=wa(r,ka(n)),r=wa(r,ka(s)),r=wa(r,ka(a)),r}_createItems(t){const e=this._active,i=this.chart.data,n=[],s=[],a=[];let r,o,l=[];for(r=0,o=e.length;r<o;++r)l.push(Ea(this.chart,e[r]));return t.filter&&(l=l.filter(((e,n,s)=>t.filter(e,n,s,i)))),t.itemSort&&(l=l.sort(((e,n)=>t.itemSort(e,n,i)))),W(l,(e=>{const i=Aa(t.callbacks,e);n.push(Ta(i,"labelColor",this,e)),s.push(Ta(i,"labelPointStyle",this,e)),a.push(Ta(i,"labelTextColor",this,e))})),this.labelColors=n,this.labelPointStyles=s,this.labelTextColors=a,this.dataPoints=l,l}update(t,e){const i=this.options.setContext(this.getContext()),n=this._active;let s,a=[];if(n.length){const t=_a[i.position].call(this,n,this._eventPosition);a=this._createItems(i),this.title=this.getTitle(a,i),this.beforeBody=this.getBeforeBody(a,i),this.body=this.getBody(a,i),this.afterBody=this.getAfterBody(a,i),this.footer=this.getFooter(a,i);const e=this._size=Ma(this,i),r=Object.assign({},t,e),o=Ca(this.chart,i,r),l=Oa(i,r,o,this.chart);this.xAlign=o.xAlign,this.yAlign=o.yAlign,s={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(s={opacity:0});this._tooltipItems=a,this.$context=void 0,s&&this._resolveAnimations().update(this,s),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,n){const s=this.getCaretPosition(t,i,n);e.lineTo(s.x1,s.y1),e.lineTo(s.x2,s.y2),e.lineTo(s.x3,s.y3)}getCaretPosition(t,e,i){const{xAlign:n,yAlign:s}=this,{caretSize:a,cornerRadius:r}=i,{topLeft:o,topRight:l,bottomLeft:c,bottomRight:h}=Ee(r),{x:d,y:u}=t,{width:f,height:g}=e;let p,m,b,x,y,v;return"center"===s?(y=u+g/2,"left"===n?(p=d,m=p-a,x=y+a,v=y-a):(p=d+f,m=p+a,x=y-a,v=y+a),b=p):(m="left"===n?d+Math.max(o,c)+a:"right"===n?d+f-Math.max(l,h)-a:this.caretX,"top"===s?(x=u,y=x-a,p=m-a,b=m+a):(x=u+g,y=x+a,p=m+a,b=m-a),v=x),{x1:p,x2:m,x3:b,y1:x,y2:y,y3:v}}drawTitle(t,e,i){const n=this.title,s=n.length;let a,r,o;if(s){const l=ci(i.rtl,this.x,this.width);for(t.x=Pa(this,i.titleAlign,i),e.textAlign=l.textAlign(i.titleAlign),e.textBaseline="middle",a=Se(i.titleFont),r=i.titleSpacing,e.fillStyle=i.titleColor,e.font=a.string,o=0;o<s;++o)e.fillText(n[o],l.x(t.x),t.y+a.lineHeight/2),t.y+=a.lineHeight+r,o+1===s&&(t.y+=i.titleMarginBottom-r)}}_drawColorBox(t,e,i,n,s){const a=this.labelColors[i],r=this.labelPointStyles[i],{boxHeight:o,boxWidth:l}=s,c=Se(s.bodyFont),h=Pa(this,"left",s),d=n.x(h),u=o<c.lineHeight?(c.lineHeight-o)/2:0,f=e.y+u;if(s.usePointStyle){const e={radius:Math.min(l,o)/2,pointStyle:r.pointStyle,rotation:r.rotation,borderWidth:1},i=n.leftForLtr(d,l)+l/2,c=f+o/2;t.strokeStyle=s.multiKeyBackground,t.fillStyle=s.multiKeyBackground,le(t,e,i,c),t.strokeStyle=a.borderColor,t.fillStyle=a.backgroundColor,le(t,e,i,c)}else{t.lineWidth=I(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,t.strokeStyle=a.borderColor,t.setLineDash(a.borderDash||[]),t.lineDashOffset=a.borderDashOffset||0;const e=n.leftForLtr(d,l),i=n.leftForLtr(n.xPlus(d,1),l-2),r=Ee(a.borderRadius);Object.values(r).some((t=>0!==t))?(t.beginPath(),t.fillStyle=s.multiKeyBackground,xe(t,{x:e,y:f,w:l,h:o,radius:r}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),xe(t,{x:i,y:f+1,w:l-2,h:o-2,radius:r}),t.fill()):(t.fillStyle=s.multiKeyBackground,t.fillRect(e,f,l,o),t.strokeRect(e,f,l,o),t.fillStyle=a.backgroundColor,t.fillRect(i,f+1,l-2,o-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:n}=this,{bodySpacing:s,bodyAlign:a,displayColors:r,boxHeight:o,boxWidth:l,boxPadding:c}=i,h=Se(i.bodyFont);let d=h.lineHeight,u=0;const f=ci(i.rtl,this.x,this.width),g=function(i){e.fillText(i,f.x(t.x+u),t.y+d/2),t.y+=d+s},p=f.textAlign(a);let m,b,x,y,v,_,w;for(e.textAlign=a,e.textBaseline="middle",e.font=h.string,t.x=Pa(this,p,i),e.fillStyle=i.bodyColor,W(this.beforeBody,g),u=r&&"right"!==p?"center"===a?l/2+c:l+2+c:0,y=0,_=n.length;y<_;++y){for(m=n[y],b=this.labelTextColors[y],e.fillStyle=b,W(m.before,g),x=m.lines,r&&x.length&&(this._drawColorBox(e,t,y,f,i),d=Math.max(h.lineHeight,o)),v=0,w=x.length;v<w;++v)g(x[v]),d=h.lineHeight;W(m.after,g)}u=0,d=h.lineHeight,W(this.afterBody,g),t.y-=s}drawFooter(t,e,i){const n=this.footer,s=n.length;let a,r;if(s){const o=ci(i.rtl,this.x,this.width);for(t.x=Pa(this,i.footerAlign,i),t.y+=i.footerMarginTop,e.textAlign=o.textAlign(i.footerAlign),e.textBaseline="middle",a=Se(i.footerFont),e.fillStyle=i.footerColor,e.font=a.string,r=0;r<s;++r)e.fillText(n[r],o.x(t.x),t.y+a.lineHeight/2),t.y+=a.lineHeight+i.footerSpacing}}drawBackground(t,e,i,n){const{xAlign:s,yAlign:a}=this,{x:r,y:o}=t,{width:l,height:c}=i,{topLeft:h,topRight:d,bottomLeft:u,bottomRight:f}=Ee(n.cornerRadius);e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.beginPath(),e.moveTo(r+h,o),"top"===a&&this.drawCaret(t,e,i,n),e.lineTo(r+l-d,o),e.quadraticCurveTo(r+l,o,r+l,o+d),"center"===a&&"right"===s&&this.drawCaret(t,e,i,n),e.lineTo(r+l,o+c-f),e.quadraticCurveTo(r+l,o+c,r+l-f,o+c),"bottom"===a&&this.drawCaret(t,e,i,n),e.lineTo(r+u,o+c),e.quadraticCurveTo(r,o+c,r,o+c-u),"center"===a&&"left"===s&&this.drawCaret(t,e,i,n),e.lineTo(r,o+h),e.quadraticCurveTo(r,o,r+h,o),e.closePath(),e.fill(),n.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,n=i&&i.x,s=i&&i.y;if(n||s){const i=_a[t.position].call(this,this._active,this._eventPosition);if(!i)return;const a=this._size=Ma(this,t),r=Object.assign({},i,this._size),o=Ca(e,t,r),l=Oa(t,r,o,e);n._to===l.x&&s._to===l.y||(this.xAlign=o.xAlign,this.yAlign=o.yAlign,this.width=a.width,this.height=a.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const n={width:this.width,height:this.height},s={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const a=Me(e.padding),r=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&r&&(t.save(),t.globalAlpha=i,this.drawBackground(s,t,n,e),hi(t,e.textDirection),s.y+=a.top,this.drawTitle(s,t,e),this.drawBody(s,t,e),this.drawFooter(s,t,e),di(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,n=t.map((({datasetIndex:t,index:e})=>{const i=this.chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}})),s=!U(i,n),a=this._positionChanged(n,e);(s||a)&&(this._active=n,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,s=this._active||[],a=this._getActiveElements(t,s,e,i),r=this._positionChanged(a,t),o=e||!U(a,s)||r;return o&&(this._active=a,(n.enabled||n.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),o}_getActiveElements(t,e,i,n){const s=this.options;if("mouseout"===t.type)return[];if(!n)return e.filter((t=>this.chart.data.datasets[t.datasetIndex]&&void 0!==this.chart.getDatasetMeta(t.datasetIndex).controller.getParsed(t.index)));const a=this.chart.getElementsAtEventForMode(t,s.mode,s,i);return s.reverse&&a.reverse(),a}_positionChanged(t,e){const{caretX:i,caretY:n,options:s}=this,a=_a[s.position].call(this,t,e);return!1!==a&&(i!==a.x||n!==a.y)}}var Ra={id:"tooltip",_element:Da,positioners:_a,afterInit(t,e,i){i&&(t.tooltip=new Da({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const i={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",{...i,cancelable:!0}))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i)}},afterEvent(t,e){if(t.tooltip){const i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:La},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},za=Object.freeze({__proto__:null,Colors:Ys,Decimation:Ks,Filler:ua,Legend:ma,SubTitle:va,Title:xa,Tooltip:Ra});function Ia(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class Fa extends Yn{static id="category";static defaults={ticks:{callback:Ia}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:i,label:n}of e)t[i]===n&&t.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(R(t))return null;const i=this.getLabels();return((t,e)=>null===t?null:Mt(Math.round(t),0,e))(e=isFinite(e)&&i[e]===t?e:function(t,e,i,n){const s=t.indexOf(e);return-1===s?((t,e,i,n)=>("string"==typeof e?(i=t.push(e)-1,n.unshift({index:i,label:e})):isNaN(e)&&(i=null),i))(t,e,i,n):s!==t.lastIndexOf(e)?i:s}(i,t,B(e,t),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:n}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(n=this.getLabels().length-1)),this.min=i,this.max=n}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,n=[];let s=this.getLabels();s=0===t&&e===s.length-1?s:s.slice(t,e+1),this._valueRange=Math.max(s.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=t;i<=e;i++)n.push({value:i});return n}getLabelForValue(t){return Ia.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function ja(t,e,{horizontal:i,minRotation:n}){const s=bt(n),a=(i?Math.sin(s):Math.cos(s))||.001,r=.75*e*(""+t).length;return Math.min(e/a,r)}class Ba extends Yn{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return R(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:n,max:s}=this;const a=t=>n=e?n:t,r=t=>s=i?s:t;if(t){const t=ut(n),e=ut(s);t<0&&e<0?r(0):t>0&&e>0&&a(0)}if(n===s){let e=0===s?1:Math.abs(.05*s);r(s+e),t||a(n-e)}this.min=n,this.max=s}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:i,stepSize:n}=t;return n?(e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const n=function(t,e){const i=[],{bounds:n,step:s,min:a,max:r,precision:o,count:l,maxTicks:c,maxDigits:h,includeBounds:d}=t,u=s||1,f=c-1,{min:g,max:p}=e,m=!R(a),b=!R(r),x=!R(l),y=(p-g)/(h+1);let v,_,w,k,E=gt((p-g)/f/u)*u;if(E<1e-14&&!m&&!b)return[{value:g},{value:p}];k=Math.ceil(p/E)-Math.floor(g/E),k>f&&(E=gt(k*E/f/u)*u),R(o)||(v=Math.pow(10,o),E=Math.ceil(E*v)/v),"ticks"===n?(_=Math.floor(g/E)*E,w=Math.ceil(p/E)*E):(_=g,w=p),m&&b&&s&&function(t,e){const i=Math.round(t);return i-e<=t&&i+e>=t}((r-a)/s,E/1e3)?(k=Math.round(Math.min((r-a)/E,c)),E=(r-a)/k,_=a,w=r):x?(_=m?a:_,w=b?r:w,k=l-1,E=(w-_)/k):(k=(w-_)/E,k=ft(k,Math.round(k),E/1e3)?Math.round(k):Math.ceil(k));const M=Math.max(yt(E),yt(_));v=Math.pow(10,R(o)?M:o),_=Math.round(_*v)/v,w=Math.round(w*v)/v;let S=0;for(m&&(d&&_!==a?(i.push({value:a}),_<a&&S++,ft(Math.round((_+S*E)*v)/v,a,ja(a,y,t))&&S++):_<a&&S++);S<k;++S){const t=Math.round((_+S*E)*v)/v;if(b&&t>r)break;i.push({value:t})}return b&&d&&w!==r?i.length&&ft(i[i.length-1].value,r,ja(r,y,t))?i[i.length-1].value=r:i.push({value:r}):b&&w!==r||i.push({value:w}),i}({maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&mt(n,this,"value"),t.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const n=(i-e)/Math.max(t.length-1,1)/2;e-=n,i+=n}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return Kt(t,this.chart.options.locale,this.options.ticks.format)}}class Va extends Ba{static id="linear";static defaults={ticks:{callback:Gt.formatters.numeric}};determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=F(t)?t:0,this.max=F(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=bt(this.options.ticks.minRotation),n=(t?Math.sin(i):Math.cos(i))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,s.lineHeight/n))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}const Ha=t=>Math.floor(dt(t)),Wa=(t,e)=>Math.pow(10,Ha(t)+e);function Ua(t){return 1==t/Math.pow(10,Ha(t))}function $a(t,e,i){const n=Math.pow(10,i),s=Math.floor(t/n);return Math.ceil(e/n)-s}class Ya extends Yn{static id="logarithmic";static defaults={ticks:{callback:Gt.formatters.logarithmic,major:{enabled:!0}}};constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=Ba.prototype.parse.apply(this,[t,e]);if(0!==i)return F(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=F(t)?Math.max(0,t):null,this.max=F(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!F(this._userMin)&&(this.min=t===Wa(this.min,0)?Wa(this.min,-1):Wa(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,n=this.max;const s=e=>i=t?i:e,a=t=>n=e?n:t;i===n&&(i<=0?(s(1),a(10)):(s(Wa(i,-1)),a(Wa(n,1)))),i<=0&&s(Wa(n,-1)),n<=0&&a(Wa(i,1)),this.min=i,this.max=n}buildTicks(){const t=this.options,e=function(t,{min:e,max:i}){e=j(t.min,e);const n=[],s=Ha(e);let a=function(t,e){let i=Ha(e-t);for(;$a(t,e,i)>10;)i++;for(;$a(t,e,i)<10;)i--;return Math.min(i,Ha(t))}(e,i),r=a<0?Math.pow(10,Math.abs(a)):1;const o=Math.pow(10,a),l=s>a?Math.pow(10,s):0,c=Math.round((e-l)*r)/r,h=Math.floor((e-l)/o/10)*o*10;let d=Math.floor((c-h)/Math.pow(10,a)),u=j(t.min,Math.round((l+h+d*Math.pow(10,a))*r)/r);for(;u<i;)n.push({value:u,major:Ua(u),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,r=a>=0?1:r),u=Math.round((l+h+d*Math.pow(10,a))*r)/r;const f=j(t.max,u);return n.push({value:f,major:Ua(f),significand:d}),n}({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&mt(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":Kt(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=dt(t),this._valueRange=dt(this.max)-dt(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(dt(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function qa(t){const e=t.ticks;if(e.display&&t.display){const t=Me(e.backdropPadding);return B(e.font&&e.font.size,ne.font.size)+t.height}return 0}function Xa(t,e,i,n,s){return t===n||t===s?{start:e-i/2,end:e+i/2}:t<n||t>s?{start:e-i,end:e}:{start:e,end:e+i}}function Ka(t,e,i,n,s){const a=Math.abs(Math.sin(i)),r=Math.abs(Math.cos(i));let o=0,l=0;n.start<e.l?(o=(e.l-n.start)/a,t.l=Math.min(t.l,e.l-o)):n.end>e.r&&(o=(n.end-e.r)/a,t.r=Math.max(t.r,e.r+o)),s.start<e.t?(l=(e.t-s.start)/r,t.t=Math.min(t.t,e.t-l)):s.end>e.b&&(l=(s.end-e.b)/r,t.b=Math.max(t.b,e.b+l))}function Ja(t,e,i){const n=t.drawingArea,{extra:s,additionalAngle:a,padding:r,size:o}=i,l=t.getPointPosition(e,n+s+r,a),c=Math.round(xt(kt(l.angle+lt))),h=function(t,e,i){return 90===i||270===i?t-=e/2:(i>270||i<90)&&(t-=e),t}(l.y,o.h,c),d=function(t){return 0===t||180===t?"center":t<180?"left":"right"}(c),u=(f=l.x,g=o.w,"right"===(p=d)?f-=g:"center"===p&&(f-=g/2),f);var f,g,p;return{visible:!0,x:l.x,y:h,textAlign:d,left:u,top:h,right:u+o.w,bottom:h+o.h}}function Ga(t,e){if(!e)return!0;const{left:i,top:n,right:s,bottom:a}=t;return!(he({x:i,y:n},e)||he({x:i,y:a},e)||he({x:s,y:n},e)||he({x:s,y:a},e))}function Za(t,e,i){const{left:n,top:s,right:a,bottom:r}=i,{backdropColor:o}=e;if(!R(o)){const i=Ee(e.borderRadius),l=Me(e.backdropPadding);t.fillStyle=o;const c=n-l.left,h=s-l.top,d=a-n+l.width,u=r-s+l.height;Object.values(i).some((t=>0!==t))?(t.beginPath(),xe(t,{x:c,y:h,w:d,h:u,radius:i}),t.fill()):t.fillRect(c,h,d,u)}}function Qa(t,e,i,n){const{ctx:s}=t;if(i)s.arc(t.xCenter,t.yCenter,e,0,st);else{let i=t.getPointPosition(0,e);s.moveTo(i.x,i.y);for(let a=1;a<n;a++)i=t.getPointPosition(a,e),s.lineTo(i.x,i.y)}}class tr extends Ba{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Gt.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=Me(qa(this.options)/2),e=this.width=this.maxWidth-t.width,i=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+i/2+t.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=F(t)&&!isNaN(t)?t:0,this.max=F(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/qa(this.options))}generateTickLabels(t){Ba.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const i=H(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?function(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),n=[],s=[],a=t._pointLabels.length,r=t.options.pointLabels,o=r.centerPointLabels?nt/a:0;for(let d=0;d<a;d++){const a=r.setContext(t.getPointLabelContext(d));s[d]=a.padding;const u=t.getPointPosition(d,t.drawingArea+s[d],o),f=Se(a.font),g=(l=t.ctx,c=f,h=z(h=t._pointLabels[d])?h:[h],{w:ae(l,c.string,h),h:h.length*c.lineHeight});n[d]=g;const p=kt(t.getIndexAngle(d)+o),m=Math.round(xt(p));Ka(i,e,p,Xa(m,u.x,g.w,0,180),Xa(m,u.y,g.h,90,270))}var l,c,h;t.setCenterPoint(e.l-i.l,i.r-e.r,e.t-i.t,i.b-e.b),t._pointLabelItems=function(t,e,i){const n=[],s=t._pointLabels.length,a=t.options,{centerPointLabels:r,display:o}=a.pointLabels,l={extra:qa(a)/2,additionalAngle:r?nt/s:0};let c;for(let a=0;a<s;a++){l.padding=i[a],l.size=e[a];const s=Ja(t,a,l);n.push(s),"auto"===o&&(s.visible=Ga(s,c),s.visible&&(c=s))}return n}(t,n,s)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,n){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,n))}getIndexAngle(t){return kt(t*(st/(this._pointLabels.length||1))+bt(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(R(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(R(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const i=e[t];return function(t,e,i){return Oe(t,{label:i,index:e,type:"pointLabel"})}(this.getContext(),t,i)}}getPointPosition(t,e,i=0){const n=this.getIndexAngle(t)-lt+i;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter,angle:n}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:i,right:n,bottom:s}=this._pointLabelItems[t];return{left:e,top:i,right:n,bottom:s}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const i=this.ctx;i.save(),i.beginPath(),Qa(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),i.closePath(),i.fillStyle=t,i.fill(),i.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:i,grid:n,border:s}=e,a=this._pointLabels.length;let r,o,l;if(e.pointLabels.display&&function(t,e){const{ctx:i,options:{pointLabels:n}}=t;for(let s=e-1;s>=0;s--){const e=t._pointLabelItems[s];if(!e.visible)continue;const a=n.setContext(t.getPointLabelContext(s));Za(i,a,e);const r=Se(a.font),{x:o,y:l,textAlign:c}=e;be(i,t._pointLabels[s],o,l+r.lineHeight/2,r,{color:a.color,textAlign:c,textBaseline:"middle"})}}(this,a),n.display&&this.ticks.forEach(((t,e)=>{if(0!==e||0===e&&this.min<0){o=this.getDistanceFromCenterForValue(t.value);const i=this.getContext(e),r=n.setContext(i),l=s.setContext(i);!function(t,e,i,n,s){const a=t.ctx,r=e.circular,{color:o,lineWidth:l}=e;!r&&!n||!o||!l||i<0||(a.save(),a.strokeStyle=o,a.lineWidth=l,a.setLineDash(s.dash||[]),a.lineDashOffset=s.dashOffset,a.beginPath(),Qa(t,i,r,n),a.closePath(),a.stroke(),a.restore())}(this,r,o,a,l)}})),i.display){for(t.save(),r=a-1;r>=0;r--){const n=i.setContext(this.getPointLabelContext(r)),{color:s,lineWidth:a}=n;a&&s&&(t.lineWidth=a,t.strokeStyle=s,t.setLineDash(n.borderDash),t.lineDashOffset=n.borderDashOffset,o=this.getDistanceFromCenterForValue(e.reverse?this.min:this.max),l=this.getPointPosition(r,o),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const n=this.getIndexAngle(0);let s,a;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(n),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((n,r)=>{if(0===r&&this.min>=0&&!e.reverse)return;const o=i.setContext(this.getContext(r)),l=Se(o.font);if(s=this.getDistanceFromCenterForValue(this.ticks[r].value),o.showLabelBackdrop){t.font=l.string,a=t.measureText(n.label).width,t.fillStyle=o.backdropColor;const e=Me(o.backdropPadding);t.fillRect(-a/2-e.left,-s-l.size/2-e.top,a+e.width,l.size+e.height)}be(t,n.label,0,-s,l,{color:o.color,strokeColor:o.textStrokeColor,strokeWidth:o.textStrokeWidth})})),t.restore()}drawTitle(){}}const er={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ir=Object.keys(er);function nr(t,e){return t-e}function sr(t,e){if(R(e))return null;const i=t._adapter,{parser:n,round:s,isoWeekday:a}=t._parseOpts;let r=e;return"function"==typeof n&&(r=n(r)),F(r)||(r="string"==typeof n?i.parse(r,n):i.parse(r)),null===r?null:(s&&(r="week"!==s||!pt(a)&&!0!==a?i.startOf(r,s):i.startOf(r,"isoWeek",a)),+r)}function ar(t,e,i,n){const s=ir.length;for(let a=ir.indexOf(t);a<s-1;++a){const t=er[ir[a]],s=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((i-e)/(s*t.size))<=n)return ir[a]}return ir[s-1]}function rr(t,e,i){if(i){if(i.length){const{lo:n,hi:s}=Ct(i,e);t[i[n]>=e?i[n]:i[s]]=!0}}else t[e]=!0}function or(t,e,i){const n=[],s={},a=e.length;let r,o;for(r=0;r<a;++r)o=e[r],s[o]=r,n.push({value:o,major:!1});return 0!==a&&i?function(t,e,i,n){const s=t._adapter,a=+s.startOf(e[0].value,n),r=e[e.length-1].value;let o,l;for(o=a;o<=r;o=+s.add(o,1,n))l=i[o],l>=0&&(e[l].major=!0);return e}(t,n,s,i):n}class lr extends Yn{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e={}){const i=t.time||(t.time={}),n=this._adapter=new Qi(t.adapters.date);n.init(e),K(i.displayFormats,n.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:sr(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:n,max:s,minDefined:a,maxDefined:r}=this.getUserBounds();function o(t){a||isNaN(t.min)||(n=Math.min(n,t.min)),r||isNaN(t.max)||(s=Math.max(s,t.max))}a&&r||(o(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||o(this.getMinMax(!1))),n=F(n)&&!isNaN(n)?n:+e.startOf(Date.now(),i),s=F(s)&&!isNaN(s)?s:+e.endOf(Date.now(),i)+1,this.min=Math.min(n,s-1),this.max=Math.max(n+1,s)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,n="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&n.length&&(this.min=this._userMin||n[0],this.max=this._userMax||n[n.length-1]);const s=this.min,a=function(t,e,i){let n=0,s=t.length;for(;n<s&&t[n]<e;)n++;for(;s>n&&t[s-1]>i;)s--;return n>0||s<t.length?t.slice(n,s):t}(n,s,this.max);return this._unit=e.unit||(i.autoSkip?ar(e.minUnit,this.min,this.max,this._getLabelCapacity(s)):function(t,e,i,n,s){for(let a=ir.length-1;a>=ir.indexOf(i);a--){const i=ir[a];if(er[i].common&&t._adapter.diff(s,n,i)>=e-1)return i}return ir[i?ir.indexOf(i):0]}(this,a.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=ir.indexOf(t)+1,i=ir.length;e<i;++e)if(er[ir[e]].common)return ir[e]}(this._unit):void 0,this.initOffsets(n),t.reverse&&a.reverse(),or(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((t=>+t.value)))}initOffsets(t=[]){let e,i,n=0,s=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),n=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),s=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);const a=t.length<3?.5:.25;n=Mt(n,0,a),s=Mt(s,0,a),this._offsets={start:n,end:s,factor:1/(n+1+s)}}_generate(){const t=this._adapter,e=this.min,i=this.max,n=this.options,s=n.time,a=s.unit||ar(s.minUnit,e,i,this._getLabelCapacity(e)),r=B(n.ticks.stepSize,1),o="week"===a&&s.isoWeekday,l=pt(o)||!0===o,c={};let h,d,u=e;if(l&&(u=+t.startOf(u,"isoWeek",o)),u=+t.startOf(u,l?"day":a),t.diff(i,e,a)>1e5*r)throw new Error(e+" and "+i+" are too far apart with stepSize of "+r+" "+a);const f="data"===n.ticks.source&&this.getDataTimestamps();for(h=u,d=0;h<i;h=+t.add(h,r,a),d++)rr(c,h,f);return h!==i&&"ticks"!==n.bounds&&1!==d||rr(c,h,f),Object.keys(c).sort(nr).map((t=>+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}format(t,e){const i=this.options.time.displayFormats,n=this._unit,s=e||i[n];return this._adapter.format(t,s)}_tickFormatFunction(t,e,i,n){const s=this.options,a=s.ticks.callback;if(a)return H(a,[t,e,i],this);const r=s.time.displayFormats,o=this._unit,l=this._majorUnit,c=o&&r[o],h=l&&r[l],d=i[e],u=l&&h&&d&&d.major;return this._adapter.format(t,n||(u?h:c))}generateTickLabels(t){let e,i,n;for(e=0,i=t.length;e<i;++e)n=t[e],n.label=this._tickFormatFunction(n.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,i=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+i)*e.factor)}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+i*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,i=this.ctx.measureText(t).width,n=bt(this.isHorizontal()?e.maxRotation:e.minRotation),s=Math.cos(n),a=Math.sin(n),r=this._resolveTickFontOptions(0).size;return{w:i*s+r*a,h:i*a+r*s}}_getLabelCapacity(t){const e=this.options.time,i=e.displayFormats,n=i[e.unit]||i.millisecond,s=this._tickFormatFunction(t,0,or(this,[t],this._majorUnit),n),a=this._getLabelSize(s),r=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return r>0?r:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(t=0,e=n.length;t<e;++t)i=i.concat(n[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(i)}getLabelTimestamps(){const t=this._cache.labels||[];let e,i;if(t.length)return t;const n=this.getLabels();for(e=0,i=n.length;e<i;++e)t.push(sr(this,n[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return Lt(t.sort(nr))}}function cr(t,e,i){let n,s,a,r,o=0,l=t.length-1;i?(e>=t[o].pos&&e<=t[l].pos&&({lo:o,hi:l}=Ot(t,"pos",e)),({pos:n,time:a}=t[o]),({pos:s,time:r}=t[l])):(e>=t[o].time&&e<=t[l].time&&({lo:o,hi:l}=Ot(t,"time",e)),({time:n,pos:a}=t[o]),({time:s,pos:r}=t[l]));const c=s-n;return c?a+(r-a)*(e-n)/c:a}const hr=[Ji,Bs,za,Object.freeze({__proto__:null,CategoryScale:Fa,LinearScale:Va,LogarithmicScale:Ya,RadialLinearScale:tr,TimeScale:lr,TimeSeriesScale:class extends lr{static id="timeseries";static defaults=lr.defaults;constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=cr(e,this.min),this._tableRange=cr(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,n=[],s=[];let a,r,o,l,c;for(a=0,r=t.length;a<r;++a)l=t[a],l>=e&&l<=i&&n.push(l);if(n.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(a=0,r=n.length;a<r;++a)c=n[a+1],o=n[a-1],l=n[a],Math.round((c+o)/2)!==l&&s.push({time:l,pos:a/(r-1)});return s}_generate(){const t=this.min,e=this.max;let i=super.getDataTimestamps();return i.includes(t)&&i.length||i.splice(0,0,t),i.includes(e)&&1!==i.length||i.push(e),i.sort(((t,e)=>t-e))}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return t=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(cr(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return cr(this._table,i*this._tableRange+this._minPos,!0)}}})]},4731:(t,e,i)=>{"use strict";i.d(e,{N1:()=>f,nu:()=>p,yP:()=>g});var n=i(1609),s=i(106);const a="label";function r(t,e){"function"==typeof t?t(e):t&&(t.current=e)}function o(t,e){t.labels=e}function l(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a;const n=[];t.datasets=e.map((e=>{const s=t.datasets.find((t=>t[i]===e[i]));return s&&e.data&&!n.includes(s)?(n.push(s),Object.assign(s,e),s):{...e}}))}function c(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;const i={labels:[],datasets:[]};return o(i,t.labels),l(i,t.datasets,e),i}function h(t,e){const{height:i=150,width:a=300,redraw:h=!1,datasetIdKey:d,type:u,data:f,options:g,plugins:p=[],fallbackContent:m,updateMode:b,...x}=t,y=(0,n.useRef)(null),v=(0,n.useRef)(null),_=()=>{y.current&&(v.current=new s.t1(y.current,{type:u,data:c(f,d),options:g&&{...g},plugins:p}),r(e,v.current))},w=()=>{r(e,null),v.current&&(v.current.destroy(),v.current=null)};return(0,n.useEffect)((()=>{!h&&v.current&&g&&function(t,e){const i=t.options;i&&e&&Object.assign(i,e)}(v.current,g)}),[h,g]),(0,n.useEffect)((()=>{!h&&v.current&&o(v.current.config.data,f.labels)}),[h,f.labels]),(0,n.useEffect)((()=>{!h&&v.current&&f.datasets&&l(v.current.config.data,f.datasets,d)}),[h,f.datasets]),(0,n.useEffect)((()=>{v.current&&(h?(w(),setTimeout(_)):v.current.update(b))}),[h,g,f.labels,f.datasets,b]),(0,n.useEffect)((()=>{v.current&&(w(),setTimeout(_))}),[u]),(0,n.useEffect)((()=>(_(),()=>w())),[]),n.createElement("canvas",{ref:y,role:"img",height:i,width:a,...x},m)}const d=(0,n.forwardRef)(h);function u(t,e){return s.t1.register(e),(0,n.forwardRef)(((e,i)=>n.createElement(d,{...e,ref:i,type:t})))}const f=u("line",s.ZT),g=u("bar",s.A6),p=u("doughnut",s.ju)}},n={};function s(t){var e=n[t];if(void 0!==e)return e.exports;var a=n[t]={exports:{}};return i[t].call(a.exports,a,a.exports,s),a.exports}s.m=i,s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.f={},s.e=t=>Promise.all(Object.keys(s.f).reduce(((e,i)=>(s.f[i](t,e),e)),[])),s.u=t=>t+".js",s.miniCssF=t=>{},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="data_collector_insights:",s.l=(i,n,a,r)=>{if(t[i])t[i].push(n);else{var o,l;if(void 0!==a)for(var c=document.getElementsByTagName("script"),h=0;h<c.length;h++){var d=c[h];if(d.getAttribute("src")==i||d.getAttribute("data-webpack")==e+a){o=d;break}}o||(l=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-webpack",e+a),o.src=i),t[i]=[n];var u=(e,n)=>{o.onerror=o.onload=null,clearTimeout(f);var s=t[i];if(delete t[i],o.parentNode&&o.parentNode.removeChild(o),s&&s.forEach((t=>t(n))),e)return e(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=u.bind(null,o.onerror),o.onload=u.bind(null,o.onload),l&&document.head.appendChild(o)}},s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;s.g.importScripts&&(t=s.g.location+"");var e=s.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");if(i.length)for(var n=i.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=i[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=t})(),(()=>{var t={57:0};s.f.j=(e,i)=>{var n=s.o(t,e)?t[e]:void 0;if(0!==n)if(n)i.push(n[2]);else{var a=new Promise(((i,s)=>n=t[e]=[i,s]));i.push(n[2]=a);var r=s.p+s.u(e),o=new Error;s.l(r,(i=>{if(s.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var a=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;o.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",o.name="ChunkLoadError",o.type=a,o.request=r,n[1](o)}}),"chunk-"+e,e)}};var e=(e,i)=>{var n,a,[r,o,l]=i,c=0;if(r.some((e=>0!==t[e]))){for(n in o)s.o(o,n)&&(s.m[n]=o[n]);l&&l(s)}for(e&&e(i);c<r.length;c++)a=r[c],s.o(t,a)&&t[a]&&t[a][0](),t[a]=0},i=globalThis.webpackChunkdata_collector_insights=globalThis.webpackChunkdata_collector_insights||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})(),s.nc=void 0,(()=>{"use strict";var t=s(1609),e=s.n(t),i=s(5338),n=s(7723),a=s(982),r=s(6188);function o(){const e=DCIConfig.plugin_name.replace(/\s+/g,""),[i,n]=(0,t.useState)((()=>"true"===localStorage.getItem(e+"DarkMode")));return(0,t.useEffect)((()=>{document.documentElement.classList.toggle("dark",i),localStorage.setItem(e+"DarkMode",i)}),[i]),(0,t.createElement)(t.Fragment,null,(0,t.createElement)("nav",{className:"bg-white border-gray-200 rounded-xl px-2 lg:px-4 py-3 lg:py-4 dark:bg-gray-900 shadow-sm"},(0,t.createElement)("div",{className:"flex flex-wrap justify-between items-center gap-3"},(0,t.createElement)("div",{className:"flex justify-start items-center"},(0,t.createElement)("a",{href:DCIConfig.admin_url+"admin.php?page="+DCIConfig.menu_slug,className:"flex items-center outline-none focus:outline-none shadow-none"},(0,t.createElement)("img",{src:DCIConfig.logo,className:"mr-2 h-10 rounded",alt:DCIConfig.plugin_name}),(0,t.createElement)("span",{className:"text-xl lg:text-3xl uppercase font-bold bg-gradient-to-r from-indigo-800 via-sky-400 to-purple-600 bg-clip-text text-transparent relative"},(0,t.createElement)("span",{className:"absolute -top-2 right-0 text-xs uppercase font-bold bg-gradient-to-r from-indigo-800 via-sky-400 to-purple-600 bg-clip-text text-transparent tracking-widest"},"-"),DCIConfig.plugin_name))),(0,t.createElement)("div",{className:"flex items-center lg:order-2 gap-3"},(0,t.createElement)("a",{download:"",href:DCIConfig.root_url+"dci.zip",title:"Download SDK",type:"button",className:"p-2 text-gray-500 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-700 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600"},(0,t.createElement)("svg",{"aria-hidden":"true",className:"w-10 h-10",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M12 6.25C12.4142 6.25 12.75 6.58579 12.75 7V12.1893L14.4697 10.4697C14.7626 10.1768 15.2374 10.1768 15.5303 10.4697C15.8232 10.7626 15.8232 11.2374 15.5303 11.5303L12.5303 14.5303C12.3897 14.671 12.1989 14.75 12 14.75C11.8011 14.75 11.6103 14.671 11.4697 14.5303L8.46967 11.5303C8.17678 11.2374 8.17678 10.7626 8.46967 10.4697C8.76256 10.1768 9.23744 10.1768 9.53033 10.4697L11.25 12.1893V7C11.25 6.58579 11.5858 6.25 12 6.25Z"}),(0,t.createElement)("path",{d:"M7.25 17C7.25 16.5858 7.58579 16.25 8 16.25H16C16.4142 16.25 16.75 16.5858 16.75 17C16.75 17.4142 16.4142 17.75 16 17.75H8C7.58579 17.75 7.25 17.4142 7.25 17Z"}),(0,t.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9426 1.25C9.63423 1.24999 7.82519 1.24998 6.4137 1.43975C4.96897 1.63399 3.82895 2.03933 2.93414 2.93414C2.03933 3.82895 1.63399 4.96897 1.43975 6.41371C1.24998 7.82519 1.24999 9.63423 1.25 11.9426V12.0574C1.24999 14.3658 1.24998 16.1748 1.43975 17.5863C1.63399 19.031 2.03933 20.1711 2.93414 21.0659C3.82895 21.9607 4.96897 22.366 6.4137 22.5603C7.82519 22.75 9.63423 22.75 11.9426 22.75H12.0574C14.3658 22.75 16.1748 22.75 17.5863 22.5603C19.031 22.366 20.1711 21.9607 21.0659 21.0659C21.9607 20.1711 22.366 19.031 22.5603 17.5863C22.75 16.1748 22.75 14.3658 22.75 12.0574V11.9426C22.75 9.63423 22.75 7.82519 22.5603 6.41371C22.366 4.96897 21.9607 3.82895 21.0659 2.93414C20.1711 2.03933 19.031 1.63399 17.5863 1.43975C16.1748 1.24998 14.3658 1.24999 12.0574 1.25H11.9426ZM3.9948 3.9948C4.56445 3.42514 5.33517 3.09825 6.61358 2.92637C7.91356 2.75159 9.62177 2.75 12 2.75C14.3782 2.75 16.0864 2.75159 17.3864 2.92637C18.6648 3.09825 19.4355 3.42514 20.0052 3.9948C20.5749 4.56445 20.9018 5.33517 21.0736 6.61358C21.2484 7.91356 21.25 9.62178 21.25 12C21.25 14.3782 21.2484 16.0864 21.0736 17.3864C20.9018 18.6648 20.5749 19.4355 20.0052 20.0052C19.4355 20.5749 18.6648 20.9018 17.3864 21.0736C16.0864 21.2484 14.3782 21.25 12 21.25C9.62177 21.25 7.91356 21.2484 6.61358 21.0736C5.33517 20.9018 4.56445 20.5749 3.9948 20.0052C3.42514 19.4355 3.09825 18.6648 2.92637 17.3864C2.75159 16.0864 2.75 14.3782 2.75 12C2.75 9.62178 2.75159 7.91356 2.92637 6.61358C3.09825 5.33517 3.42514 4.56445 3.9948 3.9948Z"}))),(0,t.createElement)("button",{onClick:()=>n(!i),className:"rounded-lg px-2.5 py-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700 ring-2 ring-gray-300 dark:ring-gray-600"},(0,t.createElement)(a.g,{icon:i?r.oMq:r.PJS,className:"h-4 w-4"})),(0,t.createElement)("button",{type:"button","data-dropdown-toggle":"notification-dropdown",className:"hidden p-2 text-gray-500 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-700 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600"},(0,t.createElement)("span",{className:"sr-only"},"View notifications"),(0,t.createElement)("svg",{"aria-hidden":"true",className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"}))),(0,t.createElement)("div",{className:"hidden overflow-hidden z-50 my-4 max-w-sm text-base list-none bg-white rounded divide-y divide-gray-100 shadow-lg dark:divide-gray-600 dark:bg-gray-700",id:"notification-dropdown"},(0,t.createElement)("div",{className:"block py-2 px-4 text-base font-medium text-center text-gray-700 bg-gray-50 dark:bg-gray-700 dark:text-gray-400"}),(0,t.createElement)("div",null),(0,t.createElement)("a",{href:"#",className:"block py-2 text-base font-normal text-center text-gray-900 bg-gray-50 hover:bg-gray-100 dark:bg-gray-700 dark:text-white dark:hover:underline"},(0,t.createElement)("div",{className:"inline-flex items-center "},(0,t.createElement)("svg",{"aria-hidden":"true",className:"mr-2 w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M10 12a2 2 0 100-4 2 2 0 000 4z"}),(0,t.createElement)("path",{fillRule:"evenodd",d:"M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z",clipRule:"evenodd"}))))),(0,t.createElement)("button",{type:"button",className:"relative w-10 h-10 bg-sky-100 border-2 border-solid border-indigo-600 flex justify-center items-center rounded-full focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600"},(0,t.createElement)("img",{className:"rounded-full",src:DCIConfig.current_user.avatar,alt:"avatar"}),(0,t.createElement)("span",{className:"top-0 left-7 absolute w-3.5 h-3.5 bg-green-400 border-2 border-white dark:border-gray-800 rounded-full"}))))))}const l={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","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"]},c={prefix:"fab",iconName:"facebook",icon:[512,512,[62e3],"f09a","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"]},h={prefix:"fab",iconName:"youtube",icon:[576,512,[61802],"f167","M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"]},d={prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","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"]};function u(){return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{className:"bg-white rounded-lg shadow sm:flex sm:items-center sm:justify-between p-4 sm:p-6 xl:p-8 dark:bg-stone-900"},(0,t.createElement)("p",{className:"mb-4 text-center md:text-left text-sm text-gray-500 dark:text-gray-400 sm:mb-0"},(0,n.__)("Thank You for Using ","data-collector-insights")," ",(0,t.createElement)("strong",null,"(Core v",DCIConfig.version,DCIConfig.pro_version&&(0,t.createElement)("span",null," & Pro ",(0,t.createElement)("strong",null,"v",DCIConfig.pro_version)),")"),(0,t.createElement)("br",null)," ",(0,n.__)("By - ","data-collector-insights"),(0,t.createElement)("a",{target:"_blank",href:"https://github.com/bdkoder/",className:"hover:underline dark:text-white"},(0,t.createElement)("strong",null,"Shahidul Islam"))," ","© 2023 - ",(new Date).getFullYear()," "," ",(0,n.__)("All rights reserved.","data-collector-insights")),(0,t.createElement)("div",{className:"flex justify-center items-center space-x-1"},(0,t.createElement)("a",{href:"https://www.facebook.com/bdkoder/",target:"_blank","data-tooltip-target":"tooltip-facebook",className:"inline-flex justify-center p-2 text-gray-500 rounded-lg cursor-pointer dark:text-gray-400 dark:hover:text-white hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-600"},(0,t.createElement)(a.g,{icon:c,className:"w-5 h-5"})),(0,t.createElement)("div",{className:"inline-block absolute invisible z-10 py-2 px-3 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-sm opacity-0 transition-opacity duration-300 tooltip dark:bg-gray-700"},(0,n.__)("Follow us on Facebook","data-collector-insights"),(0,t.createElement)("div",{className:"tooltip-arrow","data-popper-arrow":""})),(0,t.createElement)("a",{href:"https://twitter.com/bdkoder",target:"_blank","data-tooltip-target":"tooltip-twitter",className:"inline-flex justify-center p-2 text-gray-500 rounded-lg cursor-pointer dark:text-gray-400 dark:hover:text-white hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-600"},(0,t.createElement)(a.g,{icon:d,className:"w-5 h-5"})),(0,t.createElement)("div",{id:"tooltip-twitter",role:"tooltip",className:"inline-block absolute invisible z-10 py-2 px-3 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-sm opacity-0 transition-opacity duration-300 tooltip dark:bg-gray-700"},(0,t.createElement)("div",{className:"tooltip-arrow","data-popper-arrow":""})),(0,t.createElement)("a",{href:"https://www.linkedin.com/company/wowdevs/",target:"_blank","data-tooltip-target":"tooltip-github",className:"inline-flex justify-center p-2 text-gray-500 rounded-lg cursor-pointer dark:text-gray-400 dark:hover:text-white hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-600"},(0,t.createElement)(a.g,{icon:l,className:"w-5 h-5"})),(0,t.createElement)("div",{id:"tooltip-github",role:"tooltip",className:"inline-block absolute invisible z-10 py-2 px-3 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-sm opacity-0 transition-opacity duration-300 tooltip dark:bg-gray-700"},(0,t.createElement)("div",{className:"tooltip-arrow","data-popper-arrow":""})),(0,t.createElement)("a",{href:"https://www.youtube.com/@wowdevs?sub_confirmation=1",target:"_blank","data-tooltip-target":"tooltip-dribbble",className:"inline-flex justify-center p-2 text-gray-500 rounded-lg cursor-pointer dark:text-gray-400 dark:hover:text-white hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-600"},(0,t.createElement)(a.g,{icon:h,className:"w-5 h-5"})),(0,t.createElement)("div",{id:"tooltip-dribbble",role:"tooltip",className:"inline-block absolute invisible z-10 py-2 px-3 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-sm opacity-0 transition-opacity duration-300 tooltip dark:bg-gray-700"},(0,t.createElement)("div",{className:"tooltip-arrow","data-popper-arrow":""})))))}class f extends e().Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(t){return{hasError:!0}}componentDidCatch(t,e){console.error("ErrorBoundary caught an error:",t,e)}render(){return this.state.hasError?(0,t.createElement)("div",{className:"p-4 text-center bg-red-100 text-red-700 rounded-lg"},(0,t.createElement)("h2",null,(0,n.__)("Something went wrong.","data-collector-insights")),(0,t.createElement)("p",null,(0,n.__)("Please try refreshing the page.","data-collector-insights"))):this.props.children}}const g=f;var p=s(1682),m=s.n(p);const b=({data:e,activeTab:i,onTabClick:s,isSidebarOpen:o,toggleSidebar:l,isLargeScreen:c})=>{const h=(0,t.createElement)("div",{className:"bg-gradient-to-r from-indigo-800 to-purple-600 dark:from-gray-900 dark:to-gray-900 p-4 shadow-xl rounded-lg"},(0,t.createElement)((()=>(0,t.createElement)("div",{className:"flex items-center justify-between mb-4 pb-4 border-b border-white/20 dark:border-gray-800"},o&&(0,t.createElement)("h3",{className:"text-lg font-bold text-white uppercase"},DCIConfig.plugin_name),c&&(0,t.createElement)("button",{onClick:l,className:"p-2 rounded-lg hover:bg-purple-700 dark:hover:bg-gray-800 text-white focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 ml-auto leading-none","aria-label":o?(0,n.__)("Hide Menu","data-collector-insights"):(0,n.__)("Show Menu","data-collector-insights"),title:o?(0,n.__)("Hide Menu","data-collector-insights"):(0,n.__)("Show Menu","data-collector-insights")},(0,t.createElement)(a.g,{icon:o?r.Wzs:r.XkK,className:"h-5 w-5"})))),null),e.map((({label:e,value:n,icon:a})=>(0,t.createElement)("button",{key:n,onClick:()=>s(n),className:"flex py-1.5 mb-1 items-center w-full leading-tight transition-all rounded-lg outline-none text-start justify-start font-sans text-base font-normal select-none cursor-pointer "+(i===n?"tab-active text-gray-900 bg-white dark:bg-gray-800 dark:text-white":"hover:bg-purple-700 text-white")},(0,t.createElement)("div",{className:"flex gap-3 items-center w-full px-2 py-3 leading-tight transition-all rounded-lg outline-none text-start"},(0,t.createElement)("div",{className:"grid place-items-center"},a),o&&e)))));return(0,t.createElement)("div",{className:"transition-all duration-300 ease-in-out "+(c||o?c?o?"min-w-56":"w-[70px]":"min-w-56":"hidden")},(0,t.createElement)(m(),null,h))},x=({data:e,activeTab:i,onTabClick:s,isSidebarOpen:o,toggleSidebar:l,isLargeScreen:c})=>(0,t.createElement)("div",{className:"flex flex-col xl:flex-row gap-4 my-4 lg:my-6"},(0,t.createElement)(b,{data:e,activeTab:i,onTabClick:s,isSidebarOpen:o,toggleSidebar:l,isLargeScreen:c}),(0,t.createElement)("div",{className:"flex-1 w-full h-max text-gray-700 antialiased font-sans text-base font-light leading-relaxed py-0 rounded-lg overflow-hidden"},(0,t.createElement)((()=>c?null:(0,t.createElement)("button",{className:"mb-4 bg-gradient-to-r from-purple-600 to-indigo-600 text-white px-4 py-2.5 rounded-lg flex items-center gap-3 shadow-md hover:shadow-lg transform hover:-translate-y-0.5 transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50",onClick:l},(0,t.createElement)("div",{className:"transition-all duration-300 "+(o?"":"rotate-180")},(0,t.createElement)(a.g,{icon:r.ckx,className:"h-5 w-5"})),(0,t.createElement)("span",{className:"font-medium"},o?(0,n.__)("Hide Menu","data-collector-insights"):(0,n.__)("Show Menu","data-collector-insights")))),null),e.map((({value:e,desc:s})=>(0,t.createElement)("div",{key:e,className:"py-0 "+(i===e?"block":"hidden")},(0,t.createElement)(g,null,(0,t.createElement)(t.Suspense,{fallback:(0,t.createElement)("div",null,(0,n.__)("Loading...","data-collector-insights"))},s)))))));var y=s(1083),v=s(106);v.t1.register(...v.$L);var _=s(4731);v.t1.register(v.No,v.PP,v.kc,v.FN,v.m_,v.s$);const w=({icon:e,title:i,value:n,gradientFrom:s,gradientTo:r,shadowColor:o})=>(0,t.createElement)("div",{className:"relative flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("div",{className:`bg-clip-border mx-4 rounded-xl overflow-hidden bg-gradient-to-tr from-${s} to-${r} text-white shadow-${o} shadow-lg absolute -mt-4 grid h-16 w-16 place-items-center`},(0,t.createElement)(a.g,{icon:e,color:"white",className:"w-6 h-6 text-white"})),(0,t.createElement)("div",{className:"p-4 text-right"},(0,t.createElement)("p",{className:"block antialiased font-sans text-sm leading-normal font-normal text-blue-gray-600 dark:text-gray-400"},i),(0,t.createElement)("h4",{className:"block antialiased tracking-normal font-sans text-2xl font-semibold leading-snug text-blue-gray-900 dark:text-white"},n||0))),k=(0,t.lazy)((()=>Promise.all([s.e(533),s.e(465),s.e(149)]).then(s.bind(s,1149)))),E=(0,t.lazy)((()=>Promise.all([s.e(533),s.e(465),s.e(757),s.e(747)]).then(s.bind(s,747)))),M=(0,t.lazy)((()=>Promise.all([s.e(533),s.e(465),s.e(757),s.e(226)]).then(s.bind(s,2226)))),S=(0,t.lazy)((()=>Promise.all([s.e(533),s.e(757),s.e(790)]).then(s.bind(s,7790)))),C=(0,t.lazy)((()=>Promise.all([s.e(533),s.e(757),s.e(451)]).then(s.bind(s,451)))),O=(0,t.lazy)((()=>Promise.all([s.e(465),s.e(540)]).then(s.bind(s,7540)))),P=(0,t.lazy)((()=>Promise.all([s.e(533),s.e(432)]).then(s.bind(s,9432)))),N=(0,t.lazy)((()=>s.e(535).then(s.bind(s,9535)))),A=(0,t.lazy)((()=>s.e(862).then(s.bind(s,862)))),L=[{label:"Dashboard",value:"dashboard",icon:(0,t.createElement)(a.g,{icon:r.BwJ,className:"h-5 w-5"}),desc:(0,t.createElement)((()=>{const[e,i]=(0,t.useState)(0),[s,o]=(0,t.useState)(!0),[l,c]=(0,t.useState)(null),[h,d]=(0,t.useState)(""),u="dci_dashboard_data",f="dci_dashboard_timestamp",g=()=>{try{const t=localStorage.getItem(u),e=localStorage.getItem(f);return e&&c(new Date(parseInt(e))),t?JSON.parse(t):null}catch(t){return console.error("Error parsing cached data:",t),null}},p=t=>{try{const e=Date.now();localStorage.setItem(u,JSON.stringify(t)),localStorage.setItem(f,e.toString()),c(new Date(e))}catch(t){console.error("Error caching data:",t)}};if((0,t.useEffect)((()=>{(async()=>{if((()=>{const t=localStorage.getItem(f);if(!t)return!1;const e=parseInt(t);return Date.now()-e<18e5})()){const t=g();if(t)return i(t),d("cache"),void o(!1)}try{o(!0);const t=(await y.A.get("/wp-json/dci/app/v1/dashboard/welcome",{headers:{"X-WP-Nonce":DCIConfig.nonce}})).data.data;i(t),p(t),d("server")}catch(t){console.error("Error fetching data:",t);const e=g();e&&(i(e),d("cache (expired)"))}finally{o(!1)}})()}),[]),!e||s)return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{className:"text-center"},(0,n.__)("Loading","data-collector-insights"),"..."),(0,t.createElement)("div",{className:"flex justify-center items-center h-40 mt-12"},(0,t.createElement)("div",{className:"animate-spin rounded-full h-10 w-10 border-t-2 border-b-2 border-blue-500"})));const m={responsive:!0,maintainAspectRatio:!1,scales:{y:{beginAtZero:!0}},plugins:{legend:{display:!0,position:"top"}}};return console.log(e),(0,t.createElement)("div",{className:"mt-0"},(0,t.createElement)("div",{className:"mb-6 pb-8 flex justify-between items-center"},(0,t.createElement)("div",null,(0,t.createElement)("h3",{className:"text-2xl font-bold text-gray-900 dark:text-white"},(0,n.__)("Reports Overview","data-collector-insights")),(0,t.createElement)("p",{className:"text-sm text-gray-600 dark:text-gray-400"},(0,n.__)("Data is cached for 30 minutes for better performance","data-collector-insights"),l&&(0,t.createElement)("span",{className:"ml-2 text-xs"},"• ",(0,n.__)("Last updated:","data-collector-insights")," ",l.toLocaleTimeString()),h&&(0,t.createElement)("span",{className:"ml-2 text-xs px-2 py-1 rounded-full "+(h.includes("cache")?"bg-blue-100 text-blue-800 dark:bg-blue-900 dark:text-blue-200":"bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200")},h))),(0,t.createElement)("button",{onClick:async()=>{try{o(!0),(()=>{try{localStorage.removeItem(u),localStorage.removeItem(f)}catch(t){console.error("Error clearing cache:",t)}})();const t=(await y.A.get("/wp-json/dci/app/v1/dashboard/welcome",{params:{force_refresh:!0},headers:{"X-WP-Nonce":DCIConfig.nonce}})).data.data;i(t),p(t),d("server (refreshed)")}catch(t){console.error("Error refreshing data:",t)}finally{o(!1)}},disabled:s,className:"inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 disabled:opacity-50 disabled:cursor-not-allowed "+(s?"animate-pulse":"")},(0,t.createElement)(a.g,{icon:r.Vpu,className:"w-4 h-4 mr-2 "+(s?"animate-spin":"")}),s?(0,n.__)("Refreshing...","data-collector-insights"):(0,n.__)("Refresh Reports","data-collector-insights"))),(0,t.createElement)("div",{className:"mb-12 grid gap-y-10 gap-x-6 grid-cols-2 lg:grid-cols-3 xl:grid-cols-4"},(0,t.createElement)(w,{icon:r.gdJ,title:"Total Users",value:e?.total_clients,gradientFrom:"blue-600",gradientTo:"blue-400",shadowColor:"blue-500/40"}),(0,t.createElement)(w,{icon:r.pCJ,title:"Active Users",value:(()=>{const t=e?.total_clients||0,i=e?.total_uninstall||0;return Math.max(t-i,0).toLocaleString()})(),gradientFrom:"purple-600",gradientTo:"purple-400",shadowColor:"purple-500/40"}),(0,t.createElement)(w,{icon:r.s67,title:"Today's Users",value:e?.today_clients,gradientFrom:"orange-600",gradientTo:"orange-400",shadowColor:"orange-500/40"}),(0,t.createElement)(w,{icon:r.gK3,title:"Today's Update",value:e?.today_clients_updates,gradientFrom:"pink-600",gradientTo:"pink-400",shadowColor:"pink-500/40"}),(0,t.createElement)(w,{icon:r.KuB,title:"Total Uninstall",value:e?.total_uninstall,gradientFrom:"blue-600",gradientTo:"blue-400",shadowColor:"pink-500/40"}),(0,t.createElement)(w,{icon:r.KuB,title:"Today's Uninstall",value:e?.today_uninstall,gradientFrom:"pink-600",gradientTo:"pink-400",shadowColor:"pink-500/40"}),(0,t.createElement)(w,{icon:r.D6w,title:"Sent CRM",value:e?.crm_sent_total,gradientFrom:"blue-600",gradientTo:"blue-400",shadowColor:"blue-500/40"}),(0,t.createElement)(w,{icon:r.NMo,title:"Weekly Growth",value:`${e?.growth_metrics?.weekly_growth_rate||0}%`,gradientFrom:"green-600",gradientTo:"green-400",shadowColor:"green-500/40"})),(0,t.createElement)("div",{className:"mb-6 grid gap-y-10 gap-x-6 grid-cols-2 lg:grid-cols-3 xl:grid-cols-4"},(0,t.createElement)(w,{icon:r.gK3,title:"Weekly Active Users",value:(e?.growth_metrics?.current_week||0).toLocaleString(),gradientFrom:"blue-600",gradientTo:"blue-400",shadowColor:"blue-500/40"}),(0,t.createElement)(w,{icon:r.NMo,title:"Monthly Total Users",value:(e?.growth_metrics?.current_month||0).toLocaleString(),gradientFrom:"green-600",gradientTo:"green-400",shadowColor:"green-500/40"}),(0,t.createElement)(w,{icon:r.s67,title:"Weekly Growth Rate",value:(()=>{const t=e?.growth_metrics?.weekly_growth_rate||0,i=Math.min(Math.max(t,-50),50);return t>50?"+50%":t<-50?"-50%":`${i.toFixed(1)}%`})(),gradientFrom:"purple-600",gradientTo:"purple-400",shadowColor:"purple-500/40"}),(0,t.createElement)(w,{icon:r.gdJ,title:"Monthly Growth Rate",value:(()=>{const t=e?.growth_metrics?.monthly_growth_rate||0,i=Math.min(Math.max(t,-50),100);return t>100?"+100%":t<-50?"-50%":`${i.toFixed(1)}%`})(),gradientFrom:"orange-600",gradientTo:"orange-400",shadowColor:"orange-500/40"})),e?.technology_stack_overview&&(0,t.createElement)("div",{className:"mb-6 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6"},(0,t.createElement)("div",{className:"relative p-4 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800 border-l-4 border-blue-500"},(0,t.createElement)("div",{className:"flex items-center justify-between"},(0,t.createElement)("div",null,(0,t.createElement)("p",{className:"text-sm font-medium text-gray-600 dark:text-gray-400"},"Modern WordPress"),(0,t.createElement)("p",{className:"text-2xl font-bold text-blue-600"},e.technology_stack_overview.wp_adoption_rate,"%"),(0,t.createElement)("p",{className:"text-xs text-gray-500"},e.technology_stack_overview.latest_wp_usage," / ",e.technology_stack_overview.total_sites," sites")))),(0,t.createElement)("div",{className:"relative p-4 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800 border-l-4 border-green-500"},(0,t.createElement)("div",{className:"flex items-center justify-between"},(0,t.createElement)("div",null,(0,t.createElement)("p",{className:"text-sm font-medium text-gray-600 dark:text-gray-400"},"Secure PHP"),(0,t.createElement)("p",{className:"text-2xl font-bold text-green-600"},e.technology_stack_overview.php_security_rate,"%"),(0,t.createElement)("p",{className:"text-xs text-gray-500"},e.technology_stack_overview.secure_php_usage," / ",e.technology_stack_overview.total_sites," sites")))),(0,t.createElement)("div",{className:"relative p-4 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800 border-l-4 border-purple-500"},(0,t.createElement)("div",{className:"flex items-center justify-between"},(0,t.createElement)("div",null,(0,t.createElement)("p",{className:"text-sm font-medium text-gray-600 dark:text-gray-400"},"English Sites"),(0,t.createElement)("p",{className:"text-2xl font-bold text-purple-600"},e.technology_stack_overview.english_percentage,"%"),(0,t.createElement)("p",{className:"text-xs text-gray-500"},e.technology_stack_overview.english_sites," sites")))),(0,t.createElement)("div",{className:"relative p-4 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800 border-l-4 border-orange-500"},(0,t.createElement)("div",{className:"flex items-center justify-between"},(0,t.createElement)("div",null,(0,t.createElement)("p",{className:"text-sm font-medium text-gray-600 dark:text-gray-400"},"International"),(0,t.createElement)("p",{className:"text-2xl font-bold text-orange-600"},(100-e.technology_stack_overview.english_percentage).toFixed(1),"%"),(0,t.createElement)("p",{className:"text-xs text-gray-500"},e.technology_stack_overview.non_english_sites," sites"))))),(0,t.createElement)("div",{className:"mb-6 grid grid-cols-1 lg:grid-cols-2 gap-6"},e?.wordpress_version_analysis&&(0,t.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-4 text-center"},"WordPress Version Distribution",(0,t.createElement)("span",{className:"text-sm font-normal text-gray-500 dark:text-gray-400 ml-2"},"(",e.wordpress_version_analysis.total_analyzed?.toLocaleString()," analyzed)")),(0,t.createElement)("div",{style:{height:300}},(0,t.createElement)(_.nu,{data:e.wordpress_version_analysis,options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{position:"bottom",labels:{boxWidth:12,padding:15,usePointStyle:!0}},tooltip:{backgroundColor:"rgba(0, 0, 0, 0.8)",titleColor:"white",bodyColor:"white",callbacks:{label:function(t){const e=t.parsed,i=(e/t.dataset.data.reduce(((t,e)=>t+e),0)*100).toFixed(1);return`${t.label}: ${e.toLocaleString()} (${i}%)`}}}}}}))),e?.php_version_analysis&&(0,t.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-4 text-center"},"PHP Version Security Status",(0,t.createElement)("span",{className:"text-sm font-normal text-gray-500 dark:text-gray-400 ml-2"},"(",e.php_version_analysis.total_analyzed?.toLocaleString()," analyzed)")),(0,t.createElement)("div",{style:{height:240}},(0,t.createElement)(_.yP,{data:e.php_version_analysis,options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{backgroundColor:"rgba(0, 0, 0, 0.8)",titleColor:"white",bodyColor:"white",callbacks:{afterLabel:function(t){const e=t.dataset.data.reduce(((t,e)=>t+e),0);return`${(t.parsed.y/e*100).toFixed(1)}% of total sites`}}}},scales:{y:{beginAtZero:!0},x:{ticks:{maxRotation:45,minRotation:0}}}}})),e.php_version_analysis.security_summary&&(0,t.createElement)("div",{className:"mt-4 flex justify-around text-center border-t pt-4"},(0,t.createElement)("div",null,(0,t.createElement)("div",{className:"text-green-600 font-bold text-lg"},e.php_version_analysis.security_summary.secure),(0,t.createElement)("div",{className:"text-xs text-gray-500"},"Secure")),(0,t.createElement)("div",null,(0,t.createElement)("div",{className:"text-yellow-600 font-bold text-lg"},e.php_version_analysis.security_summary.warning),(0,t.createElement)("div",{className:"text-xs text-gray-500"},"Warning")),(0,t.createElement)("div",null,(0,t.createElement)("div",{className:"text-red-600 font-bold text-lg"},e.php_version_analysis.security_summary.critical),(0,t.createElement)("div",{className:"text-xs text-gray-500"},"Critical"))))),e?.locale_distribution&&(0,t.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,t.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-4 text-center"},"Language & Locale Distribution",(0,t.createElement)("span",{className:"text-sm font-normal text-gray-500 dark:text-gray-400 ml-2"},"(",e.locale_distribution.total_analyzed?.toLocaleString()," sites analyzed)")),(0,t.createElement)("div",{style:{height:350}},(0,t.createElement)(_.yP,{data:e.locale_distribution,options:{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",scales:{x:{beginAtZero:!0,ticks:{callback:function(t){return t.toLocaleString()}}}},plugins:{legend:{display:!1},tooltip:{backgroundColor:"rgba(0, 0, 0, 0.8)",titleColor:"white",bodyColor:"white",callbacks:{label:function(t){const i=t.parsed.x,n=(i/(e.locale_distribution.total_analyzed||t.dataset.data.reduce(((t,e)=>t+e),0))*100).toFixed(1);return`${t.dataset.label}: ${i.toLocaleString()} sites (${n}%)`}}}}}})))),(0,t.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,t.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-2 text-center"},"Installs vs Uninstalls by Products"),(0,t.createElement)("div",{className:"w-100",style:{height:350,width:"100%"}},(0,t.createElement)(_.yP,{data:e.users_of_products,options:{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},scales:{x:{stacked:!1},y:{beginAtZero:!0,stacked:!1}},plugins:{legend:{display:!0,position:"top"},tooltip:{backgroundColor:"rgba(0, 0, 0, 0.8)",titleColor:"white",bodyColor:"white",callbacks:{afterBody:function(t){if(2===t.length){const e=t.find((t=>0===t.datasetIndex))?.parsed?.y||0,i=t.find((t=>1===t.datasetIndex))?.parsed?.y||0;return[`Retention Rate: ${e>0?((e-i)/e*100).toFixed(1):0}%`]}return[]}}}}}})))),(0,t.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,t.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-2 text-center"},"Last 12 Months Installs"),(0,t.createElement)("div",{className:"w-100",style:{height:350,width:"100%"}},(0,t.createElement)(_.N1,{data:e.users_per_month,options:m})))),(0,t.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,t.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-2 text-center"},"Last 30 Days Installs"),(0,t.createElement)("div",{className:"w-100",style:{height:350,width:"100%"}},(0,t.createElement)(_.N1,{data:e.last_30_days_data,options:m})))),(0,t.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,t.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-2 text-center"},"Last 30 Days Uninstalls"),(0,t.createElement)("div",{className:"w-100",style:{height:350,width:"100%"}},(0,t.createElement)(_.N1,{data:e.last_30_days_uninstall,options:m})))),(0,t.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-6"},(0,t.createElement)("div",{className:"grid grid-cols-1 gap-6"},(0,t.createElement)("div",{className:"relative p-6 flex flex-col rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-lg font-semibold text-gray-800 dark:text-gray-100 mb-4 flex items-center"},(0,t.createElement)(a.g,{icon:r.s67,className:"mr-2 text-red-600"}),"Feedback Distribution Analysis"),(0,t.createElement)("div",{style:{height:300}},(0,t.createElement)(_.yP,{data:{...e.feedback_data,datasets:[{...e.feedback_data?.datasets?.[0],backgroundColor:["rgba(239, 68, 68, 0.8)","rgba(249, 115, 22, 0.8)","rgba(245, 158, 11, 0.8)","rgba(34, 197, 94, 0.8)","rgba(59, 130, 246, 0.8)","rgba(147, 51, 234, 0.8)","rgba(236, 72, 153, 0.8)"],borderColor:["rgba(239, 68, 68, 1)","rgba(249, 115, 22, 1)","rgba(245, 158, 11, 1)","rgba(34, 197, 94, 1)","rgba(59, 130, 246, 1)","rgba(147, 51, 234, 1)","rgba(236, 72, 153, 1)"],borderWidth:2}]},options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{backgroundColor:"rgba(0, 0, 0, 0.9)",titleColor:"white",bodyColor:"white",borderColor:"rgba(255, 255, 255, 0.1)",borderWidth:1,callbacks:{afterLabel:function(t){const e=t.dataset.data.reduce(((t,e)=>t+e),0);return[`${e>0?(t.parsed.y/e*100).toFixed(1):0}% of total feedback`,`${t.parsed.y>50?"High Impact":t.parsed.y>20?"Medium Impact":"Low Impact"} • ${t.dataIndex<2?"🔥 Critical":t.dataIndex<4?"⚡ Important":"📝 Normal"}`]}}}},scales:{y:{beginAtZero:!0,grid:{color:"rgba(0, 0, 0, 0.1)"}},x:{ticks:{maxRotation:45,minRotation:0},grid:{display:!1}}}}}))),(0,t.createElement)("div",{className:"relative p-6 flex flex-col rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-lg font-semibold text-gray-800 dark:text-gray-100 mb-4 flex items-center"},(0,t.createElement)(a.g,{icon:r.NMo,className:"mr-2 text-blue-600"}),"Smart Action Recommendations"),(0,t.createElement)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 "},e?.feedback_data?.labels?.slice(0,3).map(((i,n)=>{const s=e.feedback_data.datasets[0].data,a=s[n]||0;if(0===a)return null;const r=s.filter((t=>null!=t&&!isNaN(t))).reduce(((t,e)=>t+e),0),o=r>0?(a/r*100).toFixed(1):0,l=a>50?"High":a>20?"Medium":"Low",c="High"===l?"text-red-600":"Medium"===l?"text-orange-600":"text-green-600",h=0===n?"Easy":1===n?"Medium":"Hard",d=0===n?"1-2 days":1===n?"1 week":"2-3 weeks",u=Math.max(85-10*n,65);return(0,t.createElement)("div",{key:n,className:"p-4 bg-gradient-to-r from-gray-50 to-blue-50 dark:from-gray-700 dark:to-blue-900/20 rounded-lg border border-gray-200 dark:border-gray-600 hover:shadow-md transition-shadow"},(0,t.createElement)("div",{className:"flex justify-between items-start"},(0,t.createElement)("div",{className:"flex-1"},(0,t.createElement)("div",{className:"flex items-center gap-2 mb-1"},(0,t.createElement)("span",{className:"text-2xl"},0===n?"🎯":1===n?"🚀":"💡"),(0,t.createElement)("h6",{className:"font-semibold text-gray-800 dark:text-gray-100 text-sm"},i)),(0,t.createElement)("div",{className:"text-xs text-gray-500 mt-1 flex items-center gap-3"},(0,t.createElement)("span",null,a," users"),(0,t.createElement)("span",null,"•"),(0,t.createElement)("span",null,o,"% of feedback"),(0,t.createElement)("span",null,"•"),(0,t.createElement)("span",{className:c},l," Impact"))),(0,t.createElement)("div",{className:"text-right"},(0,t.createElement)("div",{className:"text-sm font-bold text-purple-600 dark:text-purple-400"},u,"% Satisfaction"),(0,t.createElement)("div",{className:"text-xs text-gray-500"},"Expected Boost"))),(0,t.createElement)("div",{className:"mb-3 grid grid-cols-3 gap-2 text-xs"},(0,t.createElement)("div",{className:"text-center p-2 bg-white dark:bg-gray-800 rounded"},(0,t.createElement)("div",{className:"font-semibold text-blue-600"},h),(0,t.createElement)("div",{className:"text-gray-500"},"Difficulty")),(0,t.createElement)("div",{className:"text-center p-2 bg-white dark:bg-gray-800 rounded"},(0,t.createElement)("div",{className:"font-semibold text-green-600"},d),(0,t.createElement)("div",{className:"text-gray-500"},"Time Est.")),(0,t.createElement)("div",{className:"text-center p-2 bg-white dark:bg-gray-800 rounded"},(0,t.createElement)("div",{className:"font-semibold text-orange-600"},"+",Math.round(.3*a)),(0,t.createElement)("div",{className:"text-gray-500"},"Users Back"))),(0,t.createElement)("div",{className:"mt-3 p-3 bg-white dark:bg-gray-800 rounded border-l-3 border-blue-400"},(0,t.createElement)("div",{className:"text-xs font-medium text-blue-800 dark:text-blue-300 mb-2 flex items-center"},(0,t.createElement)("span",{className:"mr-1"},"🎯"),"Action Plan:"),(0,t.createElement)("div",{className:"text-xs text-blue-700 dark:text-blue-400 space-y-1"},0===n?(0,t.createElement)("div",null,(0,t.createElement)("div",null,"• 📹 Create 2-minute tutorial video"),(0,t.createElement)("div",null,"• 🎨 Design interactive onboarding flow"),(0,t.createElement)("div",null,"• 📧 Send targeted email campaign")):1===n?(0,t.createElement)("div",null,(0,t.createElement)("div",null,"• ⚡ Optimize core performance bottlenecks"),(0,t.createElement)("div",null,"• 🔧 Implement smart caching system"),(0,t.createElement)("div",null,"• 📊 Add performance monitoring dashboard")):(0,t.createElement)("div",null,(0,t.createElement)("div",null,"• 📚 Create comprehensive help center"),(0,t.createElement)("div",null,"• 💬 Add in-app chat support"),(0,t.createElement)("div",null,"• 🤖 Build smart FAQ bot")))))}))))),(0,t.createElement)("div",{className:"relative p-6 flex flex-col rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-lg font-semibold text-gray-800 dark:text-gray-100 mb-4 flex items-center"},(0,t.createElement)(a.g,{icon:r.dB,className:"mr-2 text-purple-600"}),"Issue Impact & Action Strategy"),(0,t.createElement)("div",{className:"overflow-x-auto"},(0,t.createElement)("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700"},(0,t.createElement)("thead",{className:"bg-gray-50 dark:bg-gray-700"},(0,t.createElement)("tr",null,(0,t.createElement)("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"Issue Type"),(0,t.createElement)("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"User Impact"),(0,t.createElement)("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"Priority"),(0,t.createElement)("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"Success Rate"),(0,t.createElement)("th",{className:"px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"Strategy"))),(0,t.createElement)("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700"},e?.feedback_data?.labels?.map(((i,n)=>{const s=e.feedback_data.datasets[0].data,a=s[n]||0;if(0===a)return null;const r=n<2?"High":n<4?"Medium":"Low",o=Math.max(90-15*n,45),l=n<2?"🎯 Quick Fix":n<4?"🔧 Enhancement":"📞 Support";return(0,t.createElement)("tr",{key:n,className:"hover:bg-gray-50 dark:hover:bg-gray-700"},(0,t.createElement)("td",{className:"px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900 dark:text-white"},(0,t.createElement)("div",{className:"flex items-center"},(0,t.createElement)("span",{className:"mr-2 text-lg"},0===n?"🎯":1===n?"⚡":2===n?"📚":"🔧"),i)),(0,t.createElement)("td",{className:"px-4 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300"},(0,t.createElement)("div",{className:"flex items-center"},(0,t.createElement)("span",{className:"mr-2"},a," users"),(0,t.createElement)("div",{className:"w-16 bg-gray-200 rounded-full h-2"},(0,t.createElement)("div",{className:"bg-gradient-to-r from-blue-500 to-purple-500 h-2 rounded-full",style:{width:(s.length>0?a/Math.max(...s.filter((t=>t>0)))*100:0)+"%"}})))),(0,t.createElement)("td",{className:"px-4 py-4 whitespace-nowrap text-sm"},(0,t.createElement)("span",{className:"px-3 py-1 inline-flex text-xs leading-5 font-semibold rounded-full "+("High"===r?"bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200":"Medium"===r?"bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200":"bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200")},r)),(0,t.createElement)("td",{className:"px-4 py-4 whitespace-nowrap text-sm font-semibold"},(0,t.createElement)("div",{className:"flex items-center"},(0,t.createElement)("span",{className:"text-green-600 dark:text-green-400 mr-1"},o,"%"),(0,t.createElement)("div",{className:"w-12 bg-gray-200 rounded-full h-1.5"},(0,t.createElement)("div",{className:"bg-green-500 h-1.5 rounded-full",style:{width:`${o}%`}})))),(0,t.createElement)("td",{className:"px-4 py-4 whitespace-nowrap text-xs text-gray-500 dark:text-gray-300"},(0,t.createElement)("span",{className:"px-2 py-1 bg-blue-50 dark:bg-blue-900/30 rounded text-blue-700 dark:text-blue-300"},l)))})).filter(Boolean)))))),(0,t.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,t.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-2 text-center"},"CRM Sent History"),(0,t.createElement)("div",{className:"w-100",style:{height:350,width:"100%"}},(0,t.createElement)(_.N1,{data:e.crm_sent,options:m})))),e?.product_performance&&e.product_performance.length>0&&(0,t.createElement)("section",{className:"mb-6 relative p-6 flex flex-col rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-lg font-semibold text-gray-800 dark:text-gray-100 mb-4 flex items-center"},(0,t.createElement)(a.g,{icon:r.dB,className:"mr-2 text-purple-600"}),"Product Performance Matrix"),(0,t.createElement)("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-gray-700"},(0,t.createElement)("thead",{className:"bg-gradient-to-r from-blue-50 to-blue-100 dark:from-blue-900 dark:to-blue-800"},(0,t.createElement)("tr",null,(0,t.createElement)("th",{className:"px-6 py-3 text-left text-xs font-bold text-blue-700 dark:text-blue-200 uppercase tracking-wider"},"Product"),(0,t.createElement)("th",{className:"px-6 py-3 text-left text-xs font-bold text-green-700 dark:text-green-200 uppercase tracking-wider"},"Total Installs"),(0,t.createElement)("th",{className:"px-6 py-3 text-left text-xs font-bold text-orange-700 dark:text-orange-200 uppercase tracking-wider"},"Recent (30d)"),(0,t.createElement)("th",{className:"px-6 py-3 text-left text-xs font-bold text-purple-700 dark:text-purple-200 uppercase tracking-wider"},"Growth"))),(0,t.createElement)("tbody",{className:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700"},e.product_performance.map(((e,i)=>{const n=0===i,s=e.total_installs>0?(e.recent_installs/e.total_installs*100).toFixed(1):0;return(0,t.createElement)("tr",{key:i,className:"hover:bg-blue-50 dark:hover:bg-blue-900/30 transition-all"},(0,t.createElement)("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-semibold text-gray-900 dark:text-white flex items-center gap-2"},n&&(0,t.createElement)("span",{className:"inline-block px-2 py-1 rounded bg-blue-600 text-white text-xs font-bold mr-2"},"Top"),(0,t.createElement)(a.g,{icon:r.gK3,className:"text-blue-400 mr-1"}),e.name),(0,t.createElement)("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-green-700 dark:text-green-300 font-bold"},e.total_installs.toLocaleString()),(0,t.createElement)("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-orange-700 dark:text-orange-300 font-bold"},e.recent_installs.toLocaleString(),(0,t.createElement)("div",{className:"mt-1 w-24 bg-gray-200 dark:bg-gray-700 rounded-full h-2"},(0,t.createElement)("div",{className:"bg-gradient-to-r from-orange-400 to-orange-600 h-2 rounded-full",style:{width:`${s}%`}}))),(0,t.createElement)("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-purple-700 dark:text-purple-300 font-bold"},(0,t.createElement)("span",{className:"px-2 py-1 rounded-full "+(s>20?"bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200":s>10?"bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200":"bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200")},s,"%")))})))),(0,t.createElement)("div",{className:"mt-6 grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4 justify-center"},e.product_performance.slice(0,3).map(((e,i)=>(0,t.createElement)("div",{key:i,className:"flex items-center gap-2 px-4 py-2 rounded-lg bg-gradient-to-r from-blue-50 to-blue-100 dark:from-blue-900 dark:to-blue-800 shadow-sm"},(0,t.createElement)(a.g,{icon:r.NMo,className:"text-green-500"}),(0,t.createElement)("span",{className:"font-semibold text-gray-800 dark:text-white"},e.name),(0,t.createElement)("span",{className:"text-xs px-2 py-1 rounded-full bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200"},(0,n.__)("Growth","data-collector-insights"),": ",e.recent_installs>0?(e.recent_installs/e.total_installs*100).toFixed(1):0,"%")))))),e?.geographic_distribution&&(0,t.createElement)("div",{className:"mb-6 grid grid-cols-1 gap-y-12 gap-x-6"},(0,t.createElement)("div",{className:"relative p-6 flex flex-col bg-clip-border rounded-xl bg-white text-gray-700 shadow-md dark:bg-gray-800"},(0,t.createElement)("h6",{className:"text-md font-semibold text-gray-800 dark:text-gray-100 mb-4 text-center"},(0,t.createElement)(a.g,{icon:r.Bwz,className:"mr-2"}),"Geographic Distribution",e.geographic_distribution.total_analyzed&&(0,t.createElement)("span",{className:"text-sm font-normal text-gray-500 dark:text-gray-400 ml-2"},"(",e.geographic_distribution.total_analyzed.toLocaleString()," users analyzed)")),(0,t.createElement)("div",{style:{height:400}},(0,t.createElement)(_.yP,{data:e.geographic_distribution,options:{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",scales:{x:{beginAtZero:!0,ticks:{callback:function(t){return t.toLocaleString()}}},y:{ticks:{maxRotation:0,minRotation:0}}},plugins:{legend:{display:!1},tooltip:{backgroundColor:"rgba(0, 0, 0, 0.8)",titleColor:"white",bodyColor:"white",callbacks:{label:function(t){const i=t.parsed.x,n=(i/(e.geographic_distribution.total_analyzed||t.dataset.data.reduce(((t,e)=>t+e),0))*100).toFixed(1);return`${t.dataset.label}: ${i.toLocaleString()} (${n}%)`}}}}}})),(0,t.createElement)("div",{className:"mt-4 grid grid-cols-2 md:grid-cols-4 gap-4 pt-4 border-t border-gray-200 dark:border-gray-600"},(0,t.createElement)("div",{className:"text-center"},(0,t.createElement)("div",{className:"text-2xl font-bold text-gray-900 dark:text-white"},e.geographic_distribution.labels?.length||0),(0,t.createElement)("div",{className:"text-sm text-gray-500 dark:text-gray-400"},"Regions")),(0,t.createElement)("div",{className:"text-center"},(0,t.createElement)("div",{className:"text-2xl font-bold text-blue-600"},e.geographic_distribution.labels?.[0]||"N/A"),(0,t.createElement)("div",{className:"text-sm text-gray-500 dark:text-gray-400"},"Top Region")),(0,t.createElement)("div",{className:"text-center"},(0,t.createElement)("div",{className:"text-2xl font-bold text-green-600"},e.geographic_distribution.datasets?.[0]?.data?.[0]?.toLocaleString()||0),(0,t.createElement)("div",{className:"text-sm text-gray-500 dark:text-gray-400"},"Top Users")),(0,t.createElement)("div",{className:"text-center"},(0,t.createElement)("div",{className:"text-2xl font-bold text-purple-600"},e.geographic_distribution.total_analyzed?(e.geographic_distribution.datasets?.[0]?.data?.[0]/e.geographic_distribution.total_analyzed*100).toFixed(1)+"%":"0%"),(0,t.createElement)("div",{className:"text-sm text-gray-500 dark:text-gray-400"},"Top Share"))))))}),null)},{label:"Products",value:"products",icon:(0,t.createElement)(a.g,{icon:r.wd3,className:"h-5 w-5"}),desc:(0,t.createElement)(k,null)},{label:"Clients",value:"clients",icon:(0,t.createElement)(a.g,{icon:r.gdJ,className:"h-5 w-5"}),desc:(0,t.createElement)(E,null)},{label:"Uninstalls",value:"uninstalls",icon:(0,t.createElement)(a.g,{icon:r.HoF,className:"h-5 w-5"}),desc:(0,t.createElement)(M,null)},{label:"Plugin Matrix",value:"pluginstats",icon:(0,t.createElement)(a.g,{icon:r.hem,className:"h-5 w-5"}),desc:(0,t.createElement)(S,null)},{label:"Theme Matrix",value:"themestats",icon:(0,t.createElement)(a.g,{icon:r.hem,className:"h-5 w-5"}),desc:(0,t.createElement)(C,null)},{label:"Data Explorer (Beta)",value:"query-builder",icon:(0,t.createElement)(a.g,{icon:r.MjD,className:"h-5 w-5"}),desc:(0,t.createElement)(A,null)},{label:"Settings",value:"settings",icon:(0,t.createElement)(a.g,{icon:r._g1,className:"h-5 w-5"}),desc:(0,t.createElement)(O,null)},{label:"Community Support",value:"sponsored",icon:(0,t.createElement)(a.g,{icon:r.qcK,className:"h-5 w-5"}),desc:(0,t.createElement)(P,null)},{label:"Help & Resources",value:"docs",desc:(0,t.createElement)(N,null)}],T=()=>{const e=DCIConfig.plugin_name.replace(/\s+/g,""),[i,n]=(0,t.useState)((()=>{const t=window.location.hash.replace("#","");return t&&L.some((e=>e.value===t))?t:localStorage.getItem(e+"ActiveTab")||"dashboard"})),[s,a]=(0,t.useState)((()=>{const t=localStorage.getItem(e+"SidebarOpen");return null===t||"true"===t})),[r,l]=(0,t.useState)(window.innerWidth>=1280);return(0,t.useEffect)((()=>{const t=()=>{const t=window.location.hash.replace("#","");var e;t&&(e=t,L.some((t=>t.value===e)))&&n(t)};return window.addEventListener("hashchange",t),t(),()=>{window.removeEventListener("hashchange",t)}}),[]),(0,t.useEffect)((()=>{const t=()=>{l(window.innerWidth>=1280)};return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}}),[]),(0,t.useEffect)((()=>{localStorage.setItem(e+"ActiveTab",i),window.location.hash=i}),[i]),(0,t.useEffect)((()=>{localStorage.setItem(e+"SidebarOpen",s)}),[s]),(0,t.createElement)(t.Fragment,null,(0,t.createElement)(o,null),(0,t.createElement)(x,{data:L,activeTab:i,onTabClick:t=>{n(t)},isSidebarOpen:s,toggleSidebar:()=>{a(!s)},isLargeScreen:r}),(0,t.createElement)(u,null))};document.getElementById("dci-app-root")&&(0,i.H)(document.getElementById("dci-app-root")).render((0,t.createElement)(React.StrictMode,null,(0,t.createElement)(T,null)))})()})(); -
data-collector-insights/trunk/class-core.php
r3204464 r3328560 96 96 include_once DC_INSIGHTS_PATH . 'includes/Admin/Classes/class-clients.php'; 97 97 // include_once DC_INSIGHTS_PATH . 'includes/Admin/Classes/class-api.php'; 98 include_once DC_INSIGHTS_PATH . 'includes/Admin/Classes/class-query-builder.php'; 98 99 include_once DC_INSIGHTS_PATH . 'includes/Admin/Classes/class-dashboard.php'; 99 100 include_once DC_INSIGHTS_PATH . 'includes/Admin/Classes/class-settings.php'; -
data-collector-insights/trunk/data-collector-insights.php
r3237430 r3328560 1 1 <?php 2 2 /** 3 * Data Insights - Analyze, Engage, and Drive Growth with Powerful User Analytics 4 * 5 * Plugin Name: Data Insights 3 * Plugin Name: Data Insights - Analytics SDK for WordPress Plugin Developers 6 4 * Plugin URI: https://wowdevs.com/data-collector-insights 7 5 * Description: Collect non-sensitive user data, analyze competitor trends, and gain actionable insights. Optimize features, boost engagement, and increase revenue with custom data collection, detailed reports, and CRM integration for smarter, data-driven decision-making. 8 * Version: 1. 5.16 * Version: 1.6.0 9 7 * Requires at least: 5.5 10 8 * Requires PHP: 7.4 … … 30 28 define( 'DC_INSIGHTS_VERSION', time() ); 31 29 } else { 32 define( 'DC_INSIGHTS_VERSION', '1. 5.1' );30 define( 'DC_INSIGHTS_VERSION', '1.6.0' ); 33 31 } 34 32 -
data-collector-insights/trunk/dci/assets/css/dci.css
r3133826 r3328560 124 124 } 125 125 126 .dci-global-notice . bdt-dci-notice-button-wrap button {126 .dci-global-notice .dci-notice-button-wrap button { 127 127 padding: 10px 16px; 128 128 border-radius: 3px; … … 143 143 } 144 144 145 . bdt-dci-notice-content h3 {145 .dci-notice-content h3 { 146 146 margin: 0 0 10px; 147 147 font-size: 20px; 148 148 } 149 149 150 . bdt-dci-notice-content p {150 .dci-notice-content p { 151 151 margin: 0; 152 152 color: #5f6169; … … 154 154 } 155 155 156 . bdt-dci-notice-content p a {156 .dci-notice-content p a { 157 157 color: #2970ee; 158 158 font-weight: 500; … … 160 160 } 161 161 162 . bdt-dci-notice-content p a:hover {162 .dci-notice-content p a:hover { 163 163 text-decoration: underline; 164 164 } 165 165 166 . bdt-dci-notice-button-wrap {166 .dci-notice-button-wrap { 167 167 margin-top: 14px; 168 168 } … … 457 457 458 458 .dci-global-notice.dci-notice-data .dci-button-allow { 459 --primaryColor: # 08AEEC;460 --secondaryColor: # 20E2AD;459 --primaryColor: #8441a4; 460 --secondaryColor: #e0528d; 461 461 background: linear-gradient(313deg, var(--primaryColor), var(--secondaryColor) 100%); 462 462 } 463 463 464 464 .dci-global-notice.dci-notice-data .dci-button-allow:hover { 465 --primaryColor: #20E2AD; 466 ; 467 --secondaryColor: #08AEEC; 465 --primaryColor: #e0528d; 466 --secondaryColor: #8441a4; 468 467 } 469 468 470 469 .dci-global-notice.dci-notice-data { 471 border-left-color: # 46d8bb;470 border-left-color: #8441a4; 472 471 } 473 472 -
data-collector-insights/trunk/dci/deactivate-feedback.php
r3133826 r3328560 12 12 function dci_deactivate_feedback( $data ) { 13 13 $api_endpoint = isset( $data['api_endpoint'] ) ? $data['api_endpoint'] : false; 14 $public_key = isset( $data['public_key'] ) ? $data['public_key'] : false;15 $product_id = isset( $data['product_id'] ) ? $data['product_id'] : false;16 $dci_name = isset( $data['name'] ) ? $data['name'] : '';17 $nonce = isset( $data['nonce'] ) ? $data['nonce'] : '';18 $slug = isset( $data['slug'] ) ? $data['slug'] : '';14 $public_key = isset( $data['public_key'] ) ? $data['public_key'] : false; 15 $product_id = isset( $data['product_id'] ) ? $data['product_id'] : false; 16 $dci_name = isset( $data['name'] ) ? $data['name'] : ''; 17 $nonce = isset( $data['nonce'] ) ? $data['nonce'] : ''; 18 $slug = isset( $data['slug'] ) ? $data['slug'] : ''; 19 19 20 20 /** … … 47 47 <div class="dci-feedback-card"> 48 48 <h2><?php esc_html_e( 'Give feedback', 'data-collector-insights' ); ?></h2> 49 <p><?php esc_html_e( 'Goodbyes are never easy. If you have a moment, please share your feedback on how we can improve.', 'data-collector-insights' ); ?> 49 <p> 50 <?php esc_html_e( 'Goodbyes are never easy. If you have a moment, please share your feedback on how we can improve.', 'data-collector-insights' ); ?> 50 51 </p> 51 52 <form method="get" class="dci-notice-data"> … … 83 84 <span class="dci-checkbox-icon"> 84 85 <svg width="192" height="192" fill="currentColor" viewBox="0 0 64 64" 85 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 86 aria-hidden="true" role="img" class="iconify iconify--emojione-monotone" 87 preserveAspectRatio="xMidYMid meet"> 86 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" 87 role="img" class="iconify iconify--emojione-monotone" preserveAspectRatio="xMidYMid meet"> 88 88 <path 89 89 d="M61.539 26.797C58.974 12.239 46.316 2 32.031 2c-1.73 0-3.482.15-5.246.461C10.471 5.338-.425 20.895 2.452 37.215C5.018 51.772 17.677 62.01 31.961 62.01c1.729 0 3.482-.15 5.244-.461c16.316-2.877 27.213-18.432 24.334-34.752M54.523 47.78c-4.213 6.016-10.518 10.031-17.752 11.307c-1.592.28-3.21.423-4.811.423c-13.351 0-24.726-9.559-27.047-22.729C2.281 21.848 12.288 7.556 27.22 4.923c1.591-.28 3.21-.423 4.812-.423c13.35 0 24.725 9.56 27.047 22.731c1.275 7.235-.343 14.533-4.556 20.549" … … 106 106 <span class="dci-checkbox-tile"> 107 107 <span class="dci-checkbox-icon"> 108 <svg width="192" height="192" fill="currentColor" version="1.1" 109 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 110 viewBox="0 0 1800 1800" enable-background="new 0 0 1800 1800" 111 xml:space="preserve"> 108 <svg width="192" height="192" fill="currentColor" version="1.1" xmlns="http://www.w3.org/2000/svg" 109 xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1800 1800" 110 enable-background="new 0 0 1800 1800" xml:space="preserve"> 112 111 <g> 113 112 <path fill="#333333" d="M900.114,54.882c-329.509,0-597.583,268.077-597.583,597.59c0,219.592,118.159,418.518,309.714,523.794 … … 155 154 <span class="dci-checkbox-icon"> 156 155 <svg width="192" height="192" fill="currentColor" version="1.1" id="Layer_1" 157 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 158 viewBox="0 0 512 512"enable-background="new 0 0 512 512" xml:space="preserve">156 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" 157 enable-background="new 0 0 512 512" xml:space="preserve"> 159 158 <path d="M499.5,385.4L308.9,57.2c-31.8-52.9-74.1-52.9-105.9,0L12.5,385.4c-31.8,52.9,0,95.3,63.5,95.3h360 160 159 C499.5,480.7,531.3,438.3,499.5,385.4z M298.4,438.3h-84.7v-84.7h84.7V438.3z M298.4,311.3h-84.7V120.7h84.7V311.3z" /> … … 172 171 <span class="dci-checkbox-icon"> 173 172 <svg width="192" height="192" fill="currentColor" version="1.1" id="_x32_" 174 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 175 viewBox="0 0 512 512"xml:space="preserve">173 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" 174 xml:space="preserve"> 176 175 <g> 177 176 <path class="st0" d="M462.052,217.01c4.348-8.909,6.886-18.786,6.891-29.154c0-17.424-6.797-33.38-17.834-45.34 … … 200 199 </svg> 201 200 </span> 202 <span 203 class="dci-checkbox-label"><?php esc_html_e( 'Not working', 'data-collector-insights' ); ?></span> 201 <span class="dci-checkbox-label"><?php esc_html_e( 'Not working', 'data-collector-insights' ); ?></span> 204 202 </span> 205 203 </label> … … 225 223 </svg> 226 224 </span> 227 <span 228 class="dci-checkbox-label"><?php esc_html_e( 'Others', 'data-collector-insights' ); ?></span> 225 <span class="dci-checkbox-label"><?php esc_html_e( 'Others', 'data-collector-insights' ); ?></span> 229 226 </span> 230 227 </label> -
data-collector-insights/trunk/dci/insights.php
r3204464 r3328560 30 30 * Insights SDK Version 31 31 * param array $params 32 * 32 33 * @return void 33 34 */ 34 35 public function __construct( $params ) { 35 $this->params = $params;36 $this->params = $params; 36 37 $this->text_domain = isset( $params['text_domain'] ) ? $params['text_domain'] : 'dci'; 37 $this->version = isset( $params['sdk_version'] ) ? $params['sdk_version'] : '1.0.0';38 $this->version = isset( $params['sdk_version'] ) ? $params['sdk_version'] : '1.0.0'; 38 39 39 40 add_action( 'wp_ajax_dci_sdk_insights', array( $this, 'dci_sdk_insights' ) ); … … 41 42 add_action( 'wp_ajax_dci_sdk_insights_deactivate_feedback', array( $this, 'insights_deactivate_feedback' ) ); 42 43 43 $security_key = md5( $params['plugin_name'] );44 $this->dci_name = 'dci_' . str_replace( '-', '_', sanitize_title( $params['plugin_name'] ) . '_' . $security_key );44 $security_key = md5( $params['plugin_name'] ); 45 $this->dci_name = 'dci_' . str_replace( '-', '_', sanitize_title( $params['plugin_name'] ) . '_' . $security_key ); 45 46 $this->dci_allow_name = 'dci_allow_status_' . $this->dci_name; 46 $this->dci_insights_date_name = 'dci_status_date_' . $this->dci_name;47 $dci_insights_count_name = 'dci_attempt_count_' . $this->dci_name;48 $dci_status_db = get_option( $this->dci_allow_name, false );47 $this->dci_insights_date_name = 'dci_status_date_' . $this->dci_name; 48 $dci_insights_count_name = 'dci_attempt_count_' . $this->dci_name; 49 $dci_status_db = get_option( $this->dci_allow_name, false ); 49 50 50 51 $this->nonce = wp_create_nonce( $this->dci_allow_name ); … … 108 109 * Next schedule date for attempt 109 110 */ 110 update_option( $this->dci_insights_date_name, gmdate( 'Y-m-d', strtotime( "+1 month") ) );111 update_option( $this->dci_insights_date_name, gmdate( 'Y-m-d', strtotime( '+1 month' ) ) ); 111 112 112 113 /** … … 118 119 /** 119 120 * Show Notice after time/days delay first time init 120 * 121 * 121 122 * Installed time less than means hide notice 122 123 */ … … 146 147 */ 147 148 public function insights_deactivate_feedback() { 148 $api_endpoint = isset( $_POST['api_endpoint'] ) ? sanitize_text_field( $_POST['api_endpoint']) : '';149 $public_key = isset( $_POST['public_key'] ) ? sanitize_text_field( $_POST['public_key']) : '';150 $product_id = isset( $_POST['product_id'] ) ? sanitize_text_field( $_POST['product_id']) : '';151 $feedback = isset( $_POST['feedback'] ) ? sanitize_text_field( $_POST['feedback']) : '';152 $nonce = isset( $_POST['nonce'] ) ? sanitize_text_field( $_POST['nonce']) : '';149 $api_endpoint = isset( $_POST['api_endpoint'] ) ? sanitize_text_field( wp_unslash( $_POST['api_endpoint'] ) ) : ''; 150 $public_key = isset( $_POST['public_key'] ) ? sanitize_text_field( wp_unslash( $_POST['public_key'] ) ) : ''; 151 $product_id = isset( $_POST['product_id'] ) ? sanitize_text_field( wp_unslash( $_POST['product_id'] ) ) : ''; 152 $feedback = isset( $_POST['feedback'] ) ? sanitize_text_field( wp_unslash( $_POST['feedback'] ) ) : ''; 153 $nonce = isset( $_POST['nonce'] ) ? sanitize_text_field( wp_unslash( $_POST['nonce'] ) ) : ''; 153 154 154 155 if ( ! wp_verify_nonce( $nonce, 'dci_sdk' ) ) { … … 196 197 public function notice_modal( $params ) { 197 198 198 $dci_data = array();199 $dci_data['name'] = $this->dci_name;200 $dci_data['date_name'] = $this->dci_insights_date_name;201 $dci_data['allow_name'] = $this->dci_allow_name;202 $dci_data['nonce'] = wp_create_nonce( 'dci_sdk' );203 $dci_data['slug'] = $params['slug'];199 $dci_data = array(); 200 $dci_data['name'] = $this->dci_name; 201 $dci_data['date_name'] = $this->dci_insights_date_name; 202 $dci_data['allow_name'] = $this->dci_allow_name; 203 $dci_data['nonce'] = wp_create_nonce( 'dci_sdk' ); 204 $dci_data['slug'] = $params['slug']; 204 205 $dci_data['text_domain'] = $this->text_domain; 205 206 … … 232 233 add_action( 233 234 'in_admin_header', 234 function () use ( $dci_data) {235 function () use ( $dci_data ) { 235 236 if ( function_exists( 'dci_popup_notice' ) ) { 236 237 dci_popup_notice( $dci_data ); … … 244 245 /** 245 246 * Deactivate Feedback 246 * 247 * 247 248 * @return void 248 249 */ 249 250 public function deactivation_feedback( $params ) { 250 $dci_data = array();251 $dci_data['nonce'] = wp_create_nonce( 'dci_sdk' );252 $dci_data['slug'] = $params['slug'];253 $dci_data['text_domain'] = $this->text_domain;254 $dci_data['api_endpoint'] = $params['api_endpoint'];255 $dci_data['public_key'] = $params['public_key'];256 $dci_data['product_id'] = $params['product_id'];257 $dci_data['core_file'] = isset( $params['core_file'] ) ? $params['core_file'] : false;251 $dci_data = array(); 252 $dci_data['nonce'] = wp_create_nonce( 'dci_sdk' ); 253 $dci_data['slug'] = $params['slug']; 254 $dci_data['text_domain'] = $this->text_domain; 255 $dci_data['api_endpoint'] = $params['api_endpoint']; 256 $dci_data['public_key'] = $params['public_key']; 257 $dci_data['product_id'] = $params['product_id']; 258 $dci_data['core_file'] = isset( $params['core_file'] ) ? $params['core_file'] : false; 258 259 $dci_data['plugin_deactivate_id'] = isset( $params['plugin_deactivate_id'] ) ? $params['plugin_deactivate_id'] : false; 259 260 … … 269 270 add_action( 270 271 'in_admin_header', 271 function () use ( $dci_data) {272 function () use ( $dci_data ) { 272 273 if ( function_exists( 'dci_deactivate_feedback' ) ) { 273 274 dci_deactivate_feedback( $dci_data ); … … 281 282 282 283 /** 283 * If date is expired immid iate action284 * If date is expired immidate action 284 285 * 285 286 * @return boolean 286 287 */ 287 288 public function check_date() { 288 $current_date = strtotime( gmdate( 'Y-m-d' ) );289 $current_date = strtotime( gmdate( 'Y-m-d' ) ); 289 290 $dci_status_date = strtotime( get_option( $this->dci_insights_date_name, false ) ); 290 291 … … 303 304 * 304 305 * Not used 306 * 305 307 * @return boolean 306 308 */ … … 312 314 } 313 315 314 $sanitized_status = sanitize_text_field( $_GET['dci_allow_status'] );316 $sanitized_status = isset( $_GET['dci_allow_status'] ) ? sanitize_text_field( wp_unslash( $_GET['dci_allow_status'] ) ) : ''; 315 317 316 318 if ( $sanitized_status == 'skip' ) { … … 319 321 * Next schedule date for attempt 320 322 */ 321 update_option( $this->dci_insights_date_name, gmdate( 'Y-m-d', strtotime( "+1 month") ) );323 update_option( $this->dci_insights_date_name, gmdate( 'Y-m-d', strtotime( '+1 month' ) ) ); 322 324 return false; 323 325 } elseif ( $sanitized_status == 'yes' ) { … … 331 333 /** 332 334 * Reset Options Settings 335 * 333 336 * @return void 334 337 */ … … 345 348 */ 346 349 public function data_prepare( $params ) { 347 $server_url = isset( $params['api_endpoint'] ) ? $params['api_endpoint'] : false;348 $public_key = isset( $params['public_key'] ) ? $params['public_key'] : false;350 $server_url = isset( $params['api_endpoint'] ) ? $params['api_endpoint'] : false; 351 $public_key = isset( $params['public_key'] ) ? $params['public_key'] : false; 349 352 $custom_data = isset( $params['custom_data'] ) ? $params['custom_data'] : false; 350 $product_id = isset( $params['product_id'] ) ? $params['product_id'] : false;353 $product_id = isset( $params['product_id'] ) ? $params['product_id'] : false; 351 354 352 355 if ( ! $server_url || ! $public_key ) { … … 356 359 /** 357 360 * ================================== 358 * 361 * 359 362 * Start Own Custom Important Data 360 * 363 * 361 364 * ================================== 362 365 */ 363 366 364 367 // $custom_data = array( 365 // 'active_modules' => array(), 366 // 'third_party' => array(), 367 // 'extend' => array(), 368 // 'other_settings' => array(), 368 // 'active_modules' => array(), 369 369 // ); 370 370 … … 373 373 /** 374 374 * ================================== 375 * 375 * 376 376 * End Own Custom Important Data 377 * 377 * 378 378 * ================================== 379 379 */ 380 380 381 $data = array();382 $data['public_key'] = $public_key;383 $data['product_id'] = $product_id;381 $data = array(); 382 $data['public_key'] = $public_key; 383 $data['product_id'] = $product_id; 384 384 $data['custom_data'] = $custom_data; 385 385 … … 389 389 390 390 $non_sensitive_data = $this->dci_non_sensitve_data(); 391 $data = array_merge( $data, $non_sensitive_data );391 $data = array_merge( $data, $non_sensitive_data ); 392 392 393 393 $this->dci_send_data_to_server( $server_url, $data ); … … 405 405 } 406 406 407 $plugins = get_plugins();407 $plugins = get_plugins(); 408 408 $active_plugins_keys = get_option( 'active_plugins', [] ); 409 $active_plugins = [];409 $active_plugins = []; 410 410 411 411 foreach ( $plugins as $k => $v ) { 412 412 // Take care of formatting the data how we want it. 413 $formatted = [];413 $formatted = []; 414 414 $formatted['name'] = wp_strip_all_tags( $v['Name'] ); 415 415 … … 447 447 } 448 448 449 $plugins_data[ $slug ] = [ 449 $plugins_data[ $slug ] = [ 450 450 'name' => isset( $_plugin['name'] ) ? $_plugin['name'] : '', 451 451 'version' => isset( $_plugin['version'] ) ? $_plugin['version'] : '', … … 453 453 } 454 454 455 return [ 455 return [ 456 456 'active_plugins' => $active_plugins, 457 457 'inactive_plugins' => $plugins, … … 467 467 public function dci_non_sensitve_data() { 468 468 $current_user = wp_get_current_user(); 469 $all_plugins = $this->get_all_plugins();469 $all_plugins = $this->get_all_plugins(); 470 470 471 471 $users = get_users( 472 [ 472 [ 473 473 'role' => 'administrator', 474 474 'orderby' => 'ID', … … 481 481 $admin_user = ( is_array( $users ) && ! empty( $users ) ) ? $users[0] : false; 482 482 $first_name = $current_user->first_name; 483 $last_name = $current_user->last_name;483 $last_name = $current_user->last_name; 484 484 485 485 if ( empty( $first_name ) && empty( $last_name ) ) { 486 486 $first_name = $current_user->display_name; 487 $last_name = null;487 $last_name = null; 488 488 } 489 489 490 490 if ( $admin_user ) { 491 491 $first_name = $admin_user->first_name ? $admin_user->first_name : $admin_user->display_name; 492 $last_name = $admin_user->last_name;492 $last_name = $admin_user->last_name; 493 493 } 494 494 … … 500 500 'email' => get_option( 'admin_email' ), 501 501 'user_role' => $current_user->roles[0], 502 'website_url' => $current_user->user_url,502 'website_url' => site_url(), 503 503 'website_data' => array( 504 504 'sdk_version' => $this->version, … … 545 545 ); 546 546 547 // error_log( print_r( $args, true ) ); 548 547 549 $response = wp_remote_request( $server_url, $args ); 548 550 … … 555 557 // print_r( $response_data ); 556 558 if ( isset( $response_data['data']['status'] ) && 401 == $response_data['data']['status'] ) { 557 update_option( $this->dci_insights_date_name, gmdate( 'Y-m-d', strtotime( "+3 days") ) );559 update_option( $this->dci_insights_date_name, gmdate( 'Y-m-d', strtotime( '+3 days' ) ) ); 558 560 } 559 561 } … … 564 566 */ 565 567 public function dci_sdk_insights() { 566 $sanitized_status = isset( $_POST['button_val'] ) ? sanitize_text_field( $_POST['button_val']) : '';567 $nonce = isset( $_POST['nonce'] ) ? sanitize_text_field( $_POST['nonce']) : '';568 $allow_name = isset( $_POST['allow_name'] ) ? sanitize_text_field( $_POST['allow_name']) : '';569 $date_name = isset( $_POST['date_name'] ) ? sanitize_text_field( $_POST['date_name']) : '';568 $sanitized_status = isset( $_POST['button_val'] ) ? sanitize_text_field( wp_unslash( $_POST['button_val'] ) ) : ''; 569 $nonce = isset( $_POST['nonce'] ) ? sanitize_text_field( wp_unslash( $_POST['nonce'] ) ) : ''; 570 $allow_name = isset( $_POST['allow_name'] ) ? sanitize_text_field( wp_unslash( $_POST['allow_name'] ) ) : ''; 571 $date_name = isset( $_POST['date_name'] ) ? sanitize_text_field( wp_unslash( $_POST['date_name'] ) ) : ''; 570 572 571 573 if ( ! wp_verify_nonce( $nonce, 'dci_sdk' ) ) { … … 596 598 * Next schedule date for attempt 597 599 */ 598 update_option( $date_name, gmdate( 'Y-m-d', strtotime( "+1 month") ) );600 update_option( $date_name, gmdate( 'Y-m-d', strtotime( '+1 month' ) ) ); 599 601 } elseif ( $sanitized_status == 'yes' ) { 600 602 update_option( $allow_name, 'yes' ); … … 632 634 633 635 $plugin_title = isset( $this->params['plugin_title'] ) ? $this->params['plugin_title'] : ''; 634 $plugin_msg = isset( $this->params['plugin_msg'] ) ? $this->params['plugin_msg'] : '';635 $plugin_icon = isset( $this->params['plugin_icon'] ) ? $this->params['plugin_icon'] : '';636 $plugin_msg = isset( $this->params['plugin_msg'] ) ? $this->params['plugin_msg'] : ''; 637 $plugin_icon = isset( $this->params['plugin_icon'] ) ? $this->params['plugin_icon'] : ''; 636 638 637 639 ?> 638 640 <div 639 641 class="dci-global-notice dci-notice-data notice notice-success is-dismissible <?php echo esc_attr( substr( $this->dci_name, 0, -33 ) ); ?>"> 640 <div class="dci-global-header bdt-dci-notice-global-header">642 <div class="dci-global-header dci-notice-global-header"> 641 643 <?php if ( ! empty( $plugin_icon ) ) : ?> 642 644 <div class="dci-notice-logo"> … … 644 646 </div> 645 647 <?php endif; ?> 646 <div class=" bdt-dci-notice-content">648 <div class="dci-notice-content"> 647 649 <h3> 648 650 <?php echo wp_kses_post( $plugin_title ); ?> … … 658 660 <input type="hidden" name="nonce" value="<?php echo esc_html( wp_create_nonce( 'dci_sdk' ) ); ?>"> 659 661 660 <div class=" bdt-dci-notice-button-wrap">662 <div class="dci-notice-button-wrap"> 661 663 <button name="dci_allow_status" value="yes" class="dci-button-allow"> 662 664 <?php esc_html_e( 'Yes, I\'d Love To Contribute', 'data-collector-insights' ); ?> … … 684 686 685 687 $plugin_title = isset( $this->params['plugin_title'] ) ? $this->params['plugin_title'] : ''; 686 $plugin_msg = isset( $this->params['plugin_msg'] ) ? $this->params['plugin_msg'] : '';687 $plugin_icon = isset( $this->params['plugin_icon'] ) ? $this->params['plugin_icon'] : '';688 $plugin_msg = isset( $this->params['plugin_msg'] ) ? $this->params['plugin_msg'] : ''; 689 $plugin_icon = isset( $this->params['plugin_icon'] ) ? $this->params['plugin_icon'] : ''; 688 690 689 691 ?> … … 729 731 */ 730 732 public function dci_sdk_dismiss_notice() { 731 $nonce = isset( $_POST['nonce'] ) ? sanitize_text_field( $_POST['nonce']) : '';732 $dci_name = isset( $_POST['dci_name'] ) ? sanitize_text_field( $_POST['dci_name']) : '';733 $nonce = isset( $_POST['nonce'] ) ? sanitize_text_field( wp_unslash( $_POST['nonce'] ) ) : ''; 734 $dci_name = isset( $_POST['dci_name'] ) ? sanitize_text_field( wp_unslash( $_POST['dci_name'] ) ) : ''; 733 735 734 736 if ( ! wp_verify_nonce( $nonce, 'dci_sdk' ) ) { -
data-collector-insights/trunk/dci/notice.php
r3133826 r3328560 27 27 <div class="dci-actions"> 28 28 <?php 29 $dci_name = isset( $data['name'] ) ? $data['name']: '';30 $dci_insights_date_name = isset( $data['date_name'] ) ? $data['date_name']: '';31 $dci_allow_name = isset( $data['allow_name'] ) ? $data['allow_name']: '';32 $nonce = isset( $data['nonce'] ) ? $data['nonce']: '';29 $dci_name = isset( $data['name'] ) ? wp_unslash( $data['name'] ) : ''; 30 $dci_insights_date_name = isset( $data['date_name'] ) ? wp_unslash( $data['date_name'] ) : ''; 31 $dci_allow_name = isset( $data['allow_name'] ) ? wp_unslash( $data['allow_name'] ) : ''; 32 $nonce = isset( $data['nonce'] ) ? wp_unslash( $data['nonce'] ) : ''; 33 33 ?> 34 34 <form method="get" class="dci-notice-data"> -
data-collector-insights/trunk/dci/start.php
r3133826 r3328560 15 15 } 16 16 17 $menu_slug = isset( $params['menu']['slug'] ) ? $params['menu']['slug'] : false; 18 $current_page = isset( $_GET['page'] ) ? $_GET['page'] : false; 19 $text_domain = isset( $params['text_domain'] ) && !empty( $params['text_domain'] ) ? $params['text_domain'] : $params['slug']; 17 $menu_slug = isset( $params['menu']['slug'] ) ? $params['menu']['slug'] : false; 18 // phpcs:ignore 19 $current_page = isset( $_GET['page'] ) ? sanitize_text_field( wp_unslash( $_GET['page'] ) ) : false; 20 $text_domain = isset( $params['text_domain'] ) && ! empty( $params['text_domain'] ) ? $params['text_domain'] : $params['slug']; 20 21 21 22 /** … … 23 24 */ 24 25 $params['current_page'] = $current_page; 25 $params['menu_slug'] = $menu_slug;26 $params['text_domain'] = $text_domain;26 $params['menu_slug'] = $menu_slug; 27 $params['text_domain'] = $text_domain; 27 28 28 29 /** … … 33 34 dci_sdk_insights( $params ); 34 35 } 35 36 36 } 37 37 } -
data-collector-insights/trunk/includes/Admin/Classes/class-clients.php
r3204464 r3328560 37 37 */ 38 38 public function register_rest_routes() { 39 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 40 'methods' => WP_REST_Server::READABLE,41 'callback' => [ $this, 'render_clients' ],39 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 40 'methods' => WP_REST_Server::READABLE, 41 'callback' => [ $this, 'render_clients' ], 42 42 'permission_callback' => [ $this, 'permissions_check' ], 43 43 ] ); 44 44 45 register_rest_route( $this->namespace, '/' . $this->rest_base . '/(?P<id>\d+)', [ 46 'methods' => WP_REST_Server::DELETABLE,47 'callback' => [ $this, 'delete_client' ],45 register_rest_route( $this->namespace, '/' . $this->rest_base . '/(?P<id>\d+)', [ 46 'methods' => WP_REST_Server::DELETABLE, 47 'callback' => [ $this, 'delete_client' ], 48 48 'permission_callback' => [ $this, 'permissions_check' ], 49 49 ] ); 50 50 51 register_rest_route( $this->namespace, '/' . $this->rest_base . '/custom-data/(?P<id>\d+)', [ 52 'methods' => WP_REST_Server::READABLE,53 'callback' => [ $this, 'render_custom_data_by_id' ],51 register_rest_route( $this->namespace, '/' . $this->rest_base . '/custom-data/(?P<id>\d+)', [ 52 'methods' => WP_REST_Server::READABLE, 53 'callback' => [ $this, 'render_custom_data_by_id' ], 54 54 'permission_callback' => [ $this, 'permissions_check' ], 55 55 ] ); 56 56 57 register_rest_route( $this->namespace, '/' . $this->rest_base . '/uninstalls', [ 58 'methods' => WP_REST_Server::READABLE,59 'callback' => [ $this, 'render_uninstall_clients' ],57 register_rest_route( $this->namespace, '/' . $this->rest_base . '/uninstalls', [ 58 'methods' => WP_REST_Server::READABLE, 59 'callback' => [ $this, 'render_uninstall_clients' ], 60 60 'permission_callback' => [ $this, 'permissions_check' ], 61 61 ] ); … … 100 100 if ( ! empty( $search_value ) ) { 101 101 $search_term = '%' . $wpdb->esc_like( $search_value ) . '%'; 102 $where .= " AND (d.first_name LIKE %s OR d.email LIKE %s)";102 $where .= ' AND (d.first_name LIKE %s OR d.email LIKE %s)'; 103 103 $params[] = $search_term; 104 104 $params[] = $search_term; … … 135 135 $params[] = $length; 136 136 137 // Execute the query137 //phpcs:ignore 138 138 $items = $wpdb->get_results( $wpdb->prepare( $query, $params ) ); 139 139 … … 155 155 $where 156 156 "; 157 158 //phpcs:ignore 157 159 $total_filtered = $wpdb->get_var( $wpdb->prepare( $filtered_query, array_slice( $params, 0, -2 ) ) ); 158 160 159 161 // Prepare response 160 $json_data = [ 161 'draw' => $draw,162 'recordsTotal' => intval( $total_data ),162 $json_data = [ 163 'draw' => $draw, 164 'recordsTotal' => intval( $total_data ), 163 165 'recordsFiltered' => intval( $total_filtered ), 164 'data' => $items,166 'data' => $items, 165 167 ]; 166 168 … … 187 189 if ( ! $deleted ) { 188 190 return new WP_REST_Response( array( 189 'status' => 'error',191 'status' => 'error', 190 192 'message' => esc_html__( 'Failed to delete data. Please try again.', 'data-collector-insights' ), 191 193 ), 500 ); … … 193 195 194 196 return new WP_REST_Response( array( 195 'status' => 'success',197 'status' => 'success', 196 198 'message' => esc_html__( 'Client deleted successfully.', 'data-collector-insights' ), 197 199 ), 200 ); … … 230 232 if ( ! $data ) { 231 233 return new WP_REST_Response( array( 232 'status' => 'error',234 'status' => 'error', 233 235 'message' => esc_html__( 'Data not found.', 'data-collector-insights' ), 234 236 ), 404 ); … … 237 239 return new WP_REST_Response( array( 238 240 'status' => 'success', 239 'data' => $data,241 'data' => $data, 240 242 ), 200 ); 241 243 } … … 262 264 if ( ! empty( $search_value ) ) { 263 265 $search_term = '%' . $wpdb->esc_like( $search_value ) . '%'; 264 $where .= " AND (dci_data.email LIKE %s OR dci_data.first_name LIKE %s)";266 $where .= ' AND (dci_data.email LIKE %s OR dci_data.first_name LIKE %s)'; 265 267 $params[] = $search_term; 266 268 $params[] = $search_term; … … 290 292 291 293 // Fetch data 294 //phpcs:ignore 292 295 $items = $wpdb->get_results( $wpdb->prepare( $query, $params ) ); 293 296 … … 310 313 $where 311 314 "; 315 316 //phpcs:ignore 312 317 $total_filtered = $wpdb->get_var( $wpdb->prepare( $filtered_query, array_slice( $params, 0, -2 ) ) ); 313 318 … … 318 323 319 324 // Prepare response 320 $json_data = [ 321 'draw' => intval( $draw ),322 'recordsTotal' => intval( $total_data ),325 $json_data = [ 326 'draw' => intval( $draw ), 327 'recordsTotal' => intval( $total_data ), 323 328 'recordsFiltered' => intval( $total_filtered ), 324 'data' => $items,329 'data' => $items, 325 330 ]; 326 331 -
data-collector-insights/trunk/includes/Admin/Classes/class-dashboard.php
r3204464 r3328560 40 40 */ 41 41 public function register_rest_routes() { 42 register_rest_route( $this->namespace, '/' . $this->rest_base . '/welcome', [ 42 register_rest_route( $this->namespace, '/' . $this->rest_base . '/welcome', [ 43 43 'methods' => WP_REST_Server::READABLE, 44 44 'callback' => [ $this, 'dashboard_welcome' ], 45 'permission_callback' => [ $this, 'permissions_check' ], 46 ] ); 47 48 register_rest_route( $this->namespace, '/' . $this->rest_base . '/clear-cache', [ 49 'methods' => WP_REST_Server::DELETABLE, 50 'callback' => [ $this, 'clear_dashboard_cache' ], 45 51 'permission_callback' => [ $this, 'permissions_check' ], 46 52 ] ); … … 72 78 public function dashboard_welcome( WP_REST_Request $request ) { 73 79 $cache_key = 'dci_dashboard_welcome_data'; 74 $cache_time = 2 * MINUTE_IN_SECONDS; // Cache for 12 hours 75 76 $data = get_transient( $cache_key ); 77 $data = false; 80 $cache_time = 30 * MINUTE_IN_SECONDS; // Cache for 10 minutes (matching frontend cache) 81 82 // Check if this is a forced refresh request 83 $force_refresh = $request->get_param( 'force_refresh' ); 84 $is_refresh = filter_var( $force_refresh, FILTER_VALIDATE_BOOLEAN ); 85 86 // Get cached data (unless forced refresh) 87 $data = $is_refresh ? false : get_transient( $cache_key ); 78 88 79 89 if ( false === $data ) { 80 90 $data = array( 81 'total_clients' => $this->total_clients(), 82 'today_clients' => $this->today_clients(), 83 'today_clients_updates' => $this->today_clients_updates(), 84 'total_uninstall' => $this->total_uninstall(), 85 'today_uninstall' => $this->today_uninstall(), 86 'users_of_products' => $this->users_of_products(), 87 'users_per_month' => $this->users_per_month(), 88 'last_30_days_data' => $this->last_30_days_data(), 89 'last_30_days_uninstall' => $this->last_30_days_uninstall(), 90 'crm_sent' => $this->crm_sent(), 91 'crm_sent_total' => $this->crm_sent_total(), 92 'feedback_data' => $this->feedback_data(), 93 // 'product_feedback_data' => $this->product_feedback_data(), //rnd 91 'total_clients' => $this->total_clients(), 92 'today_clients' => $this->today_clients(), 93 'today_clients_updates' => $this->today_clients_updates(), 94 'total_uninstall' => $this->total_uninstall(), 95 'today_uninstall' => $this->today_uninstall(), 96 'users_of_products' => $this->users_of_products(), 97 'users_per_month' => $this->users_per_month(), 98 'last_30_days_data' => $this->last_30_days_data(), 99 'last_30_days_uninstall' => $this->last_30_days_uninstall(), 100 'crm_sent' => $this->crm_sent(), 101 'crm_sent_total' => $this->crm_sent_total(), 102 'feedback_data' => $this->feedback_data(), 103 // New essential analytics 104 'growth_metrics' => $this->growth_metrics(), 105 'product_performance' => $this->product_performance(), 106 'geographic_distribution' => $this->geographic_distribution(), 107 // Website technology analytics 108 'wordpress_version_analysis' => $this->wordpress_version_analysis(), 109 'php_version_analysis' => $this->php_version_analysis(), 110 'locale_distribution' => $this->locale_distribution(), 111 'technology_stack_overview' => $this->technology_stack_overview(), 112 // 'product_feedback_data' => $this->product_feedback_data(), //rnd 94 113 ); 95 114 … … 98 117 } 99 118 100 return new WP_REST_Response( array( 'message' => 'Welcome to the Dashboard!', 'data' => $data ), 200 ); 119 return new WP_REST_Response( array( 120 'message' => 'Welcome to the Dashboard!', 121 'data' => $data, 122 'cached' => ! $is_refresh && get_transient( $cache_key ) !== false, // Indicate if data was cached 123 ), 200 ); 124 } 125 126 /** 127 * Clear Dashboard Cache 128 * 129 * @param WP_REST_Request $request 130 * @return WP_REST_Response 131 */ 132 public function clear_dashboard_cache( WP_REST_Request $request ) { 133 $cache_keys = array( 134 'dci_dashboard_welcome_data', 135 'dci_feedback_data', 136 'dci_product_feedback_data', 137 ); 138 139 $cleared = 0; 140 foreach ( $cache_keys as $key ) { 141 if ( delete_transient( $key ) ) { 142 ++$cleared; 143 } 144 } 145 146 return new WP_REST_Response( array( 147 'message' => sprintf( 'Cache cleared successfully. %d cache entries removed.', $cleared ), 148 'status' => 'success', 149 ), 200 ); 101 150 } 102 151 … … 115 164 public function today_clients() { 116 165 global $wpdb; 117 $today = date( 'Y-m-d' );166 $today = gmdate( 'Y-m-d' ); 118 167 $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->prefix}dci_data WHERE DATE(created_at) = %s", $today ) ); 119 168 return $count; … … 125 174 public function today_clients_updates() { 126 175 global $wpdb; 127 $today = date( 'Y-m-d' );176 $today = gmdate( 'Y-m-d' ); 128 177 $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->prefix}dci_data WHERE DATE(updated_at) = %s", $today ) ); 129 178 return $count; … … 149 198 150 199 /** 151 * Users by Group of Products 200 * Users by Group of Products with Installs and Uninstalls 152 201 */ 153 202 public function users_of_products() { 154 203 global $wpdb; 155 204 156 $query = "SELECT COUNT(*) as total_users, product_name 205 // Get installs by product 206 $installs_query = "SELECT COUNT(*) as total_installs, product_name 157 207 FROM {$wpdb->prefix}dci_data 158 208 GROUP BY product_name 159 ORDER BY total_users DESC"; 160 161 $total_users = $wpdb->get_results( $query ); 162 209 ORDER BY total_installs DESC"; 210 211 //phpcs:ignore 212 $installs_data = $wpdb->get_results( $installs_query ); 213 214 // Get uninstalls by product (join with products table to get names) 215 $uninstalls_query = "SELECT 216 COUNT(*) as total_uninstalls, 217 COALESCE(products.title, CONCAT('Product ID: ', feedbacks.product_id)) as product_name 218 FROM {$wpdb->prefix}dci_feedbacks AS feedbacks 219 LEFT JOIN {$wpdb->prefix}dci_products AS products ON feedbacks.product_id = products.id 220 GROUP BY feedbacks.product_id, products.title 221 ORDER BY total_uninstalls DESC"; 222 223 //phpcs:ignore 224 $uninstalls_data = $wpdb->get_results( $uninstalls_query ); 225 226 // Combine data 227 $products_data = array(); 163 228 $labels = array(); 164 $data = array(); 165 166 foreach ( $total_users as $value ) { 167 $labels[] = $value->product_name; 168 $data[] = (int) $value->total_users; 229 230 // Process installs data 231 foreach ( $installs_data as $install ) { 232 $products_data[ $install->product_name ] = array( 233 'installs' => (int) $install->total_installs, 234 'uninstalls' => 0, 235 ); 236 } 237 238 // Process uninstalls data 239 foreach ( $uninstalls_data as $uninstall ) { 240 if ( ! isset( $products_data[ $uninstall->product_name ] ) ) { 241 $products_data[ $uninstall->product_name ] = array( 242 'installs' => 0, 243 'uninstalls' => 0, 244 ); 245 } 246 $products_data[ $uninstall->product_name ]['uninstalls'] = (int) $uninstall->total_uninstalls; 247 } 248 249 // Prepare chart data 250 $labels = array_keys( $products_data ); 251 $installs_chart_data = array(); 252 $uninstalls_chart_data = array(); 253 254 foreach ( $products_data as $product_name => $data ) { 255 $installs_chart_data[] = $data['installs']; 256 $uninstalls_chart_data[] = $data['uninstalls']; 169 257 } 170 258 … … 173 261 'datasets' => array( 174 262 array( 175 'label' => 'Users by Product', 176 'data' => $data, 177 'backgroundColor' => 'rgba(126, 91, 241, 0.3)', 178 'borderWidth' => 2, 179 'fill' => true, 180 'dash_border' => '', 181 'background_fill' => 'yes', 182 'borderDash' => array(), 183 'pointStyle' => 'circle', 184 'pointBorderWidth' => 1.5, 185 'tension' => 0.5, 263 'label' => 'Installs', 264 'data' => $installs_chart_data, 265 'backgroundColor' => 'rgba(34, 197, 94, 0.6)', 266 'borderColor' => 'rgba(34, 197, 94, 1)', 267 'borderWidth' => 2, 268 ), 269 array( 270 'label' => 'Uninstalls', 271 'data' => $uninstalls_chart_data, 272 'backgroundColor' => 'rgba(239, 68, 68, 0.6)', 273 'borderColor' => 'rgba(239, 68, 68, 1)', 274 'borderWidth' => 2, 186 275 ), 187 276 ), … … 201 290 WHERE YEAR(created_at) = YEAR(CURRENT_DATE()) 202 291 GROUP BY MONTH(created_at)"; 203 292 //phpcs:ignore 204 293 $total_uses = $wpdb->get_results( $query ); 205 294 … … 244 333 GROUP BY DATE(created_at), product_name"; 245 334 335 //phpcs:ignore 246 336 $last_30_days_data = $wpdb->get_results( $query ); 247 337 … … 319 409 ORDER BY date ASC"; 320 410 411 //phpcs:ignore 321 412 $last_30_days_data = $wpdb->get_results( $query ); 322 413 … … 379 470 GROUP BY DATE(sent_at)"; 380 471 472 //phpcs:ignore 381 473 $total_sent = $wpdb->get_results( $query ); 382 474 … … 434 526 global $wpdb; 435 527 436 $feedback_types = [ 528 $feedback_types = [ 437 529 'switching-domain' => 'Switching Domain', 438 530 'couldnt-understand' => 'Couldn\'t Understand', … … 440 532 'missing-a-specific-feature' => 'Missing a Specific Feature', 441 533 'not-working' => 'Not Working', 442 'others' => 'Others' 534 'others' => 'Others', 443 535 ]; 444 536 … … 456 548 $data = array_values( $feedback_counts ); 457 549 458 $output_data = [ 550 $output_data = [ 459 551 'labels' => $labels, 460 'datasets' => [ 461 [ 552 'datasets' => [ 553 [ 462 554 'label' => 'Feedback Data', 463 555 'data' => $data, … … 492 584 global $wpdb; 493 585 494 $feedback_types = [ 586 $feedback_types = [ 495 587 'switching-domain' => 'Switching Domain', 496 588 'couldnt-understand' => 'Couldn\'t Understand', … … 498 590 'missing-a-specific-feature' => 'Missing a Specific Feature', 499 591 'not-working' => 'Not Working', 500 'others' => 'Others' 592 'others' => 'Others', 501 593 ]; 502 594 … … 521 613 522 614 foreach ( $product_feedback_counts as $product_id => $feedback_counts ) { 523 $datasets[] = [ 615 $datasets[] = [ 524 616 'label' => 'Product ID: ' . $product_id, 525 617 'data' => array_values( $feedback_counts ), … … 530 622 } 531 623 532 $output_data = [ 624 $output_data = [ 533 625 'labels' => $labels, 534 626 'datasets' => $datasets, … … 548 640 global $wpdb; 549 641 550 $feedback_types = [ 642 $feedback_types = [ 551 643 'switching-domain' => 'Switching Domain', 552 644 'couldnt-understand' => 'Couldn\'t Understand', … … 554 646 'missing-a-specific-feature' => 'Missing a Specific Feature', 555 647 'not-working' => 'Not Working', 556 'others' => 'Others' 648 'others' => 'Others', 557 649 ]; 558 650 … … 579 671 $data = array_values( $feedback_counts ); 580 672 581 $output_data[] = [ 673 $output_data[] = [ 582 674 'product_id' => $product_id, 583 675 'labels' => $labels, 584 'datasets' => [ 585 [ 676 'datasets' => [ 677 [ 586 678 'label' => 'Feedback Data', 587 679 'data' => $data, … … 660 752 661 753 // Make sure the color is not too dark or too light (optional adjustment) 662 $adjust = function ( $value) {754 $adjust = function ( $value ) { 663 755 return max( 100, min( 200, $value ) ); // Keep it between 100 and 200 664 756 }; … … 670 762 return "rgba($red, $green, $blue, 0.3)"; 671 763 } 764 765 /** 766 * Growth Metrics - Modern analytics for growth tracking 767 */ 768 public function growth_metrics() { 769 global $wpdb; 770 771 // Week over week growth 772 $current_week = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->prefix}dci_data WHERE created_at >= DATE_SUB(NOW(), INTERVAL 7 DAY)" ); 773 $previous_week = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->prefix}dci_data WHERE created_at >= DATE_SUB(NOW(), INTERVAL 14 DAY) AND created_at < DATE_SUB(NOW(), INTERVAL 7 DAY)" ); 774 775 // Month over month growth 776 $current_month = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->prefix}dci_data WHERE created_at >= DATE_SUB(NOW(), INTERVAL 30 DAY)" ); 777 $previous_month = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->prefix}dci_data WHERE created_at >= DATE_SUB(NOW(), INTERVAL 60 DAY) AND created_at < DATE_SUB(NOW(), INTERVAL 30 DAY)" ); 778 779 // Calculate growth rates 780 $weekly_growth_rate = $previous_week > 0 ? round( ( ( $current_week - $previous_week ) / $previous_week ) * 100, 2 ) : 0; 781 $monthly_growth_rate = $previous_month > 0 ? round( ( ( $current_month - $previous_month ) / $previous_month ) * 100, 2 ) : 0; 782 783 return array( 784 'current_week' => $current_week, 785 'previous_week' => $previous_week, 786 'weekly_growth_rate' => $weekly_growth_rate, 787 'current_month' => $current_month, 788 'previous_month' => $previous_month, 789 'monthly_growth_rate' => $monthly_growth_rate, 790 ); 791 } 792 793 /** 794 * Product Performance Metrics 795 */ 796 public function product_performance() { 797 global $wpdb; 798 799 // Top performing products 800 $performance_query = "SELECT 801 product_name, 802 COUNT(*) as total_installs, 803 COUNT(CASE WHEN created_at >= DATE_SUB(NOW(), INTERVAL 30 DAY) THEN 1 END) as recent_installs, 804 COUNT(CASE WHEN operation = 'U' THEN 1 END) as active_users, 805 AVG(CASE WHEN marketing = 'Y' THEN 1 ELSE 0 END) * 100 as consent_rate 806 FROM {$wpdb->prefix}dci_data 807 GROUP BY product_name 808 ORDER BY total_installs DESC"; 809 810 //phpcs:ignore 811 $performance_data = $wpdb->get_results( $performance_query ); 812 813 $products = array(); 814 foreach ( $performance_data as $product ) { 815 $products[] = array( 816 'name' => $product->product_name, 817 'total_installs' => (int) $product->total_installs, 818 'recent_installs' => (int) $product->recent_installs, 819 'active_users' => (int) $product->active_users, 820 'consent_rate' => round( $product->consent_rate, 2 ), 821 ); 822 } 823 824 return $products; 825 } 826 827 /** 828 * Geographic Distribution Analysis 829 */ 830 public function geographic_distribution() { 831 global $wpdb; 832 833 // First, try to get more meaningful geographic data from website URLs 834 // Extract country codes and domains more intelligently 835 $geo_query = "SELECT 836 CASE 837 WHEN website_url LIKE '%.us%' OR website_url LIKE '%.com%' THEN 'United States' 838 WHEN website_url LIKE '%.uk%' OR website_url LIKE '%.co.uk%' THEN 'United Kingdom' 839 WHEN website_url LIKE '%.ca%' OR website_url LIKE '%.ca/%' THEN 'Canada' 840 WHEN website_url LIKE '%.au%' OR website_url LIKE '%.com.au%' THEN 'Australia' 841 WHEN website_url LIKE '%.de%' THEN 'Germany' 842 WHEN website_url LIKE '%.fr%' THEN 'France' 843 WHEN website_url LIKE '%.in%' OR website_url LIKE '%.co.in%' THEN 'India' 844 WHEN website_url LIKE '%.nl%' THEN 'Netherlands' 845 WHEN website_url LIKE '%.jp%' THEN 'Japan' 846 WHEN website_url LIKE '%.br%' OR website_url LIKE '%.com.br%' THEN 'Brazil' 847 WHEN website_url LIKE '%.it%' THEN 'Italy' 848 WHEN website_url LIKE '%.es%' THEN 'Spain' 849 WHEN website_url LIKE '%.mx%' THEN 'Mexico' 850 WHEN website_url LIKE '%.ru%' THEN 'Russia' 851 WHEN website_url LIKE '%.cn%' THEN 'China' 852 WHEN website_url LIKE '%.org%' THEN 'Organizations' 853 WHEN website_url LIKE '%.edu%' THEN 'Educational' 854 WHEN website_url LIKE '%.gov%' THEN 'Government' 855 ELSE 'Other/Unknown' 856 END as region, 857 COUNT(*) as user_count 858 FROM {$wpdb->prefix}dci_data 859 WHERE website_url IS NOT NULL AND website_url != '' 860 GROUP BY region 861 HAVING user_count > 0 862 ORDER BY user_count DESC 863 LIMIT 12"; 864 865 //phpcs:ignore 866 $geo_data = $wpdb->get_results( $geo_query ); 867 868 // If we don't have enough meaningful data, provide a fallback analysis 869 if ( empty( $geo_data ) ) { 870 // Fallback: analyze by domain patterns 871 $fallback_query = "SELECT 'No Geographic Data Available' as region, COUNT(*) as user_count 872 FROM {$wpdb->prefix}dci_data 873 WHERE website_url IS NULL OR website_url = '' 874 UNION ALL 875 SELECT 'Sites with URLs' as region, COUNT(*) as user_count 876 FROM {$wpdb->prefix}dci_data 877 WHERE website_url IS NOT NULL AND website_url != ''"; 878 879 //phpcs:ignore 880 $geo_data = $wpdb->get_results( $fallback_query ); 881 } 882 883 $labels = array(); 884 $data = array(); 885 $colors = array(); 886 887 // Define colors for different regions 888 $color_palette = array( 889 'United States' => 'rgba(59, 130, 246, 0.6)', 890 'United Kingdom' => 'rgba(168, 85, 247, 0.6)', 891 'Canada' => 'rgba(34, 197, 94, 0.6)', 892 'Australia' => 'rgba(249, 115, 22, 0.6)', 893 'Germany' => 'rgba(239, 68, 68, 0.6)', 894 'France' => 'rgba(14, 165, 233, 0.6)', 895 'India' => 'rgba(245, 158, 11, 0.6)', 896 'Netherlands' => 'rgba(139, 69, 19, 0.6)', 897 'Japan' => 'rgba(219, 39, 119, 0.6)', 898 'Brazil' => 'rgba(34, 197, 94, 0.6)', 899 'Italy' => 'rgba(168, 85, 247, 0.6)', 900 'Spain' => 'rgba(249, 115, 22, 0.6)', 901 'Mexico' => 'rgba(34, 197, 94, 0.6)', 902 'Russia' => 'rgba(239, 68, 68, 0.6)', 903 'China' => 'rgba(245, 158, 11, 0.6)', 904 'Organizations' => 'rgba(107, 114, 128, 0.6)', 905 'Educational' => 'rgba(59, 130, 246, 0.6)', 906 'Government' => 'rgba(239, 68, 68, 0.6)', 907 'Other/Unknown' => 'rgba(156, 163, 175, 0.6)', 908 ); 909 910 foreach ( $geo_data as $region ) { 911 $labels[] = $region->region; 912 $data[] = (int) $region->user_count; 913 $colors[] = isset( $color_palette[ $region->region ] ) 914 ? $color_palette[ $region->region ] 915 : 'rgba(107, 114, 128, 0.6)'; 916 } 917 918 return array( 919 'labels' => $labels, 920 'datasets' => array( 921 array( 922 'label' => 'Users by Region', 923 'data' => $data, 924 'backgroundColor' => $colors, 925 'borderColor' => array_map( function( $color ) { 926 return str_replace( '0.6)', '1)', $color ); 927 }, $colors ), 928 'borderWidth' => 2, 929 ), 930 ), 931 'total_analyzed' => array_sum( $data ), 932 ); 933 } 934 935 /** 936 * WordPress Version Distribution Analysis 937 */ 938 public function wordpress_version_analysis() { 939 global $wpdb; 940 941 $wp_version_query = "SELECT 942 JSON_UNQUOTE(JSON_EXTRACT(website_data, '$.wp_version')) as wp_version, 943 COUNT(*) as user_count 944 FROM {$wpdb->prefix}dci_data 945 WHERE website_data IS NOT NULL 946 AND website_data != '' 947 AND JSON_VALID(website_data) = 1 948 AND JSON_EXTRACT(website_data, '$.wp_version') IS NOT NULL 949 GROUP BY wp_version 950 ORDER BY user_count DESC 951 LIMIT 15"; 952 953 //phpcs:ignore 954 $wp_data = $wpdb->get_results( $wp_version_query ); 955 956 $labels = array(); 957 $data = array(); 958 $colors = array(); 959 960 // Color palette for different WP versions 961 $color_palette = array( 962 'rgba(59, 130, 246, 0.6)', // Blue 963 'rgba(34, 197, 94, 0.6)', // Green 964 'rgba(249, 115, 22, 0.6)', // Orange 965 'rgba(239, 68, 68, 0.6)', // Red 966 'rgba(168, 85, 247, 0.6)', // Purple 967 'rgba(245, 158, 11, 0.6)', // Yellow 968 'rgba(14, 165, 233, 0.6)', // Sky 969 'rgba(219, 39, 119, 0.6)', // Pink 970 'rgba(139, 69, 19, 0.6)', // Brown 971 'rgba(107, 114, 128, 0.6)', // Gray 972 ); 973 974 foreach ( $wp_data as $index => $version ) { 975 $labels[] = 'WP ' . $version->wp_version; 976 $data[] = (int) $version->user_count; 977 $colors[] = isset( $color_palette[ $index ] ) ? $color_palette[ $index ] : 'rgba(107, 114, 128, 0.6)'; 978 } 979 980 return array( 981 'labels' => $labels, 982 'datasets' => array( 983 array( 984 'label' => 'WordPress Versions', 985 'data' => $data, 986 'backgroundColor' => $colors, 987 'borderWidth' => 2, 988 ), 989 ), 990 'total_analyzed' => array_sum( $data ), 991 ); 992 } 993 994 /** 995 * PHP Version Distribution Analysis 996 */ 997 public function php_version_analysis() { 998 global $wpdb; 999 1000 $php_version_query = "SELECT 1001 JSON_UNQUOTE(JSON_EXTRACT(website_data, '$.php_version')) as php_version, 1002 COUNT(*) as user_count 1003 FROM {$wpdb->prefix}dci_data 1004 WHERE website_data IS NOT NULL 1005 AND website_data != '' 1006 AND JSON_VALID(website_data) = 1 1007 AND JSON_EXTRACT(website_data, '$.php_version') IS NOT NULL 1008 GROUP BY php_version 1009 ORDER BY user_count DESC 1010 LIMIT 12"; 1011 1012 //phpcs:ignore 1013 $php_data = $wpdb->get_results( $php_version_query ); 1014 1015 $labels = array(); 1016 $data = array(); 1017 $security_status = array(); 1018 1019 foreach ( $php_data as $version ) { 1020 $labels[] = 'PHP ' . $version->php_version; 1021 $data[] = (int) $version->user_count; 1022 1023 // Determine security status based on PHP version 1024 $version_num = floatval( $version->php_version ); 1025 if ( $version_num >= 8.1 ) { 1026 $security_status[] = 'secure'; 1027 } elseif ( $version_num >= 7.4 ) { 1028 $security_status[] = 'warning'; 1029 } else { 1030 $security_status[] = 'critical'; 1031 } 1032 } 1033 1034 // Color code based on security status 1035 $colors = array_map( function( $status ) { 1036 switch ( $status ) { 1037 case 'secure': 1038 return 'rgba(34, 197, 94, 0.6)'; // Green 1039 case 'warning': 1040 return 'rgba(245, 158, 11, 0.6)'; // Yellow 1041 case 'critical': 1042 return 'rgba(239, 68, 68, 0.6)'; // Red 1043 default: 1044 return 'rgba(107, 114, 128, 0.6)'; // Gray 1045 } 1046 }, $security_status ); 1047 1048 return array( 1049 'labels' => $labels, 1050 'datasets' => array( 1051 array( 1052 'label' => 'PHP Versions', 1053 'data' => $data, 1054 'backgroundColor' => $colors, 1055 'borderWidth' => 2, 1056 ), 1057 ), 1058 'security_summary' => array( 1059 'secure' => count( array_filter( $security_status, function( $s ) { 1060 return $s === 'secure'; } ) ), 1061 'warning' => count( array_filter( $security_status, function( $s ) { 1062 return $s === 'warning'; } ) ), 1063 'critical' => count( array_filter( $security_status, function( $s ) { 1064 return $s === 'critical'; } ) ), 1065 ), 1066 'total_analyzed' => array_sum( $data ), 1067 ); 1068 } 1069 1070 /** 1071 * Locale Distribution Analysis 1072 */ 1073 public function locale_distribution() { 1074 global $wpdb; 1075 1076 $locale_query = "SELECT 1077 JSON_UNQUOTE(JSON_EXTRACT(website_data, '$.locale')) as locale, 1078 COUNT(*) as user_count 1079 FROM {$wpdb->prefix}dci_data 1080 WHERE website_data IS NOT NULL 1081 AND website_data != '' 1082 AND JSON_VALID(website_data) = 1 1083 AND JSON_EXTRACT(website_data, '$.locale') IS NOT NULL 1084 GROUP BY locale 1085 ORDER BY user_count DESC 1086 LIMIT 15"; 1087 1088 //phpcs:ignore 1089 $locale_data = $wpdb->get_results( $locale_query ); 1090 1091 $labels = array(); 1092 $data = array(); 1093 1094 // Convert locale codes to readable names 1095 $locale_names = array( 1096 'en_US' => 'English (US)', 1097 'en_GB' => 'English (UK)', 1098 'de_DE' => 'German', 1099 'fr_FR' => 'French', 1100 'es_ES' => 'Spanish', 1101 'it_IT' => 'Italian', 1102 'pt_BR' => 'Portuguese (Brazil)', 1103 'nl_NL' => 'Dutch', 1104 'ja' => 'Japanese', 1105 'zh_CN' => 'Chinese (Simplified)', 1106 'ru_RU' => 'Russian', 1107 'ar' => 'Arabic', 1108 'hi_IN' => 'Hindi', 1109 'tr_TR' => 'Turkish', 1110 'sv_SE' => 'Swedish', 1111 ); 1112 1113 foreach ( $locale_data as $locale ) { 1114 $locale_code = $locale->locale; 1115 $readable_name = isset( $locale_names[ $locale_code ] ) ? $locale_names[ $locale_code ] : $locale_code; 1116 1117 $labels[] = $readable_name; 1118 $data[] = (int) $locale->user_count; 1119 } 1120 1121 return array( 1122 'labels' => $labels, 1123 'datasets' => array( 1124 array( 1125 'label' => 'Languages', 1126 'data' => $data, 1127 'backgroundColor' => 'rgba(59, 130, 246, 0.6)', 1128 'borderWidth' => 2, 1129 ), 1130 ), 1131 'total_analyzed' => array_sum( $data ), 1132 ); 1133 } 1134 1135 /** 1136 * Technology Stack Overview 1137 */ 1138 public function technology_stack_overview() { 1139 global $wpdb; 1140 1141 // Get latest WordPress version usage 1142 $latest_wp = $wpdb->get_var( "SELECT 1143 COUNT(*) 1144 FROM {$wpdb->prefix}dci_data 1145 WHERE website_data IS NOT NULL 1146 AND JSON_VALID(website_data) = 1 1147 AND JSON_UNQUOTE(JSON_EXTRACT(website_data, '$.wp_version')) >= '6.4'" ); 1148 1149 // Get secure PHP versions (8.0+) 1150 $secure_php = $wpdb->get_var( "SELECT 1151 COUNT(*) 1152 FROM {$wpdb->prefix}dci_data 1153 WHERE website_data IS NOT NULL 1154 AND JSON_VALID(website_data) = 1 1155 AND CAST(JSON_UNQUOTE(JSON_EXTRACT(website_data, '$.php_version')) AS DECIMAL(3,1)) >= 8.0" ); 1156 1157 // Get total sites with data 1158 $total_sites = $wpdb->get_var( "SELECT 1159 COUNT(*) 1160 FROM {$wpdb->prefix}dci_data 1161 WHERE website_data IS NOT NULL 1162 AND JSON_VALID(website_data) = 1" ); 1163 1164 // Get English vs Non-English 1165 $english_sites = $wpdb->get_var( "SELECT 1166 COUNT(*) 1167 FROM {$wpdb->prefix}dci_data 1168 WHERE website_data IS NOT NULL 1169 AND JSON_VALID(website_data) = 1 1170 AND JSON_UNQUOTE(JSON_EXTRACT(website_data, '$.locale')) LIKE 'en_%'" ); 1171 1172 return array( 1173 'total_sites' => (int) $total_sites, 1174 'latest_wp_usage' => (int) $latest_wp, 1175 'secure_php_usage' => (int) $secure_php, 1176 'english_sites' => (int) $english_sites, 1177 'non_english_sites' => (int) ( $total_sites - $english_sites ), 1178 'wp_adoption_rate' => $total_sites > 0 ? round( ( $latest_wp / $total_sites ) * 100, 1 ) : 0, 1179 'php_security_rate' => $total_sites > 0 ? round( ( $secure_php / $total_sites ) * 100, 1 ) : 0, 1180 'english_percentage' => $total_sites > 0 ? round( ( $english_sites / $total_sites ) * 100, 1 ) : 0, 1181 ); 1182 } 672 1183 } 673 1184 -
data-collector-insights/trunk/includes/Admin/Classes/class-plugin-usage.php
r3204464 r3328560 37 37 */ 38 38 public function register_rest_routes() { 39 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 39 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 40 40 'methods' => WP_REST_Server::READABLE, 41 41 'callback' => [ $this, 'get_plugin_usage_stats' ], … … 43 43 ] ); 44 44 45 register_rest_route( $this->namespace, '/process-plugin-usage', [ 45 register_rest_route( $this->namespace, '/process-plugin-usage', [ 46 46 'methods' => WP_REST_Server::CREATABLE, 47 47 'callback' => [ $this, 'process_plugin_usage' ], … … 49 49 ] ); 50 50 51 register_rest_route( $this->namespace, '/processing-status', [ 51 register_rest_route( $this->namespace, '/processing-status', [ 52 52 'methods' => WP_REST_Server::READABLE, 53 53 'callback' => [ $this, 'get_processing_status' ], … … 89 89 $where = ''; 90 90 if ( ! empty( $search ) ) { 91 $where = $wpdb->prepare( "WHERE plugin_name LIKE %s", '%' . $wpdb->esc_like( $search ) . '%' );91 $where = $wpdb->prepare( 'WHERE plugin_name LIKE %s', '%' . $wpdb->esc_like( $search ) . '%' ); 92 92 } 93 93 … … 107 107 " ); 108 108 109 return new WP_REST_Response( [ 109 return new WP_REST_Response( [ 110 110 'data' => $results, 111 111 'total' => $total, … … 128 128 * @return WP_REST_Response 129 129 */ 130 131 130 public function process_plugin_usage_cron() { 132 131 global $wpdb; … … 146 145 foreach ( $rows as $row ) { 147 146 $website_data = json_decode( $row->website_data, true ); 148 $active_plugins = isset( $website_data['active_plugins']) ? $website_data['active_plugins'] : [];149 $inactive_plugins = isset( $website_data['inactive_plugins']) ? $website_data['inactive_plugins'] : [];147 $active_plugins = isset( $website_data['active_plugins'] ) ? $website_data['active_plugins'] : []; 148 $inactive_plugins = isset( $website_data['inactive_plugins'] ) ? $website_data['inactive_plugins'] : []; 150 149 151 150 // merge active and inactive plugins … … 155 154 foreach ( $website_plugins as $index => $plugin ) { 156 155 $slug = explode( '/', $index ); 157 $slug = isset( $slug[0]) ? $slug[0] : false;156 $slug = isset( $slug[0] ) ? $slug[0] : false; 158 157 $plugin['slug'] = $slug; 159 158 … … 163 162 $plugin_usage[ $plugin_name ] = array( 164 163 'count' => 0, 165 'info' => $plugin_info 164 'info' => $plugin_info, 166 165 ); 167 166 } 168 $plugin_usage[ $plugin_name ]['count']++;167 ++$plugin_usage[ $plugin_name ]['count']; 169 168 } 170 169 } -
data-collector-insights/trunk/includes/Admin/Classes/class-products.php
r3204464 r3328560 15 15 use DC_INSIGHTS\Input; 16 16 17 use \WP_REST_Server;18 use \WP_REST_Response;19 use \WP_REST_Request;20 use \WP_Error;17 use WP_REST_Server; 18 use WP_REST_Response; 19 use WP_REST_Request; 20 use WP_Error; 21 21 22 22 /** … … 52 52 */ 53 53 public function register_rest_routes() { 54 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 54 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 55 55 'methods' => WP_REST_Server::READABLE, 56 56 'callback' => [ $this, 'render_products' ], … … 58 58 ] ); 59 59 60 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 60 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 61 61 'methods' => WP_REST_Server::CREATABLE, 62 62 'callback' => [ $this, 'insert_product' ], … … 64 64 ] ); 65 65 66 register_rest_route( $this->namespace, '/' . $this->rest_base . '/(?P<id>\d+)', [ 66 register_rest_route( $this->namespace, '/' . $this->rest_base . '/(?P<id>\d+)', [ 67 67 'methods' => WP_REST_Server::EDITABLE, 68 68 'callback' => [ $this, 'edit_product' ], … … 70 70 ] ); 71 71 72 register_rest_route( $this->namespace, '/' . $this->rest_base . '/(?P<id>\d+)', [ 72 register_rest_route( $this->namespace, '/' . $this->rest_base . '/(?P<id>\d+)', [ 73 73 'methods' => WP_REST_Server::DELETABLE, 74 74 'callback' => [ $this, 'delete_product' ], … … 109 109 110 110 $draw = intval( $request->get_param( 'draw' ) ) ?: 1; 111 $start = intval( $request->get_param( 'start' ) ) ?: 0;112 $number = intval( $request->get_param( 'length' ) ) ?: 10;111 $start = intval( $request->get_param( 'start' ) ) ?: 0; 112 $number = intval( $request->get_param( 'length' ) ) ?: 10; 113 113 114 114 $items = $wpdb->get_results( … … 156 156 157 157 // $args = array( 158 // 'title' => Input::post( 'title', '', Input::TYPE_STRING ),159 // 'menu_slug' => Input::post( 'menu_slug', '', Input::TYPE_STRING ),160 // 'public_key' => 'pk_' . wp_generate_password( 32, false ),161 // 'status' => Input::post( 'status', '', Input::TYPE_STRING ),162 // 'created_at' => current_time( 'mysql' ),158 // 'title' => Input::post( 'title', '', Input::TYPE_STRING ), 159 // 'menu_slug' => Input::post( 'menu_slug', '', Input::TYPE_STRING ), 160 // 'public_key' => 'pk_' . wp_generate_password( 32, false ), 161 // 'status' => Input::post( 'status', '', Input::TYPE_STRING ), 162 // 'created_at' => current_time( 'mysql' ), 163 163 // ); 164 164 $args = array( … … 208 208 209 209 // $args = array( 210 // 'title' => Input::post( 'title', '', Input::TYPE_STRING ),211 // 'menu_slug' => Input::post( 'menu_slug', '', Input::TYPE_STRING ),212 // //'public_key' => Input::post( 'public_key', '', Input::TYPE_STRING ),213 // 'status' => Input::post( 'status', '', Input::TYPE_STRING ),210 // 'title' => Input::post( 'title', '', Input::TYPE_STRING ), 211 // 'menu_slug' => Input::post( 'menu_slug', '', Input::TYPE_STRING ), 212 // 'public_key' => Input::post( 'public_key', '', Input::TYPE_STRING ), 213 // 'status' => Input::post( 'status', '', Input::TYPE_STRING ), 214 214 // ); 215 215 $args = array( -
data-collector-insights/trunk/includes/Admin/Classes/class-settings.php
r3204464 r3328560 44 44 */ 45 45 public function register_rest_routes() { 46 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 47 'methods' => WP_REST_Server::READABLE,48 'callback' => [ $this, 'get_settings' ],46 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 47 'methods' => WP_REST_Server::READABLE, 48 'callback' => [ $this, 'get_settings' ], 49 49 'permission_callback' => [ $this, 'get_settings_permissions_check' ], 50 50 ] ); 51 51 52 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 53 'methods' => WP_REST_Server::EDITABLE,54 'callback' => [ $this, 'set_settings' ],52 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 53 'methods' => WP_REST_Server::EDITABLE, 54 'callback' => [ $this, 'set_settings' ], 55 55 'permission_callback' => [ $this, 'update_settings_permissions_check' ], 56 56 ] ); -
data-collector-insights/trunk/includes/Admin/Classes/class-theme-usage.php
r3204464 r3328560 36 36 */ 37 37 public function register_rest_routes() { 38 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 38 register_rest_route( $this->namespace, '/' . $this->rest_base, [ 39 39 'methods' => WP_REST_Server::READABLE, 40 40 'callback' => [ $this, 'get_theme_usage_stats' ], … … 42 42 ] ); 43 43 44 register_rest_route( $this->namespace, '/process-theme-usage', [ 44 register_rest_route( $this->namespace, '/process-theme-usage', [ 45 45 'methods' => WP_REST_Server::CREATABLE, 46 46 'callback' => [ $this, 'process_theme_usage' ], … … 48 48 ] ); 49 49 50 register_rest_route( $this->namespace, '/theme-processing-status', [ 50 register_rest_route( $this->namespace, '/theme-processing-status', [ 51 51 'methods' => WP_REST_Server::READABLE, 52 52 'callback' => [ $this, 'get_processing_status' ], … … 88 88 $where = ''; 89 89 if ( ! empty( $search ) ) { 90 $where = $wpdb->prepare( "WHERE theme_name LIKE %s", '%' . $wpdb->esc_like( $search ) . '%' );90 $where = $wpdb->prepare( 'WHERE theme_name LIKE %s', '%' . $wpdb->esc_like( $search ) . '%' ); 91 91 } 92 92 … … 100 100 ", $offset, $per_page ) ); 101 101 102 // todo:theme_version102 // todo:theme_version 103 103 // $results = $wpdb->get_results( $wpdb->prepare( " 104 //SELECT theme_name, theme_version, theme_author, COUNT(*) AS usage_count105 //FROM {$wpdb->prefix}dci_tusage_log106 //$where107 //GROUP BY theme_name, theme_version, theme_author108 //ORDER BY usage_count DESC109 //LIMIT %d, %d110 //", $offset, $per_page ) );104 // SELECT theme_name, theme_version, theme_author, COUNT(*) AS usage_count 105 // FROM {$wpdb->prefix}dci_tusage_log 106 // $where 107 // GROUP BY theme_name, theme_version, theme_author 108 // ORDER BY usage_count DESC 109 // LIMIT %d, %d 110 // ", $offset, $per_page ) ); 111 111 112 112 $total = $wpdb->get_var( " … … 116 116 " ); 117 117 118 return new WP_REST_Response( [ 118 return new WP_REST_Response( [ 119 119 'data' => $results, 120 120 'total' => $total, … … 168 168 ); 169 169 } 170 $theme_usage[ $theme_key ]['count']++;170 ++$theme_usage[ $theme_key ]['count']; 171 171 } 172 172 } -
data-collector-insights/trunk/includes/Admin/class-menu.php
r3204464 r3328560 23 23 /** 24 24 * Constructor 25 * 25 26 * @since 1.0.0 26 27 */ … … 43 44 /** 44 45 * Plugin Layout 45 * 46 * 46 47 * @return void 47 48 * @since 1.0.0 -
data-collector-insights/trunk/includes/Classes/class-crm.php
r3204464 r3328560 63 63 public function add_two_minute_interval( $schedules ) { 64 64 if ( ! isset( $schedules['two_minutes'] ) ) { 65 $schedules['two_minutes'] = [ 65 $schedules['two_minutes'] = [ 66 66 'interval' => 2 * MINUTE_IN_SECONDS, 67 'display' => __( 'Every 2 Minutes' ),67 'display' => __( 'Every 2 Minutes', 'data-collector-insights' ), 68 68 ]; 69 69 } … … 82 82 if ( ! empty( $data_rows ) ) { 83 83 foreach ( $data_rows as $row ) { 84 $data = [ 84 $data = [ 85 85 'product_id' => $row->product_id, 86 86 'product_name' => $row->product_name, … … 88 88 'last_name' => $row->last_name, 89 89 'email' => $row->email, 90 'operation' => $row->operation 90 'operation' => $row->operation, 91 91 ]; 92 92 … … 136 136 LIMIT %d"; 137 137 138 //phpcs:ignore 138 139 return $wpdb->get_results( $wpdb->prepare( $query, $this->batch_size ) ); 139 140 } … … 143 144 */ 144 145 private function send_data_to_crm( $data ) { 145 $response = wp_remote_post( $this->crm_url, [ 146 $response = wp_remote_post( $this->crm_url, [ 146 147 'method' => 'POST', 147 148 'body' => json_encode( $data ), 148 'headers' => [ 149 'headers' => [ 149 150 'Content-Type' => 'application/json', 150 151 ], 151 'timeout' => 10 152 'timeout' => 10, 152 153 ] ); 153 154 … … 194 195 $wpdb->insert( 195 196 "{$wpdb->prefix}dci_crm_logs", 196 [ 197 [ 197 198 'name' => $data->first_name . ' ' . $data->last_name, 198 199 'email' => $data->email, 199 200 'product_id' => $data->product_id, 200 'product_name' => $data->product_name 201 'product_name' => $data->product_name, 201 202 ], 202 203 [ '%s', '%s', '%d', '%s' ] … … 211 212 212 213 /* 213 $set_tags_for_product = [ 214 [ 214 $set_tags_for_product = [ 215 [ 215 216 // 'label' => 'EP Lite', 216 217 'product_id' => 4, 217 218 'tags' => 38 218 219 ], 219 [ 220 [ 220 221 // 'label' => 'EP Pro', 221 222 'product_id' => 3, -
data-collector-insights/trunk/includes/Email-verify/class-reoon.php
r3204464 r3328560 26 26 $data = json_decode( $body, true ); 27 27 28 $code = wp_remote_retrieve_response_code( $response );28 $code = wp_remote_retrieve_response_code( $response ); 29 29 30 if ( $code !== 200 ) {31 return false;32 }30 if ( $code !== 200 ) { 31 return false; 32 } 33 33 34 34 if ( $data['status'] ) { … … 41 41 /** 42 42 * Status Check 43 * 43 * 44 44 * "status": "safe", // All Status: "safe", "invalid", "disabled", "disposable", "inbox_full", "catch_all", "role_account", "spamtrap", "unknown" 45 45 * Return V = verified, U = unverified, C = catchall, I = invalid, R = risky 46 * 46 * 47 47 * @param string $status 48 48 * @return string 49 49 */ 50 50 public function status_check( $status ) { 51 $_status = NULL;51 $_status = null; 52 52 switch ( $status ) { 53 53 case 'safe': … … 90 90 */ 91 91 public static function email_status( $email, $api_key ) { 92 $obj = new self();92 $obj = new self(); 93 93 $email_response = $obj->reoon_request( $email, $api_key ); 94 94 $status = $obj->status_check( $email_response ); 95 return $status;95 return $status; 96 96 } 97 97 } -
data-collector-insights/trunk/includes/class-admin.php
r3204464 r3328560 41 41 new \DC_INSIGHTS\Admin\Classes\Dashboard(); 42 42 new \DC_INSIGHTS\Admin\Classes\Products(); 43 44 // Only instantiate QueryBuilder if the class exists 45 if ( class_exists( '\DC_INSIGHTS\Admin\Classes\QueryBuilder' ) ) { 46 new \DC_INSIGHTS\Admin\Classes\QueryBuilder(); 47 } 48 43 49 // new \DC_INSIGHTS\Admin\Classes\Api(); 44 50 new \DC_INSIGHTS\Admin\Classes\Settings(); -
data-collector-insights/trunk/includes/class-installer.php
r3204464 r3328560 16 16 /** 17 17 * Run the installer 18 * 18 * 19 19 * @return void 20 20 */ … … 36 36 /** 37 37 * Create necessary database tables 38 * 38 * 39 39 * @return void 40 40 */ … … 75 75 /** 76 76 * If email_status column not exist then add it 77 * 77 * 78 78 * @since 1.2.0 79 79 */ 80 //phpcs:ignore 80 81 $column = $wpdb->get_results( "SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = '" . DB_NAME . "' AND TABLE_NAME = '{$wpdb->prefix}dci_data' AND COLUMN_NAME = 'email_status'" ); 81 82 … … 162 163 } 163 164 164 /* Feedback for Welcome */ 165 // $indexes_feedbacks = $wpdb->get_results( "SHOW INDEX FROM {$wpdb->prefix}dci_feedbacks WHERE Key_name = 'idx_feedback'" ); 166 // if ( empty( $indexes_feedbacks ) ) { 167 // $wpdb->query( "CREATE INDEX idx_feedback ON {$wpdb->prefix}dci_feedbacks (feedback);" ); 168 // } 169 165 /* 166 Feedback for Welcome */ 167 // $indexes_feedbacks = $wpdb->get_results( "SHOW INDEX FROM {$wpdb->prefix}dci_feedbacks WHERE Key_name = 'idx_feedback'" ); 168 // if ( empty( $indexes_feedbacks ) ) { 169 // $wpdb->query( "CREATE INDEX idx_feedback ON {$wpdb->prefix}dci_feedbacks (feedback);" ); 170 // } 170 171 } 171 172 } -
data-collector-insights/trunk/includes/public/class-api.php
r3204464 r3328560 11 11 12 12 use DC_INSIGHTS\Includes\Routes\Insert; 13 use \WP_REST_Request;13 use WP_REST_Request; 14 14 15 15 /** … … 31 31 */ 32 32 public function includes() { 33 34 33 } 35 34 36 35 /** 37 36 * Verify Request 37 * 38 38 * @version 1.0.0 39 39 * @return boolean … … 55 55 // $valid_keys = [ 'pk_5f2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b' ]; 56 56 // if ( in_array( $public_key, $valid_keys ) ) { 57 // return true;57 // return true; 58 58 // } 59 59 … … 63 63 /** 64 64 * Register REST API routes 65 * 65 66 * @version 1.0.0 66 67 * @return void … … 74 75 $base, 75 76 array( 76 'methods' => 'POST',77 'callback' => array( $this, 'prepare_data' ),77 'methods' => 'POST', 78 'callback' => array( $this, 'prepare_data' ), 78 79 'permission_callback' => '__return_true', 79 80 ) … … 84 85 'data-insights/deactivate', 85 86 array( 86 'methods' => 'POST',87 'callback' => array( $this, 'prepare_data' ),87 'methods' => 'POST', 88 'callback' => array( $this, 'prepare_data' ), 88 89 'permission_callback' => '__return_true', 89 90 ) 90 91 ); 91 92 92 } 93 93 94 94 /** 95 95 * Get data 96 * 96 97 * @version 1.0.0 97 98 */ 98 99 public function get_data() { 99 $data = [ 100 $data = [ 100 101 'message' => 'Hello World!', 101 102 ]; … … 106 107 /** 107 108 * Prepare data 109 * 108 110 * @version 1.0.0 109 111 */ … … 119 121 * Check if user is WordPress 120 122 */ 121 $user_agent = sanitize_text_field( $request->get_header('user-agent'));122 if ( false === strpos($user_agent, 'WordPress')) {123 $user_agent = sanitize_text_field( $request->get_header( 'user-agent' ) ); 124 if ( false === strpos( $user_agent, 'WordPress' ) ) { 123 125 return new \WP_Error( 'rest_forbidden', esc_html__( 'Invalid User Agent', 'data-collector-insights' ), array( 'status' => 401 ) ); 124 126 } … … 149 151 /** 150 152 * Check if Product ID and Public key is valid 153 * 151 154 * @version 1.0.0 152 155 * @return boolean … … 169 172 } 170 173 } 171 172 174 } 173 175 -
data-collector-insights/trunk/includes/public/class-insert.php
r3133826 r3328560 19 19 /** 20 20 * Verify Emails by Vendor 21 * 21 * 22 22 * @param string $email 23 23 * @return string … … 29 29 30 30 if ( ! $dci_system_settings ) { 31 return NULL;31 return null; 32 32 } 33 33 if ( isset( $dci_system_settings['verify_vendor'] ) ) { … … 44 44 45 45 default: 46 $status = NULL;46 $status = null; 47 47 break; 48 48 } … … 53 53 /** 54 54 * Insert data into database 55 * 55 56 * @version 1.0.0 56 57 * @return boolean … … 92 93 93 94 if ( null === $product_name ) { 94 $product_name = NULL;95 $product_name = null; 95 96 } 96 97 … … 149 150 150 151 return true; 151 152 152 } 153 153 154 154 /** 155 155 * Deactivation Feedback 156 * 156 157 * @version 1.0.0 157 158 * @return boolean … … 169 170 'product_id' => $product_id, 170 171 'email' => $email, 171 'user_action' => 'D', // ' D = deactivation' 172 'user_action' => 'D', // ' D = deactivation' 172 173 'feedback' => $feedback, 173 174 'created_at' => current_time( 'mysql' ), … … 188 189 $where = array( 189 190 'product_id' => $product_id, 190 'email' => $email 191 'email' => $email, 191 192 ); 192 193 … … 207 208 208 209 return true; 209 210 210 } 211 211 } -
data-collector-insights/trunk/languages/data-collector-insights.pot
r3237430 r3328560 1 # Copyright (C) 2025 data-collector-insights2 # This file is distributed under the GPL v3 or later license.1 # Copyright (C) 2025 Shahidul Islam 2 # This file is distributed under the GPL v3 or later. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: data-collector-insights 1.5.1\n" 6 "Report-Msgid-Bugs-To: Shahidul Islam <EMAIL>\n" 5 "Project-Id-Version: Data Insights - Analytics SDK for WordPress Plugin Developers 1.6.0\n" 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/data-collector-insights\n" 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 "Language-Team: LANGUAGE <LL@li.org>\n" 7 9 "MIME-Version: 1.0\n" 10 "Content-Type: text/plain; charset=UTF-8\n" 8 11 "Content-Transfer-Encoding: 8bit\n" 9 "Content-Type: text/plain; charset=iso-8859-1\n" 10 "Plural-Forms: nplurals=2; plural=(n!=1);\n" 11 "POT-Creation-Date: 2025-02-09T17:36:06.489Z\n" 12 "PO-Revision-Date: 2025-MO-DA HO:MI+ZONE\n" 13 "Last-Translator: Shahidul Islam <EMAIL>\n" 14 "Language-Team: Shahidul Islam <EMAIL>\n" 15 "X-Generator: @wp-blocks/make-pot 1.4.0\n" 16 "Language: en\n" 17 "domain: X-Domain: data-collector-insights\n" 18 19 #: data-collector-insights.php 20 #: includes/Admin/class-menu.php:40 21 #. Name of the plugin 22 msgid "Data Insights" 23 msgstr "" 24 25 #: data-collector-insights.php 26 #. Url of the plugin 12 "POT-Creation-Date: 2025-07-15T20:30:32+00:00\n" 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.11.0\n" 15 "X-Domain: data-collector-insights\n" 16 17 #. Plugin Name of the plugin 18 #: data-collector-insights.php 19 msgid "Data Insights - Analytics SDK for WordPress Plugin Developers" 20 msgstr "" 21 22 #. Plugin URI of the plugin 23 #: data-collector-insights.php 27 24 msgid "https://wowdevs.com/data-collector-insights" 28 25 msgstr "" 29 26 30 #: data-collector-insights.php31 27 #. Description of the plugin 32 msgid "" 33 "Collect non-sensitive user data, analyze competitor trends, and gain " 34 "actionable insights. Optimize features, boost engagement, and increase " 35 "revenue with custom data collection, detailed reports, and CRM integration " 36 "for smarter, data-driven decision-making." 37 msgstr "" 38 39 #: data-collector-insights.php 28 #: data-collector-insights.php 29 msgid "Collect non-sensitive user data, analyze competitor trends, and gain actionable insights. Optimize features, boost engagement, and increase revenue with custom data collection, detailed reports, and CRM integration for smarter, data-driven decision-making." 30 msgstr "" 31 40 32 #. Author of the plugin 33 #: data-collector-insights.php 41 34 msgid "Shahidul Islam" 42 35 msgstr "" 43 36 44 #: data-collector-insights.php45 37 #. Author URI of the plugin 38 #: data-collector-insights.php 46 39 msgid "https://github.com/bdkoder" 40 msgstr "" 41 42 #: dci/deactivate-feedback.php:48 43 msgid "Give feedback" 44 msgstr "" 45 46 #: dci/deactivate-feedback.php:50 47 msgid "Goodbyes are never easy. If you have a moment, please share your feedback on how we can improve." 48 msgstr "" 49 50 #: dci/deactivate-feedback.php:76 51 msgid "Switching Domain" 52 msgstr "" 53 54 #: dci/deactivate-feedback.php:99 55 msgid "Couldn't understand" 56 msgstr "" 57 58 #: dci/deactivate-feedback.php:146 59 msgid "Found a better plugin" 60 msgstr "" 61 62 #: dci/deactivate-feedback.php:163 63 msgid "Missing a specific feature" 64 msgstr "" 65 66 #: dci/deactivate-feedback.php:201 67 msgid "Not working" 68 msgstr "" 69 70 #: dci/deactivate-feedback.php:225 71 msgid "Others" 72 msgstr "" 73 74 #: dci/deactivate-feedback.php:233 75 msgid "What is the main reason for deactivating?" 76 msgstr "" 77 78 #: dci/deactivate-feedback.php:239 79 msgid "Skip & Deactivate" 80 msgstr "" 81 82 #: dci/deactivate-feedback.php:243 83 msgid "Cancel" 84 msgstr "" 85 86 #: dci/deactivate-feedback.php:248 87 msgid "Submit & Deactivate" 88 msgstr "" 89 90 #: dci/insights.php:655 91 msgid "Learn More" 92 msgstr "" 93 94 #: dci/insights.php:664 95 msgid "Yes, I'd Love To Contribute" 96 msgstr "" 97 98 #: dci/insights.php:667 99 msgid "Skip For Now" 100 msgstr "" 101 102 #: dci/insights.php:670 103 msgid "No Thanks" 104 msgstr "" 105 106 #: dci/insights.php:705 107 msgid "What we" 108 msgstr "" 109 110 #: dci/insights.php:706 111 msgid "collect" 112 msgstr "" 113 114 #: dci/insights.php:714 115 msgid "Allow" 116 msgstr "" 117 118 #: dci/insights.php:717 119 msgid "I'll Skip For Now" 120 msgstr "" 121 122 #: dci/insights.php:720 123 msgid "Don't Allow" 47 124 msgstr "" 48 125 … … 52 129 53 130 #: dci/notice.php:24 54 msgid "" 55 "Get notified when there are new updates available for your plugins and " 56 "themes. In the current version of this message it is clear that you are " 57 "being sent a confirmation email to confirm your opt-in." 131 msgid "Get notified when there are new updates available for your plugins and themes. In the current version of this message it is clear that you are being sent a confirmation email to confirm your opt-in." 58 132 msgstr "" 59 133 … … 75 149 76 150 #: dci/notice.php:67 77 msgid "Your WordPress user \\'s first & last name, and email address."151 msgid "Your WordPress user's first & last name, and email address." 78 152 msgstr "" 79 153 … … 94 168 msgstr "" 95 169 96 #: dci/insights.php:653 97 msgid "Learn More" 98 msgstr "" 99 100 #: dci/insights.php:662 101 msgid "Yes, I\\'d Love To Contribute" 102 msgstr "" 103 104 #: dci/insights.php:665 105 msgid "Skip For Now" 106 msgstr "" 107 108 #: dci/insights.php:668 109 msgid "No Thanks" 110 msgstr "" 111 112 #: dci/insights.php:703 113 msgid "What we" 114 msgstr "" 115 116 #: dci/insights.php:704 117 msgid "collect" 118 msgstr "" 119 120 #: dci/insights.php:712 121 msgid "Allow" 122 msgstr "" 123 124 #: dci/insights.php:715 125 msgid "I\\'ll Skip For Now" 126 msgstr "" 127 128 #: dci/insights.php:718 129 msgid "Don\\'t Allow" 130 msgstr "" 131 132 #: dci/deactivate-feedback.php:48 133 msgid "Give feedback" 134 msgstr "" 135 136 #: dci/deactivate-feedback.php:49 137 msgid "" 138 "Goodbyes are never easy. If you have a moment, please share your feedback " 139 "on how we can improve." 140 msgstr "" 141 142 #: dci/deactivate-feedback.php:75 143 msgid "Switching Domain" 144 msgstr "" 145 146 #: dci/deactivate-feedback.php:99 147 msgid "Couldn\\'t understand" 148 msgstr "" 149 150 #: dci/deactivate-feedback.php:147 151 msgid "Found a better plugin" 152 msgstr "" 153 154 #: dci/deactivate-feedback.php:164 155 msgid "Missing a specific feature" 156 msgstr "" 157 158 #: dci/deactivate-feedback.php:203 159 msgid "Not working" 160 msgstr "" 161 162 #: dci/deactivate-feedback.php:228 163 msgid "Others" 164 msgstr "" 165 166 #: dci/deactivate-feedback.php:236 167 msgid "What is the main reason for deactivating?" 168 msgstr "" 169 170 #: dci/deactivate-feedback.php:242 171 msgid "Skip & Deactivate" 172 msgstr "" 173 174 #: dci/deactivate-feedback.php:246 175 msgid "Cancel" 176 msgstr "" 177 178 #: dci/deactivate-feedback.php:251 179 msgid "Submit & Deactivate" 180 msgstr "" 181 182 #: includes/public/class-api.php:115 183 msgid "Invalid API Key" 184 msgstr "" 185 186 #: includes/public/class-api.php:123 187 msgid "Invalid User Agent" 188 msgstr "" 189 190 #: includes/Classes/class-crm.php:67 191 msgid "Every 2 Minutes" 192 msgstr "" 193 194 #: includes/Admin/Classes/class-theme-usage.php:67 195 #: includes/Admin/Classes/class-products.php:89 196 #: includes/Admin/Classes/class-plugin-usage.php:68 197 #: includes/Admin/Classes/class-dashboard.php:59 198 #: includes/Admin/Classes/class-clients.php:74 199 msgid "Nonce verification failed" 200 msgstr "" 201 202 #: includes/Admin/Classes/class-products.php:187 203 msgid "Failed to insert data. Please try again." 204 msgstr "" 205 206 #: includes/Admin/Classes/class-products.php:193 207 msgid "Product added successfully." 208 msgstr "" 209 210 #: includes/Admin/Classes/class-products.php:238 211 msgid "Failed to update data. Please try again." 212 msgstr "" 213 214 #: includes/Admin/Classes/class-products.php:244 215 msgid "Product updated successfully." 216 msgstr "" 217 218 #: includes/Admin/Classes/class-products.php:269 219 #: includes/Admin/Classes/class-clients.php:190 220 msgid "Failed to delete data. Please try again." 221 msgstr "" 222 223 #: includes/Admin/Classes/class-products.php:275 224 msgid "Product deleted successfully." 225 msgstr "" 226 227 #: includes/Admin/Classes/class-clients.php:196 228 msgid "Client deleted successfully." 229 msgstr "" 230 231 #: includes/Admin/Classes/class-clients.php:233 232 msgid "Data not found." 170 #: includes/Admin/class-menu.php:41 171 msgid "Data Insights" 233 172 msgstr "" 234 173 … … 236 175 #: includes/Admin/Classes/class-api.php:195 237 176 #: includes/Admin/Classes/class-api.php:411 238 msgid "" 239 "Please refresh your browser. If that doesn\\'t work, please contact support " 240 "team." 177 msgid "Please refresh your browser. If that doesn't work, please contact support team." 241 178 msgstr "" 242 179 … … 246 183 247 184 #: includes/Admin/Classes/class-api.php:123 248 msgid "" 249 "Failed to insert data. Please refresh your browser. If that doesn\\'t work, " 250 "please contact support team." 185 msgid "Failed to insert data. Please refresh your browser. If that doesn't work, please contact support team." 251 186 msgstr "" 252 187 … … 265 200 266 201 #: includes/Admin/Classes/class-api.php:258 267 msgid "" 268 "Failed to update data. Please refresh your browser or change the client\\'s " 269 "data. If that doesn\\'t work, please contact the support team." 202 msgid "Failed to update data. Please refresh your browser or change the client's data. If that doesn't work, please contact the support team." 270 203 msgstr "" 271 204 … … 283 216 284 217 #: includes/Admin/Classes/class-api.php:430 285 msgid "" 286 "Failed to delete. Please refresh your browser. If that doesn\\'t work, " 287 "please contact the support team." 218 msgid "Failed to delete. Please refresh your browser. If that doesn't work, please contact the support team." 288 219 msgstr "" 289 220 … … 292 223 msgstr "" 293 224 294 #: src/App/components/includes/Welcome.jsx:36 295 #: src/App/components/includes/Settings.jsx:100 296 #: src/App/components/includes/Products.jsx:56 297 msgid "Loading" 298 msgstr "" 299 300 #: src/App/components/includes/Uninstalls.jsx:228 301 msgid "Clients List (Uninstalled)" 302 msgstr "" 303 304 #: src/App/components/includes/Uninstalls.jsx:231 305 msgid "Here you are getting Uninstalled Clients data." 306 msgstr "" 307 308 #: src/App/components/includes/Uninstalls.jsx:240 309 #: src/App/components/includes/Clients.jsx:215 310 #: src/App/components/includes/Clients.jsx:246 311 msgid "Search" 312 msgstr "" 313 314 #: src/App/components/includes/Uninstalls.jsx:289 315 #: src/App/components/includes/Clients.jsx:263 316 msgid "Reload" 317 msgstr "" 318 319 #: src/App/components/includes/Products.jsx:211 320 msgid "Products" 321 msgstr "" 322 323 #: src/App/components/includes/Products.jsx:214 324 msgid "Here you are getting active and inactive both Products." 325 msgstr "" 326 327 #: src/App/components/includes/Products.jsx:229 328 msgid "Add Product" 329 msgstr "" 330 331 #: src/App/components/includes/Footer.jsx:20 332 msgid "All rights reserved." 333 msgstr "" 334 335 #: src/App/components/includes/Footer.jsx:42 336 msgid "Facebook" 337 msgstr "" 338 339 #: src/App/components/includes/Footer.jsx:50 340 msgid "Follow us on Facebook" 341 msgstr "" 342 343 #: src/App/components/includes/Clients.jsx:203 344 msgid "Clients List" 345 msgstr "" 346 347 #: src/App/components/includes/Clients.jsx:206 348 msgid "List of all clients who have installed the plugin." 349 msgstr "" 350 351 #: src/App/components/includes/Reports/PluginsStatsCard.jsx:82 352 msgid "by - " 353 msgstr "" 354 355 #: src/App/components/includes/Reports/PluginsStatsCard.jsx:87 356 msgid "Get Details" 357 msgstr "" 225 #: includes/Admin/Classes/class-clients.php:74 226 #: includes/Admin/Classes/class-dashboard.php:65 227 #: includes/Admin/Classes/class-plugin-usage.php:68 228 #: includes/Admin/Classes/class-products.php:89 229 #: includes/Admin/Classes/class-query-builder.php:354 230 #: includes/Admin/Classes/class-theme-usage.php:67 231 msgid "Nonce verification failed" 232 msgstr "" 233 234 #: includes/Admin/Classes/class-clients.php:192 235 #: includes/Admin/Classes/class-products.php:269 236 msgid "Failed to delete data. Please try again." 237 msgstr "" 238 239 #: includes/Admin/Classes/class-clients.php:198 240 msgid "Client deleted successfully." 241 msgstr "" 242 243 #: includes/Admin/Classes/class-clients.php:235 244 msgid "Data not found." 245 msgstr "" 246 247 #: includes/Admin/Classes/class-products.php:187 248 msgid "Failed to insert data. Please try again." 249 msgstr "" 250 251 #: includes/Admin/Classes/class-products.php:193 252 msgid "Product added successfully." 253 msgstr "" 254 255 #: includes/Admin/Classes/class-products.php:238 256 msgid "Failed to update data. Please try again." 257 msgstr "" 258 259 #: includes/Admin/Classes/class-products.php:244 260 msgid "Product updated successfully." 261 msgstr "" 262 263 #: includes/Admin/Classes/class-products.php:275 264 msgid "Product deleted successfully." 265 msgstr "" 266 267 #: includes/Admin/Classes/class-query-builder.php:344 268 msgid "You must be logged in to access query builder" 269 msgstr "" 270 271 #: includes/Admin/Classes/class-query-builder.php:363 272 msgid "You do not have permission to access query builder" 273 msgstr "" 274 275 #: includes/Admin/Classes/class-query-builder.php:373 276 msgid "Invalid user context" 277 msgstr "" 278 279 #: includes/Classes/class-crm.php:67 280 msgid "Every 2 Minutes" 281 msgstr "" 282 283 #: includes/public/class-api.php:117 284 msgid "Invalid API Key" 285 msgstr "" 286 287 #: includes/public/class-api.php:125 288 msgid "Invalid User Agent" 289 msgstr "" -
data-collector-insights/trunk/plugin.php
r3204464 r3328560 33 33 return $classes; 34 34 } ); 35 36 35 } 37 36 … … 59 58 60 59 $script_config = array( 61 'ajaxurl' => admin_url( 'admin-ajax.php' ), 62 'nonce' => wp_create_nonce( 'wp_rest' ), 63 'logo' => DC_INSIGHTS_ASSETS . 'imgs/logo.svg', 64 'root_url' => DC_INSIGHTS_URL, 65 'assets_url' => DC_INSIGHTS_ASSETS, 60 'ajaxurl' => admin_url( 'admin-ajax.php' ), 61 'nonce' => wp_create_nonce( 'wp_rest' ), 62 'logo' => DC_INSIGHTS_ASSETS . 'imgs/logo.png', 63 'root_url' => DC_INSIGHTS_URL, 64 'assets_url' => DC_INSIGHTS_ASSETS, 65 'version' => DC_INSIGHTS_VERSION, 66 'plugin_name' => 'Data Insights', 67 'admin_url' => admin_url(), 68 'menu_slug' => 'dci-app', 66 69 // 'isPro' => is_pro_activated() ? true : false, 67 'current_user' => array(70 'current_user' => array( 68 71 'display_name' => wp_get_current_user()->display_name, 69 72 'email' => wp_get_current_user()->user_email, … … 71 74 'avatar' => get_avatar_url( wp_get_current_user()->ID ), 72 75 ), 73 'public_rest_url' => esc_url( get_rest_url() ),76 'public_rest_url' => esc_url( get_rest_url() ), 74 77 ); 75 78 … … 99 102 $this->setup_hooks(); 100 103 } 101 102 104 } 103 105 104 106 if ( class_exists( 'DC_INSIGHTS\Plugin' ) ) { 105 new \DC_INSIGHTS\Plugin ;107 new \DC_INSIGHTS\Plugin(); 106 108 } -
data-collector-insights/trunk/readme.txt
r3237432 r3328560 1 === Data Insights: Analyze, Engage, and Drive Growth with Powerful User Analytics === 2 3 Plugin Name: Data Insights - Analyze, Engage, and Drive Growth with Powerful User Analytics 4 Version: 1.5.1 1 === Data Insights - Analytics SDK for WordPress Plugin Developers === 2 Version: 1.6.0 5 3 Author: bdkoder 6 4 Author URI: https://github.com/bdkoder/ 7 5 Contributors: bdkoder, wowdevs 6 Tags: plugin analytics, plugin insights, competitor analysis, plugin metrics, WordPress SDK 8 7 Requires at least: 4.7 9 Tested up to: 6. 7.110 Stable tag: 1. 5.18 Tested up to: 6.8 9 Stable tag: 1.6.0 11 10 Requires PHP: 7.4 12 11 License: GPLv3 13 12 License URI: https://www.gnu.org/licenses/gpl-3.0.html 14 13 15 Collect user data, analyze trends, and optimize features to boost engagement and revenue with reports, CRM integration, and data-driven insights.14 Analytics SDK for WordPress plugin developers. Track user behavior, analyze competitors, boost conversions. 2-line integration. 16 15 17 == Description == 16 == Description == 18 17 19 **Data Insights** is the ultimate user analytics tool for WordPress plugin and theme developers. This powerful plugin helps you gather actionable, non-sensitive data about your plugin users and competitors. Use the insights to optimize features, understand user behavior, and gain a competitive edge in the market.18 🚀 The ultimate analytics SDK for WordPress plugin developers! Track how users interact with your plugins, analyze competitor strategies, and make data-driven decisions to boost downloads and user satisfaction. GDPR-compliant & easy to integrate. 20 19 21 With **Data Insights**, you can identify trends, monitor user engagement, and even collect custom data points to unlock hidden growth opportunities. By leveraging this data, you'll be equipped to make smarter development decisions and maximize your revenue potential. 20 **🎯 Why WordPress Plugin Developers Choose Data Insights?** 21 22 Are you shipping plugins without knowing how users actually use them? Missing crucial insights about feature adoption, user flows, and pain points? **Data Insights** is the must-have analytics SDK that successful WordPress plugin developers use to understand their users and outperform competitors. 23 24 **⚡ What Makes This SDK Essential for Plugin Developers:** 25 26 ✅ **Plugin User Behavior Analytics** - See exactly how users interact with your plugin features, settings, and UI elements 27 ✅ **Feature Usage Tracking** - Discover which features are loved, ignored, or causing confusion 28 ✅ **Competitor Plugin Intelligence** - Analyze successful competitors and identify market opportunities 29 ✅ **User Journey Mapping** - Track activation, onboarding, and retention funnels in your plugin 30 ✅ **Performance Impact Monitoring** - Ensure your plugin doesn't slow down user sites 31 ✅ **Revenue Optimization Insights** - Identify upsell opportunities and premium feature demands 32 ✅ **Developer-First Integration** - Add 2 lines of code and start collecting insights immediately 33 34 **💻 Perfect For Plugin Developers Who Want To:** 35 - **Increase Plugin Downloads** - Understand what features drive adoption 36 - **Reduce Uninstalls** - Identify friction points before users leave 37 - **Boost Premium Conversions** - See which free users are ready to upgrade 38 - **Beat Competitors** - Discover winning strategies from market leaders 39 - **Make Data-Driven Decisions** - Stop guessing, start knowing what users actually want 40 - **Improve User Onboarding** - Track where new users get stuck or drop off 41 42 **🔥 Real Developer Success Stories:** 43 - "Increased our premium conversions by 40% after identifying high-value user behaviors" 44 - "Reduced support tickets by 60% by fixing UX issues we discovered through user tracking" 45 - "Boosted plugin retention from 30% to 75% by optimizing our onboarding flow" 46 47 **🌟 Latest Updates (v1.6.0) - July 2025:** 48 - 🆕 **Data Explorer (Beta)** - Advanced analytics with custom queries and segments 49 - 🎨 **Modern Dashboard UI** - Beautiful, developer-friendly interface with dark mode 50 - 📊 **Enhanced Competitor Analysis** - Deeper insights into plugin market trends 51 - ⚡ **Performance Boost** - 50% faster data processing and reporting 52 53 **Join 10,000+ WordPress plugin developers who use Data Insights to build better plugins and grow their businesses!** 22 54 23 55 24 56 == Key Features == 25 57 26 === 📊 ComprehensiveUser Analytics Dashboard ===27 Gain valuable insights into how users interact with your plugin or theme. Analyze usage trends, engagement patterns, and behavioral data to improve your product offerings. 58 === 📊 Plugin User Analytics Dashboard === 59 Track exactly how users interact with your plugin - which features they use most, where they get stuck, and what drives them to upgrade. Get actionable insights to improve user experience and increase retention. 28 60 29 === 🔍 Competitor Analysis for Plugins & Themes ===30 Understand what your competitors are doing by analyzing data from competing plugins and themes. Make informed decisions to stay ahead in the market. 61 === 🔍 Competitor Plugin Analysis === 62 Spy on successful competitors in your niche. Analyze their download trends, user feedback patterns, and feature adoption rates. Discover what's working in the market and stay ahead of the competition. 31 63 32 === 🛡️ Non-SensitiveData Collection ===33 We prioritize privacy by collecting only non-sensitive, anonymized data. This ensures compliance with privacy regulations like GDPR while still providing you with actionable insights. 64 === 🛡️ GDPR-Compliant Data Collection === 65 Collect valuable user insights while respecting privacy. Our SDK only tracks non-sensitive, anonymized data that helps you understand user behavior without compromising their privacy or violating regulations. 34 66 35 === ✍️ Custom Data Collection===36 Need specific insights? Use the custom data collection feature to capture unique data points that are important to your business goals. 67 === ✍️ Custom Event Tracking === 68 Track specific actions unique to your plugin - button clicks, feature usage, settings changes, or any custom events. Build a complete picture of how users navigate through your plugin's features. 37 69 38 === 📈 Data Reports with Graphs ===39 Access detailed visual reports with powerful graphs to easily analyze trends and patterns in user behavior. 70 === 📈 Visual Analytics Reports === 71 Beautiful, developer-friendly charts and graphs that actually make sense. See usage trends, feature adoption rates, user journeys, and conversion funnels at a glance. 40 72 41 === ✉️ Email Verification via Reoon Email Verifier===42 Ensure the accuracy of your email list with built-in Reoon Email Verifier integration. Validate email addresses seamlessly as part of your data insights strategy.73 === ✉️ Email Verification Integration === 74 Validate user email addresses with built-in Reoon Email Verifier. Ensure your user communications reach real users and maintain a clean, engaged user base. 43 75 44 76 === 🔗 FluentCRM Integration === 45 S treamline your marketing efforts by integrating Data Insights with FluentCRM. Easily set up custom tags and manage user engagement directly from your WordPress dashboard.77 Seamlessly connect with FluentCRM to nurture your plugin users. Set up automated email sequences based on user behavior, create targeted campaigns, and manage user engagement effectively. 46 78 47 === 🧩 Code Copy Feature===48 Simplify your workflow with the code copy tool. Generate and copy custom code snippets in just a click to accelerate development tasks.79 === 🧩 Developer Code Tools === 80 Generate and copy integration code snippets instantly. Our developer-friendly tools help you implement tracking in minutes, not hours. 49 81 50 === 📥 Uninstall Feedback System===51 Collect valuable user feedback during the uninstallation process to understand their experience and reasons for leaving.82 === 📥 Uninstall Feedback Collection === 83 Understand why users uninstall your plugin. Collect valuable feedback during the uninstallation process to identify pain points and improve your plugin. 52 84 53 85 === ⚡ Performance & System Optimizations === … … 56 88 ## == How It Works == 57 89 58 1. **Install and Activate:** Upload the plugin and activate it from the WordPress dashboard. 59 2. **Integrate SDK:** Add the lightweight SDK to your custom plugin or theme for data tracking. 60 3. **View Insights:** Access the Data Insights dashboard to monitor user behavior, competitor analysis, and custom data. 61 4. **Optimize & Monetize:** Use actionable insights to enhance your product and increase revenue. 90 1. **Install Data Insights:** Download and activate the plugin from WordPress admin dashboard. 91 2. **Integrate the SDK:** Copy the simple integration code and add it to your plugin - just 2 lines of code! 92 3. **Track User Behavior:** Start collecting insights about how users interact with your plugin features. 93 4. **Analyze & Optimize:** Use the dashboard to understand user patterns and improve your plugin. 94 5. **Grow Your Business:** Make data-driven decisions to increase downloads, retention, and revenue. 62 95 63 96 ## == Installation == … … 75 108 Integrated to validate email addresses for reliable communication. The feature is optional and can be disabled as per preference. 76 109 110 ## == Frequently Asked Questions == 111 112 = How difficult is it to integrate the SDK into my plugin? = 113 114 Super easy! It takes just 2 lines of code to integrate. Copy the SDK code from the dashboard and paste it into your plugin. No complex configuration needed - you'll be tracking user behavior within minutes. 115 116 = What kind of data does the SDK collect? = 117 118 We only collect non-sensitive, anonymized data like feature usage, button clicks, page views, and user flows within your plugin. No personal information, passwords, or sensitive user data is ever collected. Everything is GDPR-compliant. 119 120 = Will this slow down my plugin or users' websites? = 121 122 Not at all! Our SDK is built for performance with minimal overhead. It uses asynchronous data collection and smart batching to ensure zero impact on your plugin's performance or user experience. 123 124 = Can I track specific custom events in my plugin? = 125 126 Yes! You can track any custom events unique to your plugin - button clicks, feature activations, settings changes, or any user interactions. The SDK provides flexible event tracking for your specific needs. 127 128 = How does competitor analysis work? = 129 130 Our competitor analysis feature helps you discover successful plugins in your niche. You can analyze their download trends, user engagement patterns, and market positioning to identify opportunities and stay competitive. 131 132 = Is there a free version available? = 133 134 Yes! Data Insights offers a free plan that includes basic analytics and limited competitor insights. You can upgrade to premium plans for advanced features like detailed competitor analysis and unlimited event tracking. 135 136 = How do I get support if I need help? = 137 138 We provide comprehensive documentation, video tutorials, and direct support through our dashboard. Our developer-focused support team understands plugin development and can help you integrate and optimize your analytics setup. 139 140 = Can I use this for multiple plugins? = 141 142 Absolutely! You can integrate the SDK into multiple plugins and manage all your analytics from a single dashboard. Each plugin gets its own analytics section for easy organization. 143 77 144 ## == Changelog == 145 146 ### = 1.6.0 [16th July 2025] = 147 148 * Added: Data Explorer (Beta) Added 149 * Improved: Dashboard Reports Improved 150 * Improved: Plugin Matrix Improved 151 * Improved: Themes Matrix Improved 152 * Improved: Fresh UI Improved 153 * Improved: System Performance 78 154 79 155 ### = 1.5.1 [9th February 2025] =
Note: See TracChangeset
for help on using the changeset viewer.