nectiasw 0.0.294 → 0.0.296
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist/App.d.ts +0 -2
- package/dist/components/Alert/Alert.stories.d.ts +0 -13
- package/dist/components/Alert/index.d.ts +0 -2
- package/dist/components/Alert/types.d.ts +0 -9
- package/dist/components/Badge/Bagde.stories.d.ts +0 -17
- package/dist/components/Badge/index.d.ts +0 -16
- package/dist/components/Badge/types.d.ts +0 -5
- package/dist/components/Box/index.d.ts +0 -3
- package/dist/components/Box/styles.d.ts +0 -9
- package/dist/components/Box/types.d.ts +0 -105
- package/dist/components/Button/builder.d.ts +0 -20
- package/dist/components/Button/index.d.ts +0 -9
- package/dist/components/Button/styled.d.ts +0 -4
- package/dist/components/Button/styles.d.ts +0 -4
- package/dist/components/Button/types.d.ts +0 -25
- package/dist/components/Button/variants/Weekday/Weekday.stories.d.ts +0 -6
- package/dist/components/Button/variants/Weekday/index.d.ts +0 -3
- package/dist/components/Button/variants/Weekday/styled.d.ts +0 -13
- package/dist/components/Button/variants/Weekday/types.d.ts +0 -15
- package/dist/components/Card/Card.stories.d.ts +0 -13
- package/dist/components/Card/index.d.ts +0 -6
- package/dist/components/Card/styles.d.ts +0 -17
- package/dist/components/Card/types.d.ts +0 -10
- package/dist/components/Card/variants/Schedule/index.d.ts +0 -4
- package/dist/components/Card/variants/Schedule/styled.d.ts +0 -3
- package/dist/components/Card/variants/Schedule/types.d.ts +0 -13
- package/dist/components/Chart/Chart.stories.d.ts +0 -40
- package/dist/components/Chart/index.d.ts +0 -47
- package/dist/components/Chart/styles.d.ts +0 -5
- package/dist/components/Checkbox/index.d.ts +0 -27
- package/dist/components/Checkbox/styled.d.ts +0 -41
- package/dist/components/Checkbox/styles.d.ts +0 -7
- package/dist/components/Col/index.d.ts +0 -3
- package/dist/components/Col/styled.d.ts +0 -2
- package/dist/components/Col/types.d.ts +0 -13
- package/dist/components/Collapse/index.d.ts +0 -18
- package/dist/components/Collapse/styles.d.ts +0 -17
- package/dist/components/Container/index.d.ts +0 -12
- package/dist/components/Counter/index.d.ts +0 -11
- package/dist/components/Counter/styles.d.ts +0 -9
- package/dist/components/Datepicker/index.d.ts +0 -29
- package/dist/components/Datepicker/styled.d.ts +0 -8
- package/dist/components/Datepicker/styles.d.ts +0 -5
- package/dist/components/DeadlineChart/index.d.ts +0 -58
- package/dist/components/DeadlineChart/styles.d.ts +0 -11
- package/dist/components/Detail/Detail.stories.d.ts +0 -9
- package/dist/components/Detail/index.d.ts +0 -43
- package/dist/components/Detail/styles.d.ts +0 -14
- package/dist/components/Dragarea/index.d.ts +0 -3
- package/dist/components/Dragarea/styled.d.ts +0 -5
- package/dist/components/Dragarea/svg.d.ts +0 -5
- package/dist/components/Dragarea/types.d.ts +0 -38
- package/dist/components/Dropdown/index.d.ts +0 -41
- package/dist/components/Dropdown/styles.d.ts +0 -21
- package/dist/components/Empty/index.d.ts +0 -13
- package/dist/components/EnterprisesFilter/EnterpriseContext.d.ts +0 -17
- package/dist/components/EnterprisesFilter/index.d.ts +0 -21
- package/dist/components/FirstModal/index.d.ts +0 -3
- package/dist/components/FirstModal/styled.d.ts +0 -6
- package/dist/components/FirstModal/types.d.ts +0 -14
- package/dist/components/Flex/index.d.ts +0 -25
- package/dist/components/Flex/styles.d.ts +0 -8
- package/dist/components/Footer/index.d.ts +0 -7
- package/dist/components/Footer/styled.d.ts +0 -2
- package/dist/components/Footer/styles.d.ts +0 -3
- package/dist/components/Footer/svg.d.ts +0 -5
- package/dist/components/Grid/index.d.ts +0 -37
- package/dist/components/Input/index.d.ts +0 -67
- package/dist/components/Input/styles.d.ts +0 -8
- package/dist/components/Input/variants/InputTable.d.ts +0 -3
- package/dist/components/Layout/hooks.d.ts +0 -1
- package/dist/components/Layout/index.d.ts +0 -20
- package/dist/components/Layout/styles.d.ts +0 -13
- package/dist/components/Loading/index.d.ts +0 -16
- package/dist/components/Loading/styles.d.ts +0 -19
- package/dist/components/Modal/index.d.ts +0 -8
- package/dist/components/Modal/styles.d.ts +0 -25
- package/dist/components/Modal/variant/TCModal.d.ts +0 -4
- package/dist/components/Modal/variant/TCModal.stories.d.ts +0 -7
- package/dist/components/Modal/variant/styles.d.ts +0 -11
- package/dist/components/Modal/variant/svg.d.ts +0 -1
- package/dist/components/Modal/variant/types.d.ts +0 -14
- package/dist/components/ModalUnathorized/index.d.ts +0 -4
- package/dist/components/Navbar/Navbar.stories.d.ts +0 -7
- package/dist/components/Navbar/index.d.ts +0 -24
- package/dist/components/Navbar/styles.d.ts +0 -49
- package/dist/components/Pagination/index.d.ts +0 -3
- package/dist/components/Pagination/styles.d.ts +0 -26
- package/dist/components/Pagination/types.d.ts +0 -19
- package/dist/components/RadioButton/index.d.ts +0 -15
- package/dist/components/RadioButton/styles.d.ts +0 -7
- package/dist/components/Row/index.d.ts +0 -14
- package/dist/components/Search/index.d.ts +0 -7
- package/dist/components/Search/styled.d.ts +0 -14
- package/dist/components/Search/styles.d.ts +0 -20
- package/dist/components/Search/types.d.ts +0 -75
- package/dist/components/Search/variants/ScrollSearch.d.ts +0 -4
- package/dist/components/Search/variants/styled.d.ts +0 -23
- package/dist/components/Select/Select.stories.d.ts +0 -15
- package/dist/components/Select/builder.d.ts +0 -27
- package/dist/components/Select/index.d.ts +0 -46
- package/dist/components/Select/styled.d.ts +0 -1
- package/dist/components/Sidebar/Sidebar.stories.d.ts +0 -36
- package/dist/components/Sidebar/index.d.ts +0 -2
- package/dist/components/Sidebar/styles.d.ts +0 -26
- package/dist/components/Sidebar/types.d.ts +0 -37
- package/dist/components/Stepper/index.d.ts +0 -17
- package/dist/components/Stepper/styles.d.ts +0 -15
- package/dist/components/Switch/index.d.ts +0 -20
- package/dist/components/Table/Table.stories.d.ts +0 -8
- package/dist/components/Table/builder.d.ts +0 -18
- package/dist/components/Table/index.d.ts +0 -32
- package/dist/components/Table/styled.d.ts +0 -41
- package/dist/components/Table/styles.d.ts +0 -27
- package/dist/components/Table/svg.d.ts +0 -1
- package/dist/components/Table/types.d.ts +0 -98
- package/dist/components/Tableinput/index.d.ts +0 -40
- package/dist/components/Tableinput/styles.d.ts +0 -3
- package/dist/components/Tableinput/types.d.ts +0 -8
- package/dist/components/Text/index.d.ts +0 -47
- package/dist/components/Text/styles.d.ts +0 -23
- package/dist/components/Textarea/TextArea.stories.d.ts +0 -10
- package/dist/components/Textarea/index.d.ts +0 -15
- package/dist/components/Textarea/styled.d.ts +0 -2
- package/dist/components/Textarea/styles.d.ts +0 -23
- package/dist/components/Timeline/index.d.ts +0 -3
- package/dist/components/Timeline/styled.d.ts +0 -12
- package/dist/components/Timeline/styles.d.ts +0 -26
- package/dist/components/Timeline/types.d.ts +0 -26
- package/dist/components/Tooltip/index.d.ts +0 -16
- package/dist/components/Tooltip/styled.d.ts +0 -22
- package/dist/components/Tooltip/styles.d.ts +0 -3
- package/dist/components/Totalhours/index.d.ts +0 -72
- package/dist/constants/index.d.ts +0 -11
- package/dist/events/index.d.ts +0 -58
- package/dist/hooks/usecache/config.d.ts +0 -7
- package/dist/hooks/usecache/index.d.ts +0 -13
- package/dist/hooks/usecheckbox/index.d.ts +0 -12
- package/dist/hooks/usetoggle/index.d.ts +0 -14
- package/dist/index.d.ts +0 -133
- package/dist/index.es.js +0 -36161
- package/dist/index.es.js.map +0 -1
- package/dist/index.umd.js +0 -2129
- package/dist/index.umd.js.map +0 -1
- package/dist/main.d.ts +0 -0
- package/dist/providers/channel/hooks.d.ts +0 -11
- package/dist/providers/channel/index.d.ts +0 -26
- package/dist/providers/channel/types.d.ts +0 -8
- package/dist/providers/context/hooks.d.ts +0 -1
- package/dist/providers/context/index.d.ts +0 -31
- package/dist/providers/context/types.d.ts +0 -48
- package/dist/providers/https/http.api.d.ts +0 -27
- package/dist/providers/https/index.d.ts +0 -68
- package/dist/providers/logger/index.d.ts +0 -24
- package/dist/providers/microfront/index.d.ts +0 -16
- package/dist/providers/microfront/types.d.ts +0 -50
- package/dist/providers/permissions/index.d.ts +0 -12
- package/dist/providers/permissions/types.d.ts +0 -88
- package/dist/providers/permissions/utils.d.ts +0 -11
- package/dist/providers/private/index.d.ts +0 -25
- package/dist/providers/storage/crypto.d.ts +0 -1
- package/dist/providers/storage/index.d.ts +0 -4
- package/dist/providers/storage/session/index.d.ts +0 -53
- package/dist/providers/storage/types.d.ts +0 -32
- package/dist/providers/taggeo/tagEvent.d.ts +0 -12
- package/dist/stories/Button.d.ts +0 -27
- package/dist/stories/Button.stories.d.ts +0 -23
- package/dist/stories/Header.d.ts +0 -12
- package/dist/stories/Header.stories.d.ts +0 -18
- package/dist/stories/Page.d.ts +0 -2
- package/dist/stories/Page.stories.d.ts +0 -12
- package/dist/style.css +0 -1
- package/dist/theme/index.d.ts +0 -12
- package/dist/typings/index.d.ts +0 -150
- package/dist/utils/amount/index.d.ts +0 -1
- package/dist/utils/bearer/index.d.ts +0 -6
- package/dist/utils/cache/index.d.ts +0 -7
- package/dist/utils/capitalize/index.d.ts +0 -6
- package/dist/utils/download/index.d.ts +0 -6
- package/dist/utils/index.d.ts +0 -13
- package/dist/utils/mapping/index.d.ts +0 -19
- package/dist/utils/microfront/index.d.ts +0 -8
- package/dist/utils/responsive/index.d.ts +0 -5
- package/dist/utils/revert/index.d.ts +0 -5
- package/dist/utils/slots/index.d.ts +0 -14
- package/dist/utils/sort/index.d.ts +0 -6
- package/dist/utils/stack/index.d.ts +0 -5
- package/dist/utils/time/index.d.ts +0 -7
- package/dist/vite.svg +0 -1
package/dist/index.umd.js
DELETED
|
@@ -1,2129 +0,0 @@
|
|
|
1
|
-
(function(Q,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("react/jsx-runtime"),require("react"),require("styled-components"),require("react-chartjs-2"),require("chart.js"),require("react-is"),require("react-dom"),require("antd"),require("@phosphor-icons/react"),require("react-select"),require("react-datepicker"),require("react-spinners-kit"),require("rut.js")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","styled-components","react-chartjs-2","chart.js","react-is","react-dom","antd","@phosphor-icons/react","react-select","react-datepicker","react-spinners-kit","rut.js"],b):(Q=typeof globalThis<"u"?globalThis:Q||self,b(Q.nectiasw={},Q.jsxRuntime,Q.React,Q.styled,Q.ReactChartJS2,Q.Chart,Q.ReactIs,Q.ReactDOM,Q.antd,Q.PhosphorIcons,Q.ReactSelect,Q.ReactDatePicker,Q.ReactSpinnersKit,Q.RutJS))})(this,function(Q,b,T,re,Jx,u0,Ih,Ca,Mh,$h,Ps,Uu,Hh,eb){"use strict";var LY=Object.defineProperty;var NY=(Q,b,T)=>b in Q?LY(Q,b,{enumerable:!0,configurable:!0,writable:!0,value:T}):Q[b]=T;var vn=(Q,b,T)=>NY(Q,typeof b!="symbol"?b+"":b,T);function tb(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const j=tb(T);function jh(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=jh(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function xe(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=jh(e))&&(r&&(r+=" "),r+=t);return r}const Rh={child:({self:e,grow:t,basis:n,order:r,shrink:i,className:a,justifySelf:l})=>xe(e&&`self-${e}`,n&&`basis-${n}`,r&&`order-${r}`,a&&a,l&&`justify-${l}`,typeof t=="number"&&`grow-${t}`,typeof i=="number"&&`shrink-${i}`),parent:({gap:e,wrap:t,spaceX:n,spaceY:r,display:i,direction:a,className:l,alignItems:c,justifyContent:u})=>xe(i&&"flex",e&&`gap-${e}`,t&&`flex-${t}`,l&&l,n&&`space-x-${n}`,r&&`space-y-${r}`,a&&`flex-${a}`,c&&`items-${c}`,u&&`justify-${u}`)},d0=({children:e,display:t=!0,...n})=>{const r=Rh.parent({display:t,...n});return b.jsx("div",{className:r,children:e})},nb=({children:e,...t})=>{const n=Rh.child(t);return b.jsx("div",{className:n,children:e})},Wh=e=>xe((e==null?void 0:e.fullWidth)&&"w-full",(e==null?void 0:e.fullHeight)&&"h-full",(e==null?void 0:e.container)&&"container",(e==null?void 0:e.width)&&`w-${e.width}`,(e==null?void 0:e.blur)&&`blur-${e.blur}`,(e==null?void 0:e.height)&&`h-${e.height}`,(e==null?void 0:e.margin)&&`m-${e.margin}`,(e==null?void 0:e.color)&&`text-${e.color}`,(e==null?void 0:e.padding)&&`p-${e.padding}`,(e==null?void 0:e.marginY)&&`my-${e.marginY}`,(e==null?void 0:e.marginX)&&`mx-${e==null?void 0:e.marginX}`,(e==null?void 0:e.paddingX)&&`px-${e.paddingX}`,(e==null?void 0:e.paddingY)&&`py-${e.paddingY}`,(e==null?void 0:e.display)&&`${e.display}`,(e==null?void 0:e.textAlign)&&`text-${e.textAlign}`,(e==null?void 0:e.marginTop)&&`mt-${e==null?void 0:e.marginTop}`,(e==null?void 0:e.paddingTop)&&`pt-${e.paddingTop}`,(e==null?void 0:e.marginLeft)&&`ml-${e.marginLeft}`,(e==null?void 0:e.paddingLeft)&&`pl-${e.paddingLeft}`,(e==null?void 0:e.marginRight)&&`mr-${e.marginRight}`,(e==null?void 0:e.paddingRight)&&`pr-${e.paddingRight}`,(e==null?void 0:e.marginBottom)&&`mb-${e.marginBottom}`,(e==null?void 0:e.lineHeight)&&`leading-${e.lineHeight}`,(e==null?void 0:e.borderWidth)&&`border-${e.borderWidth}`,(e==null?void 0:e.paddingBottom)&&`pb-${e.paddingBottom}`,(e==null?void 0:e.borderStyle)&&`border-${e.borderStyle}`,(e==null?void 0:e.brightness)&&`brightness-${e.brightness}`,(e==null?void 0:e.top)&&`top-${e.top}`,(e==null?void 0:e.left)&&`left-${e.left}`,(e==null?void 0:e.zIndex)&&`z-${e.zIndex}`,(e==null?void 0:e.float)&&`float-${e.float}`,(e==null?void 0:e.right)&&`right-${e.right}`,(e==null?void 0:e.bottom)&&`bottom-${e.bottom}`,(e==null?void 0:e.insetX)&&`inset-x-${e.insetX}`,(e==null?void 0:e.insetY)&&`inset-y-${e.insetY}`,(e==null?void 0:e.borderBox)&&`box-${e.borderBox}`,(e==null?void 0:e.position)&&`${e.position}`,(e==null?void 0:e.overflow)&&`overflow-${e.overflow}`,(e==null?void 0:e.visibility)&&e.visibility,(e==null?void 0:e.clear)&&`clear-${e.clear}`,(e==null?void 0:e.onHover)&&rb(e.onHover),(e==null?void 0:e.maxWidth)&&`max-w-${e.maxWidth}`,(e==null?void 0:e.minWidth)&&`min-h-${e.minWidth}`,(e==null?void 0:e.textTransform)&&e.textTransform,(e==null?void 0:e.maxHeight)&&`max-h-${e.maxHeight}`,(e==null?void 0:e.minHeight)&&`min-h-${e.minHeight}`,(e==null?void 0:e.textDecoration)&&e.textDecoration,(e==null?void 0:e.textOverflow)&&`text-${e.textOverflow}`,(e==null?void 0:e.whiteSpace)&&`whitespace-${e.whiteSpace}`,(e==null?void 0:e.backgroundColor)&&`bg-${e.backgroundColor}`,(e==null?void 0:e.breakAfter)&&`break-after-${e.breakAfter}`,(e==null?void 0:e.breakBefore)&&`break-before-${e.breakBefore}`,(e==null?void 0:e.breakInside)&&`break-inside-${e.breakInside}`,(e==null?void 0:e.maxWidthScreen)&&`max-w-screen-${e.maxWidthScreen}`,(e==null?void 0:e.minWidthScreen)&&`min-w-screen-${e.minHeightScreen}`,(e==null?void 0:e.minHeightScreen)&&`min-h-screen-${e.maxHeightScreen}`,(e==null?void 0:e.maxHeightScreen)&&`max-h-screen-${e.maxHeightScreen}`,(e==null?void 0:e.ringColor)&&`ring-${e.ringColor}`,(e==null?void 0:e.ringWidth)&&`ring-${e.ringWidth}`,(e==null?void 0:e.ringOfsset)&&`ring-offset-${e.ringOfsset}`,(e==null?void 0:e.scale)&&`scale-${e.scale}`,(e==null?void 0:e.rotate)&&`rotate-${e.rotate}`,(e==null?void 0:e.select)&&`select-${e.select}`,(e==null?void 0:e.scaleY)&&`scale-y-${e.scaleY}`,(e==null?void 0:e.scaleX)&&`scale-x-${e.scaleX}`,(e==null?void 0:e.opacity)&&`opacity-${e.opacity}`,(e==null?void 0:e.wordBreak)&&`break-${e.wordBreak}`,(e==null?void 0:e.borderTop)&&"border-t",(e==null?void 0:e.borderLeft)&&"border-l",(e==null?void 0:e.borderRight)&&"border-r",(e==null?void 0:e.borderBottom)&&"border-b",(e==null?void 0:e.borderColor)&&`border-${e.borderColor}`,(e==null?void 0:e.borderRadius)&&`rounded-${e.borderRadius}`,e==null?void 0:e.className),rb=e=>Wh(e).split(" ").map(n=>`hover:${n}`).join(" "),Si=T.memo(e=>{const{blur:t,clear:n,color:r,top:i,left:a,right:l,float:c,bottom:u,scale:d,width:f,height:m,margin:h,padding:g,display:w,children:x,position:v,className:S,container:C,insetY:E,insetX:_,scaleY:D,scaleX:A,zIndex:B,maxWidth:O,maxHeight:N,borderBox:L,whiteSpace:I,wordBreak:H,ringColor:W,ringOfsset:K,ringWidth:Y,textAlign:ne,fullWidth:ue,fullHeight:se,textOverflow:ae,textTransform:Z,textDecoration:M,marginY:z,marginX:X,paddingX:U,paddingY:pe,marginTop:J,marginLeft:de,marginRight:fe,marginBottom:Se,minWidth:Oe,minHeight:We,paddingTop:Ie,paddingLeft:Ue,paddingRight:mt,paddingBottom:rt,minWidthScreen:ke,minHeightScreen:dt,maxWidthScreen:Xe,maxHeightScreen:kt,visibility:wt,borderStyle:it,borderWidth:Ye,breakAfter:St,breakBefore:jt,breakInside:ge,brightness:Ce,borderRadius:Qe,opacity:ot,onHover:ht,select:Ut,rotate:Ot,translate:ln,lineHeight:wn,borderColor:te,borderBottom:be,borderLeft:Te,borderRight:qe,borderTop:He,backgroundColor:Dt,...Vt}=e,Hn=T.useMemo(()=>Wh({blur:t,clear:n,color:r,top:i,left:a,right:l,float:c,bottom:u,scale:d,width:f,height:m,margin:h,padding:g,display:w,position:v,className:S,container:C,insetY:E,insetX:_,scaleY:D,scaleX:A,zIndex:B,maxWidth:O,maxHeight:N,borderBox:L,whiteSpace:I,wordBreak:H,ringColor:W,ringOfsset:K,ringWidth:Y,textAlign:ne,fullWidth:ue,fullHeight:se,textOverflow:ae,textTransform:Z,textDecoration:M,marginY:z,marginX:X,paddingX:U,paddingY:pe,marginTop:J,marginLeft:de,marginRight:fe,marginBottom:Se,minWidth:Oe,minHeight:We,paddingTop:Ie,paddingLeft:Ue,paddingRight:mt,paddingBottom:rt,visibility:wt,borderStyle:it,borderWidth:Ye,breakAfter:St,breakBefore:jt,breakInside:ge,borderBottom:be,borderLeft:Te,borderRight:qe,borderTop:He,onHover:ht,select:Ut,rotate:Ot,brightness:Ce,lineHeight:wn,borderRadius:Qe,borderColor:te,minWidthScreen:ke,maxWidthScreen:Xe,maxHeightScreen:kt,minHeightScreen:dt,backgroundColor:Dt,opacity:ot}),[t,n,r,i,a,l,c,u,d,f,m,h,g,w,x,v,S,C,E,_,D,A,B,O,N,L,I,H,W,K,Y,ne,ue,se,ae,Z,M,z,X,U,pe,J,de,fe,Se,Oe,We,Ie,Ue,mt,rt,wt,it,Ye,St,jt,ge,ht,Ut,Ot,ln,Ce,wn,te,Qe,be,qe,Te,He,ke,Xe,kt,dt,Dt,ot]);return e!=null&&e.as?T.createElement(e.as??"div",{children:x,className:Hn}):b.jsx("div",{...Vt,className:Hn,children:x})}),ib=({icon:e,iconSize:t=20,iconColor:n="bg-orange-500",iconTextColor:r="text-orange-500",content:i=b.jsxs(b.Fragment,{children:["Para este tipo de contrato (precontrato), el curso puede durar máximo ",b.jsx("u",{children:"60 días"})," según lo estipulado por Sence."]}),className:a="bg-orange-50 border border-orange-200 rounded-lg p-4 mb-4"})=>b.jsx(Si,{className:a,children:b.jsxs(d0,{alignItems:"center",gap:2,children:[e&&b.jsx(e,{className:`${n} ${r}`,width:t,height:t}),b.jsx("div",{children:i})]})}),ob=re.div`
|
|
2
|
-
position: relative;
|
|
3
|
-
flex: ${e=>e.width?`0 1 ${e.width}%`:"1 1 auto"};
|
|
4
|
-
background-color: ${e=>e.backgroundColor??"transparent"};
|
|
5
|
-
color: ${e=>e.color??"black"};
|
|
6
|
-
padding: ${e=>e.padding??"8px"};
|
|
7
|
-
|
|
8
|
-
/* Borde izquierdo personalizado usando un pseudo-elemento */
|
|
9
|
-
&::before {
|
|
10
|
-
content: '';
|
|
11
|
-
position: absolute;
|
|
12
|
-
left: 0;
|
|
13
|
-
top: 50%;
|
|
14
|
-
transform: translateY(-50%);
|
|
15
|
-
width: ${e=>e.borderLeft?"1px":"0"};
|
|
16
|
-
height: ${e=>e.borderHeight??"80%"};
|
|
17
|
-
background-color: ${e=>e.borderColor??"#DFDFDF"};
|
|
18
|
-
|
|
19
|
-
display: ${e=>e.borderLeft?"block":"none"};
|
|
20
|
-
}
|
|
21
|
-
`,ab=({children:e,...t})=>b.jsx(ob,{...t,children:e}),sb=({children:e,...t})=>b.jsx(lb,{...t,children:e}),lb=re.div`
|
|
22
|
-
width: 100%;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: row;
|
|
25
|
-
border: ${e=>e.border||"none"};
|
|
26
|
-
height: ${e=>e.height||"auto"};
|
|
27
|
-
padding: ${e=>e.padding||"8px"};
|
|
28
|
-
margin-bottom: ${e=>e.gapBottom||"8px"};
|
|
29
|
-
border-radius: ${e=>e.borderRadius||"10px"};
|
|
30
|
-
background-color: ${e=>e.backgroundColor||"#FFFFFF"};
|
|
31
|
-
> * {
|
|
32
|
-
color: ${e=>e.childrenColor||"inherit"};
|
|
33
|
-
}
|
|
34
|
-
`,cb={label:"text-xl font-bold text-primary"};var nt=(e=>(e.info="#939799",e.danger="#E55257",e.opaque="#DFDFDF",e.success="#9AC873",e.warning="#F1A946",e.quinary="#F5C37E",e.primary="#316772",e.secondary="#65BFB1",e.darkened="#464646",e.disabled="#F3F3F3",e))(nt||{});function f0(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}u0.Chart.register(u0.ArcElement,u0.Tooltip,u0.Legend);const ub=e=>{const t=e.toLowerCase().trim();return t?{normal:"Normales",medio:"Medios",critico:"Críticos",crítico:"Críticos",cerrado:"Cerrados"}[t]||f0(e):"Sin nivel"},db=T.memo(({flex:e,label:t,width:n,height:r,aspect:i=!0,partials:a=[],textStyle:l,fontStyle:c="bold 18pt sans-serif",className:u,innerText:d,disabled:f,content:m="Cursos",onBarClick:h,stageId:g})=>{const w=T.useRef(),x=T.useMemo(()=>f?{labels:[],datasets:[{data:[100],label:"Etapa",borderWidth:2,hoverOffset:4,borderColor:"#FFFFFF",backgroundColor:["#DFDFDF"],hoverBackgroundColor:["#DFDFDF"]}]}:{labels:a.map(E=>f0(E.level)),datasets:[{label:"Etapa",hoverOffset:4,backgroundColor:a.map(E=>E.color),hoverBackgroundColor:a.map(E=>E.color),data:a.map(E=>Number.parseFloat(E.percent))}]},[f,a]),v=T.useMemo(()=>({id:"textCenterPlugin",beforeDatasetDraw(E){var _,D,A,B;d&&c&&(E.ctx.save(),E.ctx.fillStyle=nt.primary,E.ctx.textAlign="center",E.ctx.textBaseline="middle",E.ctx.font=c,E.ctx.fillText(d,(D=(_=E==null?void 0:E.getDatasetMeta(0))==null?void 0:_.data[0])==null?void 0:D.x,(B=(A=E==null?void 0:E.getDatasetMeta(0))==null?void 0:A.data[0])==null?void 0:B.y))}}),[d,c]),S=d&&!f?[v]:[],C=T.useCallback((E,_)=>{if(!h||f||_.length===0)return;const D=_[0].index,A=a[D];if(!A)return;const B={stageId:g||0,stageLabel:t,level:A.level.toLowerCase().trim(),count:A.count};h(B)},[h,f,a,g,t]);return b.jsxs("div",{className:xe(u),children:[b.jsx("div",{className:xe(e&&"flex justify-center items-center"),children:b.jsx(Jx.Doughnut,{ref:w.current,plugins:S,options:{maintainAspectRatio:i,onClick:C,plugins:{legend:{display:!1},tooltip:{enabled:!f,callbacks:{title:function(){return[]},label:function(E){const _=a[E.dataIndex];if(!_)return"";const D=ub(_.level);return`${m} ${D}: ${_.count} (${_.percent}%)`}}}}},data:x,width:n,height:r})}),b.jsx("br",{}),b.jsx("div",{className:xe(l,f&&"opacity-50","flex justify-center items-center text-center"),children:b.jsx("h3",{className:cb.label,children:t})})]})}),fb=re.div`
|
|
35
|
-
position: fixed;
|
|
36
|
-
top: 0;
|
|
37
|
-
left: 0;
|
|
38
|
-
width: 100%;
|
|
39
|
-
height: 100%;
|
|
40
|
-
background: rgba(0, 0, 0, 0.5);
|
|
41
|
-
|
|
42
|
-
display: flex;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
align-items: center;
|
|
45
|
-
z-index: 50;
|
|
46
|
-
`,pb=re.div`
|
|
47
|
-
display: flex;
|
|
48
|
-
justify-content: center;
|
|
49
|
-
align-items: center;
|
|
50
|
-
flex-direction: column;
|
|
51
|
-
background: white;
|
|
52
|
-
padding: 20px;
|
|
53
|
-
border-radius: 25px;
|
|
54
|
-
width: ${e=>`${e.width}${e.unit??"px"}`};
|
|
55
|
-
height: ${e=>`${e.height}${e.unit??"px"}`};
|
|
56
|
-
`,hb=re.h1`
|
|
57
|
-
font-size: 1.875rem;
|
|
58
|
-
font-weight: bold;
|
|
59
|
-
line-height: 2.25rem;
|
|
60
|
-
margin-bottom: 0.5rem;
|
|
61
|
-
display: flex;
|
|
62
|
-
justify-content: center;
|
|
63
|
-
width: 70%;
|
|
64
|
-
text-align: center;
|
|
65
|
-
`,mb=re.span`
|
|
66
|
-
display: flex;
|
|
67
|
-
justify-content: center;
|
|
68
|
-
font-size: 1.25rem;
|
|
69
|
-
margin-bottom: 1.75rem;
|
|
70
|
-
width: 70%;
|
|
71
|
-
line-height: 1.375rem;
|
|
72
|
-
text-align: center;
|
|
73
|
-
`,vb=re.div`
|
|
74
|
-
display: flex;
|
|
75
|
-
width: 100%;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
`,Uh=({Icon:e,unit:t,title:n,width:r,height:i,isOpen:a,Render:l,onClose:c,children:u,description:d,defaultAction:f})=>b.jsx(b.Fragment,{children:a?b.jsx(fb,{onClick:c,children:b.jsxs(pb,{width:r,height:i,unit:t,children:[l&&l,e&&b.jsxs("div",{children:[" ",e&&b.jsx(e,{})]}),n&&b.jsx(hb,{children:n}),d&&b.jsx(mb,{children:d}),f?b.jsx(vb,{children:u}):u]})}):null});Uh.defaultProps={defaultAction:!0};const gb=re.css`
|
|
78
|
-
width: 100%;
|
|
79
|
-
`,xb=re.css`
|
|
80
|
-
transition: all 0.2s;
|
|
81
|
-
|
|
82
|
-
&:hover {
|
|
83
|
-
margin-left: 0.5rem;
|
|
84
|
-
}
|
|
85
|
-
`,bb=re.css`
|
|
86
|
-
opacity: 0.5;
|
|
87
|
-
color: white;
|
|
88
|
-
`,zh=re.button`
|
|
89
|
-
${e=>e.fullWidth&&gb}
|
|
90
|
-
|
|
91
|
-
${e=>e.visuallyDisabled&&bb}
|
|
92
|
-
|
|
93
|
-
${e=>e.tabWithHover&&xb}
|
|
94
|
-
`;let yb=class{constructor(t,n){vn(this,"base");vn(this,"props");vn(this,"variants",{xs:"h-7 py-1 px-4 font-medium",sm:" h-8 p-bsm py-1 px-4 font-medium",lg:"h-10 gap-2 py-1 px-4 font-medium",xl:"h-12 gap-2 py-1 px-4 font-medium",xxl:"h-14 gap-2 py-1 px-4 font-medium",base:"h-9 py-1 px-4 font-medium",circle:"rounded-full p-2 w-8 h-8 flex items-center justify-center"});vn(this,"fontSize",{xs:"text-xs",sm:"text-sm",lg:"text-lg",xl:"text-xl",xxl:"text-2xl",base:"text-base"});vn(this,"backgrounds",{primary:"bg-primary",danger:"bg-danger","danger-outline":"bg-white border border-[1px] border-solid border-danger text-danger hover:bg-danger hover:border-solid hover:border-white hover:text-white text-contained","primary-outline":"bg-white","darkened-outline":"bg-white","secondary-outline":"bg-white",secondary:"bg-secondary",secondarymuted:"bg-secondary",disabled:"bg-disabled",tertiary:"bg-tertiary",quaternary:"bg-quaternary",quinary:"bg-quinary",senary:"bg-senary"});vn(this,"disabled",{on:{danger:"!opacity-50 text-contained",primary:"!opacity-50 text-contained",secondary:"!opacity-50 text-contained",secondarymuted:"bg-opaque text-contained",tertiary:"!opacity-50 text-outlined",quaternary:"!opacity-50 text-outlined",quinary:"!opacity-50 text-white",senary:"!opacity-50 text-outlined"},off:{danger:"hover:bg-white hover:border-solid hover:border-danger hover:text-danger text-contained",primary:"hover:bg-white hover:border-solid hover:border-primary hover:text-primary text-contained",secondary:"hover:bg-white hover:border-solid hover:border-secondary hover:text-secondary text-contained",secondarymuted:"hover:bg-white hover:border-solid hover:border-secondary hover:text-secondary text-contained",tertiary:"text-darkened bg-app hover:bg-white hover:text-primary",quaternary:"bg-white text-secondary border border-solid border-secondary hover:bg-primary hover:text-white",quinary:"bg-quinary text-white text-contained rounded-full",senary:"text-secondary border border-solid border-secondary hover:bg-secondary hover:text-white","info-outline":"border border-[1px] border-solid border-info text-info hover:bg-info hover:border-solid hover:border-white hover:text-white text-contained","danger-outline":"border border-[1px] border-solid border-danger text-danger hover:bg-danger hover:border-solid hover:border-white hover:text-white text-contained","primary-outline":"border border-[1px] border-solid border-primary text-primray hover:bg-primary hover:border-solid hover:border-white hover:text-white text-contained","darkened-outline":"border border-[1px] border-solid border-darkened text-darkened hover:bg-darkened hover:border-solid hover:border-white hover:text-white text-contained","secondary-outline":"border border-[1px] border-solid border-secondary text-secondary hover:bg-secondary hover:border-solid hover:border-white hover:text-white text-contained"}});vn(this,"active",{on:"rounded-full bg-white text-primary",off:"text-darkened hover:bg-white hover:text-primary"});vn(this,"tailwind");this.base="rounded-full whitespace-nowrap",this.props=t,this.buildClassName=this.buildClassName.bind(this),this.getDisabledStyle=this.getDisabledStyle.bind(this),n!=null&&n.backgrounds&&(this.backgrounds=n.backgrounds),n!=null&&n.variants&&(this.variants=n.variants),this.tailwind=this.buildClassName()}getDisabledStyle(){const{variant:t,disabled:n,disabledStyle:r}=this.props;return n?typeof r=="string"?r:typeof r=="object"?Object.entries(r).map(([i,a])=>`${i}-${a}`).join(" "):this.disabled.on[t]:this.disabled.off[t]}buildClassName(){const{className:t,variant:n,activeAsTab:r,size:i,fontSize:a}=this.props,l=Object(this.props).hasOwnProperty("activeAsTab"),c=this.backgrounds[n];return l?xe(this.base,t&&t,i&&this.variants[i],a?`text-${a}`:i&&this.fontSize[i],n&&c,r?this.active.on:this.active.off):xe(this.base,t&&t,i&&this.variants[i],a?`text-${a}`:i&&this.fontSize[i],n&&c,this.getDisabledStyle())}};function Vh(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Vh(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function ai(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Vh(e))&&(r&&(r+=" "),r+=t);return r}var qh=ai,wb=ai,Cb=ai,Yh=ai,Eb=ai,_b=ai,Zh=ai,zu=ai,p0=ai,h0=ai;const Gh={wrap:xe(Cb("gap-1"),Yh("mx-1"),Zh("flex"),Eb("space-x-3"),qh("items-center"))},Un=T.memo(e=>{const{Icon:t,override:n}=e,{tailwind:r}=new yb(e,n);return e.Icon?b.jsxs(zh,{type:"button",className:r,onClick:e==null?void 0:e.onClick,disabled:e.disabled,fullWidth:e==null?void 0:e.fullWidth,tabWithHover:e==null?void 0:e.tabWithHover,children:[e.orientationIcon==="left"&&b.jsxs("div",{className:Gh.wrap,children:[t," ",e.children]}),e.orientationIcon==="right"&&b.jsxs("div",{className:Gh.wrap,children:[e.children," ",t]})]}):b.jsx(zh,{type:"button",className:r,onClick:e==null?void 0:e.onClick,disabled:e.disabled,fullWidth:e==null?void 0:e.fullWidth,tabWithHover:e==null?void 0:e.tabWithHover,children:e.children})});Un.defaultProps={size:"sm",variant:"primary",orientationIcon:"left"};function Sb(e){if(Array.isArray(e))return e}function Ab(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,l,c=[],u=!0,d=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(u=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);u=!0);}catch(f){d=!0,i=f}finally{try{if(!u&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return c}}function Vu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Kh(e,t){if(e){if(typeof e=="string")return Vu(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vu(e,t):void 0}}function kb(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
95
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function m0(e,t){return Sb(e)||Ab(e,t)||Kh(e,t)||kb()}function Ft(e){"@babel/helpers - typeof";return Ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ft(e)}function wr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t){for(var r=[],i=0;i<t.length;i++){var a=t[i];if(a){var l=Ft(a);if(l==="string"||l==="number")r.push(a);else if(l==="object"){var c=Array.isArray(a)?a:Object.entries(a).map(function(u){var d=m0(u,2),f=d[0],m=d[1];return m?f:null});r=c.length?r.concat(c.filter(function(u){return!!u})):r}}}return r.join(" ").trim()}}function Db(e){if(Array.isArray(e))return Vu(e)}function Ob(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Tb(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
96
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v0(e){return Db(e)||Ob(e)||Kh(e)||Tb()}function qu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fb(e,t){if(Ft(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ft(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Xh(e){var t=Fb(e,"string");return Ft(t)=="symbol"?t:t+""}function Bb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Xh(r.key),r)}}function Yu(e,t,n){return n&&Bb(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function g0(e,t,n){return(t=Xh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Pb(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(d){throw d},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
97
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var d=n.next();return l=d.done,d},e:function(d){c=!0,a=d},f:function(){try{l||n.return==null||n.return()}finally{if(c)throw a}}}}function Pb(e,t){if(e){if(typeof e=="string")return Qh(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qh(e,t):void 0}}function Qh(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Re=function(){function e(){qu(this,e)}return Yu(e,null,[{key:"innerWidth",value:function(n){if(n){var r=n.offsetWidth,i=getComputedStyle(n);return r=r+(parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)),r}return 0}},{key:"width",value:function(n){if(n){var r=n.offsetWidth,i=getComputedStyle(n);return r=r-(parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)),r}return 0}},{key:"getBrowserLanguage",value:function(){return navigator.userLanguage||navigator.languages&&navigator.languages.length&&navigator.languages[0]||navigator.language||navigator.browserLanguage||navigator.systemLanguage||"en"}},{key:"getWindowScrollTop",value:function(){var n=document.documentElement;return(window.pageYOffset||n.scrollTop)-(n.clientTop||0)}},{key:"getWindowScrollLeft",value:function(){var n=document.documentElement;return(window.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}},{key:"getOuterWidth",value:function(n,r){if(n){var i=n.getBoundingClientRect().width||n.offsetWidth;if(r){var a=getComputedStyle(n);i=i+(parseFloat(a.marginLeft)+parseFloat(a.marginRight))}return i}return 0}},{key:"getOuterHeight",value:function(n,r){if(n){var i=n.getBoundingClientRect().height||n.offsetHeight;if(r){var a=getComputedStyle(n);i=i+(parseFloat(a.marginTop)+parseFloat(a.marginBottom))}return i}return 0}},{key:"getClientHeight",value:function(n,r){if(n){var i=n.clientHeight;if(r){var a=getComputedStyle(n);i=i+(parseFloat(a.marginTop)+parseFloat(a.marginBottom))}return i}return 0}},{key:"getClientWidth",value:function(n,r){if(n){var i=n.clientWidth;if(r){var a=getComputedStyle(n);i=i+(parseFloat(a.marginLeft)+parseFloat(a.marginRight))}return i}return 0}},{key:"getViewport",value:function(){var n=window,r=document,i=r.documentElement,a=r.getElementsByTagName("body")[0],l=n.innerWidth||i.clientWidth||a.clientWidth,c=n.innerHeight||i.clientHeight||a.clientHeight;return{width:l,height:c}}},{key:"getOffset",value:function(n){if(n){var r=n.getBoundingClientRect();return{top:r.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:r.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}}},{key:"index",value:function(n){if(n)for(var r=n.parentNode.childNodes,i=0,a=0;a<r.length;a++){if(r[a]===n)return i;r[a].nodeType===1&&i++}return-1}},{key:"addMultipleClasses",value:function(n,r){if(n&&r)if(n.classList)for(var i=r.split(" "),a=0;a<i.length;a++)n.classList.add(i[a]);else for(var l=r.split(" "),c=0;c<l.length;c++)n.className=n.className+(" "+l[c])}},{key:"removeMultipleClasses",value:function(n,r){if(n&&r)if(n.classList)for(var i=r.split(" "),a=0;a<i.length;a++)n.classList.remove(i[a]);else for(var l=r.split(" "),c=0;c<l.length;c++)n.className=n.className.replace(new RegExp("(^|\\b)"+l[c].split(" ").join("|")+"(\\b|$)","gi")," ")}},{key:"addClass",value:function(n,r){n&&r&&(n.classList?n.classList.add(r):n.className=n.className+(" "+r))}},{key:"removeClass",value:function(n,r){n&&r&&(n.classList?n.classList.remove(r):n.className=n.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," "))}},{key:"hasClass",value:function(n,r){return n?n.classList?n.classList.contains(r):new RegExp("(^| )"+r+"( |$)","gi").test(n.className):!1}},{key:"addStyles",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n&&Object.entries(r).forEach(function(i){var a=m0(i,2),l=a[0],c=a[1];return n.style[l]=c})}},{key:"find",value:function(n,r){return n?Array.from(n.querySelectorAll(r)):[]}},{key:"findSingle",value:function(n,r){return n?n.querySelector(r):null}},{key:"setAttributes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n){var a=function(c,u){var d,f,m=n!=null&&(d=n.$attrs)!==null&&d!==void 0&&d[c]?[n==null||(f=n.$attrs)===null||f===void 0?void 0:f[c]]:[];return[u].flat().reduce(function(h,g){if(g!=null){var w=Ft(g);if(w==="string"||w==="number")h.push(g);else if(w==="object"){var x=Array.isArray(g)?a(c,g):Object.entries(g).map(function(v){var S=m0(v,2),C=S[0],E=S[1];return c==="style"&&(E||E===0)?"".concat(C.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),":").concat(E):E?C:void 0});h=x.length?h.concat(x.filter(function(v){return!!v})):h}}return h},m)};Object.entries(i).forEach(function(l){var c=m0(l,2),u=c[0],d=c[1];if(d!=null){var f=u.match(/^on(.+)/);f?n.addEventListener(f[1].toLowerCase(),d):u==="p-bind"?r.setAttributes(n,d):(d=u==="class"?v0(new Set(a("class",d))).join(" ").trim():u==="style"?a("style",d).join(";").trim():d,(n.$attrs=n.$attrs||{})&&(n.$attrs[u]=d),n.setAttribute(u,d))}})}}},{key:"getAttribute",value:function(n,r){if(n){var i=n.getAttribute(r);return isNaN(i)?i==="true"||i==="false"?i==="true":i:+i}}},{key:"isAttributeEquals",value:function(n,r,i){return n?this.getAttribute(n,r)===i:!1}},{key:"isAttributeNotEquals",value:function(n,r,i){return!this.isAttributeEquals(n,r,i)}},{key:"getHeight",value:function(n){if(n){var r=n.offsetHeight,i=getComputedStyle(n);return r=r-(parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth)),r}return 0}},{key:"getWidth",value:function(n){if(n){var r=n.offsetWidth,i=getComputedStyle(n);return r=r-(parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)+parseFloat(i.borderLeftWidth)+parseFloat(i.borderRightWidth)),r}return 0}},{key:"alignOverlay",value:function(n,r,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;n&&r&&(i==="self"?this.relativePosition(n,r):(a&&(n.style.minWidth=e.getOuterWidth(r)+"px"),this.absolutePosition(n,r)))}},{key:"absolutePosition",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"left";if(n&&r){var a=n.offsetParent?{width:n.offsetWidth,height:n.offsetHeight}:this.getHiddenElementDimensions(n),l=a.height,c=a.width,u=r.offsetHeight,d=r.offsetWidth,f=r.getBoundingClientRect(),m=this.getWindowScrollTop(),h=this.getWindowScrollLeft(),g=this.getViewport(),w,x;f.top+u+l>g.height?(w=f.top+m-l,w<0&&(w=m),n.style.transformOrigin="bottom"):(w=u+f.top+m,n.style.transformOrigin="top");var v=f.left;i==="left"?v+c>g.width?x=Math.max(0,v+h+d-c):x=v+h:v+d-c<0?x=h:x=v+d-c+h,n.style.top=w+"px",n.style.left=x+"px"}}},{key:"relativePosition",value:function(n,r){if(n&&r){var i=n.offsetParent?{width:n.offsetWidth,height:n.offsetHeight}:this.getHiddenElementDimensions(n),a=r.offsetHeight,l=r.getBoundingClientRect(),c=this.getViewport(),u,d;l.top+a+i.height>c.height?(u=-1*i.height,l.top+u<0&&(u=-1*l.top),n.style.transformOrigin="bottom"):(u=a,n.style.transformOrigin="top"),i.width>c.width?d=l.left*-1:l.left+i.width>c.width?d=(l.left+i.width-c.width)*-1:d=0,n.style.top=u+"px",n.style.left=d+"px"}}},{key:"flipfitCollision",value:function(n,r){var i=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"left top",l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"left bottom",c=arguments.length>4?arguments[4]:void 0;if(n&&r){var u=r.getBoundingClientRect(),d=this.getViewport(),f=a.split(" "),m=l.split(" "),h=function(S,C){return C?+S.substring(S.search(/(\+|-)/g))||0:S.substring(0,S.search(/(\+|-)/g))||S},g={my:{x:h(f[0]),y:h(f[1]||f[0]),offsetX:h(f[0],!0),offsetY:h(f[1]||f[0],!0)},at:{x:h(m[0]),y:h(m[1]||m[0]),offsetX:h(m[0],!0),offsetY:h(m[1]||m[0],!0)}},w={left:function(){var S=g.my.offsetX+g.at.offsetX;return S+u.left+(g.my.x==="left"?0:-1*(g.my.x==="center"?i.getOuterWidth(n)/2:i.getOuterWidth(n)))},top:function(){var S=g.my.offsetY+g.at.offsetY;return S+u.top+(g.my.y==="top"?0:-1*(g.my.y==="center"?i.getOuterHeight(n)/2:i.getOuterHeight(n)))}},x={count:{x:0,y:0},left:function(){var S=w.left(),C=e.getWindowScrollLeft();n.style.left=S+C+"px",this.count.x===2?(n.style.left=C+"px",this.count.x=0):S<0&&(this.count.x++,g.my.x="left",g.at.x="right",g.my.offsetX*=-1,g.at.offsetX*=-1,this.right())},right:function(){var S=w.left()+e.getOuterWidth(r),C=e.getWindowScrollLeft();n.style.left=S+C+"px",this.count.x===2?(n.style.left=d.width-e.getOuterWidth(n)+C+"px",this.count.x=0):S+e.getOuterWidth(n)>d.width&&(this.count.x++,g.my.x="right",g.at.x="left",g.my.offsetX*=-1,g.at.offsetX*=-1,this.left())},top:function(){var S=w.top(),C=e.getWindowScrollTop();n.style.top=S+C+"px",this.count.y===2?(n.style.left=C+"px",this.count.y=0):S<0&&(this.count.y++,g.my.y="top",g.at.y="bottom",g.my.offsetY*=-1,g.at.offsetY*=-1,this.bottom())},bottom:function(){var S=w.top()+e.getOuterHeight(r),C=e.getWindowScrollTop();n.style.top=S+C+"px",this.count.y===2?(n.style.left=d.height-e.getOuterHeight(n)+C+"px",this.count.y=0):S+e.getOuterHeight(r)>d.height&&(this.count.y++,g.my.y="bottom",g.at.y="top",g.my.offsetY*=-1,g.at.offsetY*=-1,this.top())},center:function(S){if(S==="y"){var C=w.top()+e.getOuterHeight(r)/2;n.style.top=C+e.getWindowScrollTop()+"px",C<0?this.bottom():C+e.getOuterHeight(r)>d.height&&this.top()}else{var E=w.left()+e.getOuterWidth(r)/2;n.style.left=E+e.getWindowScrollLeft()+"px",E<0?this.left():E+e.getOuterWidth(n)>d.width&&this.right()}}};x[g.at.x]("x"),x[g.at.y]("y"),this.isFunction(c)&&c(g)}}},{key:"findCollisionPosition",value:function(n){if(n){var r=n==="top"||n==="bottom",i=n==="left"?"right":"left",a=n==="top"?"bottom":"top";return r?{axis:"y",my:"center ".concat(a),at:"center ".concat(n)}:{axis:"x",my:"".concat(i," center"),at:"".concat(n," center")}}}},{key:"getParents",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return n.parentNode===null?r:this.getParents(n.parentNode,r.concat([n.parentNode]))}},{key:"getScrollableParents",value:function(n){var r=this,i=[];if(n){var a=this.getParents(n),l=/(auto|scroll)/,c=function(_){var D=_?getComputedStyle(_):null;return D&&(l.test(D.getPropertyValue("overflow"))||l.test(D.getPropertyValue("overflow-x"))||l.test(D.getPropertyValue("overflow-y")))},u=function(_){i.push(_.nodeName==="BODY"||_.nodeName==="HTML"||r.isDocument(_)?window:_)},d=Zu(a),f;try{for(d.s();!(f=d.n()).done;){var m,h=f.value,g=h.nodeType===1&&((m=h.dataset)===null||m===void 0?void 0:m.scrollselectors);if(g){var w=g.split(","),x=Zu(w),v;try{for(x.s();!(v=x.n()).done;){var S=v.value,C=this.findSingle(h,S);C&&c(C)&&u(C)}}catch(E){x.e(E)}finally{x.f()}}h.nodeType===1&&c(h)&&u(h)}}catch(E){d.e(E)}finally{d.f()}}return i}},{key:"getHiddenElementOuterHeight",value:function(n){if(n){n.style.visibility="hidden",n.style.display="block";var r=n.offsetHeight;return n.style.display="none",n.style.visibility="visible",r}return 0}},{key:"getHiddenElementOuterWidth",value:function(n){if(n){n.style.visibility="hidden",n.style.display="block";var r=n.offsetWidth;return n.style.display="none",n.style.visibility="visible",r}return 0}},{key:"getHiddenElementDimensions",value:function(n){var r={};return n&&(n.style.visibility="hidden",n.style.display="block",r.width=n.offsetWidth,r.height=n.offsetHeight,n.style.display="none",n.style.visibility="visible"),r}},{key:"fadeIn",value:function(n,r){if(n){n.style.opacity=0;var i=+new Date,a=0,l=function(){a=+n.style.opacity+(new Date().getTime()-i)/r,n.style.opacity=a,i=+new Date,+a<1&&(window.requestAnimationFrame&&requestAnimationFrame(l)||setTimeout(l,16))};l()}}},{key:"fadeOut",value:function(n,r){if(n)var i=1,a=50,l=a/r,c=setInterval(function(){i=i-l,i<=0&&(i=0,clearInterval(c)),n.style.opacity=i},a)}},{key:"getUserAgent",value:function(){return navigator.userAgent}},{key:"isIOS",value:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}},{key:"isAndroid",value:function(){return/(android)/i.test(navigator.userAgent)}},{key:"isChrome",value:function(){return/(chrome)/i.test(navigator.userAgent)}},{key:"isClient",value:function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}},{key:"isFunction",value:function(n){return!!(n&&n.constructor&&n.call&&n.apply)}},{key:"appendChild",value:function(n,r){if(this.isElement(r))r.appendChild(n);else if(r.el&&r.el.nativeElement)r.el.nativeElement.appendChild(n);else throw new Error("Cannot append "+r+" to "+n)}},{key:"removeChild",value:function(n,r){if(this.isElement(r))r.removeChild(n);else if(r.el&&r.el.nativeElement)r.el.nativeElement.removeChild(n);else throw new Error("Cannot remove "+n+" from "+r)}},{key:"isElement",value:function(n){return(typeof HTMLElement>"u"?"undefined":Ft(HTMLElement))==="object"?n instanceof HTMLElement:n&&Ft(n)==="object"&&n!==null&&n.nodeType===1&&typeof n.nodeName=="string"}},{key:"isDocument",value:function(n){return(typeof Document>"u"?"undefined":Ft(Document))==="object"?n instanceof Document:n&&Ft(n)==="object"&&n!==null&&n.nodeType===9}},{key:"scrollInView",value:function(n,r){var i=getComputedStyle(n).getPropertyValue("border-top-width"),a=i?parseFloat(i):0,l=getComputedStyle(n).getPropertyValue("padding-top"),c=l?parseFloat(l):0,u=n.getBoundingClientRect(),d=r.getBoundingClientRect(),f=d.top+document.body.scrollTop-(u.top+document.body.scrollTop)-a-c,m=n.scrollTop,h=n.clientHeight,g=this.getOuterHeight(r);f<0?n.scrollTop=m+f:f+g>h&&(n.scrollTop=m+f-h+g)}},{key:"clearSelection",value:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}},{key:"calculateScrollbarWidth",value:function(n){if(n){var r=getComputedStyle(n);return n.offsetWidth-n.clientWidth-parseFloat(r.borderLeftWidth)-parseFloat(r.borderRightWidth)}if(this.calculatedScrollbarWidth!=null)return this.calculatedScrollbarWidth;var i=document.createElement("div");i.className="p-scrollbar-measure",document.body.appendChild(i);var a=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),this.calculatedScrollbarWidth=a,a}},{key:"calculateBodyScrollbarWidth",value:function(){return window.innerWidth-document.documentElement.offsetWidth}},{key:"getBrowser",value:function(){if(!this.browser){var n=this.resolveUserAgent();this.browser={},n.browser&&(this.browser[n.browser]=!0,this.browser.version=n.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}},{key:"resolveUserAgent",value:function(){var n=navigator.userAgent.toLowerCase(),r=/(chrome)[ ]([\w.]+)/.exec(n)||/(webkit)[ ]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:r[1]||"",version:r[2]||"0"}}},{key:"blockBodyScroll",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"p-overflow-hidden",r=!!document.body.style.getPropertyValue("--scrollbar-width");!r&&document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,n)}},{key:"unblockBodyScroll",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"p-overflow-hidden";document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,n)}},{key:"isVisible",value:function(n){return n&&(n.clientHeight!==0||n.getClientRects().length!==0||getComputedStyle(n).display!=="none")}},{key:"isExist",value:function(n){return!!(n!==null&&typeof n<"u"&&n.nodeName&&n.parentNode)}},{key:"getFocusableElements",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=e.find(n,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(r,`,
|
|
98
|
-
[href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`,
|
|
99
|
-
input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`,
|
|
100
|
-
select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`,
|
|
101
|
-
textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`,
|
|
102
|
-
[tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r,`,
|
|
103
|
-
[contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`).concat(r)),a=[],l=Zu(i),c;try{for(l.s();!(c=l.n()).done;){var u=c.value;getComputedStyle(u).display!=="none"&&getComputedStyle(u).visibility!=="hidden"&&a.push(u)}}catch(d){l.e(d)}finally{l.f()}return a}},{key:"getFirstFocusableElement",value:function(n,r){var i=e.getFocusableElements(n,r);return i.length>0?i[0]:null}},{key:"getLastFocusableElement",value:function(n,r){var i=e.getFocusableElements(n,r);return i.length>0?i[i.length-1]:null}},{key:"focus",value:function(n,r){var i=r===void 0?!0:!r;n&&document.activeElement!==n&&n.focus({preventScroll:i})}},{key:"focusFirstElement",value:function(n,r){if(n){var i=e.getFirstFocusableElement(n);return i&&e.focus(i,r),i}}},{key:"getCursorOffset",value:function(n,r,i,a){if(n){var l=getComputedStyle(n),c=document.createElement("div");c.style.position="absolute",c.style.top="0px",c.style.left="0px",c.style.visibility="hidden",c.style.pointerEvents="none",c.style.overflow=l.overflow,c.style.width=l.width,c.style.height=l.height,c.style.padding=l.padding,c.style.border=l.border,c.style.overflowWrap=l.overflowWrap,c.style.whiteSpace=l.whiteSpace,c.style.lineHeight=l.lineHeight,c.innerHTML=r.replace(/\r\n|\r|\n/g,"<br />");var u=document.createElement("span");u.textContent=a,c.appendChild(u);var d=document.createTextNode(i);c.appendChild(d),document.body.appendChild(c);var f=u.offsetLeft,m=u.offsetTop,h=u.clientHeight;return document.body.removeChild(c),{left:Math.abs(f-n.scrollLeft),top:Math.abs(m-n.scrollTop)+h}}return{top:"auto",left:"auto"}}},{key:"invokeElementMethod",value:function(n,r,i){n[r].apply(n,i)}},{key:"isClickable",value:function(n){var r=n.nodeName,i=n.parentElement&&n.parentElement.nodeName;return r==="INPUT"||r==="TEXTAREA"||r==="BUTTON"||r==="A"||i==="INPUT"||i==="TEXTAREA"||i==="BUTTON"||i==="A"||this.hasClass(n,"p-button")||this.hasClass(n.parentElement,"p-button")||this.hasClass(n.parentElement,"p-checkbox")||this.hasClass(n.parentElement,"p-radiobutton")}},{key:"applyStyle",value:function(n,r){if(typeof r=="string")n.style.cssText=r;else for(var i in r)n.style[i]=r[i]}},{key:"exportCSV",value:function(n,r){var i=new Blob([n],{type:"application/csv;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(i,r+".csv");else{var a=e.saveAs({name:r+".csv",src:URL.createObjectURL(i)});a||(n="data:text/csv;charset=utf-8,"+n,window.open(encodeURI(n)))}}},{key:"saveAs",value:function(n){if(n){var r=document.createElement("a");if(r.download!==void 0){var i=n.name,a=n.src;return r.setAttribute("href",a),r.setAttribute("download",i),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),!0}}return!1}},{key:"createInlineStyle",value:function(n,r){var i=document.createElement("style");return e.addNonce(i,n),r||(r=document.head),r.appendChild(i),i}},{key:"removeInlineStyle",value:function(n){if(this.isExist(n)){try{n.parentNode.removeChild(n)}catch{}n=null}return n}},{key:"addNonce",value:function(n,r){try{r||(r=process.env.REACT_APP_CSS_NONCE)}catch{}r&&n.setAttribute("nonce",r)}},{key:"getTargetElement",value:function(n){if(!n)return null;if(n==="document")return document;if(n==="window")return window;if(Ft(n)==="object"&&n.hasOwnProperty("current"))return this.isExist(n.current)?n.current:null;var r=function(l){return!!(l&&l.constructor&&l.call&&l.apply)},i=r(n)?n():n;return this.isDocument(i)||this.isExist(i)?i:null}},{key:"getAttributeNames",value:function(n){var r,i,a;for(i=[],a=n.attributes,r=0;r<a.length;++r)i.push(a[r].nodeName);return i.sort(),i}},{key:"isEqualElement",value:function(n,r){var i,a,l,c,u;if(i=e.getAttributeNames(n),a=e.getAttributeNames(r),i.join(",")!==a.join(","))return!1;for(var d=0;d<i.length;++d)if(l=i[d],l==="style")for(var f=n.style,m=r.style,h=/^\d+$/,g=0,w=Object.keys(f);g<w.length;g++){var x=w[g];if(!h.test(x)&&f[x]!==m[x])return!1}else if(n.getAttribute(l)!==r.getAttribute(l))return!1;for(c=n.firstChild,u=r.firstChild;c&&u;c=c.nextSibling,u=u.nextSibling){if(c.nodeType!==u.nodeType)return!1;if(c.nodeType===1){if(!e.isEqualElement(c,u))return!1}else if(c.nodeValue!==u.nodeValue)return!1}return!(c||u)}},{key:"hasCSSAnimation",value:function(n){if(n){var r=getComputedStyle(n),i=parseFloat(r.getPropertyValue("animation-duration")||"0");return i>0}return!1}},{key:"hasCSSTransition",value:function(n){if(n){var r=getComputedStyle(n),i=parseFloat(r.getPropertyValue("transition-duration")||"0");return i>0}return!1}}])}();g0(Re,"DATA_PROPS",["data-"]),g0(Re,"ARIA_PROPS",["aria","focus-target"]);function Gu(){return Gu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gu.apply(null,arguments)}function Jh(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Lb(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(d){throw d},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
104
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var d=n.next();return l=d.done,d},e:function(d){c=!0,a=d},f:function(){try{l||n.return==null||n.return()}finally{if(c)throw a}}}}function Lb(e,t){if(e){if(typeof e=="string")return e3(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e3(e,t):void 0}}function e3(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Ge=function(){function e(){qu(this,e)}return Yu(e,null,[{key:"equals",value:function(n,r,i){return i&&n&&Ft(n)==="object"&&r&&Ft(r)==="object"?this.deepEquals(this.resolveFieldData(n,i),this.resolveFieldData(r,i)):this.deepEquals(n,r)}},{key:"deepEquals",value:function(n,r){if(n===r)return!0;if(n&&r&&Ft(n)==="object"&&Ft(r)==="object"){var i=Array.isArray(n),a=Array.isArray(r),l,c,u;if(i&&a){if(c=n.length,c!==r.length)return!1;for(l=c;l--!==0;)if(!this.deepEquals(n[l],r[l]))return!1;return!0}if(i!==a)return!1;var d=n instanceof Date,f=r instanceof Date;if(d!==f)return!1;if(d&&f)return n.getTime()===r.getTime();var m=n instanceof RegExp,h=r instanceof RegExp;if(m!==h)return!1;if(m&&h)return n.toString()===r.toString();var g=Object.keys(n);if(c=g.length,c!==Object.keys(r).length)return!1;for(l=c;l--!==0;)if(!Object.prototype.hasOwnProperty.call(r,g[l]))return!1;for(l=c;l--!==0;)if(u=g[l],!this.deepEquals(n[u],r[u]))return!1;return!0}return n!==n&&r!==r}},{key:"resolveFieldData",value:function(n,r){if(!n||!r)return null;try{var i=n[r];if(this.isNotEmpty(i))return i}catch{}if(Object.keys(n).length){if(this.isFunction(r))return r(n);if(this.isNotEmpty(n[r]))return n[r];if(r.indexOf(".")===-1)return n[r];for(var a=r.split("."),l=n,c=0,u=a.length;c<u;++c){if(l==null)return null;l=l[a[c]]}return l}return null}},{key:"findDiffKeys",value:function(n,r){return!n||!r?{}:Object.keys(n).filter(function(i){return!r.hasOwnProperty(i)}).reduce(function(i,a){return i[a]=n[a],i},{})}},{key:"reduceKeys",value:function(n,r){var i={};return!n||!r||r.length===0||Object.keys(n).filter(function(a){return r.some(function(l){return a.startsWith(l)})}).forEach(function(a){i[a]=n[a],delete n[a]}),i}},{key:"reorderArray",value:function(n,r,i){n&&r!==i&&(i>=n.length&&(i=i%n.length,r=r%n.length),n.splice(i,0,n.splice(r,1)[0]))}},{key:"findIndexInList",value:function(n,r,i){var a=this;return r?i?r.findIndex(function(l){return a.equals(l,n,i)}):r.findIndex(function(l){return l===n}):-1}},{key:"getJSXElement",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return this.isFunction(n)?n.apply(void 0,i):n}},{key:"getItemValue",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return this.isFunction(n)?n.apply(void 0,i):n}},{key:"getProp",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n?n[r]:void 0;return a===void 0?i[r]:a}},{key:"getPropCaseInsensitive",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=this.toFlatCase(r);for(var l in n)if(n.hasOwnProperty(l)&&this.toFlatCase(l)===a)return n[l];for(var c in i)if(i.hasOwnProperty(c)&&this.toFlatCase(c)===a)return i[c]}},{key:"getMergedProps",value:function(n,r){return Object.assign({},r,n)}},{key:"getDiffProps",value:function(n,r){return this.findDiffKeys(n,r)}},{key:"getPropValue",value:function(n){if(!this.isFunction(n))return n;for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];if(i.length===1){var l=i[0];return n(Array.isArray(l)?l[0]:l)}return n.apply(void 0,i)}},{key:"getComponentProp",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.isNotEmpty(n)?this.getProp(n.props,r,i):void 0}},{key:"getComponentProps",value:function(n,r){return this.isNotEmpty(n)?this.getMergedProps(n.props,r):void 0}},{key:"getComponentDiffProps",value:function(n,r){return this.isNotEmpty(n)?this.getDiffProps(n.props,r):void 0}},{key:"isValidChild",value:function(n,r,i){if(n){var a,l=this.getComponentProp(n,"__TYPE")||(n.type?n.type.displayName:void 0);!l&&n!==null&&n!==void 0&&(a=n.type)!==null&&a!==void 0&&(a=a._payload)!==null&&a!==void 0&&a.value&&(l=n.type._payload.value.find(function(d){return d===r}));var c=l===r;try{var u}catch{}return c}return!1}},{key:"getRefElement",value:function(n){return n?Ft(n)==="object"&&n.hasOwnProperty("current")?n.current:n:null}},{key:"combinedRefs",value:function(n,r){n&&r&&(typeof r=="function"?r(n.current):r.current=n.current)}},{key:"removeAccents",value:function(n){return n&&n.search(/[\xC0-\xFF]/g)>-1&&(n=n.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),n}},{key:"toFlatCase",value:function(n){return this.isNotEmpty(n)&&this.isString(n)?n.replace(/(-|_)/g,"").toLowerCase():n}},{key:"toCapitalCase",value:function(n){return this.isNotEmpty(n)&&this.isString(n)?n[0].toUpperCase()+n.slice(1):n}},{key:"trim",value:function(n){return this.isNotEmpty(n)&&this.isString(n)?n.trim():n}},{key:"isEmpty",value:function(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!(n instanceof Date)&&Ft(n)==="object"&&Object.keys(n).length===0}},{key:"isNotEmpty",value:function(n){return!this.isEmpty(n)}},{key:"isFunction",value:function(n){return!!(n&&n.constructor&&n.call&&n.apply)}},{key:"isObject",value:function(n){return n!==null&&n instanceof Object&&n.constructor===Object}},{key:"isDate",value:function(n){return n!==null&&n instanceof Date&&n.constructor===Date}},{key:"isArray",value:function(n){return n!==null&&Array.isArray(n)}},{key:"isString",value:function(n){return n!==null&&typeof n=="string"}},{key:"isPrintableCharacter",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return this.isNotEmpty(n)&&n.length===1&&n.match(/\S| /)}},{key:"isLetter",value:function(n){return/^[a-zA-Z\u00C0-\u017F]$/.test(n)}},{key:"isScalar",value:function(n){return n!=null&&(typeof n=="string"||typeof n=="number"||typeof n=="bigint"||typeof n=="boolean")}},{key:"findLast",value:function(n,r){var i;if(this.isNotEmpty(n))try{i=n.findLast(r)}catch{i=v0(n).reverse().find(r)}return i}},{key:"findLastIndex",value:function(n,r){var i=-1;if(this.isNotEmpty(n))try{i=n.findLastIndex(r)}catch{i=n.lastIndexOf(v0(n).reverse().find(r))}return i}},{key:"sort",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,a=arguments.length>3?arguments[3]:void 0,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,c=this.compare(n,r,a,i),u=i;return(this.isEmpty(n)||this.isEmpty(r))&&(u=l===1?i:l),u*c}},{key:"compare",value:function(n,r,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,l=-1,c=this.isEmpty(n),u=this.isEmpty(r);return c&&u?l=0:c?l=a:u?l=-a:typeof n=="string"&&typeof r=="string"?l=i(n,r):l=n<r?-1:n>r?1:0,l}},{key:"localeComparator",value:function(n){return new Intl.Collator(n,{numeric:!0}).compare}},{key:"findChildrenByKey",value:function(n,r){var i=Jh(n),a;try{for(i.s();!(a=i.n()).done;){var l=a.value;if(l.key===r)return l.children||[];if(l.children){var c=this.findChildrenByKey(l.children,r);if(c.length>0)return c}}}catch(u){i.e(u)}finally{i.f()}return[]}},{key:"mutateFieldData",value:function(n,r,i){if(!(Ft(n)!=="object"||typeof r!="string"))for(var a=r.split("."),l=n,c=0,u=a.length;c<u;++c){if(c+1-u===0){l[a[c]]=i;break}l[a[c]]||(l[a[c]]={}),l=l[a[c]]}}},{key:"getNestedValue",value:function(n,r){return r.split(".").reduce(function(i,a){return i&&i[a]!==void 0?i[a]:void 0},n)}},{key:"absoluteCompare",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(!n||!r||a>i)return!0;if(Ft(n)!==Ft(r))return!1;var l=Object.keys(n),c=Object.keys(r);if(l.length!==c.length)return!1;for(var u=0,d=l;u<d.length;u++){var f=d[u],m=n[f],h=r[f],g=e.isObject(m)&&e.isObject(h),w=e.isFunction(m)&&e.isFunction(h);if((g||w)&&!this.absoluteCompare(m,h,i,a+1)||!g&&m!==h)return!1}return!0}},{key:"selectiveCompare",value:function(n,r,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(n===r)return!0;if(!n||!r||Ft(n)!=="object"||Ft(r)!=="object")return!1;if(!i)return this.absoluteCompare(n,r,1);var l=Jh(i),c;try{for(l.s();!(c=l.n()).done;){var u=c.value,d=this.getNestedValue(n,u),f=this.getNestedValue(r,u),m=Ft(d)==="object"&&d!==null&&Ft(f)==="object"&&f!==null;if(m&&!this.absoluteCompare(d,f,a)||!m&&d!==f)return!1}}catch(h){l.e(h)}finally{l.f()}return!0}}])}(),t3=0;function Ku(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pr_id_";return t3++,"".concat(e).concat(t3)}function n3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Nb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?n3(Object(n),!0).forEach(function(r){g0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):n3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var r3=function(){function e(){qu(this,e)}return Yu(e,null,[{key:"getJSXIcon",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=null;if(n!==null){var l=Ft(n),c=wr(r.className,l==="string"&&n);if(a=j.createElement("span",Gu({},r,{className:c,key:Ku("icon")})),l!=="string"){var u=Nb({iconProps:r,element:a},i);return Ge.getJSXElement(n,u)}}return a}}])}();function i3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function o3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?i3(Object(n),!0).forEach(function(r){g0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function x0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e){var n=function(l){return typeof l=="function"},r=t.classNameMergeFunction,i=n(r);return e.reduce(function(a,l){if(!l)return a;var c=function(){var f=l[u];if(u==="style")a.style=o3(o3({},a.style),l.style);else if(u==="className"){var m="";i?m=r(a.className,l.className):m=[a.className,l.className].join(" ").trim(),a.className=m||void 0}else if(n(f)){var h=a[u];a[u]=h?function(){h.apply(void 0,arguments),f.apply(void 0,arguments)}:f}else a[u]=f};for(var u in l)c();return a},{})}}function Ib(){var e=[],t=function(c,u){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:999,f=i(c,u,d),m=f.value+(f.key===c?0:d)+1;return e.push({key:c,value:m}),m},n=function(c){e=e.filter(function(u){return u.value!==c})},r=function(c,u){return i(c,u).value},i=function(c,u){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return v0(e).reverse().find(function(f){return u?!0:f.key===c})||{key:c,value:d}},a=function(c){return c&&parseInt(c.style.zIndex,10)||0};return{get:a,set:function(c,u,d,f){u&&(u.style.zIndex=String(t(c,d,f)))},clear:function(c){c&&(n(b0.get(c)),c.style.zIndex="")},getCurrent:function(c,u){return r(c,u)}}}var b0=Ib(),_n=Object.freeze({STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",NOT_IN:"notIn",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter",CUSTOM:"custom"});function Ls(e){"@babel/helpers - typeof";return Ls=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ls(e)}function Mb(e,t){if(Ls(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ls(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $b(e){var t=Mb(e,"string");return Ls(t)=="symbol"?t:t+""}function rr(e,t,n){return(t=$b(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hb(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function jb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Sn=Hb(function e(){jb(this,e)});rr(Sn,"ripple",!1),rr(Sn,"inputStyle","outlined"),rr(Sn,"locale","en"),rr(Sn,"appendTo",null),rr(Sn,"cssTransition",!0),rr(Sn,"autoZIndex",!0),rr(Sn,"hideOverlaysOnDocumentScrolling",!1),rr(Sn,"nonce",null),rr(Sn,"nullSortOrder",1),rr(Sn,"zIndex",{modal:1100,overlay:1e3,menu:1e3,tooltip:1100,toast:1200}),rr(Sn,"pt",void 0),rr(Sn,"filterMatchModeOptions",{text:[_n.STARTS_WITH,_n.CONTAINS,_n.NOT_CONTAINS,_n.ENDS_WITH,_n.EQUALS,_n.NOT_EQUALS],numeric:[_n.EQUALS,_n.NOT_EQUALS,_n.LESS_THAN,_n.LESS_THAN_OR_EQUAL_TO,_n.GREATER_THAN,_n.GREATER_THAN_OR_EQUAL_TO],date:[_n.DATE_IS,_n.DATE_IS_NOT,_n.DATE_BEFORE,_n.DATE_AFTER]}),rr(Sn,"changeTheme",function(e,t,n,r){var i,a=document.getElementById(n);if(!a)throw Error("Element with id ".concat(n," not found."));var l=a.getAttribute("href").replace(e,t),c=document.createElement("link");c.setAttribute("rel","stylesheet"),c.setAttribute("id",n),c.setAttribute("href",l),c.addEventListener("load",function(){r&&r()}),(i=a.parentNode)===null||i===void 0||i.replaceChild(c,a)});var Rb={en:{accept:"Yes",addRule:"Add Rule",am:"AM",apply:"Apply",cancel:"Cancel",choose:"Choose",chooseDate:"Choose Date",chooseMonth:"Choose Month",chooseYear:"Choose Year",clear:"Clear",completed:"Completed",contains:"Contains",custom:"Custom",dateAfter:"Date is after",dateBefore:"Date is before",dateFormat:"mm/dd/yy",dateIs:"Date is",dateIsNot:"Date is not",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],emptyFilterMessage:"No results found",emptyMessage:"No available options",emptySearchMessage:"No results found",emptySelectionMessage:"No selected item",endsWith:"Ends with",equals:"Equals",fileChosenMessage:"{0} files",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],filter:"Filter",firstDayOfWeek:0,gt:"Greater than",gte:"Greater than or equal to",lt:"Less than",lte:"Less than or equal to",matchAll:"Match All",matchAny:"Match Any",medium:"Medium",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],nextDecade:"Next Decade",nextHour:"Next Hour",nextMinute:"Next Minute",nextMonth:"Next Month",nextSecond:"Next Second",nextYear:"Next Year",noFileChosenMessage:"No file chosen",noFilter:"No Filter",notContains:"Not contains",notEquals:"Not equals",now:"Now",passwordPrompt:"Enter a password",pending:"Pending",pm:"PM",prevDecade:"Previous Decade",prevHour:"Previous Hour",prevMinute:"Previous Minute",prevMonth:"Previous Month",prevSecond:"Previous Second",prevYear:"Previous Year",reject:"No",removeRule:"Remove Rule",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",showMonthAfterYear:!1,startsWith:"Starts with",strong:"Strong",today:"Today",upload:"Upload",weak:"Weak",weekHeader:"Wk",aria:{cancelEdit:"Cancel Edit",close:"Close",collapseLabel:"Collapse",collapseRow:"Row Collapsed",editRow:"Edit Row",expandLabel:"Expand",expandRow:"Row Expanded",falseLabel:"False",filterConstraint:"Filter Constraint",filterOperator:"Filter Operator",firstPageLabel:"First Page",gridView:"Grid View",hideFilterMenu:"Hide Filter Menu",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",lastPageLabel:"Last Page",listLabel:"Option List",listView:"List View",moveAllToSource:"Move All to Source",moveAllToTarget:"Move All to Target",moveBottom:"Move Bottom",moveDown:"Move Down",moveToSource:"Move to Source",moveToTarget:"Move to Target",moveTop:"Move Top",moveUp:"Move Up",navigation:"Navigation",next:"Next",nextPageLabel:"Next Page",nullLabel:"Not Selected",otpLabel:"Please enter one time password character {0}",pageLabel:"Page {page}",passwordHide:"Hide Password",passwordShow:"Show Password",previous:"Previous",prevPageLabel:"Previous Page",removeLabel:"Remove",rotateLeft:"Rotate Left",rotateRight:"Rotate Right",rowsPerPageLabel:"Rows per page",saveEdit:"Save Edit",scrollTop:"Scroll Top",selectAll:"All items selected",selectLabel:"Select",selectRow:"Row Selected",showFilterMenu:"Show Filter Menu",slide:"Slide",slideNumber:"{slideNumber}",star:"1 star",stars:"{star} stars",trueLabel:"True",unselectAll:"All items unselected",unselectLabel:"Unselect",unselectRow:"Row Unselected",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out"}}};function Wb(e,t){if(e.includes("__proto__")||e.includes("prototype"))throw new Error("Unsafe ariaKey detected");var n=Sn.locale;try{var r=Ub(n).aria[e];if(r)for(var i in t)t.hasOwnProperty(i)&&(r=r.replace("{".concat(i,"}"),t[i]));return r}catch{throw new Error("The ".concat(e," option is not found in the current locale('").concat(n,"')."))}}function Ub(e){var t=e||Sn.locale;if(t.includes("__proto__")||t.includes("prototype"))throw new Error("Unsafe locale detected");return Rb[t]}var No=T.createContext(),Cr=Sn;function zb(e){if(Array.isArray(e))return e}function Vb(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,l,c=[],u=!0,d=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);u=!0);}catch(f){d=!0,i=f}finally{try{if(!u&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return c}}function Xu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a3(e,t){if(e){if(typeof e=="string")return Xu(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xu(e,t):void 0}}function qb(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
105
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y0(e,t){return zb(e)||Vb(e,t)||a3(e,t)||qb()}var s3=function(t){var n=j.useRef(null);return j.useEffect(function(){return n.current=t,function(){n.current=null}},[t]),n.current},Ns=function(t){return j.useEffect(function(){return t},[])},w0=function(t){var n=t.target,r=n===void 0?"document":n,i=t.type,a=t.listener,l=t.options,c=t.when,u=c===void 0?!0:c,d=j.useRef(null),f=j.useRef(null),m=s3(a),h=s3(l),g=function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=C.target;Ge.isNotEmpty(E)&&(w(),(C.when||u)&&(d.current=Re.getTargetElement(E))),!f.current&&d.current&&(f.current=function(_){return a&&a(_)},d.current.addEventListener(i,f.current,l))},w=function(){f.current&&(d.current.removeEventListener(i,f.current,l),f.current=null)},x=function(){w(),m=null,h=null},v=j.useCallback(function(){u?d.current=Re.getTargetElement(r):(w(),d.current=null)},[r,u]);return j.useEffect(function(){v()},[v]),j.useEffect(function(){var S="".concat(m)!=="".concat(a),C=h!==l,E=f.current;E&&(S||C)?(w(),u&&g()):E||x()},[a,l,u]),Ns(function(){x()}),[g,w]},Io={},Yb=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=j.useState(function(){return Ku()}),i=y0(r,1),a=i[0],l=j.useState(0),c=y0(l,2),u=c[0],d=c[1];return j.useEffect(function(){if(n){Io[t]||(Io[t]=[]);var f=Io[t].push(a);return d(f),function(){delete Io[t][f-1];var m=Io[t].length-1,h=Ge.findLastIndex(Io[t],function(g){return g!==void 0});h!==m&&Io[t].splice(h+1),d(void 0)}}},[t,a,n]),u};function Zb(e){if(Array.isArray(e))return Xu(e)}function Gb(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Kb(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
106
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l3(e){return Zb(e)||Gb(e)||a3(e)||Kb()}var Xb={DIALOG:300},c3={escKeyListeners:new Map,onGlobalKeyDown:function(t){if(t.code==="Escape"){var n=c3.escKeyListeners,r=Math.max.apply(Math,l3(n.keys())),i=n.get(r),a=Math.max.apply(Math,l3(i.keys())),l=i.get(a);l(t)}},refreshGlobalKeyDownListener:function(){var t=Re.getTargetElement("document");this.escKeyListeners.size>0?t.addEventListener("keydown",this.onGlobalKeyDown):t.removeEventListener("keydown",this.onGlobalKeyDown)},addListener:function(t,n){var r=this,i=y0(n,2),a=i[0],l=i[1],c=this.escKeyListeners;c.has(a)||c.set(a,new Map);var u=c.get(a);if(u.has(l))throw new Error("Unexpected: global esc key listener with priority [".concat(a,", ").concat(l,"] already exists."));return u.set(l,t),this.refreshGlobalKeyDownListener(),function(){u.delete(l),u.size===0&&c.delete(a),r.refreshGlobalKeyDownListener()}}},Qb=function(t){var n=t.callback,r=t.when,i=t.priority;T.useEffect(function(){if(r)return c3.addListener(n,i)},[n,r,i])},u3=function(){var t=T.useContext(No);return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return x0(r,t==null?void 0:t.ptOptions)}},Is=function(t){var n=j.useRef(!1);return j.useEffect(function(){if(!n.current)return n.current=!0,t&&t()},[])},Jb=0,Ea=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=T.useState(!1),i=y0(r,2),a=i[0],l=i[1],c=T.useRef(null),u=T.useContext(No),d=Re.isClient()?window.document:void 0,f=n.document,m=f===void 0?d:f,h=n.manual,g=h===void 0?!1:h,w=n.name,x=w===void 0?"style_".concat(++Jb):w,v=n.id,S=v===void 0?void 0:v,C=n.media,E=C===void 0?void 0:C,_=function(N){var L=N.querySelector('style[data-primereact-style-id="'.concat(x,'"]'));if(L)return L;if(S!==void 0){var I=m.getElementById(S);if(I)return I}return m.createElement("style")},D=function(N){a&&t!==N&&(c.current.textContent=N)},A=function(){if(!(!m||a)){var N=(u==null?void 0:u.styleContainer)||m.head;c.current=_(N),c.current.isConnected||(c.current.type="text/css",S&&(c.current.id=S),E&&(c.current.media=E),Re.addNonce(c.current,u&&u.nonce||Cr.nonce),N.appendChild(c.current),x&&c.current.setAttribute("data-primereact-style-id",x)),c.current.textContent=t,l(!0)}},B=function(){!m||!c.current||(Re.removeInlineStyle(c.current),l(!1))};return T.useEffect(function(){g||A()},[g]),{id:S,name:x,update:D,unload:B,load:A,isLoaded:a}},ro=function(t,n){var r=j.useRef(!1);return j.useEffect(function(){if(!r.current){r.current=!0;return}return t&&t()},n)};function Qu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ey(e){if(Array.isArray(e))return Qu(e)}function ty(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ny(e,t){if(e){if(typeof e=="string")return Qu(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qu(e,t):void 0}}function ry(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
107
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d3(e){return ey(e)||ty(e)||ny(e)||ry()}function Ms(e){"@babel/helpers - typeof";return Ms=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ms(e)}function iy(e,t){if(Ms(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ms(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function oy(e){var t=iy(e,"string");return Ms(t)=="symbol"?t:t+""}function Ju(e,t,n){return(t=oy(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function fn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?f3(Object(n),!0).forEach(function(r){Ju(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ay=`
|
|
108
|
-
.p-hidden-accessible {
|
|
109
|
-
border: 0;
|
|
110
|
-
clip: rect(0 0 0 0);
|
|
111
|
-
height: 1px;
|
|
112
|
-
margin: -1px;
|
|
113
|
-
opacity: 0;
|
|
114
|
-
overflow: hidden;
|
|
115
|
-
padding: 0;
|
|
116
|
-
pointer-events: none;
|
|
117
|
-
position: absolute;
|
|
118
|
-
white-space: nowrap;
|
|
119
|
-
width: 1px;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.p-overflow-hidden {
|
|
123
|
-
overflow: hidden;
|
|
124
|
-
padding-right: var(--scrollbar-width);
|
|
125
|
-
}
|
|
126
|
-
`,sy=`
|
|
127
|
-
.p-button {
|
|
128
|
-
margin: 0;
|
|
129
|
-
display: inline-flex;
|
|
130
|
-
cursor: pointer;
|
|
131
|
-
user-select: none;
|
|
132
|
-
align-items: center;
|
|
133
|
-
vertical-align: bottom;
|
|
134
|
-
text-align: center;
|
|
135
|
-
overflow: hidden;
|
|
136
|
-
position: relative;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.p-button-label {
|
|
140
|
-
flex: 1 1 auto;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.p-button-icon {
|
|
144
|
-
pointer-events: none;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.p-button-icon-right {
|
|
148
|
-
order: 1;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.p-button:disabled {
|
|
152
|
-
cursor: default;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.p-button-icon-only {
|
|
156
|
-
justify-content: center;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.p-button-icon-only .p-button-label {
|
|
160
|
-
visibility: hidden;
|
|
161
|
-
width: 0;
|
|
162
|
-
flex: 0 0 auto;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.p-button-vertical {
|
|
166
|
-
flex-direction: column;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.p-button-icon-bottom {
|
|
170
|
-
order: 2;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.p-button-group .p-button {
|
|
174
|
-
margin: 0;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.p-button-group .p-button:not(:last-child) {
|
|
178
|
-
border-right: 0 none;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.p-button-group .p-button:not(:first-of-type):not(:last-of-type) {
|
|
182
|
-
border-radius: 0;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.p-button-group .p-button:first-of-type {
|
|
186
|
-
border-top-right-radius: 0;
|
|
187
|
-
border-bottom-right-radius: 0;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.p-button-group .p-button:last-of-type {
|
|
191
|
-
border-top-left-radius: 0;
|
|
192
|
-
border-bottom-left-radius: 0;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.p-button-group .p-button:focus {
|
|
196
|
-
position: relative;
|
|
197
|
-
z-index: 1;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.p-button-group-single .p-button:first-of-type {
|
|
201
|
-
border-top-right-radius: var(--border-radius) !important;
|
|
202
|
-
border-bottom-right-radius: var(--border-radius) !important;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.p-button-group-single .p-button:last-of-type {
|
|
206
|
-
border-top-left-radius: var(--border-radius) !important;
|
|
207
|
-
border-bottom-left-radius: var(--border-radius) !important;
|
|
208
|
-
}
|
|
209
|
-
`,ly=`
|
|
210
|
-
.p-inputtext {
|
|
211
|
-
margin: 0;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.p-fluid .p-inputtext {
|
|
215
|
-
width: 100%;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
/* InputGroup */
|
|
219
|
-
.p-inputgroup {
|
|
220
|
-
display: flex;
|
|
221
|
-
align-items: stretch;
|
|
222
|
-
width: 100%;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.p-inputgroup-addon {
|
|
226
|
-
display: flex;
|
|
227
|
-
align-items: center;
|
|
228
|
-
justify-content: center;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.p-inputgroup .p-float-label {
|
|
232
|
-
display: flex;
|
|
233
|
-
align-items: stretch;
|
|
234
|
-
width: 100%;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.p-inputgroup .p-inputtext,
|
|
238
|
-
.p-fluid .p-inputgroup .p-inputtext,
|
|
239
|
-
.p-inputgroup .p-inputwrapper,
|
|
240
|
-
.p-fluid .p-inputgroup .p-input {
|
|
241
|
-
flex: 1 1 auto;
|
|
242
|
-
width: 1%;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
/* Floating Label */
|
|
246
|
-
.p-float-label {
|
|
247
|
-
display: block;
|
|
248
|
-
position: relative;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.p-float-label label {
|
|
252
|
-
position: absolute;
|
|
253
|
-
pointer-events: none;
|
|
254
|
-
top: 50%;
|
|
255
|
-
margin-top: -0.5rem;
|
|
256
|
-
transition-property: all;
|
|
257
|
-
transition-timing-function: ease;
|
|
258
|
-
line-height: 1;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.p-float-label textarea ~ label,
|
|
262
|
-
.p-float-label .p-mention ~ label {
|
|
263
|
-
top: 1rem;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.p-float-label input:focus ~ label,
|
|
267
|
-
.p-float-label input:-webkit-autofill ~ label,
|
|
268
|
-
.p-float-label input.p-filled ~ label,
|
|
269
|
-
.p-float-label textarea:focus ~ label,
|
|
270
|
-
.p-float-label textarea.p-filled ~ label,
|
|
271
|
-
.p-float-label .p-inputwrapper-focus ~ label,
|
|
272
|
-
.p-float-label .p-inputwrapper-filled ~ label,
|
|
273
|
-
.p-float-label .p-tooltip-target-wrapper ~ label {
|
|
274
|
-
top: -0.75rem;
|
|
275
|
-
font-size: 12px;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.p-float-label .p-placeholder,
|
|
279
|
-
.p-float-label input::placeholder,
|
|
280
|
-
.p-float-label .p-inputtext::placeholder {
|
|
281
|
-
opacity: 0;
|
|
282
|
-
transition-property: all;
|
|
283
|
-
transition-timing-function: ease;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.p-float-label .p-focus .p-placeholder,
|
|
287
|
-
.p-float-label input:focus::placeholder,
|
|
288
|
-
.p-float-label .p-inputtext:focus::placeholder {
|
|
289
|
-
opacity: 1;
|
|
290
|
-
transition-property: all;
|
|
291
|
-
transition-timing-function: ease;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.p-input-icon-left,
|
|
295
|
-
.p-input-icon-right {
|
|
296
|
-
position: relative;
|
|
297
|
-
display: inline-block;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.p-input-icon-left > i,
|
|
301
|
-
.p-input-icon-right > i,
|
|
302
|
-
.p-input-icon-left > svg,
|
|
303
|
-
.p-input-icon-right > svg,
|
|
304
|
-
.p-input-icon-left > .p-input-prefix,
|
|
305
|
-
.p-input-icon-right > .p-input-suffix {
|
|
306
|
-
position: absolute;
|
|
307
|
-
top: 50%;
|
|
308
|
-
margin-top: -0.5rem;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
.p-fluid .p-input-icon-left,
|
|
312
|
-
.p-fluid .p-input-icon-right {
|
|
313
|
-
display: block;
|
|
314
|
-
width: 100%;
|
|
315
|
-
}
|
|
316
|
-
`,cy=`
|
|
317
|
-
.p-icon {
|
|
318
|
-
display: inline-block;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.p-icon-spin {
|
|
322
|
-
-webkit-animation: p-icon-spin 2s infinite linear;
|
|
323
|
-
animation: p-icon-spin 2s infinite linear;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
svg.p-icon {
|
|
327
|
-
pointer-events: auto;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
svg.p-icon g,
|
|
331
|
-
.p-disabled svg.p-icon {
|
|
332
|
-
pointer-events: none;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
@-webkit-keyframes p-icon-spin {
|
|
336
|
-
0% {
|
|
337
|
-
-webkit-transform: rotate(0deg);
|
|
338
|
-
transform: rotate(0deg);
|
|
339
|
-
}
|
|
340
|
-
100% {
|
|
341
|
-
-webkit-transform: rotate(359deg);
|
|
342
|
-
transform: rotate(359deg);
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
@keyframes p-icon-spin {
|
|
347
|
-
0% {
|
|
348
|
-
-webkit-transform: rotate(0deg);
|
|
349
|
-
transform: rotate(0deg);
|
|
350
|
-
}
|
|
351
|
-
100% {
|
|
352
|
-
-webkit-transform: rotate(359deg);
|
|
353
|
-
transform: rotate(359deg);
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
`,uy=`
|
|
357
|
-
@layer primereact {
|
|
358
|
-
.p-component, .p-component * {
|
|
359
|
-
box-sizing: border-box;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.p-hidden {
|
|
363
|
-
display: none;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.p-hidden-space {
|
|
367
|
-
visibility: hidden;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.p-reset {
|
|
371
|
-
margin: 0;
|
|
372
|
-
padding: 0;
|
|
373
|
-
border: 0;
|
|
374
|
-
outline: 0;
|
|
375
|
-
text-decoration: none;
|
|
376
|
-
font-size: 100%;
|
|
377
|
-
list-style: none;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
.p-disabled, .p-disabled * {
|
|
381
|
-
cursor: default;
|
|
382
|
-
pointer-events: none;
|
|
383
|
-
user-select: none;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
.p-component-overlay {
|
|
387
|
-
position: fixed;
|
|
388
|
-
top: 0;
|
|
389
|
-
left: 0;
|
|
390
|
-
width: 100%;
|
|
391
|
-
height: 100%;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.p-unselectable-text {
|
|
395
|
-
user-select: none;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.p-scrollbar-measure {
|
|
399
|
-
width: 100px;
|
|
400
|
-
height: 100px;
|
|
401
|
-
overflow: scroll;
|
|
402
|
-
position: absolute;
|
|
403
|
-
top: -9999px;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
@-webkit-keyframes p-fadein {
|
|
407
|
-
0% { opacity: 0; }
|
|
408
|
-
100% { opacity: 1; }
|
|
409
|
-
}
|
|
410
|
-
@keyframes p-fadein {
|
|
411
|
-
0% { opacity: 0; }
|
|
412
|
-
100% { opacity: 1; }
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.p-link {
|
|
416
|
-
text-align: left;
|
|
417
|
-
background-color: transparent;
|
|
418
|
-
margin: 0;
|
|
419
|
-
padding: 0;
|
|
420
|
-
border: none;
|
|
421
|
-
cursor: pointer;
|
|
422
|
-
user-select: none;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.p-link:disabled {
|
|
426
|
-
cursor: default;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
/* Non react overlay animations */
|
|
430
|
-
.p-connected-overlay {
|
|
431
|
-
opacity: 0;
|
|
432
|
-
transform: scaleY(0.8);
|
|
433
|
-
transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
.p-connected-overlay-visible {
|
|
437
|
-
opacity: 1;
|
|
438
|
-
transform: scaleY(1);
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
.p-connected-overlay-hidden {
|
|
442
|
-
opacity: 0;
|
|
443
|
-
transform: scaleY(1);
|
|
444
|
-
transition: opacity .1s linear;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
/* React based overlay animations */
|
|
448
|
-
.p-connected-overlay-enter {
|
|
449
|
-
opacity: 0;
|
|
450
|
-
transform: scaleY(0.8);
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
.p-connected-overlay-enter-active {
|
|
454
|
-
opacity: 1;
|
|
455
|
-
transform: scaleY(1);
|
|
456
|
-
transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
.p-connected-overlay-enter-done {
|
|
460
|
-
transform: none;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
.p-connected-overlay-exit {
|
|
464
|
-
opacity: 1;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.p-connected-overlay-exit-active {
|
|
468
|
-
opacity: 0;
|
|
469
|
-
transition: opacity .1s linear;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
/* Toggleable Content */
|
|
473
|
-
.p-toggleable-content-enter {
|
|
474
|
-
max-height: 0;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
.p-toggleable-content-enter-active {
|
|
478
|
-
overflow: hidden;
|
|
479
|
-
max-height: 1000px;
|
|
480
|
-
transition: max-height 1s ease-in-out;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.p-toggleable-content-enter-done {
|
|
484
|
-
transform: none;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
.p-toggleable-content-exit {
|
|
488
|
-
max-height: 1000px;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
.p-toggleable-content-exit-active {
|
|
492
|
-
overflow: hidden;
|
|
493
|
-
max-height: 0;
|
|
494
|
-
transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
/* @todo Refactor */
|
|
498
|
-
.p-menu .p-menuitem-link {
|
|
499
|
-
cursor: pointer;
|
|
500
|
-
display: flex;
|
|
501
|
-
align-items: center;
|
|
502
|
-
text-decoration: none;
|
|
503
|
-
overflow: hidden;
|
|
504
|
-
position: relative;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
`.concat(sy,`
|
|
508
|
-
`).concat(ly,`
|
|
509
|
-
`).concat(cy,`
|
|
510
|
-
}
|
|
511
|
-
`),Yt={cProps:void 0,cParams:void 0,cName:void 0,defaultProps:{pt:void 0,ptOptions:void 0,unstyled:!1},context:{},globalCSS:void 0,classes:{},styles:"",extend:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.css,r=fn(fn({},t.defaultProps),Yt.defaultProps),i={},a=function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Yt.context=m,Yt.cProps=f,Ge.getMergedProps(f,r)},l=function(f){return Ge.getDiffProps(f,r)},c=function(){var f,m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;m.hasOwnProperty("pt")&&m.pt!==void 0&&(m=m.pt);var x=h,v=/./g.test(x)&&!!g[x.split(".")[0]],S=v?Ge.toFlatCase(x.split(".")[1]):Ge.toFlatCase(x),C=g.hostName&&Ge.toFlatCase(g.hostName),E=C||g.props&&g.props.__TYPE&&Ge.toFlatCase(g.props.__TYPE)||"",_=S==="transition",D="data-pc-",A=function(se){return se!=null&&se.props?se.hostName?se.props.__TYPE===se.hostName?se.props:A(se.parent):se.parent:void 0},B=function(se){var ae,Z;return((ae=g.props)===null||ae===void 0?void 0:ae[se])||((Z=A(g))===null||Z===void 0?void 0:Z[se])};Yt.cParams=g,Yt.cName=E;var O=B("ptOptions")||Yt.context.ptOptions||{},N=O.mergeSections,L=N===void 0?!0:N,I=O.mergeProps,H=I===void 0?!1:I,W=function(){var se=Ai.apply(void 0,arguments);return Array.isArray(se)?{className:wr.apply(void 0,d3(se))}:Ge.isString(se)?{className:se}:se!=null&&se.hasOwnProperty("className")&&Array.isArray(se.className)?{className:wr.apply(void 0,d3(se.className))}:se},K=w?v?p3(W,x,g):h3(W,x,g):void 0,Y=v?void 0:E0(C0(m,E),W,x,g),ne=!_&&fn(fn({},S==="root"&&Ju({},"".concat(D,"name"),g.props&&g.props.__parentMetadata?Ge.toFlatCase(g.props.__TYPE):E)),{},Ju({},"".concat(D,"section"),S));return L||!L&&Y?H?x0([K,Y,Object.keys(ne).length?ne:{}],{classNameMergeFunction:(f=Yt.context.ptOptions)===null||f===void 0?void 0:f.classNameMergeFunction}):fn(fn(fn({},K),Y),Object.keys(ne).length?ne:{}):fn(fn({},Y),Object.keys(ne).length?ne:{})},u=function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=f.props,h=f.state,g=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return c((m||{}).pt,E,fn(fn({},f),_))},w=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return c(E,_,D,!1)},x=function(){return Yt.context.unstyled||Cr.unstyled||m.unstyled},v=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return x()?void 0:Ai(n&&n.classes,E,fn({props:m,state:h},_))},S=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(D){var A,B=Ai(n&&n.inlineStyles,E,fn({props:m,state:h},_)),O=Ai(i,E,fn({props:m,state:h},_));return x0([O,B],{classNameMergeFunction:(A=Yt.context.ptOptions)===null||A===void 0?void 0:A.classNameMergeFunction})}};return{ptm:g,ptmo:w,sx:S,cx:v,isUnstyled:x}};return fn(fn({getProps:a,getOtherProps:l,setMetaData:u},t),{},{defaultProps:r})}},Ai=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=String(Ge.toFlatCase(n)).split("."),a=i.shift(),l=Ge.isNotEmpty(t)?Object.keys(t).find(function(c){return Ge.toFlatCase(c)===a}):"";return a?Ge.isObject(t)?Ai(Ge.getItemValue(t[l],r),i.join("."),r):void 0:Ge.getItemValue(t,r)},C0=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,i=t==null?void 0:t._usept,a=function(c){var u,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=r?r(c):c,m=Ge.toFlatCase(n);return(u=d?m!==Yt.cName?f==null?void 0:f[m]:void 0:f==null?void 0:f[m])!==null&&u!==void 0?u:f};return Ge.isNotEmpty(i)?{_usept:i,originalValue:a(t.originalValue),value:a(t.value)}:a(t,!0)},E0=function(t,n,r,i){var a=function(x){return n(x,r,i)};if(t!=null&&t.hasOwnProperty("_usept")){var l=t._usept||Yt.context.ptOptions||{},c=l.mergeSections,u=c===void 0?!0:c,d=l.mergeProps,f=d===void 0?!1:d,m=l.classNameMergeFunction,h=a(t.originalValue),g=a(t.value);return h===void 0&&g===void 0?void 0:Ge.isString(g)?g:Ge.isString(h)?h:u||!u&&g?f?x0([h,g],{classNameMergeFunction:m}):fn(fn({},h),g):g}return a(t)},dy=function(){return C0(Yt.context.pt||Cr.pt,void 0,function(t){return Ge.getItemValue(t,Yt.cParams)})},fy=function(){return C0(Yt.context.pt||Cr.pt,void 0,function(t){return Ai(t,Yt.cName,Yt.cParams)||Ge.getItemValue(t,Yt.cParams)})},p3=function(t,n,r){return E0(dy(),t,n,r)},h3=function(t,n,r){return E0(fy(),t,n,r)},py=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},r=arguments.length>2?arguments[2]:void 0,i=r.name,a=r.styled,l=a===void 0?!1:a,c=r.hostName,u=c===void 0?"":c,d=p3(Ai,"global.css",Yt.cParams),f=Ge.toFlatCase(i),m=Ea(ay,{name:"base",manual:!0}),h=m.load,g=Ea(uy,{name:"common",manual:!0}),w=g.load,x=Ea(d,{name:"global",manual:!0}),v=x.load,S=Ea(t,{name:i,manual:!0}),C=S.load,E=function(D){if(!u){var A=E0(C0((Yt.cProps||{}).pt,f),Ai,"hooks.".concat(D)),B=h3(Ai,"hooks.".concat(D));A==null||A(),B==null||B()}};E("useMountEffect"),Is(function(){h(),v(),n()||(w(),l||C())}),ro(function(){E("useUpdateEffect")}),Ns(function(){E("useUnmountEffect")})};function _a(){return _a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_a.apply(null,arguments)}function m3(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function e2(e,t){return e2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},e2(e,t)}function v3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e2(e,t)}var je=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function hy(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var n2={exports:{}};/*
|
|
512
|
-
object-assign
|
|
513
|
-
(c) Sindre Sorhus
|
|
514
|
-
@license MIT
|
|
515
|
-
*/var r2,g3;function my(){if(g3)return r2;g3=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var l={},c=0;c<10;c++)l["_"+String.fromCharCode(c)]=c;var u=Object.getOwnPropertyNames(l).map(function(f){return l[f]});if(u.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(f){d[f]=f}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return r2=i()?Object.assign:function(a,l){for(var c,u=r(a),d,f=1;f<arguments.length;f++){c=Object(arguments[f]);for(var m in c)t.call(c,m)&&(u[m]=c[m]);if(e){d=e(c);for(var h=0;h<d.length;h++)n.call(c,d[h])&&(u[d[h]]=c[d[h]])}}return u},r2}var i2,x3;function o2(){if(x3)return i2;x3=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return i2=e,i2}var a2,b3;function y3(){return b3||(b3=1,a2=Function.call.bind(Object.prototype.hasOwnProperty)),a2}var s2,w3;function vy(){if(w3)return s2;w3=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=o2(),n={},r=y3();e=function(a){var l="Warning: "+a;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}}}function i(a,l,c,u,d){if(process.env.NODE_ENV!=="production"){for(var f in a)if(r(a,f)){var m;try{if(typeof a[f]!="function"){var h=Error((u||"React class")+": "+c+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}m=a[f](l,f,u,c,null,t)}catch(w){m=w}if(m&&!(m instanceof Error)&&e((u||"React class")+": type specification of "+c+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof m+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),m instanceof Error&&!(m.message in n)){n[m.message]=!0;var g=d?d():"";e("Failed "+c+" type: "+m.message+(g??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},s2=i,s2}var l2,C3;function gy(){if(C3)return l2;C3=1;var e=Ih,t=my(),n=o2(),r=y3(),i=vy(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(c){var u="Warning: "+c;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function l(){return null}return l2=function(c,u){var d=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function m(Z){var M=Z&&(d&&Z[d]||Z[f]);if(typeof M=="function")return M}var h="<<anonymous>>",g={array:S("array"),bigint:S("bigint"),bool:S("boolean"),func:S("function"),number:S("number"),object:S("object"),string:S("string"),symbol:S("symbol"),any:C(),arrayOf:E,element:_(),elementType:D(),instanceOf:A,node:L(),objectOf:O,oneOf:B,oneOfType:N,shape:H,exact:W};function w(Z,M){return Z===M?Z!==0||1/Z===1/M:Z!==Z&&M!==M}function x(Z,M){this.message=Z,this.data=M&&typeof M=="object"?M:{},this.stack=""}x.prototype=Error.prototype;function v(Z){if(process.env.NODE_ENV!=="production")var M={},z=0;function X(pe,J,de,fe,Se,Oe,We){if(fe=fe||h,Oe=Oe||de,We!==n){if(u){var Ie=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 Ie.name="Invariant Violation",Ie}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ue=fe+":"+de;!M[Ue]&&z<3&&(a("You are manually calling a React.PropTypes validation function for the `"+Oe+"` prop on `"+fe+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),M[Ue]=!0,z++)}}return J[de]==null?pe?J[de]===null?new x("The "+Se+" `"+Oe+"` is marked as required "+("in `"+fe+"`, but its value is `null`.")):new x("The "+Se+" `"+Oe+"` is marked as required in "+("`"+fe+"`, but its value is `undefined`.")):null:Z(J,de,fe,Se,Oe)}var U=X.bind(null,!1);return U.isRequired=X.bind(null,!0),U}function S(Z){function M(z,X,U,pe,J,de){var fe=z[X],Se=ne(fe);if(Se!==Z){var Oe=ue(fe);return new x("Invalid "+pe+" `"+J+"` of type "+("`"+Oe+"` supplied to `"+U+"`, expected ")+("`"+Z+"`."),{expectedType:Z})}return null}return v(M)}function C(){return v(l)}function E(Z){function M(z,X,U,pe,J){if(typeof Z!="function")return new x("Property `"+J+"` of component `"+U+"` has invalid PropType notation inside arrayOf.");var de=z[X];if(!Array.isArray(de)){var fe=ne(de);return new x("Invalid "+pe+" `"+J+"` of type "+("`"+fe+"` supplied to `"+U+"`, expected an array."))}for(var Se=0;Se<de.length;Se++){var Oe=Z(de,Se,U,pe,J+"["+Se+"]",n);if(Oe instanceof Error)return Oe}return null}return v(M)}function _(){function Z(M,z,X,U,pe){var J=M[z];if(!c(J)){var de=ne(J);return new x("Invalid "+U+" `"+pe+"` of type "+("`"+de+"` supplied to `"+X+"`, expected a single ReactElement."))}return null}return v(Z)}function D(){function Z(M,z,X,U,pe){var J=M[z];if(!e.isValidElementType(J)){var de=ne(J);return new x("Invalid "+U+" `"+pe+"` of type "+("`"+de+"` supplied to `"+X+"`, expected a single ReactElement type."))}return null}return v(Z)}function A(Z){function M(z,X,U,pe,J){if(!(z[X]instanceof Z)){var de=Z.name||h,fe=ae(z[X]);return new x("Invalid "+pe+" `"+J+"` of type "+("`"+fe+"` supplied to `"+U+"`, expected ")+("instance of `"+de+"`."))}return null}return v(M)}function B(Z){if(!Array.isArray(Z))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),l;function M(z,X,U,pe,J){for(var de=z[X],fe=0;fe<Z.length;fe++)if(w(de,Z[fe]))return null;var Se=JSON.stringify(Z,function(We,Ie){var Ue=ue(Ie);return Ue==="symbol"?String(Ie):Ie});return new x("Invalid "+pe+" `"+J+"` of value `"+String(de)+"` "+("supplied to `"+U+"`, expected one of "+Se+"."))}return v(M)}function O(Z){function M(z,X,U,pe,J){if(typeof Z!="function")return new x("Property `"+J+"` of component `"+U+"` has invalid PropType notation inside objectOf.");var de=z[X],fe=ne(de);if(fe!=="object")return new x("Invalid "+pe+" `"+J+"` of type "+("`"+fe+"` supplied to `"+U+"`, expected an object."));for(var Se in de)if(r(de,Se)){var Oe=Z(de,Se,U,pe,J+"."+Se,n);if(Oe instanceof Error)return Oe}return null}return v(M)}function N(Z){if(!Array.isArray(Z))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var M=0;M<Z.length;M++){var z=Z[M];if(typeof z!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+se(z)+" at index "+M+"."),l}function X(U,pe,J,de,fe){for(var Se=[],Oe=0;Oe<Z.length;Oe++){var We=Z[Oe],Ie=We(U,pe,J,de,fe,n);if(Ie==null)return null;Ie.data&&r(Ie.data,"expectedType")&&Se.push(Ie.data.expectedType)}var Ue=Se.length>0?", expected one of type ["+Se.join(", ")+"]":"";return new x("Invalid "+de+" `"+fe+"` supplied to "+("`"+J+"`"+Ue+"."))}return v(X)}function L(){function Z(M,z,X,U,pe){return K(M[z])?null:new x("Invalid "+U+" `"+pe+"` supplied to "+("`"+X+"`, expected a ReactNode."))}return v(Z)}function I(Z,M,z,X,U){return new x((Z||"React class")+": "+M+" type `"+z+"."+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+U+"`.")}function H(Z){function M(z,X,U,pe,J){var de=z[X],fe=ne(de);if(fe!=="object")return new x("Invalid "+pe+" `"+J+"` of type `"+fe+"` "+("supplied to `"+U+"`, expected `object`."));for(var Se in Z){var Oe=Z[Se];if(typeof Oe!="function")return I(U,pe,J,Se,ue(Oe));var We=Oe(de,Se,U,pe,J+"."+Se,n);if(We)return We}return null}return v(M)}function W(Z){function M(z,X,U,pe,J){var de=z[X],fe=ne(de);if(fe!=="object")return new x("Invalid "+pe+" `"+J+"` of type `"+fe+"` "+("supplied to `"+U+"`, expected `object`."));var Se=t({},z[X],Z);for(var Oe in Se){var We=Z[Oe];if(r(Z,Oe)&&typeof We!="function")return I(U,pe,J,Oe,ue(We));if(!We)return new x("Invalid "+pe+" `"+J+"` key `"+Oe+"` supplied to `"+U+"`.\nBad object: "+JSON.stringify(z[X],null," ")+`
|
|
516
|
-
Valid keys: `+JSON.stringify(Object.keys(Z),null," "));var Ie=We(de,Oe,U,pe,J+"."+Oe,n);if(Ie)return Ie}return null}return v(M)}function K(Z){switch(typeof Z){case"number":case"string":case"undefined":return!0;case"boolean":return!Z;case"object":if(Array.isArray(Z))return Z.every(K);if(Z===null||c(Z))return!0;var M=m(Z);if(M){var z=M.call(Z),X;if(M!==Z.entries){for(;!(X=z.next()).done;)if(!K(X.value))return!1}else for(;!(X=z.next()).done;){var U=X.value;if(U&&!K(U[1]))return!1}}else return!1;return!0;default:return!1}}function Y(Z,M){return Z==="symbol"?!0:M?M["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&M instanceof Symbol:!1}function ne(Z){var M=typeof Z;return Array.isArray(Z)?"array":Z instanceof RegExp?"object":Y(M,Z)?"symbol":M}function ue(Z){if(typeof Z>"u"||Z===null)return""+Z;var M=ne(Z);if(M==="object"){if(Z instanceof Date)return"date";if(Z instanceof RegExp)return"regexp"}return M}function se(Z){var M=ue(Z);switch(M){case"array":case"object":return"an "+M;case"boolean":case"date":case"regexp":return"a "+M;default:return M}}function ae(Z){return!Z.constructor||!Z.constructor.name?h:Z.constructor.name}return g.checkPropTypes=i,g.resetWarningCache=i.resetWarningCache,g.PropTypes=g,g},l2}var c2,E3;function xy(){if(E3)return c2;E3=1;var e=o2();function t(){}function n(){}return n.resetWarningCache=t,c2=function(){function r(l,c,u,d,f,m){if(m!==e){var h=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 h.name="Invariant Violation",h}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},c2}if(process.env.NODE_ENV!=="production"){var by=Ih,yy=!0;n2.exports=gy()(by.isElement,yy)}else n2.exports=xy()();var wy=n2.exports;const _e=t2(wy);function Cy(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function Ey(e,t){e.classList?e.classList.add(t):Cy(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function _3(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function _y(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=_3(e.className,t):e.setAttribute("class",_3(e.className&&e.className.baseVal||"",t))}const S3={disabled:!1};var Sy=process.env.NODE_ENV!=="production"?_e.oneOfType([_e.number,_e.shape({enter:_e.number,exit:_e.number,appear:_e.number}).isRequired]):null,Ay=process.env.NODE_ENV!=="production"?_e.oneOfType([_e.string,_e.shape({enter:_e.string,exit:_e.string,active:_e.string}),_e.shape({enter:_e.string,enterDone:_e.string,enterActive:_e.string,exit:_e.string,exitDone:_e.string,exitActive:_e.string})]):null;const A3=T.createContext(null);var k3=function(t){return t.scrollTop},$s="unmounted",Mo="exited",$o="entering",Sa="entered",u2="exiting",si=function(e){v3(t,e);function t(r,i){var a;a=e.call(this,r,i)||this;var l=i,c=l&&!l.isMounting?r.enter:r.appear,u;return a.appearStatus=null,r.in?c?(u=Mo,a.appearStatus=$o):u=Sa:r.unmountOnExit||r.mountOnEnter?u=$s:u=Mo,a.state={status:u},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var l=i.in;return l&&a.status===$s?{status:Mo}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var a=null;if(i!==this.props){var l=this.state.status;this.props.in?l!==$o&&l!==Sa&&(a=$o):(l===$o||l===Sa)&&(a=u2)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,a,l,c;return a=l=c=i,i!=null&&typeof i!="number"&&(a=i.exit,l=i.enter,c=i.appear!==void 0?i.appear:l),{exit:a,enter:l,appear:c}},n.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===$o){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:Ca.findDOMNode(this);l&&k3(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Mo&&this.setState({status:$s})},n.performEnter=function(i){var a=this,l=this.props.enter,c=this.context?this.context.isMounting:i,u=this.props.nodeRef?[c]:[Ca.findDOMNode(this),c],d=u[0],f=u[1],m=this.getTimeouts(),h=c?m.appear:m.enter;if(!i&&!l||S3.disabled){this.safeSetState({status:Sa},function(){a.props.onEntered(d)});return}this.props.onEnter(d,f),this.safeSetState({status:$o},function(){a.props.onEntering(d,f),a.onTransitionEnd(h,function(){a.safeSetState({status:Sa},function(){a.props.onEntered(d,f)})})})},n.performExit=function(){var i=this,a=this.props.exit,l=this.getTimeouts(),c=this.props.nodeRef?void 0:Ca.findDOMNode(this);if(!a||S3.disabled){this.safeSetState({status:Mo},function(){i.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:u2},function(){i.props.onExiting(c),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:Mo},function(){i.props.onExited(c)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},n.setNextCallback=function(i){var a=this,l=!0;return this.nextCallback=function(c){l&&(l=!1,a.nextCallback=null,i(c))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(i,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:Ca.findDOMNode(this),c=i==null&&!this.props.addEndListener;if(!l||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],d=u[0],f=u[1];this.props.addEndListener(d,f)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===$s)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var c=m3(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return T.createElement(A3.Provider,{value:null},typeof l=="function"?l(i,c):T.cloneElement(T.Children.only(l),c))},t}(T.Component);si.contextType=A3,si.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:_e.shape({current:typeof Element>"u"?_e.any:function(e,t,n,r,i,a){var l=e[t];return _e.instanceOf(l&&"ownerDocument"in l?l.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,a)}}),children:_e.oneOfType([_e.func.isRequired,_e.element.isRequired]).isRequired,in:_e.bool,mountOnEnter:_e.bool,unmountOnExit:_e.bool,appear:_e.bool,enter:_e.bool,exit:_e.bool,timeout:function(t){var n=Sy;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return n.apply(void 0,[t].concat(i))},addEndListener:_e.func,onEnter:_e.func,onEntering:_e.func,onEntered:_e.func,onExit:_e.func,onExiting:_e.func,onExited:_e.func}:{};function Aa(){}si.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Aa,onEntering:Aa,onEntered:Aa,onExit:Aa,onExiting:Aa,onExited:Aa},si.UNMOUNTED=$s,si.EXITED=Mo,si.ENTERING=$o,si.ENTERED=Sa,si.EXITING=u2;var ky=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return Ey(t,r)})},d2=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return _y(t,r)})},f2=function(e){v3(t,e);function t(){for(var r,i=arguments.length,a=new Array(i),l=0;l<i;l++)a[l]=arguments[l];return r=e.call.apply(e,[this].concat(a))||this,r.appliedClasses={appear:{},enter:{},exit:{}},r.onEnter=function(c,u){var d=r.resolveArguments(c,u),f=d[0],m=d[1];r.removeClasses(f,"exit"),r.addClass(f,m?"appear":"enter","base"),r.props.onEnter&&r.props.onEnter(c,u)},r.onEntering=function(c,u){var d=r.resolveArguments(c,u),f=d[0],m=d[1],h=m?"appear":"enter";r.addClass(f,h,"active"),r.props.onEntering&&r.props.onEntering(c,u)},r.onEntered=function(c,u){var d=r.resolveArguments(c,u),f=d[0],m=d[1],h=m?"appear":"enter";r.removeClasses(f,h),r.addClass(f,h,"done"),r.props.onEntered&&r.props.onEntered(c,u)},r.onExit=function(c){var u=r.resolveArguments(c),d=u[0];r.removeClasses(d,"appear"),r.removeClasses(d,"enter"),r.addClass(d,"exit","base"),r.props.onExit&&r.props.onExit(c)},r.onExiting=function(c){var u=r.resolveArguments(c),d=u[0];r.addClass(d,"exit","active"),r.props.onExiting&&r.props.onExiting(c)},r.onExited=function(c){var u=r.resolveArguments(c),d=u[0];r.removeClasses(d,"exit"),r.addClass(d,"exit","done"),r.props.onExited&&r.props.onExited(c)},r.resolveArguments=function(c,u){return r.props.nodeRef?[r.props.nodeRef.current,c]:[c,u]},r.getClassNames=function(c){var u=r.props.classNames,d=typeof u=="string",f=d&&u?u+"-":"",m=d?""+f+c:u[c],h=d?m+"-active":u[c+"Active"],g=d?m+"-done":u[c+"Done"];return{baseClassName:m,activeClassName:h,doneClassName:g}},r}var n=t.prototype;return n.addClass=function(i,a,l){var c=this.getClassNames(a)[l+"ClassName"],u=this.getClassNames("enter"),d=u.doneClassName;a==="appear"&&l==="done"&&d&&(c+=" "+d),l==="active"&&i&&k3(i),c&&(this.appliedClasses[a][l]=c,ky(i,c))},n.removeClasses=function(i,a){var l=this.appliedClasses[a],c=l.base,u=l.active,d=l.done;this.appliedClasses[a]={},c&&d2(i,c),u&&d2(i,u),d&&d2(i,d)},n.render=function(){var i=this.props;i.classNames;var a=m3(i,["classNames"]);return T.createElement(si,_a({},a,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(T.Component);f2.defaultProps={classNames:""},f2.propTypes=process.env.NODE_ENV!=="production"?_a({},si.propTypes,{classNames:Ay,onEnter:_e.func,onEntering:_e.func,onEntered:_e.func,onExit:_e.func,onExiting:_e.func,onExited:_e.func}):{};function Hs(e){"@babel/helpers - typeof";return Hs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hs(e)}function Dy(e,t){if(Hs(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Hs(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Oy(e){var t=Dy(e,"string");return Hs(t)=="symbol"?t:t+""}function Ty(e,t,n){return(t=Oy(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p2={defaultProps:{__TYPE:"CSSTransition",children:void 0},getProps:function(t){return Ge.getMergedProps(t,p2.defaultProps)},getOtherProps:function(t){return Ge.getDiffProps(t,p2.defaultProps)}};function D3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function h2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?D3(Object(n),!0).forEach(function(r){Ty(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var O3=j.forwardRef(function(e,t){var n=p2.getProps(e),r=j.useContext(No),i=n.disabled||n.options&&n.options.disabled||r&&!r.cssTransition||!Cr.cssTransition,a=function(x,v){n.onEnter&&n.onEnter(x,v),n.options&&n.options.onEnter&&n.options.onEnter(x,v)},l=function(x,v){n.onEntering&&n.onEntering(x,v),n.options&&n.options.onEntering&&n.options.onEntering(x,v)},c=function(x,v){n.onEntered&&n.onEntered(x,v),n.options&&n.options.onEntered&&n.options.onEntered(x,v)},u=function(x){n.onExit&&n.onExit(x),n.options&&n.options.onExit&&n.options.onExit(x)},d=function(x){n.onExiting&&n.onExiting(x),n.options&&n.options.onExiting&&n.options.onExiting(x)},f=function(x){n.onExited&&n.onExited(x),n.options&&n.options.onExited&&n.options.onExited(x)};if(ro(function(){if(i){var w=Ge.getRefElement(n.nodeRef);n.in?(a(w,!0),l(w,!0),c(w,!0)):(u(w),d(w),f(w))}},[n.in]),i)return n.in?n.children:null;var m={nodeRef:n.nodeRef,in:n.in,appear:n.appear,onEnter:a,onEntering:l,onEntered:c,onExit:u,onExiting:d,onExited:f},h={classNames:n.classNames,timeout:n.timeout,unmountOnExit:n.unmountOnExit},g=h2(h2(h2({},h),n.options||{}),m);return j.createElement(f2,g,n.children)});O3.displayName="CSSTransition";var ka={defaultProps:{__TYPE:"IconBase",className:null,label:null,spin:!1},getProps:function(t){return Ge.getMergedProps(t,ka.defaultProps)},getOtherProps:function(t){return Ge.getDiffProps(t,ka.defaultProps)},getPTI:function(t){var n=Ge.isEmpty(t.label),r=ka.getOtherProps(t),i={className:wr("p-icon",{"p-icon-spin":t.spin},t.className),role:n?void 0:"img","aria-label":n?void 0:t.label,"aria-hidden":t.label?n:void 0};return Ge.getMergedProps(r,i)}};function m2(){return m2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m2.apply(null,arguments)}var T3=j.memo(j.forwardRef(function(e,t){var n=ka.getPTI(e);return j.createElement("svg",m2({ref:t,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),j.createElement("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"}))}));T3.displayName="TimesIcon";function v2(){return v2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v2.apply(null,arguments)}var F3=j.memo(j.forwardRef(function(e,t){var n=ka.getPTI(e);return j.createElement("svg",v2({ref:t,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z",fill:"currentColor"}))}));F3.displayName="WindowMaximizeIcon";function g2(){return g2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g2.apply(null,arguments)}var B3=j.memo(j.forwardRef(function(e,t){var n=ka.getPTI(e);return j.createElement("svg",g2({ref:t,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z",fill:"currentColor"}))}));B3.displayName="WindowMinimizeIcon";function Fy(e){if(Array.isArray(e))return e}function By(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,l,c=[],u=!0,d=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(u=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);u=!0);}catch(f){d=!0,i=f}finally{try{if(!u&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return c}}function P3(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Py(e,t){if(e){if(typeof e=="string")return P3(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P3(e,t):void 0}}function Ly(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
517
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ny(e,t){return Fy(e)||By(e,t)||Py(e,t)||Ly()}var x2={defaultProps:{__TYPE:"Portal",element:null,appendTo:null,visible:!1,onMounted:null,onUnmounted:null,children:void 0},getProps:function(t){return Ge.getMergedProps(t,x2.defaultProps)},getOtherProps:function(t){return Ge.getDiffProps(t,x2.defaultProps)}},L3=j.memo(function(e){var t=x2.getProps(e),n=j.useContext(No),r=j.useState(t.visible&&Re.isClient()),i=Ny(r,2),a=i[0],l=i[1];Is(function(){Re.isClient()&&!a&&(l(!0),t.onMounted&&t.onMounted())}),ro(function(){t.onMounted&&t.onMounted()},[a]),Ns(function(){t.onUnmounted&&t.onUnmounted()});var c=t.element||t.children;if(c&&a){var u=t.appendTo||n&&n.appendTo||Cr.appendTo;return Ge.isFunction(u)&&(u=u()),u||(u=document.body),u==="self"?c:Ca.createPortal(c,u)}return null});L3.displayName="Portal";function b2(){return b2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b2.apply(null,arguments)}function js(e){"@babel/helpers - typeof";return js=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},js(e)}function Iy(e,t){if(js(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(js(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function My(e){var t=Iy(e,"string");return js(t)=="symbol"?t:t+""}function $y(e,t,n){return(t=My(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hy(e){if(Array.isArray(e))return e}function jy(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,l,c=[],u=!0,d=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(u=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);u=!0);}catch(f){d=!0,i=f}finally{try{if(!u&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return c}}function N3(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ry(e,t){if(e){if(typeof e=="string")return N3(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?N3(e,t):void 0}}function Wy(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
518
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Uy(e,t){return Hy(e)||jy(e,t)||Ry(e,t)||Wy()}var zy=`
|
|
519
|
-
@layer primereact {
|
|
520
|
-
.p-ripple {
|
|
521
|
-
overflow: hidden;
|
|
522
|
-
position: relative;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
.p-ink {
|
|
526
|
-
display: block;
|
|
527
|
-
position: absolute;
|
|
528
|
-
background: rgba(255, 255, 255, 0.5);
|
|
529
|
-
border-radius: 100%;
|
|
530
|
-
transform: scale(0);
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
.p-ink-active {
|
|
534
|
-
animation: ripple 0.4s linear;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
.p-ripple-disabled .p-ink {
|
|
538
|
-
display: none;
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
@keyframes ripple {
|
|
543
|
-
100% {
|
|
544
|
-
opacity: 0;
|
|
545
|
-
transform: scale(2.5);
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
`,Vy={root:"p-ink"},Da=Yt.extend({defaultProps:{__TYPE:"Ripple",children:void 0},css:{styles:zy,classes:Vy},getProps:function(t){return Ge.getMergedProps(t,Da.defaultProps)},getOtherProps:function(t){return Ge.getDiffProps(t,Da.defaultProps)}});function I3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function qy(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?I3(Object(n),!0).forEach(function(r){$y(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var y2=j.memo(j.forwardRef(function(e,t){var n=j.useState(!1),r=Uy(n,2),i=r[0],a=r[1],l=j.useRef(null),c=j.useRef(null),u=u3(),d=j.useContext(No),f=Da.getProps(e,d),m=d&&d.ripple||Cr.ripple,h={props:f};Ea(Da.css.styles,{name:"ripple",manual:!m});var g=Da.setMetaData(qy({},h)),w=g.ptm,x=g.cx,v=function(){return l.current&&l.current.parentElement},S=function(){c.current&&c.current.addEventListener("pointerdown",E)},C=function(){c.current&&c.current.removeEventListener("pointerdown",E)},E=function(N){var L=Re.getOffset(c.current),I=N.pageX-L.left+document.body.scrollTop-Re.getWidth(l.current)/2,H=N.pageY-L.top+document.body.scrollLeft-Re.getHeight(l.current)/2;_(I,H)},_=function(N,L){!l.current||getComputedStyle(l.current,null).display==="none"||(Re.removeClass(l.current,"p-ink-active"),A(),l.current.style.top=L+"px",l.current.style.left=N+"px",Re.addClass(l.current,"p-ink-active"))},D=function(N){Re.removeClass(N.currentTarget,"p-ink-active")},A=function(){if(l.current&&!Re.getHeight(l.current)&&!Re.getWidth(l.current)){var N=Math.max(Re.getOuterWidth(c.current),Re.getOuterHeight(c.current));l.current.style.height=N+"px",l.current.style.width=N+"px"}};if(j.useImperativeHandle(t,function(){return{props:f,getInk:function(){return l.current},getTarget:function(){return c.current}}}),Is(function(){a(!0)}),ro(function(){i&&l.current&&(c.current=v(),A(),S())},[i]),ro(function(){l.current&&!c.current&&(c.current=v(),A(),S())}),Ns(function(){l.current&&(c.current=null,C())}),!m)return null;var B=u({"aria-hidden":!0,className:wr(x("root"))},Da.getOtherProps(f),w("root"));return j.createElement("span",b2({role:"presentation",ref:l},B,{onAnimationEnd:D}))}));y2.displayName="Ripple";function w2(){return w2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w2.apply(null,arguments)}function Rs(e){"@babel/helpers - typeof";return Rs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rs(e)}function C2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Yy(e){if(Array.isArray(e))return C2(e)}function Zy(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function M3(e,t){if(e){if(typeof e=="string")return C2(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C2(e,t):void 0}}function Gy(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
550
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ky(e){return Yy(e)||Zy(e)||M3(e)||Gy()}function Xy(e,t){if(Rs(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Rs(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qy(e){var t=Xy(e,"string");return Rs(t)=="symbol"?t:t+""}function E2(e,t,n){return(t=Qy(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jy(e){if(Array.isArray(e))return e}function ew(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,l,c=[],u=!0,d=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(u=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);u=!0);}catch(f){d=!0,i=f}finally{try{if(!u&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return c}}function tw(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
551
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function io(e,t){return Jy(e)||ew(e,t)||M3(e,t)||tw()}var nw="",Ws=Yt.extend({defaultProps:{__TYPE:"FocusTrap",children:void 0},css:{styles:nw},getProps:function(t){return Ge.getMergedProps(t,Ws.defaultProps)},getOtherProps:function(t){return Ge.getDiffProps(t,Ws.defaultProps)}});function $3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$3(Object(n),!0).forEach(function(r){E2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var iw=T.memo(T.forwardRef(function(e,t){var n=T.useRef(null),r=T.useRef(null),i=T.useRef(null),a=T.useContext(No),l=Ws.getProps(e,a),c={props:l};Ea(Ws.css.styles,{name:"focustrap"});var u=Ws.setMetaData(rw({},c));u.ptm,T.useImperativeHandle(t,function(){return{props:l,getInk:function(){return r.current},getTarget:function(){return n.current}}}),Is(function(){l.disabled||(n.current=d(),f(n.current))});var d=function(){return r.current&&r.current.parentElement},f=function(v){var S=l||{},C=S.autoFocusSelector,E=C===void 0?"":C,_=S.firstFocusableSelector,D=_===void 0?"":_,A=S.autoFocus,B=A===void 0?!1:A,O="".concat(m(E)),N="[autofocus]".concat(O,", [data-pc-autofocus='true']").concat(O),L=Re.getFirstFocusableElement(v,N);B&&!L&&(L=Re.getFirstFocusableElement(v,m(D))),Re.focus(L)},m=function(v){return':not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])'.concat(v??"")},h=function(v){var S,C=v.currentTarget,E=v.relatedTarget,_=E===C.$_pfocustrap_lasthiddenfocusableelement||!((S=n.current)!==null&&S!==void 0&&S.contains(E))?Re.getFirstFocusableElement(C.parentElement,m(C.$_pfocustrap_focusableselector)):C.$_pfocustrap_lasthiddenfocusableelement;Re.focus(_)},g=function(v){var S,C=v.currentTarget,E=v.relatedTarget,_=E===C.$_pfocustrap_firsthiddenfocusableelement||!((S=n.current)!==null&&S!==void 0&&S.contains(E))?Re.getLastFocusableElement(C.parentElement,m(C.$_pfocustrap_focusableselector)):C.$_pfocustrap_firsthiddenfocusableelement;Re.focus(_)},w=function(){var v=l||{},S=v.tabIndex,C=S===void 0?0:S,E=function(B,O,N){return T.createElement("span",{ref:B,className:"p-hidden-accessible p-hidden-focusable",tabIndex:C,role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:O,"data-pc-section":N})},_=E(r,h,"firstfocusableelement"),D=E(i,g,"lastfocusableelement");return r.current&&i.current&&(r.current.$_pfocustrap_lasthiddenfocusableelement=i.current,i.current.$_pfocustrap_firsthiddenfocusableelement=r.current),T.createElement(T.Fragment,null,_,l.children,D)};return w()})),ow=iw;function H3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?H3(Object(n),!0).forEach(function(r){E2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var sw={closeButtonIcon:"p-dialog-header-close-icon",closeButton:"p-dialog-header-icon p-dialog-header-close p-link",maximizableIcon:"p-dialog-header-maximize-icon",maximizableButton:"p-dialog-header-icon p-dialog-header-maximize p-link",header:function(t){var n=t.props;return wr("p-dialog-header",n.headerClassName)},headerTitle:"p-dialog-title",headerIcons:"p-dialog-header-icons",content:function(t){var n=t.props;return wr("p-dialog-content",n.contentClassName)},footer:function(t){var n=t.props;return wr("p-dialog-footer",n.footerClassName)},mask:function(t){var n=t.props,r=t.maskVisibleState,i=["center","left","right","top","top-left","top-right","bottom","bottom-left","bottom-right"],a=i.find(function(l){return l===n.position||l.replace("-","")===n.position});return wr("p-dialog-mask",a?"p-dialog-".concat(a):"",{"p-component-overlay p-component-overlay-enter":n.modal,"p-dialog-visible":r,"p-dialog-draggable":n.draggable,"p-dialog-resizable":n.resizable},n.maskClassName)},root:function(t){var n=t.props,r=t.maximized,i=t.context;return wr("p-dialog p-component",{"p-dialog-rtl":n.rtl,"p-dialog-maximized":r,"p-dialog-default":!r,"p-input-filled":i&&i.inputStyle==="filled"||Cr.inputStyle==="filled","p-ripple-disabled":i&&i.ripple===!1||Cr.ripple===!1})},transition:"p-dialog"},lw=`
|
|
552
|
-
@layer primereact {
|
|
553
|
-
.p-dialog-mask {
|
|
554
|
-
background-color: transparent;
|
|
555
|
-
transition-property: background-color;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
.p-dialog-visible {
|
|
559
|
-
display: flex;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
.p-dialog-mask.p-component-overlay {
|
|
563
|
-
pointer-events: auto;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
.p-dialog {
|
|
567
|
-
display: flex;
|
|
568
|
-
flex-direction: column;
|
|
569
|
-
pointer-events: auto;
|
|
570
|
-
max-height: 90%;
|
|
571
|
-
transform: scale(1);
|
|
572
|
-
position: relative;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
.p-dialog-content {
|
|
576
|
-
overflow-y: auto;
|
|
577
|
-
flex-grow: 1;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
.p-dialog-header {
|
|
581
|
-
display: flex;
|
|
582
|
-
align-items: center;
|
|
583
|
-
flex-shrink: 0;
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
.p-dialog-footer {
|
|
587
|
-
flex-shrink: 0;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
.p-dialog .p-dialog-header-icons {
|
|
591
|
-
display: flex;
|
|
592
|
-
align-items: center;
|
|
593
|
-
align-self: flex-start;
|
|
594
|
-
flex-shrink: 0;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
.p-dialog .p-dialog-header-icon {
|
|
598
|
-
display: flex;
|
|
599
|
-
align-items: center;
|
|
600
|
-
justify-content: center;
|
|
601
|
-
overflow: hidden;
|
|
602
|
-
position: relative;
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
.p-dialog .p-dialog-title {
|
|
606
|
-
flex-grow: 1;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
/* Fluid */
|
|
610
|
-
.p-fluid .p-dialog-footer .p-button {
|
|
611
|
-
width: auto;
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
/* Animation */
|
|
615
|
-
/* Center */
|
|
616
|
-
.p-dialog-enter {
|
|
617
|
-
opacity: 0;
|
|
618
|
-
transform: scale(0.7);
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
.p-dialog-enter-active {
|
|
622
|
-
opacity: 1;
|
|
623
|
-
transform: scale(1);
|
|
624
|
-
transition: all 150ms cubic-bezier(0, 0, 0.2, 1);
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
.p-dialog-enter-done {
|
|
628
|
-
transform: none;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
.p-dialog-exit-active {
|
|
632
|
-
opacity: 0;
|
|
633
|
-
transform: scale(0.7);
|
|
634
|
-
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
/* Top, Bottom, Left, Right, Top* and Bottom* */
|
|
638
|
-
.p-dialog-top .p-dialog,
|
|
639
|
-
.p-dialog-bottom .p-dialog,
|
|
640
|
-
.p-dialog-left .p-dialog,
|
|
641
|
-
.p-dialog-right .p-dialog,
|
|
642
|
-
.p-dialog-top-left .p-dialog,
|
|
643
|
-
.p-dialog-top-right .p-dialog,
|
|
644
|
-
.p-dialog-bottom-left .p-dialog,
|
|
645
|
-
.p-dialog-bottom-right .p-dialog {
|
|
646
|
-
margin: 0.75em;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
.p-dialog-top .p-dialog-enter,
|
|
650
|
-
.p-dialog-top .p-dialog-exit-active {
|
|
651
|
-
transform: translate3d(0px, -100%, 0px);
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
.p-dialog-bottom .p-dialog-enter,
|
|
655
|
-
.p-dialog-bottom .p-dialog-exit-active {
|
|
656
|
-
transform: translate3d(0px, 100%, 0px);
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
.p-dialog-left .p-dialog-enter,
|
|
660
|
-
.p-dialog-left .p-dialog-exit-active,
|
|
661
|
-
.p-dialog-top-left .p-dialog-enter,
|
|
662
|
-
.p-dialog-top-left .p-dialog-exit-active,
|
|
663
|
-
.p-dialog-bottom-left .p-dialog-enter,
|
|
664
|
-
.p-dialog-bottom-left .p-dialog-exit-active {
|
|
665
|
-
transform: translate3d(-100%, 0px, 0px);
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
.p-dialog-right .p-dialog-enter,
|
|
669
|
-
.p-dialog-right .p-dialog-exit-active,
|
|
670
|
-
.p-dialog-top-right .p-dialog-enter,
|
|
671
|
-
.p-dialog-top-right .p-dialog-exit-active,
|
|
672
|
-
.p-dialog-bottom-right .p-dialog-enter,
|
|
673
|
-
.p-dialog-bottom-right .p-dialog-exit-active {
|
|
674
|
-
transform: translate3d(100%, 0px, 0px);
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
.p-dialog-top .p-dialog-enter-active,
|
|
678
|
-
.p-dialog-bottom .p-dialog-enter-active,
|
|
679
|
-
.p-dialog-left .p-dialog-enter-active,
|
|
680
|
-
.p-dialog-top-left .p-dialog-enter-active,
|
|
681
|
-
.p-dialog-bottom-left .p-dialog-enter-active,
|
|
682
|
-
.p-dialog-right .p-dialog-enter-active,
|
|
683
|
-
.p-dialog-top-right .p-dialog-enter-active,
|
|
684
|
-
.p-dialog-bottom-right .p-dialog-enter-active {
|
|
685
|
-
transform: translate3d(0px, 0px, 0px);
|
|
686
|
-
transition: all 0.3s ease-out;
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
.p-dialog-top .p-dialog-exit-active,
|
|
690
|
-
.p-dialog-bottom .p-dialog-exit-active,
|
|
691
|
-
.p-dialog-left .p-dialog-exit-active,
|
|
692
|
-
.p-dialog-top-left .p-dialog-exit-active,
|
|
693
|
-
.p-dialog-bottom-left .p-dialog-exit-active,
|
|
694
|
-
.p-dialog-right .p-dialog-exit-active,
|
|
695
|
-
.p-dialog-top-right .p-dialog-exit-active,
|
|
696
|
-
.p-dialog-bottom-right .p-dialog-exit-active {
|
|
697
|
-
transition: all 0.3s ease-out;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
/* Maximize */
|
|
701
|
-
.p-dialog-maximized {
|
|
702
|
-
transition: none;
|
|
703
|
-
transform: none;
|
|
704
|
-
margin: 0;
|
|
705
|
-
width: 100vw !important;
|
|
706
|
-
height: 100vh !important;
|
|
707
|
-
max-height: 100%;
|
|
708
|
-
top: 0px !important;
|
|
709
|
-
left: 0px !important;
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
.p-dialog-maximized .p-dialog-content {
|
|
713
|
-
flex-grow: 1;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
.p-confirm-dialog .p-dialog-content {
|
|
717
|
-
display: flex;
|
|
718
|
-
align-items: center;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
/* Resizable */
|
|
722
|
-
.p-dialog .p-resizable-handle {
|
|
723
|
-
position: absolute;
|
|
724
|
-
font-size: 0.1px;
|
|
725
|
-
display: block;
|
|
726
|
-
cursor: se-resize;
|
|
727
|
-
width: 12px;
|
|
728
|
-
height: 12px;
|
|
729
|
-
right: 1px;
|
|
730
|
-
bottom: 1px;
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
.p-dialog-draggable .p-dialog-header {
|
|
734
|
-
cursor: move;
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
`,cw={mask:function(t){var n=t.props;return aw({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",justifyContent:n.position==="left"||n.position==="top-left"||n.position==="bottom-left"?"flex-start":n.position==="right"||n.position==="top-right"||n.position==="bottom-right"?"flex-end":"center",alignItems:n.position==="top"||n.position==="top-left"||n.position==="top-right"?"flex-start":n.position==="bottom"||n.position==="bottom-left"||n.position==="bottom-right"?"flex-end":"center",pointerEvents:!n.modal&&"none"},n.maskStyle)}},_0=Yt.extend({defaultProps:{__TYPE:"Dialog",__parentMetadata:null,appendTo:null,ariaCloseIconLabel:null,baseZIndex:0,blockScroll:!1,breakpoints:null,className:null,closable:!0,closeIcon:null,closeOnEscape:!0,content:null,contentClassName:null,contentStyle:null,dismissableMask:!1,draggable:!0,focusOnShow:!0,footer:null,footerClassName:null,header:null,headerClassName:null,headerStyle:null,icons:null,id:null,keepInViewport:!0,maskClassName:null,maskStyle:null,maximizable:!1,maximizeIcon:null,maximized:!1,minX:0,minY:0,minimizeIcon:null,modal:!0,onClick:null,onDrag:null,onDragEnd:null,onDragStart:null,onHide:null,onMaskClick:null,onMaximize:null,onResize:null,onResizeEnd:null,onResizeStart:null,onShow:null,position:"center",resizable:!0,rtl:!1,showHeader:!0,showCloseIcon:!0,style:null,transitionOptions:null,visible:!1,children:void 0},css:{classes:sw,styles:lw,inlineStyles:cw}});function j3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function _2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?j3(Object(n),!0).forEach(function(r){E2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var R3=j.forwardRef(function(e,t){var n=u3(),r=j.useContext(No),i=_0.getProps(e,r),a=i.id?i.id:Ku(),l=j.useState(a),c=io(l,2),u=c[0];c[1];var d=j.useState(!1),f=io(d,2),m=f[0],h=f[1],g=j.useState(!1),w=io(g,2),x=w[0],v=w[1],S=j.useState(i.maximized),C=io(S,2),E=C[0],_=C[1],D=j.useRef(null),A=j.useRef(null),B=j.useRef(null),O=j.useRef(null),N=j.useRef(null),L=j.useRef(null),I=j.useRef(null),H=j.useRef(!1),W=j.useRef(!1),K=j.useRef(null),Y=j.useRef(null),ne=j.useRef(null),ue=j.useRef(a),se=j.useRef(null),ae=i.onMaximize?i.maximized:E,Z=x&&(i.blockScroll||i.maximizable&&ae),M=i.closable&&i.closeOnEscape&&x,z=Yb("dialog",M),X=_0.setMetaData(_2(_2({props:i},i.__parentMetadata),{},{state:{id:u,maximized:ae,containerVisible:m}})),U=X.ptm,pe=X.cx,J=X.sx,de=X.isUnstyled;py(_0.css.styles,de,{name:"dialog"}),Qb({callback:function(me){jt(me)},when:M&&z,priority:[Xb.DIALOG,z]});var fe=w0({type:"mousemove",target:function(){return window.document},listener:function(me){return te(me)}}),Se=io(fe,2),Oe=Se[0],We=Se[1],Ie=w0({type:"mouseup",target:function(){return window.document},listener:function(me){return be(me)}}),Ue=io(Ie,2),mt=Ue[0],rt=Ue[1],ke=w0({type:"mousemove",target:function(){return window.document},listener:function(me){return Ut(me)}}),dt=io(ke,2),Xe=dt[0],kt=dt[1],wt=w0({type:"mouseup",target:function(){return window.document},listener:function(me){return Ot(me)}}),it=io(wt,2),Ye=it[0],St=it[1],jt=function(me){i.onHide(me),me.preventDefault()},ge=function(){var me=document.activeElement,Je=me&&D.current&&D.current.contains(me);!Je&&i.closable&&i.showCloseIcon&&i.showHeader&&I.current&&I.current.focus()},Ce=function(me){B.current=me.target,i.onPointerDown&&i.onPointerDown(me)},Qe=function(me){i.dismissableMask&&i.modal&&A.current===me.target&&!B.current&&jt(me),i.onMaskClick&&i.onMaskClick(me),B.current=null},ot=function(me){i.onMaximize?i.onMaximize({originalEvent:me,maximized:!ae}):_(function(Je){return!Je}),me.preventDefault()},ht=function(me){Re.hasClass(me.target,"p-dialog-header-icon")||Re.hasClass(me.target.parentElement,"p-dialog-header-icon")||i.draggable&&(H.current=!0,K.current=me.pageX,Y.current=me.pageY,Re.addClass(document.body,"p-unselectable-text"),i.onDragStart&&i.onDragStart(me))},Ut=function(me){if(H.current){var Je=Re.getOuterWidth(D.current),Nt=Re.getOuterHeight(D.current),Gt=me.pageX-K.current,fr=me.pageY-Y.current,Br=D.current.getBoundingClientRect(),on=Br.left+Gt,Pr=Br.top+fr,da=Re.getViewport(),fa=getComputedStyle(D.current),wi=parseFloat(fa.marginLeft),pr=parseFloat(fa.marginTop);D.current.style.position="fixed",i.keepInViewport?(on>=i.minX&&on+Je<da.width&&(K.current=me.pageX,D.current.style.left=on-wi+"px"),Pr>=i.minY&&(fr<0||Pr+Nt<da.height)&&(Y.current=me.pageY,D.current.style.top=Pr-pr+"px")):(K.current=me.pageX,D.current.style.left=on-wi+"px",Y.current=me.pageY,D.current.style.top=Pr-pr+"px"),i.onDrag&&i.onDrag(me)}},Ot=function(me){H.current&&(H.current=!1,Re.removeClass(document.body,"p-unselectable-text"),i.onDragEnd&&i.onDragEnd(me))},ln=function(me){i.resizable&&(W.current=!0,K.current=me.pageX,Y.current=me.pageY,Re.addClass(document.body,"p-unselectable-text"),i.onResizeStart&&i.onResizeStart(me))},wn=function(me,Je,Nt){!Nt&&(Nt=Re.getViewport());var Gt=parseInt(me);return/^(\d+|(\.\d+))(\.\d+)?%$/.test(me)?Gt*(Nt[Je]/100):Gt},te=function(me){if(W.current){var Je=me.pageX-K.current,Nt=me.pageY-Y.current,Gt=Re.getOuterWidth(D.current),fr=Re.getOuterHeight(D.current),Br=D.current.getBoundingClientRect(),on=Re.getViewport(),Pr=!parseInt(D.current.style.top)||!parseInt(D.current.style.left),da=wn(D.current.style.minWidth,"width",on),fa=wn(D.current.style.minHeight,"height",on),wi=Gt+Je,pr=fr+Nt;Pr&&(wi=wi+Je,pr=pr+Nt),(!da||wi>da)&&(Je<0||Br.left+wi<on.width)&&(D.current.style.width=wi+"px"),(!fa||pr>fa)&&(Nt<0||Br.top+pr<on.height)&&(D.current.style.height=pr+"px"),K.current=me.pageX,Y.current=me.pageY,i.onResize&&i.onResize(me)}},be=function(me){W.current&&(W.current=!1,Re.removeClass(document.body,"p-unselectable-text"),i.onResizeEnd&&i.onResizeEnd(me))},Te=function(){D.current.style.position="",D.current.style.left="",D.current.style.top="",D.current.style.margin=""},qe=function(){D.current.setAttribute(ue.current,"")},He=function(){i.onShow&&i.onShow(),i.focusOnShow&&ge(),Hn()},Dt=function(){i.modal&&!de()&&Re.addClass(A.current,"p-component-overlay-leave")},Vt=function(){H.current=!1,b0.clear(A.current),h(!1),Qr(),Re.focus(se.current),se.current=null},Hn=function(){bi()},Qr=function(){dr()},Qn=function(){var me=document.primeDialogParams&&document.primeDialogParams.some(function(Je){return Je.hasBlockScroll});me?Re.blockBodyScroll():Re.unblockBodyScroll()},Jr=function(me){if(me&&x){var Je={id:u,hasBlockScroll:Z};document.primeDialogParams||(document.primeDialogParams=[]);var Nt=document.primeDialogParams.findIndex(function(Gt){return Gt.id===u});Nt===-1?document.primeDialogParams=[].concat(Ky(document.primeDialogParams),[Je]):document.primeDialogParams=document.primeDialogParams.toSpliced(Nt,1,Je)}else document.primeDialogParams=document.primeDialogParams&&document.primeDialogParams.filter(function(Gt){return Gt.id!==u});Qn()},bi=function(){i.draggable&&(Xe(),Ye()),i.resizable&&(Oe(),mt())},dr=function(){kt(),St(),We(),rt()},ua=function(){ne.current=Re.createInlineStyle(r&&r.nonce||Cr.nonce,r&&r.styleContainer);var me="";for(var Je in i.breakpoints)me=me+`
|
|
738
|
-
@media screen and (max-width: `.concat(Je,`) {
|
|
739
|
-
[data-pc-name="dialog"][`).concat(ue.current,`] {
|
|
740
|
-
width: `).concat(i.breakpoints[Je],` !important;
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
`);ne.current.innerHTML=me},yi=function(){ne.current=Re.removeInlineStyle(ne.current)};Is(function(){Jr(!0),i.visible&&h(!0)}),j.useEffect(function(){return i.breakpoints&&ua(),function(){yi()}},[i.breakpoints]),ro(function(){i.visible&&!m&&h(!0),i.visible!==x&&m&&v(i.visible),i.visible&&(se.current=document.activeElement)},[i.visible,m]),ro(function(){m&&(b0.set("modal",A.current,r&&r.autoZIndex||Cr.autoZIndex,i.baseZIndex||r&&r.zIndex.modal||Cr.zIndex.modal),v(!0))},[m]),ro(function(){Jr(!0)},[Z,x]),Ns(function(){Qr(),Jr(!1),Re.removeInlineStyle(ne.current),b0.clear(A.current)}),j.useImperativeHandle(t,function(){return{props:i,resetPosition:Te,getElement:function(){return D.current},getMask:function(){return A.current},getContent:function(){return O.current},getHeader:function(){return N.current},getFooter:function(){return L.current},getCloseButton:function(){return I.current}}});var ei=function(){if(i.closable&&i.showCloseIcon){var me=i.ariaCloseIconLabel||Wb("close"),Je=n({className:pe("closeButtonIcon"),"aria-hidden":!0},U("closeButtonIcon")),Nt=i.closeIcon||j.createElement(T3,Je),Gt=r3.getJSXIcon(Nt,_2({},Je),{props:i}),fr=n({ref:I,type:"button",className:pe("closeButton"),"aria-label":me,onClick:jt,onKeyDown:function(on){on.key!=="Escape"&&on.stopPropagation()}},U("closeButton"));return j.createElement("button",fr,Gt,j.createElement(y2,null))}return null},Yl=function(){var me,Je=n({className:pe("maximizableIcon")},U("maximizableIcon"));ae?me=i.minimizeIcon||j.createElement(B3,Je):me=i.maximizeIcon||j.createElement(F3,Je);var Nt=r3.getJSXIcon(me,Je,{props:i});if(i.maximizable){var Gt=n({type:"button",className:pe("maximizableButton"),onClick:ot},U("maximizableButton"));return j.createElement("button",Gt,Nt,j.createElement(y2,null))}return null},xs=function(){if(i.showHeader){var me=ei(),Je=Yl(),Nt=Ge.getJSXElement(i.icons,i),Gt=Ge.getJSXElement(i.header,i),fr=u+"_header",Br=n({ref:N,style:i.headerStyle,className:pe("header"),onMouseDown:ht},U("header")),on=n({id:fr,className:pe("headerTitle")},U("headerTitle")),Pr=n({className:pe("headerIcons")},U("headerIcons"));return j.createElement("div",Br,j.createElement("div",on,Gt),j.createElement("div",Pr,Nt,Je,me))}return null},cn=function(){var me=u+"_content",Je=n({id:me,ref:O,style:i.contentStyle,className:pe("content")},U("content"));return j.createElement("div",Je,i.children)},Fr=function(){var me=Ge.getJSXElement(i.footer,i),Je=n({ref:L,className:pe("footer")},U("footer"));return me&&j.createElement("div",Je,me)},So=function(){return i.resizable?j.createElement("span",{className:"p-resizable-handle",style:{zIndex:90},onMouseDown:ln}):null},Zl=function(){var me,Je={header:i.header,content:i.message,message:i==null||(me=i.children)===null||me===void 0||(me=me[1])===null||me===void 0||(me=me.props)===null||me===void 0?void 0:me.children},Nt={headerRef:N,contentRef:O,footerRef:L,closeRef:I,hide:jt,message:Je};return Ge.getJSXElement(e.content,Nt)},Ep=function(){var me=xs(),Je=cn(),Nt=Fr(),Gt=So();return j.createElement(j.Fragment,null,me,Je,Nt,Gt)},_p=function(){var me=u+"_header",Je=u+"_content",Nt={enter:i.position==="center"?150:300,exit:i.position==="center"?150:300},Gt=n({ref:A,style:J("mask"),className:pe("mask"),onPointerUp:Qe},U("mask")),fr=n({ref:D,id:u,className:wr(i.className,pe("root",{props:i,maximized:ae,context:r})),style:i.style,onClick:i.onClick,role:"dialog","aria-labelledby":me,"aria-describedby":Je,"aria-modal":i.modal,onPointerDown:Ce},_0.getOtherProps(i),U("root")),Br=n({classNames:pe("transition"),timeout:Nt,in:x,options:i.transitionOptions,unmountOnExit:!0,onEnter:qe,onEntered:He,onExiting:Dt,onExited:Vt},U("transition")),on=null;e!=null&&e.content?on=Zl():on=Ep();var Pr=j.createElement("div",Gt,j.createElement(O3,w2({nodeRef:D},Br),j.createElement("div",fr,j.createElement(ow,{autoFocus:i.focusOnShow},on))));return j.createElement(L3,{element:Pr,appendTo:i.appendTo,visible:!0})};return m&&_p()});R3.displayName="Dialog";const S2={dialog:{header:{className:"hidden relative"},content:{className:wr("bg-white rounded-[20px]","overflow-hidden")},mask:{style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}}},W3=({modal:e,isOpen:t,children:n,onClose:r=()=>{}})=>b.jsx(R3,{modal:e,onHide:r,visible:t,maskStyle:S2.dialog.mask.style,headerClassName:S2.dialog.header.className,contentClassName:S2.dialog.content.className,children:n&&n}),ki={container:{content:"mt-12 mb-4",description:"font-normal text-2xl text-darkened"},inscription:{title:"text-xl font-bold text-info"},success:{confirmation:"text-primary font-semibold text-lg transition-opacity",show:"opacity-100",hide:"opacity-0"},error:{confirmation:"text-danger font-semibold text-lg transition-opacity",show:"opacity-100",hide:"opacity-0"}},Rr=e=>e!=null&&e.tag?T.createElement(e.tag,{className:xe("m-0 p-0",e.sans&&"font-sans",e.className&&e.className,e.font&&`font-${e.font}`,e.size&&`text-${e.size}`,e.color&&`text-${e.color}`,e.style&&`font-${e.style}`,e.leading&&`leading-${e.leading}`,e.customColor&&`text-${e.customColor}`)},e.children):b.jsx("p",{className:xe("m-0 p-0",e.sans&&"font-sans",e.className&&e.className,e.font&&`font-${e.font}`,e.size&&`text-${e.size}`,e.color&&`text-${e.color}`,e.style&&`font-${e.style}`,e.leading&&`leading-${e.leading}`,e.customColor&&`text-${e.customColor}`),children:e.children});Rr.defaultProps={color:"info",size:"base",font:"medium"};const U3=({color:e,size:t,font:n,children:r})=>b.jsx("h1",{className:xe(`text-${t}`,`text-${e}`,`font-${n}`),children:r});U3.defaultProps={color:"info",size:"4xl",font:"bold"};const z3=({size:e,color:t,font:n,children:r})=>b.jsx("h2",{className:xe(`text-${e}`,`text-${t}`,`font-${n}`),children:r});z3.defaultProps={color:"info",size:"xl",font:"normal"};const uw=({children:e})=>b.jsx("h2",{className:ki.inscription.title,children:e}),dw=({content:e,children:t})=>b.jsx("h3",{className:xe(ki.container.description,e&&ki.container.content),children:t}),fw=e=>{const t=T.useRef(!0);return T.useEffect(()=>{if(e!=null&&e.onDismiss)return window==null||window.setTimeout(()=>{var n;t.current&&((n=e==null?void 0:e.onDismiss)==null||n.call(e))},V3),()=>{t.current=!1}},[e==null?void 0:e.onDismiss]),b.jsx("span",{className:xe(ki.success.confirmation,(e==null?void 0:e.className)&&e.className,e!=null&&e.confirmation?ki.success.show:ki.success.hide),children:e.children})},pw=e=>{const t=T.useRef(!0);return T.useEffect(()=>{if(e!=null&&e.onDismiss)return window==null||window.setTimeout(()=>{var n;t.current&&((n=e==null?void 0:e.onDismiss)==null||n.call(e))},V3),()=>{t.current=!1}},[e==null?void 0:e.onDismiss]),b.jsx("span",{className:xe(ki.error.confirmation,(e==null?void 0:e.className)&&e.className,e!=null&&e.confirmation?ki.error.show:ki.error.hide),children:(e==null?void 0:e.confirmation)&&e.children})},V3=5e3,hw=()=>b.jsxs("svg",{height:"100%",viewBox:"0 0 367 94",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b.jsx("path",{d:"M20.5408 35.3905C20.5408 34.7688 20.4427 34.2162 20.2464 33.7326C20.0642 33.249 19.7349 32.8069 19.2584 32.4063C18.7819 32.0056 18.1091 31.6188 17.2402 31.2457C16.3853 30.8589 15.2921 30.4651 13.9607 30.0645C12.5031 29.6224 11.1576 29.1319 9.92432 28.5931C8.70501 28.0404 7.63986 27.4049 6.72888 26.6865C5.8179 25.9542 5.11013 25.1184 4.60559 24.1789C4.10105 23.2256 3.84877 22.1272 3.84877 20.8838C3.84877 19.6542 4.10805 18.5351 4.62661 17.5265C5.15919 16.518 5.90899 15.6476 6.87604 14.9153C7.85709 14.1693 9.01334 13.5959 10.3448 13.1952C11.6762 12.7808 13.1478 12.5735 14.7595 12.5735C17.03 12.5735 18.9851 12.988 20.6248 13.8169C22.2786 14.6459 23.547 15.7581 24.4299 17.1535C25.3269 18.5489 25.7754 20.0894 25.7754 21.7749H20.5408C20.5408 20.7802 20.3235 19.9029 19.8891 19.143C19.4686 18.3693 18.8239 17.7614 17.955 17.3193C17.1 16.8772 16.0139 16.6561 14.6965 16.6561C13.4491 16.6561 12.412 16.8426 11.5851 17.2157C10.7582 17.5887 10.1416 18.093 9.73512 18.7285C9.32868 19.364 9.12546 20.0825 9.12546 20.8838C9.12546 21.4502 9.2586 21.9683 9.52489 22.4381C9.79118 22.894 10.1976 23.3223 10.7442 23.723C11.2908 24.1098 11.9775 24.4759 12.8044 24.8213C13.6313 25.1667 14.6054 25.4983 15.7266 25.8161C17.4224 26.3134 18.901 26.8661 20.1623 27.474C21.4237 28.0681 22.4748 28.7451 23.3157 29.5049C24.1567 30.2648 24.7873 31.1283 25.2078 32.0954C25.6282 33.0487 25.8385 34.1333 25.8385 35.3491C25.8385 36.6201 25.5792 37.7669 25.0606 38.7892C24.5421 39.7978 23.7993 40.6613 22.8322 41.3797C21.8792 42.0843 20.73 42.6301 19.3845 43.0169C18.0531 43.3899 16.5675 43.5765 14.9277 43.5765C13.4561 43.5765 12.0056 43.383 10.576 42.9962C9.1605 42.6093 7.87111 42.0222 6.70785 41.2346C5.5446 40.4333 4.61961 39.4386 3.93287 38.2504C3.24613 37.0484 2.90276 35.6461 2.90276 34.0435H8.17944C8.17944 35.0244 8.34762 35.8603 8.68398 36.5511C9.03436 37.2418 9.51788 37.8083 10.1345 38.2504C10.7512 38.6787 11.466 38.9965 12.2789 39.2037C13.1057 39.4109 13.9887 39.5146 14.9277 39.5146C16.161 39.5146 17.1911 39.3419 18.018 38.9965C18.8589 38.6511 19.4896 38.1675 19.9101 37.5458C20.3305 36.9241 20.5408 36.2057 20.5408 35.3905Z",fill:"#939799"}),b.jsx("path",{d:"M43.6867 37.8774V20.7387H48.7742V43.162H43.981L43.6867 37.8774ZM44.4015 33.2145L46.1043 33.1731C46.1043 34.679 45.9361 36.0675 45.5998 37.3386C45.2634 38.5958 44.7448 39.6942 44.0441 40.6337C43.3433 41.5593 42.4464 42.2847 41.3532 42.8097C40.26 43.3209 38.9496 43.5765 37.4219 43.5765C36.3148 43.5765 35.2987 43.4176 34.3737 43.0998C33.4487 42.782 32.6498 42.2916 31.9771 41.6284C31.3184 40.9652 30.8068 40.1017 30.4424 39.0379C30.078 37.9741 29.8958 36.703 29.8958 35.2247V20.7387H34.9623V35.2662C34.9623 36.0813 35.0604 36.7652 35.2566 37.3178C35.4528 37.8567 35.7191 38.2919 36.0555 38.6234C36.3918 38.955 36.7843 39.1899 37.2327 39.3281C37.6812 39.4662 38.1577 39.5353 38.6623 39.5353C40.1058 39.5353 41.2411 39.259 42.0679 38.7063C42.9089 38.1399 43.5045 37.38 43.8549 36.4267C44.2193 35.4734 44.4015 34.4027 44.4015 33.2145Z",fill:"#939799"}),b.jsx("path",{d:"M63.2588 39.5975C64.0857 39.5975 64.8285 39.4386 65.4872 39.1208C66.1599 38.7892 66.6995 38.3333 67.1059 37.753C67.5264 37.1728 67.7576 36.5027 67.7997 35.7428H72.5718C72.5438 37.1935 72.1093 38.5129 71.2684 39.7011C70.4275 40.8893 69.3133 41.8356 67.9258 42.5403C66.5383 43.2311 65.0037 43.5765 63.3218 43.5765C61.584 43.5765 60.0703 43.2863 58.781 42.706C57.4916 42.112 56.4194 41.2968 55.5645 40.2606C54.7096 39.2244 54.0649 38.0294 53.6304 36.6754C53.2099 35.3214 52.9997 33.8708 52.9997 32.3234V31.598C52.9997 30.0507 53.2099 28.6 53.6304 27.246C54.0649 25.8782 54.7096 24.6763 55.5645 23.6401C56.4194 22.6039 57.4916 21.7956 58.781 21.2154C60.0703 20.6213 61.577 20.3242 63.3008 20.3242C65.1228 20.3242 66.7205 20.6835 68.094 21.4019C69.4675 22.1065 70.5466 23.0943 71.3315 24.3654C72.1303 25.6227 72.5438 27.0871 72.5718 28.7589H67.7997C67.7576 27.9299 67.5474 27.1839 67.169 26.5207C66.8046 25.8437 66.286 25.3049 65.6133 24.9042C64.9546 24.5036 64.1628 24.3032 63.2378 24.3032C62.2146 24.3032 61.3667 24.5105 60.694 24.9249C60.0213 25.3256 59.4957 25.8782 59.1173 26.5829C58.7389 27.2737 58.4656 28.0543 58.2974 28.9247C58.1433 29.7812 58.0662 30.6724 58.0662 31.598V32.3234C58.0662 33.249 58.1433 34.1471 58.2974 35.0175C58.4516 35.8879 58.7179 36.6685 59.0963 37.3593C59.4887 38.0363 60.0213 38.582 60.694 38.9965C61.3667 39.3971 62.2217 39.5975 63.2588 39.5975Z",fill:"#939799"}),b.jsx("path",{d:"M90.1467 37.8774V20.7387H95.2342V43.162H90.4411L90.1467 37.8774ZM90.8615 33.2145L92.5643 33.1731C92.5643 34.679 92.3962 36.0675 92.0598 37.3386C91.7234 38.5958 91.2049 39.6942 90.5041 40.6337C89.8034 41.5593 88.9064 42.2847 87.8132 42.8097C86.72 43.3209 85.4096 43.5765 83.882 43.5765C82.7748 43.5765 81.7587 43.4176 80.8337 43.0998C79.9087 42.782 79.1098 42.2916 78.4371 41.6284C77.7784 40.9652 77.2669 40.1017 76.9025 39.0379C76.5381 37.9741 76.3559 36.703 76.3559 35.2247V20.7387H81.4223V35.2662C81.4223 36.0813 81.5204 36.7652 81.7167 37.3178C81.9129 37.8567 82.1792 38.2919 82.5155 38.6234C82.8519 38.955 83.2443 39.1899 83.6928 39.3281C84.1413 39.4662 84.6178 39.5353 85.1223 39.5353C86.5659 39.5353 87.7011 39.259 88.528 38.7063C89.3689 38.1399 89.9645 37.38 90.3149 36.4267C90.6793 35.4734 90.8615 34.4027 90.8615 33.2145Z",fill:"#939799"}),b.jsx("path",{d:"M105.514 25.0078V43.162H100.448V20.7387H105.283L105.514 25.0078ZM112.473 20.5937L112.431 25.2358C112.122 25.1805 111.786 25.1391 111.422 25.1115C111.071 25.0838 110.721 25.07 110.371 25.07C109.502 25.07 108.738 25.1944 108.079 25.443C107.42 25.6779 106.867 26.0233 106.418 26.4792C105.984 26.9214 105.647 27.4602 105.409 28.0957C105.171 28.7312 105.031 29.4428 104.989 30.2303L103.832 30.3132C103.832 28.9039 103.973 27.5983 104.253 26.3963C104.533 25.1944 104.954 24.1374 105.514 23.2256C106.089 22.3137 106.804 21.6022 107.659 21.091C108.528 20.5798 109.53 20.3242 110.665 20.3242C110.973 20.3242 111.303 20.3519 111.653 20.4071C112.017 20.4624 112.291 20.5246 112.473 20.5937Z",fill:"#939799"}),b.jsx("path",{d:"M128.408 37.0899C128.408 36.5925 128.282 36.1435 128.03 35.7428C127.777 35.3283 127.294 34.9553 126.579 34.6237C125.878 34.2921 124.841 33.9882 123.468 33.7119C122.262 33.4494 121.155 33.1385 120.146 32.7793C119.151 32.4063 118.296 31.9573 117.581 31.4323C116.867 30.9072 116.313 30.2855 115.921 29.5671C115.528 28.8487 115.332 28.0197 115.332 27.0802C115.332 26.1684 115.535 25.3049 115.942 24.4897C116.348 23.6746 116.93 22.9562 117.686 22.3345C118.443 21.7127 119.361 21.2223 120.44 20.8631C121.534 20.5039 122.753 20.3242 124.098 20.3242C126.004 20.3242 127.637 20.642 128.997 21.2775C130.37 21.8993 131.421 22.7489 132.15 23.8266C132.879 24.8904 133.243 26.0924 133.243 27.4325H128.177C128.177 26.8385 128.023 26.2858 127.714 25.7746C127.42 25.2496 126.971 24.8282 126.369 24.5105C125.766 24.1789 125.009 24.0131 124.098 24.0131C123.229 24.0131 122.508 24.1513 121.933 24.4276C121.372 24.6901 120.952 25.0355 120.672 25.4638C120.405 25.8921 120.272 26.3618 120.272 26.873C120.272 27.246 120.342 27.5845 120.482 27.8885C120.637 28.1786 120.889 28.448 121.239 28.6967C121.59 28.9316 122.066 29.1526 122.669 29.3599C123.285 29.5671 124.056 29.7674 124.981 29.9609C126.719 30.3201 128.212 30.7829 129.459 31.3494C130.72 31.902 131.687 32.6204 132.36 33.5046C133.033 34.375 133.369 35.4803 133.369 36.8205C133.369 37.8152 133.152 38.7271 132.718 39.556C132.297 40.3712 131.68 41.0827 130.868 41.6906C130.055 42.2847 129.081 42.7475 127.945 43.0791C126.824 43.4107 125.563 43.5765 124.161 43.5765C122.101 43.5765 120.356 43.2172 118.927 42.4988C117.497 41.7666 116.411 40.834 115.668 39.7011C114.939 38.5544 114.575 37.3662 114.575 36.1366H119.473C119.529 37.0622 119.789 37.8014 120.251 38.354C120.728 38.8929 121.316 39.2866 122.017 39.5353C122.732 39.7702 123.468 39.8876 124.224 39.8876C125.135 39.8876 125.899 39.7702 126.516 39.5353C127.133 39.2866 127.602 38.955 127.924 38.5405C128.247 38.1123 128.408 37.6287 128.408 37.0899Z",fill:"#939799"}),b.jsx("path",{d:"M150.629 38.6649V27.9714C150.629 27.17 150.482 26.4792 150.187 25.899C149.893 25.3187 149.445 24.8697 148.842 24.5519C148.253 24.2342 147.511 24.0753 146.614 24.0753C145.787 24.0753 145.072 24.2134 144.469 24.4897C143.867 24.7661 143.397 25.1391 143.061 25.6088C142.724 26.0786 142.556 26.6105 142.556 27.2046H137.511C137.511 26.3204 137.728 25.4638 138.162 24.6348C138.597 23.8059 139.228 23.0667 140.055 22.4174C140.881 21.768 141.869 21.2568 143.019 20.8838C144.168 20.5108 145.457 20.3242 146.887 20.3242C148.597 20.3242 150.11 20.6075 151.428 21.1739C152.759 21.7404 153.803 22.597 154.56 23.7437C155.331 24.8766 155.716 26.2996 155.716 28.0128V37.981C155.716 39.0034 155.786 39.9221 155.927 40.7373C156.081 41.5386 156.298 42.2363 156.578 42.8304V43.162H151.386C151.147 42.6231 150.958 41.9393 150.818 41.1103C150.692 40.2675 150.629 39.4524 150.629 38.6649ZM151.365 29.5257L151.407 32.6135H147.77C146.831 32.6135 146.004 32.7033 145.289 32.8829C144.574 33.0487 143.979 33.2974 143.502 33.629C143.026 33.9606 142.668 34.3612 142.43 34.831C142.192 35.3007 142.073 35.8326 142.073 36.4267C142.073 37.0208 142.213 37.5665 142.493 38.0639C142.773 38.5475 143.18 38.9274 143.712 39.2037C144.259 39.48 144.918 39.6182 145.689 39.6182C146.726 39.6182 147.63 39.4109 148.4 38.9965C149.185 38.5682 149.802 38.0501 150.25 37.4422C150.699 36.8205 150.937 36.2333 150.965 35.6806L152.605 37.8981C152.437 38.4646 152.15 39.0725 151.743 39.7218C151.337 40.3712 150.804 40.9929 150.145 41.587C149.501 42.1672 148.723 42.6439 147.812 43.0169C146.915 43.3899 145.878 43.5765 144.701 43.5765C143.215 43.5765 141.89 43.2863 140.727 42.706C139.564 42.112 138.653 41.3175 137.994 40.3228C137.336 39.3142 137.006 38.1744 137.006 36.9034C137.006 35.7152 137.23 34.6652 137.679 33.7533C138.141 32.8277 138.814 32.054 139.697 31.4323C140.594 30.8105 141.687 30.3408 142.977 30.023C144.266 29.6914 145.738 29.5257 147.391 29.5257H151.365Z",fill:"#939799"}),b.jsx("path",{d:"M166.438 11.3301V43.162H161.35V11.3301H166.438Z",fill:"#939799"}),b.jsx("path",{d:"M13.4825 75.3211L19.6164 52.7896H27.5723L17.6325 82.2648H12.4905L13.4825 75.3211ZM7.91539 52.7896L14.0493 75.3211L15.0817 82.2648H9.87905L0 52.7896H7.91539Z",fill:"#65BFB1"}),b.jsx("path",{d:"M37.2894 52.7896V82.2648H30.204V52.7896H37.2894Z",fill:"#65BFB1"}),b.jsx("path",{d:"M42.2896 52.7896H53.8894C56.1567 52.7896 58.1271 53.127 59.8006 53.8017C61.4741 54.4765 62.763 55.4752 63.6672 56.7979C64.585 58.1205 65.0438 59.7535 65.0438 61.6969C65.0438 63.3839 64.7807 64.7942 64.2543 65.9279C63.728 67.0615 62.9924 67.9995 62.0477 68.7418C61.1165 69.4706 60.0301 70.0711 58.7884 70.5435L56.4604 71.8594H46.723L46.6826 66.3732H53.8894C54.7936 66.3732 55.5427 66.2113 56.1365 65.8874C56.7303 65.5635 57.1757 65.1046 57.4726 64.5108C57.783 63.9035 57.9382 63.1814 57.9382 62.3447C57.9382 61.4945 57.783 60.7657 57.4726 60.1584C57.1622 59.551 56.7033 59.0854 56.096 58.7615C55.5022 58.4376 54.7666 58.2757 53.8894 58.2757H49.3953V82.2648H42.2896V52.7896ZM58.4241 82.2648L51.9055 69.2276L59.4363 69.1872L66.0358 81.9611V82.2648H58.4241Z",fill:"#65BFB1"}),b.jsx("path",{d:"M82.5953 52.7896V82.2648H75.4897V52.7896H82.5953ZM91.4622 52.7896V58.2757H66.8253V52.7896H91.4622Z",fill:"#65BFB1"}),b.jsx("path",{d:"M110.471 52.7896H117.577V72.0416C117.577 74.3359 117.098 76.2793 116.14 77.8718C115.181 79.4508 113.839 80.6452 112.111 81.455C110.384 82.2648 108.352 82.6696 106.018 82.6696C103.71 82.6696 101.679 82.2648 99.9242 81.455C98.1832 80.6452 96.8201 79.4508 95.8349 77.8718C94.8632 76.2793 94.3773 74.3359 94.3773 72.0416V52.7896H101.503V72.0416C101.503 73.2562 101.679 74.2481 102.03 75.0174C102.38 75.7732 102.893 76.3265 103.568 76.6774C104.243 77.0283 105.059 77.2038 106.018 77.2038C106.989 77.2038 107.806 77.0283 108.467 76.6774C109.128 76.3265 109.628 75.7732 109.965 75.0174C110.303 74.2481 110.471 73.2562 110.471 72.0416V52.7896Z",fill:"#65BFB1"}),b.jsx("path",{d:"M134.096 58.9842L126.909 82.2648H119.277L130.108 52.7896H134.946L134.096 58.9842ZM140.048 82.2648L132.841 58.9842L131.91 52.7896H136.809L147.7 82.2648H140.048ZM139.764 71.2723V76.7584H124.642V71.2723H139.764Z",fill:"#65BFB1"}),b.jsx("path",{d:"M169.341 76.7989V82.2648H154.441V76.7989H169.341ZM156.972 52.7896V82.2648H149.866V52.7896H156.972Z",fill:"#65BFB1"}),b.jsx("path",{d:"M193.341 1L193.341 93",stroke:"#BABABA",strokeWidth:"2",strokeLinecap:"round"}),b.jsx("path",{d:"M302.052 9.87842C305.444 9.87842 305.444 14.6376 302.052 14.6376H286.614C286.614 27.0537 286.683 39.675 286.683 52.0911C286.683 53.8163 285.23 54.6429 284.053 54.6429C282.876 54.6429 281.561 53.8148 281.561 52.0911V14.6376H266.192C262.938 14.6376 262.938 9.87842 266.192 9.87842H302.052Z",fill:"#65BFB1"}),b.jsx("path",{d:"M307.938 20.9829C307.938 18.0162 312.991 17.9473 312.991 20.914V52.0224C312.991 55.0579 307.938 54.9875 307.938 52.0224V20.9829Z",fill:"#65BFB1"}),b.jsx("path",{d:"M353.421 52.0913C350.098 53.6083 346.36 54.5742 343.037 54.5742C331.199 54.5742 320.536 44.9181 320.536 31.2605C320.536 19.9481 328.636 10.9808 339.297 9.32605C347.397 8.22237 354.458 10.2231 359.928 15.9482C362.005 18.2933 358.267 21.1222 356.328 19.0526C351.62 14.0867 346.151 13.3275 340.059 14.0178C331.544 15.3282 325.52 21.3288 325.52 31.3309C325.52 41.333 333.62 49.8166 343.173 49.8166C345.735 49.8166 348.574 49.1262 351.204 47.8158C353.35 46.7122 355.428 45.0559 356.881 43.1944C358.473 40.8493 362.696 43.4011 360.896 45.9529C359.027 48.5736 356.396 50.6432 353.42 52.0913H353.421Z",fill:"#65BFB1"}),b.jsx("path",{d:"M310.464 16.0082C312.242 16.0082 313.682 14.5727 313.682 12.8019C313.682 11.0312 312.242 9.5957 310.464 9.5957C308.687 9.5957 307.246 11.0312 307.246 12.8019C307.246 14.5727 308.687 16.0082 310.464 16.0082Z",fill:"#65BFB1"}),b.jsx("path",{d:"M242.568 6.70557C228.635 6.70557 217.341 17.9581 217.341 31.8403C217.341 45.7225 228.635 56.975 242.568 56.975C256.501 56.975 267.795 45.7225 267.795 31.8403C267.795 17.9581 256.499 6.70557 242.568 6.70557ZM248.72 19.9109C248.984 20.0427 249.246 20.1804 249.5 20.3287C253.474 22.6364 256.148 26.9254 256.148 31.8403C256.148 36.7552 253.474 41.0442 249.5 43.3519C249.246 43.5001 248.984 43.6394 248.72 43.7697C248.515 43.8715 248.306 43.9659 248.094 44.0572C246.465 44.7626 244.67 45.1579 242.781 45.1579C235.398 45.1579 229.415 39.1947 229.415 31.8403C229.415 24.4859 235.4 18.5227 242.781 18.5227C244.67 18.5227 246.467 18.918 248.094 19.6233C248.305 19.7147 248.514 19.8105 248.72 19.9109Z",fill:"#65BFB1"}),b.jsx("path",{d:"M267.178 60.5645H217.341V67.4112H267.178V60.5645Z",fill:"#E55257"}),b.jsx("path",{d:"M317.016 60.5645H267.179V67.4112H317.016V60.5645Z",fill:"#9AC873"}),b.jsx("path",{d:"M366.854 60.5645H317.016V67.4112H366.854V60.5645Z",fill:"#F1A946"}),b.jsx("path",{d:"M260.105 82.6395C258.949 82.5526 257.879 82.5676 257.879 81.6451C257.879 80.7226 259.137 80.3917 259.976 80.3917C260.627 80.3917 261.841 80.4486 262.16 81.2842C262.347 81.8308 263.346 81.5582 263.143 80.9098C262.636 79.6144 261.091 79.4272 259.977 79.4272C258.59 79.4272 256.825 80.0892 256.825 81.6301C256.825 83.4017 258.503 83.532 260.064 83.6758C261.235 83.7626 262.334 83.8061 262.334 84.727C262.334 85.7214 260.816 86.0374 260.108 86.0374C259.053 86.0374 257.926 85.7064 257.781 85.058C257.651 84.3377 256.595 84.6402 256.77 85.2452C257.058 86.6858 258.909 86.9883 260.109 86.9883C261.31 86.9883 263.391 86.5421 263.391 84.727C263.391 82.912 261.7 82.7832 260.109 82.6395H260.105Z",fill:"#65BFB1"}),b.jsx("path",{d:"M271.483 79.5561C271.107 79.4557 270.76 79.4258 270.413 79.4258C270.066 79.4258 269.661 79.4542 269.314 79.5561C267.724 80.0023 266.785 81.3426 266.64 82.9405C266.597 84.0217 266.872 84.9427 267.523 85.7065C268.231 86.5556 269.257 87.0033 270.413 87.0033C271.569 87.0033 272.597 86.5571 273.305 85.7065C273.941 84.9427 274.231 84.0217 274.172 82.9405C274.041 81.3277 273.06 80.0023 271.483 79.5561ZM272.495 85.073C271.988 85.6481 271.193 86.0239 270.413 86.0239C269.633 86.0239 268.853 85.678 268.346 85.073C267.913 84.5683 267.71 83.8914 267.71 83.243C267.71 81.9461 268.418 80.823 269.634 80.5055C269.851 80.4471 270.126 80.4052 270.399 80.4052C270.673 80.4052 270.965 80.4486 271.195 80.5055C272.424 80.823 273.132 81.9596 273.132 83.2715C273.132 83.8914 272.9 84.5818 272.496 85.0715L272.495 85.073Z",fill:"#65BFB1"}),b.jsx("path",{d:"M287.789 79.5127C286.503 79.5127 285.245 80.1327 284.725 81.4146C284.292 80.1327 283.047 79.5127 281.791 79.5127C280.677 79.5127 279.65 79.974 279.073 81.0103V80.0159C279.073 79.7419 278.885 79.5112 278.567 79.5112C278.278 79.5112 278.047 79.7419 278.047 80.0159V86.4538C278.047 87.1023 279.102 87.1157 279.102 86.4538V83.2132C279.102 81.6003 280.388 80.5206 281.806 80.5206C282.254 80.5206 282.673 80.6209 283.049 80.8515C283.713 81.2693 284.047 82.0615 284.047 82.8822V86.4553C284.047 86.7713 284.263 86.9585 284.582 86.9585C284.901 86.9585 285.117 86.7713 285.117 86.4553V83.2865C285.117 81.6302 286.316 80.5056 287.834 80.5056C289.049 80.5056 290.047 81.3981 290.076 82.6381V86.4553C290.076 86.7713 290.263 86.9585 290.596 86.9585C290.928 86.9585 291.131 86.7713 291.131 86.4553V82.5947C291.131 80.6209 289.455 79.5127 287.791 79.5127H287.789Z",fill:"#65BFB1"}),b.jsx("path",{d:"M299.776 79.5561C299.4 79.4557 299.053 79.4258 298.706 79.4258C298.359 79.4258 297.954 79.4542 297.607 79.5561C296.017 80.0023 295.078 81.3426 294.933 82.9405C294.89 84.0217 295.165 84.9427 295.816 85.7065C296.523 86.5556 297.55 87.0033 298.706 87.0033C299.862 87.0033 300.89 86.5571 301.598 85.7065C302.233 84.9427 302.524 84.0217 302.465 82.9405C302.334 81.3277 301.353 80.0023 299.776 79.5561ZM300.788 85.073C300.281 85.6481 299.486 86.0239 298.704 86.0239C297.923 86.0239 297.144 85.678 296.638 85.073C296.205 84.5683 296.002 83.8914 296.002 83.243C296.002 81.9461 296.71 80.823 297.926 80.5055C298.142 80.4471 298.417 80.4052 298.691 80.4052C298.964 80.4052 299.256 80.4486 299.486 80.5055C300.715 80.823 301.423 81.9596 301.423 83.2715C301.423 83.8914 301.192 84.5818 300.788 85.0715V85.073Z",fill:"#65BFB1"}),b.jsx("path",{d:"M309.143 82.6395C307.987 82.5526 306.917 82.5676 306.917 81.6451C306.917 80.7226 308.175 80.3917 309.014 80.3917C309.665 80.3917 310.879 80.4486 311.198 81.2842C311.386 81.8308 312.384 81.5582 312.181 80.9098C311.674 79.6144 310.129 79.4272 309.015 79.4272C307.628 79.4272 305.864 80.0892 305.864 81.6301C305.864 83.4017 307.541 83.532 309.103 83.6758C310.273 83.7626 311.372 83.8061 311.372 84.727C311.372 85.7214 309.854 86.0374 309.146 86.0374C308.091 86.0374 306.964 85.7064 306.819 85.058C306.689 84.3377 305.634 84.6402 305.808 85.2452C306.096 86.6858 307.947 86.9883 309.148 86.9883C310.349 86.9883 312.429 86.5421 312.429 84.727C312.429 82.912 310.738 82.7832 309.148 82.6395H309.143Z",fill:"#65BFB1"}),b.jsx("path",{d:"M329.708 84.203C329.436 84.1775 329.21 84.2944 329.075 84.495C328.803 84.8439 328.402 85.1689 327.979 85.3875C327.474 85.6391 326.92 85.7769 326.419 85.7769C324.531 85.7769 322.995 84.1626 322.995 82.1783C322.995 80.3468 324.047 79.0919 325.798 78.8223C327.22 78.6621 328.176 78.9511 328.974 79.7927C329.291 80.1312 329.772 80.0638 330.058 79.8092C330.371 79.5262 330.395 79.1084 330.107 78.7864C328.941 77.5644 327.408 77.0747 325.57 77.3263C323.171 77.6992 321.429 79.7328 321.429 82.1648C321.429 85.0416 323.608 87.2939 326.39 87.2939C327.094 87.2939 327.901 87.1022 328.668 86.7518L328.672 86.7488C329.359 86.4149 329.935 85.9416 330.333 85.3816C330.489 85.1614 330.515 84.9038 330.407 84.6732C330.283 84.4142 330.002 84.2255 329.706 84.203H329.708Z",fill:"#65BFB1"}),b.jsx("path",{d:"M341.374 84.203C341.105 84.1775 340.877 84.2944 340.742 84.495C340.47 84.8439 340.068 85.1689 339.646 85.3875C339.141 85.6391 338.586 85.7769 338.086 85.7769C336.198 85.7769 334.662 84.1626 334.662 82.1783C334.662 80.3468 335.714 79.0919 337.465 78.8223C338.89 78.6621 339.843 78.9511 340.641 79.7927C340.958 80.1312 341.441 80.0638 341.725 79.8092C342.037 79.5262 342.061 79.1084 341.774 78.7864C340.608 77.5644 339.075 77.0747 337.237 77.3263C334.838 77.6992 333.096 79.7328 333.096 82.1648C333.096 85.0416 335.275 87.2939 338.057 87.2939C338.761 87.2939 339.568 87.1022 340.334 86.7518L340.339 86.7488C341.026 86.4149 341.601 85.9416 342 85.3816C342.156 85.1614 342.182 84.9038 342.073 84.6732C341.95 84.4142 341.669 84.2255 341.373 84.203H341.374Z",fill:"#65BFB1"}),b.jsx("path",{d:"M349.232 79.1519C348.224 79.1519 347.35 79.4784 346.761 80.0519V77.8131C346.761 77.4028 346.417 77.0928 345.958 77.0928C345.5 77.0928 345.166 77.3953 345.166 77.8131V86.4404C345.166 86.9002 345.5 87.2206 345.978 87.2206C346.456 87.2206 346.761 86.9077 346.761 86.4404V82.8538C346.761 81.4761 348.01 80.6524 349.217 80.6524C350.19 80.6524 351.195 81.3952 351.195 82.6382V86.4404C351.195 86.9002 351.523 87.2206 351.992 87.2206C352.461 87.2206 352.775 86.9077 352.775 86.4404V82.6382C352.775 80.3484 350.992 79.1504 349.231 79.1504L349.232 79.1519Z",fill:"#65BFB1"}),b.jsx("path",{d:"M365.091 84.6732C364.967 84.4142 364.686 84.2255 364.39 84.203C364.115 84.1775 363.893 84.2944 363.757 84.495C363.485 84.8439 363.084 85.1689 362.662 85.3875C362.157 85.6391 361.602 85.7769 361.102 85.7769C359.214 85.7769 357.678 84.1626 357.678 82.1783C357.678 80.3468 358.73 79.0919 360.481 78.8223C361.904 78.6621 362.859 78.9511 363.657 79.7927C363.974 80.1312 364.456 80.0638 364.74 79.8092C365.053 79.5262 365.076 79.1084 364.79 78.7864C363.625 77.5644 362.094 77.0747 360.254 77.3263C357.855 77.6992 356.113 79.7328 356.113 82.1648C356.113 85.0416 358.292 87.2939 361.075 87.2939C361.778 87.2939 362.585 87.1022 363.352 86.7518L363.356 86.7488C364.043 86.4149 364.619 85.9416 365.017 85.3816C365.173 85.1614 365.199 84.9038 365.091 84.6732Z",fill:"#65BFB1"})]}),oo={button:"px-[2.5rem]",modal:{box:"flex flex-col w-[50rem] space-y-7 px-[64px] py-[36px] ",svg:"flex align-center justify-center h-24 mt-4",paragraph:`flex flex-col justify-between text-${nt.darkened} mt-4`,title:"text-center font-bold text-[2rem] leading-[2.25rem] mb-2 flex justify-center",subtitle:"text-justify text-xl leading-6 mt-2",buttonGroup:"flex place-content-evenly mt-8"}},mw="Términos y Condiciones";function vw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 15.75 3 12m0 0 3.75-3.75M3 12h18"}))}const gw=j.forwardRef(vw);function xw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 8.25 21 12m0 0-3.75 3.75M21 12H3"}))}const bw=j.forwardRef(xw);function yw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"}))}const q3=j.forwardRef(yw);function ww({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const Cw=j.forwardRef(ww);function Ew({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"}))}const _w=j.forwardRef(Ew);function Sw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21v-8.25M15.75 21v-8.25M8.25 21v-8.25M3 9l9-6 9 6m-1.5 12V10.332A48.36 48.36 0 0 0 12 9.75c-2.551 0-5.056.2-7.5.582V21M3 21h18M12 6.75h.008v.008H12V6.75Z"}))}const Aw=j.forwardRef(Sw);function kw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 21h16.5M4.5 3h15M5.25 3v18m13.5-18v18M9 6.75h1.5m-1.5 3h1.5m-1.5 3h1.5m3-6H15m-1.5 3H15m-1.5 3H15M9 21v-3.375c0-.621.504-1.125 1.125-1.125h3.75c.621 0 1.125.504 1.125 1.125V21"}))}const Dw=j.forwardRef(kw);function Ow({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"}))}const Y3=j.forwardRef(Ow);function Tw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V4.125Z"}))}const Z3=j.forwardRef(Tw);function Fw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))}const Bw=j.forwardRef(Fw);function Pw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"}))}const Lw=j.forwardRef(Pw);function Nw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))}const Iw=j.forwardRef(Nw);function Mw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"}))}const $w=j.forwardRef(Mw);function Hw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const jw=j.forwardRef(Hw);function Rw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12a7.5 7.5 0 0 0 15 0m-15 0a7.5 7.5 0 1 1 15 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077 1.41-.513m14.095-5.13 1.41-.513M5.106 17.785l1.15-.964m11.49-9.642 1.149-.964M7.501 19.795l.75-1.3m7.5-12.99.75-1.3m-6.063 16.658.26-1.477m2.605-14.772.26-1.477m0 17.726-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205 12 12m6.894 5.785-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"}))}const Ww=j.forwardRef(Rw);function Uw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.125 2.25h-4.5c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125v-9M10.125 2.25h.375a9 9 0 0 1 9 9v.375M10.125 2.25A3.375 3.375 0 0 1 13.5 5.625v1.5c0 .621.504 1.125 1.125 1.125h1.5a3.375 3.375 0 0 1 3.375 3.375M9 15l2.25 2.25L15 12"}))}const zw=j.forwardRef(Uw);function Vw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const G3=j.forwardRef(Vw);function qw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.712 4.33a9.027 9.027 0 0 1 1.652 1.306c.51.51.944 1.064 1.306 1.652M16.712 4.33l-3.448 4.138m3.448-4.138a9.014 9.014 0 0 0-9.424 0M19.67 7.288l-4.138 3.448m4.138-3.448a9.014 9.014 0 0 1 0 9.424m-4.138-5.976a3.736 3.736 0 0 0-.88-1.388 3.737 3.737 0 0 0-1.388-.88m2.268 2.268a3.765 3.765 0 0 1 0 2.528m-2.268-4.796a3.765 3.765 0 0 0-2.528 0m4.796 4.796c-.181.506-.475.982-.88 1.388a3.736 3.736 0 0 1-1.388.88m2.268-2.268 4.138 3.448m0 0a9.027 9.027 0 0 1-1.306 1.652c-.51.51-1.064.944-1.652 1.306m0 0-3.448-4.138m3.448 4.138a9.014 9.014 0 0 1-9.424 0m5.976-4.138a3.765 3.765 0 0 1-2.528 0m0 0a3.736 3.736 0 0 1-1.388-.88 3.737 3.737 0 0 1-.88-1.388m2.268 2.268L7.288 19.67m0 0a9.024 9.024 0 0 1-1.652-1.306 9.027 9.027 0 0 1-1.306-1.652m0 0 4.138-3.448M4.33 16.712a9.014 9.014 0 0 1 0-9.424m4.138 5.976a3.765 3.765 0 0 1 0-2.528m0 0c.181-.506.475-.982.88-1.388a3.736 3.736 0 0 1 1.388-.88m-2.268 2.268L4.33 7.288m6.406 1.18L7.288 4.33m0 0a9.024 9.024 0 0 0-1.652 1.306A9.025 9.025 0 0 0 4.33 7.288"}))}const K3=j.forwardRef(qw);function Yw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))}const X3=j.forwardRef(Yw);function Zw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.34 15.84c-.688-.06-1.386-.09-2.09-.09H7.5a4.5 4.5 0 1 1 0-9h.75c.704 0 1.402-.03 2.09-.09m0 9.18c.253.962.584 1.892.985 2.783.247.55.06 1.21-.463 1.511l-.657.38c-.551.318-1.26.117-1.527-.461a20.845 20.845 0 0 1-1.44-4.282m3.102.069a18.03 18.03 0 0 1-.59-4.59c0-1.586.205-3.124.59-4.59m0 9.18a23.848 23.848 0 0 1 8.835 2.535M10.34 6.66a23.847 23.847 0 0 0 8.835-2.535m0 0A23.74 23.74 0 0 0 18.795 3m.38 1.125a23.91 23.91 0 0 1 1.014 5.395m-1.014 8.855c-.118.38-.245.754-.38 1.125m.38-1.125a23.91 23.91 0 0 0 1.014-5.395m0-3.46c.495.413.811 1.035.811 1.73 0 .695-.316 1.317-.811 1.73m0-3.46a24.347 24.347 0 0 1 0 3.46"}))}const Gw=j.forwardRef(Zw);function Kw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14"}))}const Xw=j.forwardRef(Kw);function Qw({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a2.25 2.25 0 0 0-2.25-2.25H15a3 3 0 1 1-6 0H5.25A2.25 2.25 0 0 0 3 12m18 0v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6m18 0V9M3 12V9m18 0a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 9m18 0V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v3"}))}const Jw=j.forwardRef(Qw);function eC({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const Q3=j.forwardRef(eC);function tC({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}const nC=j.forwardRef(tC),rC=({visible:e,title:t=mw,subtitles:n=[],onAccept:r,onCancel:i,moreInfo:a=!1})=>{const[l,c]=T.useState(0),[u,d]=T.useState(!1),f=200,m=T.useMemo(()=>n.map(v=>v.content??""),[n]),h=a&&m.length>=2,g=v=>{d(!0),setTimeout(()=>{c(v),d(!1)},f)},w=()=>{l<m.length-1&&g(l+1)},x=()=>{l>0&&g(l-1)};return b.jsx(W3,{isOpen:e,children:b.jsxs(Si,{className:oo.modal.box,children:[b.jsx(Si,{className:oo.modal.svg,children:b.jsx(hw,{})}),b.jsxs(Si,{className:oo.modal.paragraph,children:[b.jsx("h1",{className:oo.modal.title,children:t}),b.jsx(Si,{className:`transition-opacity duration-${f} ${u?"opacity-0":"opacity-100"} min-h-[100px]`,children:b.jsx(Rr,{className:oo.modal.subtitle,children:m[l]})}),h&&b.jsxs(d0,{justifyContent:"between",alignItems:"center",className:"mt-4",children:[b.jsxs(Un,{variant:"secondary",size:"xs",disabled:l===0,onClick:x,className:"flex items-center gap-1 text-gray-600",children:[b.jsx(Lw,{className:"w-5 h-5"}),"Anterior"]}),b.jsx(Rr,{className:"text-sm text-gray-500",children:`${l+1}/${m.length}`}),b.jsxs(Un,{variant:"secondary",size:"xs",disabled:l===m.length-1,onClick:w,className:"flex items-center gap-1 text-gray-600",children:["Siguiente",b.jsx(Iw,{className:"w-5 h-5"})]})]})]}),b.jsxs(Si,{className:oo.modal.buttonGroup,children:[b.jsx(Un,{size:"xl",variant:"quaternary",onClick:r,className:oo.button,disabled:h&&l!==m.length-1,children:"Sí, continuar"}),b.jsx(Un,{size:"xl",variant:"secondary",onClick:i,className:oo.button,disabled:h&&l!==m.length-1,children:"No, corregir"})]})]})})},Oa={container:{root:"flex items-center relative ",label:"ml-2 text-sm font-medium text-gray-900 dark:text-gray-300",input:"h-6 w-6 rounded-md "}},A2=re.input.attrs({type:"checkbox"})`
|
|
744
|
-
appearance: none;
|
|
745
|
-
border: 2px solid #939799;
|
|
746
|
-
background-color: #f3f3f3;
|
|
747
|
-
cursor: pointer;
|
|
748
|
-
/* add styles for checked state */
|
|
749
|
-
&:checked {
|
|
750
|
-
background-color: #316772;
|
|
751
|
-
border-color: #316772;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
/* add styles for disabled state */
|
|
755
|
-
&:disabled {
|
|
756
|
-
opacity: 0.7;
|
|
757
|
-
cursor: not-allowed;
|
|
758
|
-
}
|
|
759
|
-
transition:
|
|
760
|
-
background-color 0.2s linear,
|
|
761
|
-
border-color 0.2s linear;
|
|
762
|
-
`,iC=re(Bw)`
|
|
763
|
-
position: absolute;
|
|
764
|
-
top: ${e=>e.top??"50%"};
|
|
765
|
-
left: ${e=>e.left};
|
|
766
|
-
right: ${e=>e.right??"0.125rem"};
|
|
767
|
-
transform: translateY(-50%);
|
|
768
|
-
color: ${e=>e.status?"#FFFFFF":"transparent"};
|
|
769
|
-
margin: 0;
|
|
770
|
-
padding: 0;
|
|
771
|
-
z-index: 1;
|
|
772
|
-
font-size: 20px;
|
|
773
|
-
transition: color 0.2s linear;
|
|
774
|
-
`,oC=re(Xw)`
|
|
775
|
-
position: absolute;
|
|
776
|
-
left: ${e=>e.left};
|
|
777
|
-
top: ${e=>e.top??"50%"};
|
|
778
|
-
right: ${e=>e.right??"0.125rem"};
|
|
779
|
-
transform: translateY(-50%);
|
|
780
|
-
color: ${e=>e.status?"#FFFFFF":"transparent"};
|
|
781
|
-
margin: 0;
|
|
782
|
-
padding: 0;
|
|
783
|
-
z-index: 1;
|
|
784
|
-
font-size: 20px;
|
|
785
|
-
transition: color 0.2s linear;
|
|
786
|
-
`;A2.defaultProps={type:"checkbox"};const k2=({id:e,top:t,left:n,right:r,name:i,label:a,hidden:l,filter:c,checked:u,disabled:d,onChange:f,className:m})=>{const h=()=>{d||f==null||f(!u)};return c?b.jsxs("div",{className:xe(Oa.container.root,m&&m,l&&"collapse"),children:[b.jsx(A2,{id:e,name:i,checked:c,disabled:d,onClick:h,className:xe(Oa.container.input,l&&"collapse")}),b.jsx(oC,{top:t,right:r,left:n,status:c,onClick:h}),a&&b.jsx("label",{htmlFor:e,className:xe(Oa.container.label,l&&"collapse"),children:a})]}):b.jsxs("div",{className:xe(Oa.container.root,m&&m,l&&"collapse"),children:[b.jsx(A2,{id:e,name:i,checked:u,disabled:d,onClick:h,className:xe(Oa.container.input,l&&"collapse")}),b.jsx(iC,{top:t,right:r,left:n,status:u,onClick:h}),a&&b.jsx("label",{htmlFor:e,className:xe(Oa.container.label,l&&"collapse"),children:a})]})};var aC=Object.defineProperty,sC=(e,t,n)=>t in e?aC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D2=(e,t,n)=>(sC(e,typeof t!="symbol"?t+"":t,n),n);let lC=class{constructor(){D2(this,"current",this.detect()),D2(this,"handoffState","pending"),D2(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Ho=new lC,Er=(e,t)=>{Ho.isServer?T.useEffect(e,t):T.useLayoutEffect(e,t)};function ao(e){let t=T.useRef(e);return Er(()=>{t.current=e},[e]),t}let Bt=function(e){let t=ao(e);return T.useCallback((...n)=>t.current(...n),[t])};function cC(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Di(){let e=[],t={addEventListener(n,r,i,a){return n.addEventListener(r,i,a),t.add(()=>n.removeEventListener(r,i,a))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return cC(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let a=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:a})})},group(n){let r=Di();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function S0(){let[e]=T.useState(Di);return T.useEffect(()=>()=>e.dispose(),[e]),e}function uC(){let e=typeof document>"u";return"useSyncExternalStore"in j?(t=>t.useSyncExternalStore)(j)(()=>()=>{},()=>!1,()=>!e):!1}function O2(){let e=uC(),[t,n]=j.useState(Ho.isHandoffComplete);return t&&Ho.isHandoffComplete===!1&&n(!1),j.useEffect(()=>{t!==!0&&n(!0)},[t]),j.useEffect(()=>Ho.handoff(),[]),e?!1:t}var J3;let Us=(J3=T.useId)!=null?J3:function(){let e=O2(),[t,n]=T.useState(e?()=>Ho.nextId():null);return Er(()=>{t===null&&n(Ho.nextId())},[t]),t!=null?""+t:void 0};function An(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,An),r}function zs(e){return Ho.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let T2=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var F2=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(F2||{}),dC=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(dC||{}),fC=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(fC||{});function e4(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(T2)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var B2=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(B2||{});function P2(e,t=0){var n;return e===((n=zs(e))==null?void 0:n.body)?!1:An(t,{0(){return e.matches(T2)},1(){let r=e;for(;r!==null;){if(r.matches(T2))return!0;r=r.parentElement}return!1}})}function t4(e){let t=zs(e);Di().nextFrame(()=>{t&&!P2(t.activeElement,0)&&hC(e)})}var pC=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(pC||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function hC(e){e==null||e.focus({preventScroll:!0})}let mC=["textarea","input"].join(",");function vC(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,mC))!=null?n:!1}function n4(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),a=t(r);if(i===null||a===null)return 0;let l=i.compareDocumentPosition(a);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function gC(e,t){return xC(e4(),t,{relativeTo:e})}function xC(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,l=Array.isArray(e)?n?n4(e):e:e4(e);i.length>0&&l.length>1&&(l=l.filter(g=>!i.includes(g))),r=r??a.activeElement;let c=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,l.indexOf(r))-1;if(t&4)return Math.max(0,l.indexOf(r))+1;if(t&8)return l.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=t&32?{preventScroll:!0}:{},f=0,m=l.length,h;do{if(f>=m||f+m<=0)return 0;let g=u+f;if(t&16)g=(g+m)%m;else{if(g<0)return 3;if(g>=m)return 1}h=l[g],h==null||h.focus(d),f+=c}while(h!==a.activeElement);return t&6&&vC(h)&&h.select(),2}function bC(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function yC(){return/Android/gi.test(window.navigator.userAgent)}function wC(){return bC()||yC()}function A0(e,t,n){let r=ao(t);T.useEffect(()=>{function i(a){r.current(a)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function CC(e,t,n){let r=ao(t);T.useEffect(()=>{function i(a){r.current(a)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}function EC(e,t,n=!0){let r=T.useRef(!1);T.useEffect(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(l,c){if(!r.current||l.defaultPrevented)return;let u=c(l);if(u===null||!u.getRootNode().contains(u)||!u.isConnected)return;let d=function f(m){return typeof m=="function"?f(m()):Array.isArray(m)||m instanceof Set?m:[m]}(e);for(let f of d){if(f===null)continue;let m=f instanceof HTMLElement?f:f.current;if(m!=null&&m.contains(u)||l.composed&&l.composedPath().includes(m))return}return!P2(u,B2.Loose)&&u.tabIndex!==-1&&l.preventDefault(),t(l,u)}let a=T.useRef(null);A0("pointerdown",l=>{var c,u;r.current&&(a.current=((u=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:u[0])||l.target)},!0),A0("mousedown",l=>{var c,u;r.current&&(a.current=((u=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:u[0])||l.target)},!0),A0("click",l=>{wC()||a.current&&(i(l,()=>a.current),a.current=null)},!0),A0("touchend",l=>i(l,()=>l.target instanceof HTMLElement?l.target:null),!0),CC("blur",l=>i(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function _C(...e){return T.useMemo(()=>zs(...e),[...e])}function r4(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function i4(e,t){let[n,r]=T.useState(()=>r4(e));return Er(()=>{r(r4(e))},[e.type,e.as]),Er(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let o4=Symbol();function SC(e,t=!0){return Object.assign(e,{[o4]:t})}function Oi(...e){let t=T.useRef(e);T.useEffect(()=>{t.current=e},[e]);let n=Bt(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[o4]))?void 0:n}function a4(e){return[e.screenX,e.screenY]}function AC(){let e=T.useRef([-1,-1]);return{wasMoved(t){let n=a4(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=a4(t)}}}function kC({container:e,accept:t,walk:n,enabled:r=!0}){let i=T.useRef(t),a=T.useRef(n);T.useEffect(()=>{i.current=t,a.current=n},[t,n]),Er(()=>{if(!e||!r)return;let l=zs(e);if(!l)return;let c=i.current,u=a.current,d=Object.assign(m=>c(m),{acceptNode:c}),f=l.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,d,!1);for(;f.nextNode();)u(f.currentNode)},[e,r,i,a])}function k0(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var Ta=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Ta||{}),so=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(so||{});function Ti({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:l,mergeRefs:c}){c=c??DC;let u=l4(t,e);if(a)return D0(u,n,r,l,c);let d=i??0;if(d&2){let{static:f=!1,...m}=u;if(f)return D0(m,n,r,l,c)}if(d&1){let{unmount:f=!0,...m}=u;return An(f?0:1,{0(){return null},1(){return D0({...m,hidden:!0,style:{display:"none"}},n,r,l,c)}})}return D0(u,n,r,l,c)}function D0(e,t={},n,r,i){let{as:a=n,children:l,refName:c="ref",...u}=L2(e,["unmount","static"]),d=e.ref!==void 0?{[c]:e.ref}:{},f=typeof l=="function"?l(t):l;"className"in u&&u.className&&typeof u.className=="function"&&(u.className=u.className(t));let m={};if(t){let h=!1,g=[];for(let[w,x]of Object.entries(t))typeof x=="boolean"&&(h=!0),x===!0&&g.push(w);h&&(m["data-headlessui-state"]=g.join(" "))}if(a===T.Fragment&&Object.keys(c4(u)).length>0){if(!T.isValidElement(f)||Array.isArray(f)&&f.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(u).map(x=>` - ${x}`).join(`
|
|
787
|
-
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(x=>` - ${x}`).join(`
|
|
788
|
-
`)].join(`
|
|
789
|
-
`));let h=f.props,g=typeof(h==null?void 0:h.className)=="function"?(...x)=>k0(h==null?void 0:h.className(...x),u.className):k0(h==null?void 0:h.className,u.className),w=g?{className:g}:{};return T.cloneElement(f,Object.assign({},l4(f.props,c4(L2(u,["ref"]))),m,d,{ref:i(f.ref,d.ref)},w))}return T.createElement(a,Object.assign({},L2(u,["ref"]),a!==T.Fragment&&d,a!==T.Fragment&&m),f)}function s4(){let e=T.useRef([]),t=T.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function DC(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function l4(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...a){let l=n[r];for(let c of l){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;c(i,...a)}}});return t}function li(e){var t;return Object.assign(T.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function c4(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function L2(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}let N2=T.createContext(null);N2.displayName="OpenClosedContext";var gn=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(gn||{});function O0(){return T.useContext(N2)}function I2({value:e,children:t}){return T.createElement(N2.Provider,{value:e},t)}function u4(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&OC(n)?!1:r}function OC(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function TC(e){throw new Error("Unexpected object: "+e)}var Wr=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Wr||{});function FC(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1;switch(e.focus){case 0:{for(let a=0;a<n.length;++a)if(!t.resolveDisabled(n[a],a,n))return a;return r}case 1:{for(let a=i-1;a>=0;--a)if(!t.resolveDisabled(n[a],a,n))return a;return r}case 2:{for(let a=i+1;a<n.length;++a)if(!t.resolveDisabled(n[a],a,n))return a;return r}case 3:{for(let a=n.length-1;a>=0;--a)if(!t.resolveDisabled(n[a],a,n))return a;return r}case 4:{for(let a=0;a<n.length;++a)if(t.resolveId(n[a],a,n)===e.id)return a;return r}case 5:return null;default:TC(e)}}var Zt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Zt||{});function M2(){let e=T.useRef(!1);return Er(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var d4;let BC=(d4=T.startTransition)!=null?d4:function(e){e()};var PC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(PC||{}),LC=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(LC||{});let NC={0:e=>({...e,disclosureState:An(e.disclosureState,{0:1,1:0})}),1:e=>e.disclosureState===1?e:{...e,disclosureState:1},4(e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},5(e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},2(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},3(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},$2=T.createContext(null);$2.displayName="DisclosureContext";function H2(e){let t=T.useContext($2);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,H2),n}return t}let j2=T.createContext(null);j2.displayName="DisclosureAPIContext";function f4(e){let t=T.useContext(j2);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,f4),n}return t}let R2=T.createContext(null);R2.displayName="DisclosurePanelContext";function IC(){return T.useContext(R2)}function MC(e,t){return An(t.type,NC,e,t)}let $C=T.Fragment;function HC(e,t){let{defaultOpen:n=!1,...r}=e,i=T.useRef(null),a=Oi(t,SC(v=>{i.current=v},e.as===void 0||e.as===T.Fragment)),l=T.useRef(null),c=T.useRef(null),u=T.useReducer(MC,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:c,panelRef:l,buttonId:null,panelId:null}),[{disclosureState:d,buttonId:f},m]=u,h=Bt(v=>{m({type:1});let S=zs(i);if(!S||!f)return;let C=v?v instanceof HTMLElement?v:v.current instanceof HTMLElement?v.current:S.getElementById(f):S.getElementById(f);C==null||C.focus()}),g=T.useMemo(()=>({close:h}),[h]),w=T.useMemo(()=>({open:d===0,close:h}),[d,h]),x={ref:a};return T.createElement($2.Provider,{value:u},T.createElement(j2.Provider,{value:g},T.createElement(I2,{value:An(d,{0:gn.Open,1:gn.Closed})},Ti({ourProps:x,theirProps:r,slot:w,defaultTag:$C,name:"Disclosure"}))))}let jC="button";function RC(e,t){let n=Us(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[a,l]=H2("Disclosure.Button"),c=IC(),u=c===null?!1:c===a.panelId,d=T.useRef(null),f=Oi(d,t,u?null:a.buttonRef),m=s4();T.useEffect(()=>{if(!u)return l({type:2,buttonId:r}),()=>{l({type:2,buttonId:null})}},[r,l,u]);let h=Bt(C=>{var E;if(u){if(a.disclosureState===1)return;switch(C.key){case Zt.Space:case Zt.Enter:C.preventDefault(),C.stopPropagation(),l({type:0}),(E=a.buttonRef.current)==null||E.focus();break}}else switch(C.key){case Zt.Space:case Zt.Enter:C.preventDefault(),C.stopPropagation(),l({type:0});break}}),g=Bt(C=>{switch(C.key){case Zt.Space:C.preventDefault();break}}),w=Bt(C=>{var E;u4(C.currentTarget)||e.disabled||(u?(l({type:0}),(E=a.buttonRef.current)==null||E.focus()):l({type:0}))}),x=T.useMemo(()=>({open:a.disclosureState===0}),[a]),v=i4(e,d),S=u?{ref:f,type:v,onKeyDown:h,onClick:w}:{ref:f,id:r,type:v,"aria-expanded":a.disclosureState===0,"aria-controls":a.linkedPanel?a.panelId:void 0,onKeyDown:h,onKeyUp:g,onClick:w};return Ti({mergeRefs:m,ourProps:S,theirProps:i,slot:x,defaultTag:jC,name:"Disclosure.Button"})}let WC="div",UC=Ta.RenderStrategy|Ta.Static;function zC(e,t){let n=Us(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[a,l]=H2("Disclosure.Panel"),{close:c}=f4("Disclosure.Panel"),u=s4(),d=Oi(t,a.panelRef,w=>{BC(()=>l({type:w?4:5}))});T.useEffect(()=>(l({type:3,panelId:r}),()=>{l({type:3,panelId:null})}),[r,l]);let f=O0(),m=f!==null?(f&gn.Open)===gn.Open:a.disclosureState===0,h=T.useMemo(()=>({open:a.disclosureState===0,close:c}),[a,c]),g={ref:d,id:r};return T.createElement(R2.Provider,{value:a.panelId},Ti({mergeRefs:u,ourProps:g,theirProps:i,slot:h,defaultTag:WC,features:UC,visible:m,name:"Disclosure.Panel"}))}let VC=li(HC),qC=li(RC),YC=li(zC),Fi=Object.assign(VC,{Button:qC,Panel:YC}),p4=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function h4(e){var t,n;let r=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let a=!1;for(let c of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))c.remove(),a=!0;let l=a?(n=i.innerText)!=null?n:"":r;return p4.test(l)&&(l=l.replace(p4,"")),l}function ZC(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(i=>{let a=document.getElementById(i);if(a){let l=a.getAttribute("aria-label");return typeof l=="string"?l.trim():h4(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return h4(e).trim()}function GC(e){let t=T.useRef(""),n=T.useRef("");return Bt(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=ZC(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var KC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(KC||{}),XC=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(XC||{}),QC=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))(QC||{});function W2(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=n4(t(e.items.slice()),a=>a.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return i===-1&&(i=null),{items:r,activeItemIndex:i}}let JC={1(e){return e.menuState===1?e:{...e,activeItemIndex:null,menuState:1}},0(e){return e.menuState===0?e:{...e,__demoMode:!1,menuState:0}},2:(e,t)=>{var n;let r=W2(e),i=FC(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:a=>a.id,resolveDisabled:a=>a.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:(n=t.trigger)!=null?n:1}},3:(e,t)=>{let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(e.activeItemIndex!==null?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(l=>{var c;return((c=l.dataRef.current.textValue)==null?void 0:c.startsWith(r))&&!l.dataRef.current.disabled}),a=i?e.items.indexOf(i):-1;return a===-1||a===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:a,activationTrigger:1}},4(e){return e.searchQuery===""?e:{...e,searchQuery:"",searchActiveItemIndex:null}},5:(e,t)=>{let n=W2(e,r=>[...r,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=W2(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}}},U2=T.createContext(null);U2.displayName="MenuContext";function T0(e){let t=T.useContext(U2);if(t===null){let n=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,T0),n}return t}function eE(e,t){return An(t.type,JC,e,t)}let tE=T.Fragment;function nE(e,t){let{__demoMode:n=!1,...r}=e,i=T.useReducer(eE,{__demoMode:n,menuState:n?0:1,buttonRef:T.createRef(),itemsRef:T.createRef(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:l,buttonRef:c},u]=i,d=Oi(t);EC([c,l],(g,w)=>{var x;u({type:1}),P2(w,B2.Loose)||(g.preventDefault(),(x=c.current)==null||x.focus())},a===0);let f=Bt(()=>{u({type:1})}),m=T.useMemo(()=>({open:a===0,close:f}),[a,f]),h={ref:d};return T.createElement(U2.Provider,{value:i},T.createElement(I2,{value:An(a,{0:gn.Open,1:gn.Closed})},Ti({ourProps:h,theirProps:r,slot:m,defaultTag:tE,name:"Menu"})))}let rE="button";function iE(e,t){var n;let r=Us(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[l,c]=T0("Menu.Button"),u=Oi(l.buttonRef,t),d=S0(),f=Bt(x=>{switch(x.key){case Zt.Space:case Zt.Enter:case Zt.ArrowDown:x.preventDefault(),x.stopPropagation(),c({type:0}),d.nextFrame(()=>c({type:2,focus:Wr.First}));break;case Zt.ArrowUp:x.preventDefault(),x.stopPropagation(),c({type:0}),d.nextFrame(()=>c({type:2,focus:Wr.Last}));break}}),m=Bt(x=>{switch(x.key){case Zt.Space:x.preventDefault();break}}),h=Bt(x=>{if(u4(x.currentTarget))return x.preventDefault();e.disabled||(l.menuState===0?(c({type:1}),d.nextFrame(()=>{var v;return(v=l.buttonRef.current)==null?void 0:v.focus({preventScroll:!0})})):(x.preventDefault(),c({type:0})))}),g=T.useMemo(()=>({open:l.menuState===0}),[l]),w={ref:u,id:i,type:i4(e,l.buttonRef),"aria-haspopup":"menu","aria-controls":(n=l.itemsRef.current)==null?void 0:n.id,"aria-expanded":l.menuState===0,onKeyDown:f,onKeyUp:m,onClick:h};return Ti({ourProps:w,theirProps:a,slot:g,defaultTag:rE,name:"Menu.Button"})}let oE="div",aE=Ta.RenderStrategy|Ta.Static;function sE(e,t){var n,r;let i=Us(),{id:a=`headlessui-menu-items-${i}`,...l}=e,[c,u]=T0("Menu.Items"),d=Oi(c.itemsRef,t),f=_C(c.itemsRef),m=S0(),h=O0(),g=h!==null?(h&gn.Open)===gn.Open:c.menuState===0;T.useEffect(()=>{let C=c.itemsRef.current;C&&c.menuState===0&&C!==(f==null?void 0:f.activeElement)&&C.focus({preventScroll:!0})},[c.menuState,c.itemsRef,f]),kC({container:c.itemsRef.current,enabled:c.menuState===0,accept(C){return C.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:C.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(C){C.setAttribute("role","none")}});let w=Bt(C=>{var E,_;switch(m.dispose(),C.key){case Zt.Space:if(c.searchQuery!=="")return C.preventDefault(),C.stopPropagation(),u({type:3,value:C.key});case Zt.Enter:if(C.preventDefault(),C.stopPropagation(),u({type:1}),c.activeItemIndex!==null){let{dataRef:D}=c.items[c.activeItemIndex];(_=(E=D.current)==null?void 0:E.domRef.current)==null||_.click()}t4(c.buttonRef.current);break;case Zt.ArrowDown:return C.preventDefault(),C.stopPropagation(),u({type:2,focus:Wr.Next});case Zt.ArrowUp:return C.preventDefault(),C.stopPropagation(),u({type:2,focus:Wr.Previous});case Zt.Home:case Zt.PageUp:return C.preventDefault(),C.stopPropagation(),u({type:2,focus:Wr.First});case Zt.End:case Zt.PageDown:return C.preventDefault(),C.stopPropagation(),u({type:2,focus:Wr.Last});case Zt.Escape:C.preventDefault(),C.stopPropagation(),u({type:1}),Di().nextFrame(()=>{var D;return(D=c.buttonRef.current)==null?void 0:D.focus({preventScroll:!0})});break;case Zt.Tab:C.preventDefault(),C.stopPropagation(),u({type:1}),Di().nextFrame(()=>{gC(c.buttonRef.current,C.shiftKey?F2.Previous:F2.Next)});break;default:C.key.length===1&&(u({type:3,value:C.key}),m.setTimeout(()=>u({type:4}),350));break}}),x=Bt(C=>{switch(C.key){case Zt.Space:C.preventDefault();break}}),v=T.useMemo(()=>({open:c.menuState===0}),[c]),S={"aria-activedescendant":c.activeItemIndex===null||(n=c.items[c.activeItemIndex])==null?void 0:n.id,"aria-labelledby":(r=c.buttonRef.current)==null?void 0:r.id,id:a,onKeyDown:w,onKeyUp:x,role:"menu",tabIndex:0,ref:d};return Ti({ourProps:S,theirProps:l,slot:v,defaultTag:oE,features:aE,visible:g,name:"Menu.Items"})}let lE=T.Fragment;function cE(e,t){let n=Us(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[l,c]=T0("Menu.Item"),u=l.activeItemIndex!==null?l.items[l.activeItemIndex].id===r:!1,d=T.useRef(null),f=Oi(t,d);Er(()=>{if(l.__demoMode||l.menuState!==0||!u||l.activationTrigger===0)return;let D=Di();return D.requestAnimationFrame(()=>{var A,B;(B=(A=d.current)==null?void 0:A.scrollIntoView)==null||B.call(A,{block:"nearest"})}),D.dispose},[l.__demoMode,d,u,l.menuState,l.activationTrigger,l.activeItemIndex]);let m=GC(d),h=T.useRef({disabled:i,domRef:d,get textValue(){return m()}});Er(()=>{h.current.disabled=i},[h,i]),Er(()=>(c({type:5,id:r,dataRef:h}),()=>c({type:6,id:r})),[h,r]);let g=Bt(()=>{c({type:1})}),w=Bt(D=>{if(i)return D.preventDefault();c({type:1}),t4(l.buttonRef.current)}),x=Bt(()=>{if(i)return c({type:2,focus:Wr.Nothing});c({type:2,focus:Wr.Specific,id:r})}),v=AC(),S=Bt(D=>v.update(D)),C=Bt(D=>{v.wasMoved(D)&&(i||u||c({type:2,focus:Wr.Specific,id:r,trigger:0}))}),E=Bt(D=>{v.wasMoved(D)&&(i||u&&c({type:2,focus:Wr.Nothing}))}),_=T.useMemo(()=>({active:u,disabled:i,close:g}),[u,i,g]);return Ti({ourProps:{id:r,ref:f,role:"menuitem",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,disabled:void 0,onClick:w,onFocus:x,onPointerEnter:S,onMouseEnter:S,onPointerMove:C,onMouseMove:C,onPointerLeave:E,onMouseLeave:E},theirProps:a,slot:_,defaultTag:lE,name:"Menu.Item"})}let uE=li(nE),dE=li(iE),fE=li(sE),pE=li(cE),lo=Object.assign(uE,{Button:dE,Items:fE,Item:pE});function hE(e=0){let[t,n]=T.useState(e),r=M2(),i=T.useCallback(u=>{r.current&&n(d=>d|u)},[t,r]),a=T.useCallback(u=>!!(t&u),[t]),l=T.useCallback(u=>{r.current&&n(d=>d&~u)},[n,r]),c=T.useCallback(u=>{r.current&&n(d=>d^u)},[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:l,toggleFlag:c}}function mE(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function z2(e,...t){e&&t.length>0&&e.classList.add(...t)}function V2(e,...t){e&&t.length>0&&e.classList.remove(...t)}function vE(e,t){let n=Di();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,l]=[r,i].map(u=>{let[d=0]=u.split(",").filter(Boolean).map(f=>f.includes("ms")?parseFloat(f):parseFloat(f)*1e3).sort((f,m)=>m-f);return d}),c=a+l;if(c!==0){n.group(d=>{d.setTimeout(()=>{t(),d.dispose()},c),d.addEventListener(e,"transitionrun",f=>{f.target===f.currentTarget&&d.dispose()})});let u=n.addEventListener(e,"transitionend",d=>{d.target===d.currentTarget&&(t(),u())})}else t();return n.add(()=>t()),n.dispose}function gE(e,t,n,r){let i=n?"enter":"leave",a=Di(),l=r!==void 0?mE(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let c=An(i,{enter:()=>t.enter,leave:()=>t.leave}),u=An(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),d=An(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return V2(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),z2(e,...t.base,...c,...d),a.nextFrame(()=>{V2(e,...t.base,...c,...d),z2(e,...t.base,...c,...u),vE(e,()=>(V2(e,...t.base,...c),z2(e,...t.base,...t.entered),l()))}),a.dispose}function xE({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let l=M2(),c=S0(),u=ao(n);Er(()=>{e&&(u.current="enter")},[e]),Er(()=>{let d=Di();c.add(d.dispose);let f=t.current;if(f&&u.current!=="idle"&&l.current)return d.dispose(),i.current(u.current),d.add(gE(f,r.current,u.current==="enter",()=>{d.dispose(),a.current(u.current)})),d.dispose},[n])}function co(e=""){return e.split(/\s+/).filter(t=>t.length>1)}let F0=T.createContext(null);F0.displayName="TransitionContext";var bE=(e=>(e.Visible="visible",e.Hidden="hidden",e))(bE||{});function yE(){let e=T.useContext(F0);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function wE(){let e=T.useContext(B0);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let B0=T.createContext(null);B0.displayName="NestingContext";function P0(e){return"children"in e?P0(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function m4(e,t){let n=ao(e),r=T.useRef([]),i=M2(),a=S0(),l=Bt((g,w=so.Hidden)=>{let x=r.current.findIndex(({el:v})=>v===g);x!==-1&&(An(w,{[so.Unmount](){r.current.splice(x,1)},[so.Hidden](){r.current[x].state="hidden"}}),a.microTask(()=>{var v;!P0(r)&&i.current&&((v=n.current)==null||v.call(n))}))}),c=Bt(g=>{let w=r.current.find(({el:x})=>x===g);return w?w.state!=="visible"&&(w.state="visible"):r.current.push({el:g,state:"visible"}),()=>l(g,so.Unmount)}),u=T.useRef([]),d=T.useRef(Promise.resolve()),f=T.useRef({enter:[],leave:[],idle:[]}),m=Bt((g,w,x)=>{u.current.splice(0),t&&(t.chains.current[w]=t.chains.current[w].filter(([v])=>v!==g)),t==null||t.chains.current[w].push([g,new Promise(v=>{u.current.push(v)})]),t==null||t.chains.current[w].push([g,new Promise(v=>{Promise.all(f.current[w].map(([S,C])=>C)).then(()=>v())})]),w==="enter"?d.current=d.current.then(()=>t==null?void 0:t.wait.current).then(()=>x(w)):x(w)}),h=Bt((g,w,x)=>{Promise.all(f.current[w].splice(0).map(([v,S])=>S)).then(()=>{var v;(v=u.current.shift())==null||v()}).then(()=>x(w))});return T.useMemo(()=>({children:r,register:c,unregister:l,onStart:m,onStop:h,wait:d,chains:f}),[c,l,r,m,h,f,d])}function CE(){}let EE=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function v4(e){var t;let n={};for(let r of EE)n[r]=(t=e[r])!=null?t:CE;return n}function _E(e){let t=T.useRef(v4(e));return T.useEffect(()=>{t.current=v4(e)},[e]),t}let SE="div",g4=Ta.RenderStrategy;function AE(e,t){var n,r;let{beforeEnter:i,afterEnter:a,beforeLeave:l,afterLeave:c,enter:u,enterFrom:d,enterTo:f,entered:m,leave:h,leaveFrom:g,leaveTo:w,...x}=e,v=T.useRef(null),S=Oi(v,t),C=(n=x.unmount)==null||n?so.Unmount:so.Hidden,{show:E,appear:_,initial:D}=yE(),[A,B]=T.useState(E?"visible":"hidden"),O=wE(),{register:N,unregister:L}=O;T.useEffect(()=>N(v),[N,v]),T.useEffect(()=>{if(C===so.Hidden&&v.current){if(E&&A!=="visible"){B("visible");return}return An(A,{hidden:()=>L(v),visible:()=>N(v)})}},[A,v,N,L,E,C]);let I=ao({base:co(x.className),enter:co(u),enterFrom:co(d),enterTo:co(f),entered:co(m),leave:co(h),leaveFrom:co(g),leaveTo:co(w)}),H=_E({beforeEnter:i,afterEnter:a,beforeLeave:l,afterLeave:c}),W=O2();T.useEffect(()=>{if(W&&A==="visible"&&v.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[v,A,W]);let K=D&&!_,Y=_&&E&&D,ne=!W||K?"idle":E?"enter":"leave",ue=hE(0),se=Bt(U=>An(U,{enter:()=>{ue.addFlag(gn.Opening),H.current.beforeEnter()},leave:()=>{ue.addFlag(gn.Closing),H.current.beforeLeave()},idle:()=>{}})),ae=Bt(U=>An(U,{enter:()=>{ue.removeFlag(gn.Opening),H.current.afterEnter()},leave:()=>{ue.removeFlag(gn.Closing),H.current.afterLeave()},idle:()=>{}})),Z=m4(()=>{B("hidden"),L(v)},O),M=T.useRef(!1);xE({immediate:Y,container:v,classes:I,direction:ne,onStart:ao(U=>{M.current=!0,Z.onStart(v,U,se)}),onStop:ao(U=>{M.current=!1,Z.onStop(v,U,ae),U==="leave"&&!P0(Z)&&(B("hidden"),L(v))})});let z=x,X={ref:S};return Y?z={...z,className:k0(x.className,...I.current.enter,...I.current.enterFrom)}:M.current&&(z.className=k0(x.className,(r=v.current)==null?void 0:r.className),z.className===""&&delete z.className),T.createElement(B0.Provider,{value:Z},T.createElement(I2,{value:An(A,{visible:gn.Open,hidden:gn.Closed})|ue.flags},Ti({ourProps:X,theirProps:z,defaultTag:SE,features:g4,visible:A==="visible",name:"Transition.Child"})))}function kE(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,l=T.useRef(null),c=Oi(l,t);O2();let u=O0();if(n===void 0&&u!==null&&(n=(u&gn.Open)===gn.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[d,f]=T.useState(n?"visible":"hidden"),m=m4(()=>{f("hidden")}),[h,g]=T.useState(!0),w=T.useRef([n]);Er(()=>{h!==!1&&w.current[w.current.length-1]!==n&&(w.current.push(n),g(!1))},[w,n]);let x=T.useMemo(()=>({show:n,appear:r,initial:h}),[n,r,h]);T.useEffect(()=>{if(n)f("visible");else if(!P0(m))f("hidden");else{let E=l.current;if(!E)return;let _=E.getBoundingClientRect();_.x===0&&_.y===0&&_.width===0&&_.height===0&&f("hidden")}},[n,m]);let v={unmount:i},S=Bt(()=>{var E;h&&g(!1),(E=e.beforeEnter)==null||E.call(e)}),C=Bt(()=>{var E;h&&g(!1),(E=e.beforeLeave)==null||E.call(e)});return T.createElement(B0.Provider,{value:m},T.createElement(F0.Provider,{value:x},Ti({ourProps:{...v,as:T.Fragment,children:T.createElement(x4,{ref:c,...v,...a,beforeEnter:S,beforeLeave:C})},theirProps:{},defaultTag:T.Fragment,features:g4,visible:d==="visible",name:"Transition"})))}function DE(e,t){let n=T.useContext(F0)!==null,r=O0()!==null;return T.createElement(T.Fragment,null,!n&&r?T.createElement(q2,{ref:t,...e}):T.createElement(x4,{ref:t,...e}))}let q2=li(kE),x4=li(AE),OE=li(DE),Vs=Object.assign(q2,{Child:OE,Root:q2});function TE({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const Fa=j.forwardRef(TE);function FE({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{fillRule:"evenodd",d:"M11.78 5.22a.75.75 0 0 1 0 1.06L8.06 10l3.72 3.72a.75.75 0 1 1-1.06 1.06l-4.25-4.25a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const BE=j.forwardRef(FE);function PE({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{fillRule:"evenodd",d:"M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const LE=j.forwardRef(PE);function NE({title:e,titleId:t,...n},r){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?j.createElement("title",{id:t},e):null,j.createElement("path",{fillRule:"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",clipRule:"evenodd"}))}const IE=j.forwardRef(NE),Xt={container:{root:"relative inline-block text-left",circle:"text-secondary rounded-full border-secondary border-[1px]",title:"inline-flex w-full justify-center gap-x-1.5 px-4 py-2 rounded-full border-solid border-[1px] border-secondary bg-white text-sm font-medium ring-inset hover:bg-primary",chevron:"-mr-1 h-5 w-5",button:"text-secondary hover:text-white",ellipsis:"inline-flex w-full justify-center gap-1 px-2 py-2 rounded-full text-sm font-semibold"},options:{padding:"py-2",items:"absolute w-auto divide-y divide-gray-100 rounded-2xl bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none border-solid border-[1px] border-secondary z-50 overflow-hidden",left:"right-10 mt-2",right:"left-10 mt-2",bottom:"top-10 right-0 mt-2",top:"bottom-10 right-0 mt-2",item:e=>`block px-4 py-4 text-sm hover:cursor-pointer text-${e} font-medium whitespace-nowrap w-full`,active:"bg-gray-100 hover:cursor-pointer font-medium",inactive:e=>`text-${e} hover:bg-gray-100 hover:cursor-pointer font-medium`}},b4={enter:"transition ease-out duration-100",enterTo:"transform opacity-100 scale-100",enterFrom:"transform opacity-0 scale-95",leave:"transition ease-in duration-75",leaveTo:"transform opacity-0 scale-95",leaveFrom:"transform opacity-100 scale-100"},L0=T.memo(({icon:e,selected:t,options:n,disabled:r,onChange:i,itemColor:a,orientation:l,uncontrollable:c,classNames:u})=>{const[d,f]=T.useState(t),m=T.useCallback(w=>{if(c)return f(w);if(i)return i(w)},[c,i]),h=T.useMemo(()=>{const w={top:Xt.options.top,left:Xt.options.left,right:Xt.options.right,bottom:Xt.options.bottom};return xe(w[l],(u==null?void 0:u.items)??Xt.options.items)},[l,u==null?void 0:u.items]),g=T.useMemo(()=>{switch(l){case"top":return b.jsx(IE,{className:Xt.container.chevron,"aria-hidden":"true"});case"left":return b.jsx(BE,{className:Xt.container.chevron,"aria-hidden":"true"});case"right":return b.jsx(LE,{className:Xt.container.chevron,"aria-hidden":"true"});case"bottom":return b.jsx(Fa,{className:Xt.container.chevron,"aria-hidden":"true"})}},[l]);return e?b.jsxs(lo,{as:"div",className:(u==null?void 0:u.root)??Xt.container.root,children:[b.jsx("div",{className:Xt.container.circle,children:b.jsx(lo.Button,{disabled:r,about:u!=null&&u.title?"no-controls":"controls",className:xe((u==null?void 0:u.title)??Xt.container.ellipsis),children:e})}),b.jsx(Vs,{...b4,children:b.jsx(lo.Items,{className:h,children:b.jsx("div",{className:Xt.options.padding,children:n.map(w=>{const{label:x,value:v}=y4(w);return b.jsx(lo.Item,{disabled:r,as:T.Fragment,children:({active:S})=>b.jsx("div",{className:xe(Xt.options.item(a??"primary"),S&&Xt.options.active,(u==null?void 0:u.option)&&u.option),onClick:()=>m(v),children:x})},v)})})})})]}):b.jsxs(lo,{as:"div",className:(u==null?void 0:u.root)??Xt.container.root,children:[b.jsx("div",{className:Xt.container.button,children:b.jsxs(lo.Button,{disabled:r,about:u!=null&&u.title?"no-controls":"controls",className:xe((u==null?void 0:u.title)??Xt.container.title),children:[c?d:t,g]})}),b.jsx(Vs,{...b4,as:T.Fragment,children:b.jsx(lo.Items,{className:h,children:b.jsx("div",{className:Xt.options.padding,children:n.map(w=>{const{label:x,value:v}=y4(w);return b.jsx(lo.Item,{disabled:r,children:({active:S})=>b.jsx("div",{className:xe(Xt.options.item(a??"primary"),S&&Xt.options.active,(u==null?void 0:u.option)&&u.option),onClick:()=>m(v),children:x})},v)})})})})]})}),y4=e=>{switch(typeof e){case"string":return{label:e,value:e};case"object":return{label:e.label,value:e.value};default:return{label:e,value:e}}};L0.defaultProps={itemColor:"primary",uncontrollable:!0,orientation:"bottom",selected:"Select an option"};function w4(e){return`Bearer ${e}`}function C4(e,t){return function(){return e.apply(t,arguments)}}const{toString:ME}=Object.prototype,{getPrototypeOf:Ba}=Object,{iterator:qs,toStringTag:E4}=Symbol,N0=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ys=(e,t)=>{let n=e;const r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),N0(n,t))return!0;n=Ba(n)}return!1},$E=(e,t)=>e!=null&&Ys(e,t)?e[t]:void 0,Y2=(e=>t=>{const n=ME.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ur=e=>(e=e.toLowerCase(),t=>Y2(t)===e),I0=e=>t=>typeof t===e,{isArray:jo}=Array,Pa=I0("undefined");function La(e){return e!==null&&!Pa(e)&&e.constructor!==null&&!Pa(e.constructor)&&zn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const _4=Ur("ArrayBuffer");function HE(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&_4(e.buffer),t}const jE=I0("string"),zn=I0("function"),S4=I0("number"),Na=e=>e!==null&&typeof e=="object",RE=e=>e===!0||e===!1,M0=e=>{if(!Na(e))return!1;const t=Ba(e);return(t===null||t===Object.prototype||Ba(t)===null)&&!Ys(e,E4)&&!Ys(e,qs)},WE=e=>{if(!Na(e)||La(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},UE=Ur("Date"),zE=Ur("File"),VE=e=>!!(e&&typeof e.uri<"u"),qE=e=>e&&typeof e.getParts<"u",YE=Ur("Blob"),ZE=Ur("FileList"),GE=e=>Na(e)&&zn(e.pipe);function KE(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const A4=KE(),k4=typeof A4.FormData<"u"?A4.FormData:void 0,XE=e=>{if(!e)return!1;if(k4&&e instanceof k4)return!0;const t=Ba(e);if(!t||t===Object.prototype||!zn(e.append))return!1;const n=Y2(e);return n==="formdata"||n==="object"&&zn(e.toString)&&e.toString()==="[object FormData]"},QE=Ur("URLSearchParams"),[JE,e_,t_,n_]=["ReadableStream","Request","Response","Headers"].map(Ur),r_=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),jo(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(La(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),l=a.length;let c;for(r=0;r<l;r++)c=a[r],t.call(null,e[c],c,e)}}function D4(e,t){if(La(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Ro=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,O4=e=>!Pa(e)&&e!==Ro;function Z2(...e){const{caseless:t,skipUndefined:n}=O4(this)&&this||{},r={},i=(a,l)=>{if(l==="__proto__"||l==="constructor"||l==="prototype")return;const c=t&&typeof l=="string"&&D4(r,l)||l,u=N0(r,c)?r[c]:void 0;M0(u)&&M0(a)?r[c]=Z2(u,a):M0(a)?r[c]=Z2({},a):jo(a)?r[c]=a.slice():(!n||!Pa(a))&&(r[c]=a)};for(let a=0,l=e.length;a<l;a++){const c=e[a];if(!c||La(c)||(Zs(c,i),typeof c!="object"||jo(c)))continue;const u=Object.getOwnPropertySymbols(c);for(let d=0;d<u.length;d++){const f=u[d];m_.call(c,f)&&i(c[f],f)}}return r}const i_=(e,t,n,{allOwnKeys:r}={})=>(Zs(t,(i,a)=>{n&&zn(i)?Object.defineProperty(e,a,{__proto__:null,value:C4(i,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,a,{__proto__:null,value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),o_=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),a_=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},s_=(e,t,n,r)=>{let i,a,l;const c={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)l=i[a],(!r||r(l,e,t))&&!c[l]&&(t[l]=e[l],c[l]=!0);e=n!==!1&&Ba(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},l_=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},c_=e=>{if(!e)return null;if(jo(e))return e;let t=e.length;if(!S4(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},u_=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ba(Uint8Array)),d_=(e,t)=>{const r=(e&&e[qs]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},f_=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},p_=Ur("HTMLFormElement"),h_=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),{propertyIsEnumerable:m_}=Object.prototype,v_=Ur("RegExp"),T4=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Zs(n,(i,a)=>{let l;(l=t(i,a,e))!==!1&&(r[a]=l||i)}),Object.defineProperties(e,r)},g_=e=>{T4(e,(t,n)=>{if(zn(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(zn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},x_=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return jo(e)?r(e):r(String(e).split(t)),n},b_=()=>{},y_=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function w_(e){return!!(e&&zn(e.append)&&e[E4]==="FormData"&&e[qs])}const C_=e=>{const t=new WeakSet,n=r=>{if(Na(r)){if(t.has(r))return;if(La(r))return r;if(!("toJSON"in r)){t.add(r);const i=jo(r)?[]:{};return Zs(r,(a,l)=>{const c=n(a);!Pa(c)&&(i[l]=c)}),t.delete(r),i}}return r};return n(e)},E_=Ur("AsyncFunction"),__=e=>e&&(Na(e)||zn(e))&&zn(e.then)&&zn(e.catch),F4=((e,t)=>e?setImmediate:t?((n,r)=>(Ro.addEventListener("message",({source:i,data:a})=>{i===Ro&&a===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Ro.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",zn(Ro.postMessage)),S_=typeof queueMicrotask<"u"?queueMicrotask.bind(Ro):typeof process<"u"&&process.nextTick||F4,B4=e=>e!=null&&zn(e[qs]),V={isArray:jo,isArrayBuffer:_4,isBuffer:La,isFormData:XE,isArrayBufferView:HE,isString:jE,isNumber:S4,isBoolean:RE,isObject:Na,isPlainObject:M0,isEmptyObject:WE,isReadableStream:JE,isRequest:e_,isResponse:t_,isHeaders:n_,isUndefined:Pa,isDate:UE,isFile:zE,isReactNativeBlob:VE,isReactNative:qE,isBlob:YE,isRegExp:v_,isFunction:zn,isStream:GE,isURLSearchParams:QE,isTypedArray:u_,isFileList:ZE,forEach:Zs,merge:Z2,extend:i_,trim:r_,stripBOM:o_,inherits:a_,toFlatObject:s_,kindOf:Y2,kindOfTest:Ur,endsWith:l_,toArray:c_,forEachEntry:d_,matchAll:f_,isHTMLForm:p_,hasOwnProperty:N0,hasOwnProp:N0,hasOwnInPrototypeChain:Ys,getSafeProp:$E,reduceDescriptors:T4,freezeMethods:g_,toObjectSet:x_,toCamelCase:h_,noop:b_,toFiniteNumber:y_,findKey:D4,global:Ro,isContextDefined:O4,isSpecCompliantForm:w_,toJSONObject:C_,isAsyncFn:E_,isThenable:__,setImmediate:F4,asap:S_,isIterable:B4,isSafeIterable:e=>e!=null&&Ys(e,qs)&&B4(e)},A_=V.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"]),k_=e=>{const t={};let n,r,i;return e&&e.split(`
|
|
790
|
-
`).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!n||t[n]&&A_[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};function D_(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const O_=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),T_=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function G2(e,t){return V.isArray(e)?e.map(n=>G2(n,t)):D_(String(e).replace(t,""))}const F_=e=>G2(e,O_),B_=e=>G2(e,T_);function P4(e){const t=Object.create(null);return V.forEach(e.toJSON(),(n,r)=>{t[r]=B_(n)}),t}const L4=Symbol("internals");function Gs(e){return e&&String(e).trim().toLowerCase()}function $0(e){return e===!1||e==null?e:V.isArray(e)?e.map($0):F_(String(e))}function P_(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const L_=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function K2(e,t,n,r,i){if(V.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!V.isString(t)){if(V.isString(r))return t.indexOf(r)!==-1;if(V.isRegExp(r))return r.test(t)}}function N_(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function I_(e,t){const n=V.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(i,a,l){return this[r].call(this,t,i,a,l)},configurable:!0})})}let kn=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(c,u,d){const f=Gs(u);if(!f)return;const m=V.findKey(i,f);(!m||i[m]===void 0||d===!0||d===void 0&&i[m]!==!1)&&(i[m||u]=$0(c))}const l=(c,u)=>V.forEach(c,(d,f)=>a(d,f,u));if(V.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(V.isString(t)&&(t=t.trim())&&!L_(t))l(k_(t),n);else if(V.isObject(t)&&V.isSafeIterable(t)){let c=Object.create(null),u,d;for(const f of t){if(!V.isArray(f))throw new TypeError("Object iterator must return a key-value pair");d=f[0],V.hasOwnProp(c,d)?(u=c[d],c[d]=V.isArray(u)?[...u,f[1]]:[u,f[1]]):c[d]=f[1]}l(c,n)}else t!=null&&a(n,t,r);return this}get(t,n){if(t=Gs(t),t){const r=V.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return P_(i);if(V.isFunction(n))return n.call(this,i,r);if(V.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Gs(t),t){const r=V.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||K2(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(l){if(l=Gs(l),l){const c=V.findKey(r,l);c&&(!n||K2(r,r[c],c,n))&&(delete r[c],i=!0)}}return V.isArray(t)?t.forEach(a):a(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const a=n[r];(!t||K2(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return V.forEach(this,(i,a)=>{const l=V.findKey(r,a);if(l){n[l]=$0(i),delete n[a];return}const c=t?N_(a):String(a).trim();c!==a&&delete n[a],n[c]=$0(i),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return V.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&V.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
791
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[L4]=this[L4]={accessors:{}}).accessors,i=this.prototype;function a(l){const c=Gs(l);r[c]||(I_(i,l),r[c]=!0)}return V.isArray(t)?t.forEach(a):a(t),this}};kn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),V.reduceDescriptors(kn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),V.freezeMethods(kn);const M_="[REDACTED ****]";function $_(e){if(V.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(V.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function H_(e,t){const n=new Set(t.map(a=>String(a).toLowerCase())),r=[],i=a=>{if(a===null||typeof a!="object"||V.isBuffer(a))return a;if(r.indexOf(a)!==-1)return;a instanceof kn&&(a=a.toJSON()),r.push(a);let l;if(V.isArray(a))l=[],a.forEach((c,u)=>{const d=i(c);V.isUndefined(d)||(l[u]=d)});else{if(!V.isPlainObject(a)&&$_(a))return r.pop(),a;l=Object.create(null);for(const[c,u]of Object.entries(a)){const d=n.has(c.toLowerCase())?M_:i(u);V.isUndefined(d)||(l[c]=d)}}return r.pop(),l};return i(e)}let ye=class Xx extends Error{static from(t,n,r,i,a,l){const c=new Xx(t.message,n||t.code,r,i,a);return Object.defineProperty(c,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),c.name=t.name,t.status!=null&&c.status==null&&(c.status=t.status),l&&Object.assign(c,l),c}constructor(t,n,r,i,a){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),i&&(this.request=i),a&&(this.response=a,this.status=a.status)}toJSON(){const t=this.config,n=t&&V.hasOwnProp(t,"redact")?t.redact:void 0,r=V.isArray(n)&&n.length>0?H_(t,n):V.toJSONObject(t);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:r,code:this.code,status:this.status}}};ye.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",ye.ERR_BAD_OPTION="ERR_BAD_OPTION",ye.ECONNABORTED="ECONNABORTED",ye.ETIMEDOUT="ETIMEDOUT",ye.ECONNREFUSED="ECONNREFUSED",ye.ERR_NETWORK="ERR_NETWORK",ye.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",ye.ERR_DEPRECATED="ERR_DEPRECATED",ye.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",ye.ERR_BAD_REQUEST="ERR_BAD_REQUEST",ye.ERR_CANCELED="ERR_CANCELED",ye.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",ye.ERR_INVALID_URL="ERR_INVALID_URL",ye.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const j_=null,N4=100;function X2(e){return V.isPlainObject(e)||V.isArray(e)}function I4(e){return V.endsWith(e,"[]")?e.slice(0,-2):e}function Q2(e,t,n){return e?e.concat(t).map(function(i,a){return i=I4(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function R_(e){return V.isArray(e)&&!e.some(X2)}const W_=V.toFlatObject(V,{},null,function(t){return/^is[A-Z]/.test(t)});function H0(e,t,n){if(!V.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=V.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(C,E){return!V.isUndefined(E[C])});const r=n.metaTokens,i=n.visitor||w,a=n.dots,l=n.indexes,c=n.Blob||typeof Blob<"u"&&Blob,u=n.maxDepth===void 0?N4:n.maxDepth,d=c&&V.isSpecCompliantForm(t),f=[];if(!V.isFunction(i))throw new TypeError("visitor must be a function");function m(S){if(S===null)return"";if(V.isDate(S))return S.toISOString();if(V.isBoolean(S))return S.toString();if(!d&&V.isBlob(S))throw new ye("Blob is not supported. Use a Buffer instead.");if(V.isArrayBuffer(S)||V.isTypedArray(S)){if(d&&typeof c=="function")return new c([S]);if(typeof Buffer<"u")return Buffer.from(S);throw new ye("Blob is not supported. Use a Buffer instead.",ye.ERR_NOT_SUPPORT)}return S}function h(S){if(S>u)throw new ye("Object is too deeply nested ("+S+" levels). Max depth: "+u,ye.ERR_FORM_DATA_DEPTH_EXCEEDED)}function g(S,C){if(u===1/0)return JSON.stringify(S);const E=[];return JSON.stringify(S,function(D,A){if(!V.isObject(A))return A;for(;E.length&&E[E.length-1]!==this;)E.pop();return E.push(A),h(C+E.length-1),A})}function w(S,C,E){let _=S;if(V.isReactNative(t)&&V.isReactNativeBlob(S))return t.append(Q2(E,C,a),m(S)),!1;if(S&&!E&&typeof S=="object"){if(V.endsWith(C,"{}"))C=r?C:C.slice(0,-2),S=g(S,1);else if(V.isArray(S)&&R_(S)||(V.isFileList(S)||V.endsWith(C,"[]"))&&(_=V.toArray(S)))return C=I4(C),_.forEach(function(A,B){!(V.isUndefined(A)||A===null)&&t.append(l===!0?Q2([C],B,a):l===null?C:C+"[]",m(A))}),!1}return X2(S)?!0:(t.append(Q2(E,C,a),m(S)),!1)}const x=Object.assign(W_,{defaultVisitor:w,convertValue:m,isVisitable:X2});function v(S,C,E=0){if(!V.isUndefined(S)){if(h(E),f.indexOf(S)!==-1)throw new Error("Circular reference detected in "+C.join("."));f.push(S),V.forEach(S,function(D,A){(!(V.isUndefined(D)||D===null)&&i.call(t,D,V.isString(A)?A.trim():A,C,x))===!0&&v(D,C?C.concat(A):[A],E+1)}),f.pop()}}if(!V.isObject(e))throw new TypeError("data must be an object");return v(e),t}function M4(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function J2(e,t){this._pairs=[],e&&H0(e,this,t)}const $4=J2.prototype;$4.append=function(t,n){this._pairs.push([t,n])},$4.toString=function(t){const n=t?r=>t.call(this,r,M4):M4;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function U_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function H4(e,t,n){if(!t)return e;e=e||"";const r=V.isFunction(n)?{serialize:n}:n,i=V.getSafeProp(r,"encode")||U_,a=V.getSafeProp(r,"serialize");let l;if(a?l=a(t,r):l=V.isURLSearchParams(t)?t.toString():new J2(t,r).toString(i),l){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class j4{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){V.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ed={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},z_={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:J2,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},td=typeof window<"u"&&typeof document<"u",nd=typeof navigator=="object"&&navigator||void 0,V_=td&&(!nd||["ReactNative","NativeScript","NS"].indexOf(nd.product)<0),q_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Y_=td&&window.location.href||"http://localhost",xn={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:td,hasStandardBrowserEnv:V_,hasStandardBrowserWebWorkerEnv:q_,navigator:nd,origin:Y_},Symbol.toStringTag,{value:"Module"})),...z_};function Z_(e,t){return H0(e,new xn.classes.URLSearchParams,{visitor:function(n,r,i,a){return xn.isNode&&V.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}const R4=N4;function W4(e){if(e>R4)throw new ye("FormData field is too deeply nested ("+e+" levels). Max depth: "+R4,ye.ERR_FORM_DATA_DEPTH_EXCEEDED)}function G_(e){const t=[],n=/\w+|\[(\w*)]/g;let r;for(;(r=n.exec(e))!==null;)W4(t.length),t.push(r[0]==="[]"?"":r[1]||r[0]);return t}function K_(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function U4(e){function t(n,r,i,a){W4(a);let l=n[a++];if(l==="__proto__")return!0;const c=Number.isFinite(+l),u=a>=n.length;return l=!l&&V.isArray(i)?i.length:l,u?(V.hasOwnProp(i,l)?i[l]=V.isArray(i[l])?i[l].concat(r):[i[l],r]:i[l]=r,!c):((!V.hasOwnProp(i,l)||!V.isObject(i[l]))&&(i[l]=[]),t(n,r,i[l],a)&&V.isArray(i[l])&&(i[l]=K_(i[l])),!c)}if(V.isFormData(e)&&V.isFunction(e.entries)){const n={};return V.forEachEntry(e,(r,i)=>{t(G_(r),i,n,0)}),n}return null}const Ia=(e,t)=>e!=null&&V.hasOwnProp(e,t)?e[t]:void 0;function X_(e,t,n){if(V.isString(e))try{return(t||JSON.parse)(e),V.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ks={transitional:ed,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=V.isObject(t);if(a&&V.isHTMLForm(t)&&(t=new FormData(t)),V.isFormData(t))return i?JSON.stringify(U4(t)):t;if(V.isArrayBuffer(t)||V.isBuffer(t)||V.isStream(t)||V.isFile(t)||V.isBlob(t)||V.isReadableStream(t))return t;if(V.isArrayBufferView(t))return t.buffer;if(V.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(a){const u=Ia(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return Z_(t,u).toString();if((c=V.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=Ia(this,"env"),f=d&&d.FormData;return H0(c?{"files[]":t}:t,f&&new f,u)}}return a||i?(n.setContentType("application/json",!1),X_(t)):t}],transformResponse:[function(t){const n=Ia(this,"transitional")||Ks.transitional,r=n&&n.forcedJSONParsing,i=Ia(this,"responseType"),a=i==="json";if(V.isResponse(t)||V.isReadableStream(t))return t;if(t&&V.isString(t)&&(r&&!i||a)){const c=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t,Ia(this,"parseReviver"))}catch(u){if(c)throw u.name==="SyntaxError"?ye.from(u,ye.ERR_BAD_RESPONSE,this,null,Ia(this,"response")):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:xn.classes.FormData,Blob:xn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};V.forEach(["delete","get","head","post","put","patch","query"],e=>{Ks.headers[e]={}});function rd(e,t){const n=this||Ks,r=t||n,i=kn.from(r.headers);let a=r.data;return V.forEach(e,function(c){a=c.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function z4(e){return!!(e&&e.__CANCEL__)}let Xs=class extends ye{constructor(t,n,r){super(t??"canceled",ye.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function V4(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ye("Request failed with status code "+n.status,n.status>=400&&n.status<500?ye.ERR_BAD_REQUEST:ye.ERR_BAD_RESPONSE,n.config,n.request,n))}function Q_(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function J_(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,l;return t=t!==void 0?t:1e3,function(u){const d=Date.now(),f=r[a];l||(l=d),n[i]=u,r[i]=d;let m=a,h=0;for(;m!==i;)h+=n[m++],m=m%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),d-l<t)return;const g=f&&d-f;return g?Math.round(h*1e3/g):void 0}}function eS(e,t){let n=0,r=1e3/t,i,a;const l=(d,f=Date.now())=>{n=f,i=null,a&&(clearTimeout(a),a=null),e(...d)};return[(...d)=>{const f=Date.now(),m=f-n;m>=r?l(d,f):(i=d,a||(a=setTimeout(()=>{a=null,l(i)},r-m)))},()=>i&&l(i)]}const j0=(e,t,n=3)=>{let r=0;const i=J_(50,250);return eS(a=>{if(!a||typeof a.loaded!="number")return;const l=a.loaded,c=a.lengthComputable?a.total:void 0,u=c!=null?Math.min(l,c):l,d=Math.max(0,u-r),f=i(d);r=Math.max(r,u);const m={loaded:u,total:c,progress:c?u/c:void 0,bytes:d,rate:f||void 0,estimated:f&&c?(c-u)/f:void 0,event:a,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(m)},n)},q4=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Y4=e=>(...t)=>V.asap(()=>e(...t)),tS=xn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,xn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(xn.origin),xn.navigator&&/(msie|trident)/i.test(xn.navigator.userAgent)):()=>!0,nS=xn.hasStandardBrowserEnv?{write(e,t,n,r,i,a,l){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(t)}`];V.isNumber(n)&&c.push(`expires=${new Date(n).toUTCString()}`),V.isString(r)&&c.push(`path=${r}`),V.isString(i)&&c.push(`domain=${i}`),a===!0&&c.push("secure"),V.isString(l)&&c.push(`SameSite=${l}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),i=r.indexOf("=");if(i!==-1&&r.slice(0,i)===e)try{return decodeURIComponent(r.slice(i+1))}catch{return r.slice(i+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function rS(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function iS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const oS=/^https?:(?!\/\/)/i,aS=/[\t\n\r]/g;function sS(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function lS(e){return sS(e).replace(aS,"")}function Z4(e,t){if(typeof e=="string"&&oS.test(lS(e)))throw new ye('Invalid URL: missing "//" after protocol',ye.ERR_INVALID_URL,t)}function G4(e,t,n,r){Z4(t,r);let i=!rS(t);return e&&(i||n===!1)?(Z4(e,r),iS(e,t)):t}const K4=e=>e instanceof kn?{...e}:e;function Wo(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(f,m,h,g){return V.isPlainObject(f)&&V.isPlainObject(m)?V.merge.call({caseless:g},f,m):V.isPlainObject(m)?V.merge({},m):V.isArray(m)?m.slice():m}function i(f,m,h,g){if(V.isUndefined(m)){if(!V.isUndefined(f))return r(void 0,f,h,g)}else return r(f,m,h,g)}function a(f,m){if(!V.isUndefined(m))return r(void 0,m)}function l(f,m){if(V.isUndefined(m)){if(!V.isUndefined(f))return r(void 0,f)}else return r(void 0,m)}function c(f){const m=V.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!V.isUndefined(m))if(V.isPlainObject(m)){if(V.hasOwnProp(m,f))return m[f]}else return;const h=V.hasOwnProp(e,"transitional")?e.transitional:void 0;if(V.isPlainObject(h)&&V.hasOwnProp(h,f))return h[f]}function u(f,m,h){if(V.hasOwnProp(t,h))return r(f,m);if(V.hasOwnProp(e,h))return r(void 0,f)}const d={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,allowedSocketPaths:l,responseEncoding:l,validateStatus:u,headers:(f,m,h)=>i(K4(f),K4(m),h,!0)};return V.forEach(Object.keys({...e,...t}),function(m){if(m==="__proto__"||m==="constructor"||m==="prototype")return;const h=V.hasOwnProp(d,m)?d[m]:i,g=V.hasOwnProp(e,m)?e[m]:void 0,w=V.hasOwnProp(t,m)?t[m]:void 0,x=h(g,w,m);V.isUndefined(x)&&h!==u||(n[m]=x)}),V.hasOwnProp(t,"validateStatus")&&V.isUndefined(t.validateStatus)&&c("validateStatusUndefinedResolves")===!1&&(V.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const cS=["content-type","content-length"];function uS(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([r,i])=>{cS.includes(r.toLowerCase())&&e.set(r,i)})}const dS=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function X4(e){const t=Wo({},e),n=h=>V.hasOwnProp(t,h)?t[h]:void 0,r=n("data");let i=n("withXSRFToken");const a=n("xsrfHeaderName"),l=n("xsrfCookieName");let c=n("headers");const u=n("auth"),d=n("baseURL"),f=n("allowAbsoluteUrls"),m=n("url");if(t.headers=c=kn.from(c),t.url=H4(G4(d,m,f,t),n("params"),n("paramsSerializer")),u){const h=V.getSafeProp(u,"username")||"",g=V.getSafeProp(u,"password")||"";try{c.set("Authorization","Basic "+btoa(h+":"+(g?dS(g):"")))}catch(w){throw ye.from(w,ye.ERR_BAD_OPTION_VALUE,e)}}if(V.isFormData(r)&&(xn.hasStandardBrowserEnv||xn.hasStandardBrowserWebWorkerEnv||V.isReactNative(r)?c.setContentType(void 0):V.isFunction(r.getHeaders)&&uS(c,r.getHeaders(),n("formDataHeaderPolicy"))),xn.hasStandardBrowserEnv&&(V.isFunction(i)&&(i=i(t)),i===!0||i==null&&tS(t.url))){const g=a&&l&&nS.read(l);g&&c.set(a,g)}return t}const fS=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const i=X4(e);let a=i.data;const l=kn.from(i.headers).normalize();let{responseType:c,onUploadProgress:u,onDownloadProgress:d}=i,f,m,h,g,w;function x(){g&&g(),w&&w(),i.cancelToken&&i.cancelToken.unsubscribe(f),i.signal&&i.signal.removeEventListener("abort",f)}let v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function S(){if(!v)return;const E=kn.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),D={data:!c||c==="text"||c==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:E,config:e,request:v};V4(function(B){n(B),x()},function(B){r(B),x()},D),v=null}"onloadend"in v?v.onloadend=S:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.startsWith("file:"))||setTimeout(S)},v.onabort=function(){v&&(r(new ye("Request aborted",ye.ECONNABORTED,e,v)),x(),v=null)},v.onerror=function(_){const D=_&&_.message?_.message:"Network Error",A=new ye(D,ye.ERR_NETWORK,e,v);A.event=_||null,r(A),x(),v=null},v.ontimeout=function(){let _=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const D=i.transitional||ed;i.timeoutErrorMessage&&(_=i.timeoutErrorMessage),r(new ye(_,D.clarifyTimeoutError?ye.ETIMEDOUT:ye.ECONNABORTED,e,v)),x(),v=null},a===void 0&&l.setContentType(null),"setRequestHeader"in v&&V.forEach(P4(l),function(_,D){v.setRequestHeader(D,_)}),V.isUndefined(i.withCredentials)||(v.withCredentials=!!i.withCredentials),c&&c!=="json"&&(v.responseType=i.responseType),d&&([h,w]=j0(d,!0),v.addEventListener("progress",h)),u&&v.upload&&([m,g]=j0(u),v.upload.addEventListener("progress",m),v.upload.addEventListener("loadend",g)),(i.cancelToken||i.signal)&&(f=E=>{v&&(r(!E||E.type?new Xs(null,e,v):E),v.abort(),x(),v=null)},i.cancelToken&&i.cancelToken.subscribe(f),i.signal&&(i.signal.aborted?f():i.signal.addEventListener("abort",f)));const C=Q_(i.url);if(C&&!xn.protocols.includes(C)){r(new ye("Unsupported protocol "+C+":",ye.ERR_BAD_REQUEST,e)),x();return}v.send(a||null)})},pS=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const i=function(u){if(!r){r=!0,l();const d=u instanceof Error?u:this.reason;n.abort(d instanceof ye?d:new Xs(d instanceof Error?d.message:d))}};let a=t&&setTimeout(()=>{a=null,i(new ye(`timeout of ${t}ms exceeded`,ye.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i,{once:!0}));const{signal:c}=n;return c.unsubscribe=()=>V.asap(l),c},hS=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},mS=async function*(e,t){for await(const n of vS(e))yield*hS(n,t)},vS=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Q4=(e,t,n,r)=>{const i=mS(e,t);let a=0,l,c=u=>{l||(l=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:d,value:f}=await i.next();if(d){c(),u.close();return}let m=f.byteLength;if(n){let h=a+=m;n(h)}u.enqueue(new Uint8Array(f))}catch(d){throw c(d),d}},cancel(u){return c(u),i.return()}},{highWaterMark:2})},R0=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,gS=(e,t,n)=>t+2<n&&R0(e.charCodeAt(t+1))&&R0(e.charCodeAt(t+2));function xS(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let l=r.length;const c=r.length;for(let g=0;g<c;g++)if(r.charCodeAt(g)===37&&g+2<c){const w=r.charCodeAt(g+1),x=r.charCodeAt(g+2);R0(w)&&R0(x)&&(l-=2,g+=2)}let u=0,d=c-1;const f=g=>g>=2&&r.charCodeAt(g-2)===37&&r.charCodeAt(g-1)===51&&(r.charCodeAt(g)===68||r.charCodeAt(g)===100);d>=0&&(r.charCodeAt(d)===61?(u++,d--):f(d)&&(u++,d-=3)),u===1&&d>=0&&(r.charCodeAt(d)===61||f(d))&&u++;const h=Math.floor(l/4)*3-(u||0);return h>0?h:0}let a=0;for(let l=0,c=r.length;l<c;l++){const u=r.charCodeAt(l);if(u===37&&gS(r,l,c))a+=1,l+=2;else if(u<128)a+=1;else if(u<2048)a+=2;else if(u>=55296&&u<=56319&&l+1<c){const d=r.charCodeAt(l+1);d>=56320&&d<=57343?(a+=4,l++):a+=3}else a+=3}return a}const id="1.18.1",J4=64*1024,{isFunction:W0}=V,bS=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),e5=e=>{if(!V.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},t5=(e,...t)=>{try{return!!e(...t)}catch{return!1}},yS=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},wS=e=>{const t=V.global!==void 0&&V.global!==null?V.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=V.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:i,Request:a,Response:l}=e,c=i?W0(i):typeof fetch=="function",u=W0(a),d=W0(l);if(!c)return!1;const f=c&&W0(n),m=c&&(typeof r=="function"?(S=>C=>S.encode(C))(new r):async S=>new Uint8Array(await new a(S).arrayBuffer())),h=u&&f&&t5(()=>{let S=!1;const C=new a(xn.origin,{body:new n,method:"POST",get duplex(){return S=!0,"half"}}),E=C.headers.has("Content-Type");return C.body!=null&&C.body.cancel(),S&&!E}),g=d&&f&&t5(()=>V.isReadableStream(new l("").body)),w={stream:g&&(S=>S.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!w[S]&&(w[S]=(C,E)=>{let _=C&&C[S];if(_)return _.call(C);throw new ye(`Response type '${S}' is not supported`,ye.ERR_NOT_SUPPORT,E)})});const x=async S=>{if(S==null)return 0;if(V.isBlob(S))return S.size;if(V.isSpecCompliantForm(S))return(await new a(xn.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(V.isArrayBufferView(S)||V.isArrayBuffer(S))return S.byteLength;if(V.isURLSearchParams(S)&&(S=S+""),V.isString(S))return(await m(S)).byteLength},v=async(S,C)=>{const E=V.toFiniteNumber(S.getContentLength());return E??x(C)};return async S=>{let{url:C,method:E,data:_,signal:D,cancelToken:A,timeout:B,onDownloadProgress:O,onUploadProgress:N,responseType:L,headers:I,withCredentials:H="same-origin",fetchOptions:W,maxContentLength:K,maxBodyLength:Y}=X4(S);const ne=V.isNumber(K)&&K>-1,ue=V.isNumber(Y)&&Y>-1,se=J=>V.hasOwnProp(S,J)?S[J]:void 0;let ae=i||fetch;L=L?(L+"").toLowerCase():"text";let Z=pS([D,A&&A.toAbortSignal()],B),M=null;const z=Z&&Z.unsubscribe&&(()=>{Z.unsubscribe()});let X,U=null;const pe=()=>new ye("Request body larger than maxBodyLength limit",ye.ERR_BAD_REQUEST,S,M);try{let J;const de=se("auth");if(de){const ke=V.getSafeProp(de,"username")||"",dt=V.getSafeProp(de,"password")||"";J={username:ke,password:dt}}if(yS(C)){const ke=new URL(C,xn.origin);if(!J&&(ke.username||ke.password)){const dt=e5(ke.username),Xe=e5(ke.password);J={username:dt,password:Xe}}(ke.username||ke.password)&&(ke.username="",ke.password="",C=ke.href)}if(J&&(I.delete("authorization"),I.set("Authorization","Basic "+btoa(bS((J.username||"")+":"+(J.password||""))))),ne&&typeof C=="string"&&C.startsWith("data:")&&xS(C)>K)throw new ye("maxContentLength size of "+K+" exceeded",ye.ERR_BAD_RESPONSE,S,M);if(ue&&E!=="get"&&E!=="head"){const ke=await x(_);if(typeof ke=="number"&&isFinite(ke)&&(X=ke,ke>Y))throw pe()}const fe=ue&&(V.isReadableStream(_)||V.isStream(_)),Se=(ke,dt,Xe)=>Q4(ke,J4,kt=>{if(ue&&kt>Y)throw U=pe();dt&&dt(kt)},Xe);if(h&&E!=="get"&&E!=="head"&&(N||fe)){if(X=X??await v(I,_),X!==0||fe){let ke=new a(C,{method:"POST",body:_,duplex:"half"}),dt;if(V.isFormData(_)&&(dt=ke.headers.get("content-type"))&&I.setContentType(dt),ke.body){const[Xe,kt]=N&&q4(X,j0(Y4(N)))||[];_=Se(ke.body,Xe,kt)}}}else if(fe&&!u&&f&&E!=="get"&&E!=="head")_=Se(_);else if(fe&&u&&!h&&E!=="get"&&E!=="head")throw new ye("Stream request bodies are not supported by the current fetch implementation",ye.ERR_NOT_SUPPORT,S,M);V.isString(H)||(H=H?"include":"omit");const Oe=u&&"credentials"in a.prototype;if(V.isFormData(_)){const ke=I.getContentType();ke&&/^multipart\/form-data/i.test(ke)&&!/boundary=/i.test(ke)&&I.delete("content-type")}I.set("User-Agent","axios/"+id,!1);const We={...W,signal:Z,method:E.toUpperCase(),headers:P4(I.normalize()),body:_,duplex:"half",credentials:Oe?H:void 0};M=u&&new a(C,We);let Ie=await(u?ae(M,W):ae(C,We));const Ue=kn.from(Ie.headers);if(ne){const ke=V.toFiniteNumber(Ue.getContentLength());if(ke!=null&&ke>K)throw new ye("maxContentLength size of "+K+" exceeded",ye.ERR_BAD_RESPONSE,S,M)}const mt=g&&(L==="stream"||L==="response");if(g&&Ie.body&&(O||ne||mt&&z)){const ke={};["status","statusText","headers"].forEach(Ye=>{ke[Ye]=Ie[Ye]});const dt=V.toFiniteNumber(Ue.getContentLength()),[Xe,kt]=O&&q4(dt,j0(Y4(O),!0))||[];let wt=0;const it=Ye=>{if(ne&&(wt=Ye,wt>K))throw new ye("maxContentLength size of "+K+" exceeded",ye.ERR_BAD_RESPONSE,S,M);Xe&&Xe(Ye)};Ie=new l(Q4(Ie.body,J4,it,()=>{kt&&kt(),z&&z()}),ke)}L=L||"text";let rt=await w[V.findKey(w,L)||"text"](Ie,S);if(ne&&!g&&!mt){let ke;if(rt!=null&&(typeof rt.byteLength=="number"?ke=rt.byteLength:typeof rt.size=="number"?ke=rt.size:typeof rt=="string"&&(ke=typeof r=="function"?new r().encode(rt).byteLength:rt.length)),typeof ke=="number"&&ke>K)throw new ye("maxContentLength size of "+K+" exceeded",ye.ERR_BAD_RESPONSE,S,M)}return!mt&&z&&z(),await new Promise((ke,dt)=>{V4(ke,dt,{data:rt,headers:kn.from(Ie.headers),status:Ie.status,statusText:Ie.statusText,config:S,request:M})})}catch(J){if(z&&z(),Z&&Z.aborted&&Z.reason instanceof ye){const de=Z.reason;throw de.config=S,M&&(de.request=M),J!==de&&Object.defineProperty(de,"cause",{__proto__:null,value:J,writable:!0,enumerable:!1,configurable:!0}),de}if(U)throw M&&!U.request&&(U.request=M),U;if(J instanceof ye)throw M&&!J.request&&(J.request=M),J;if(J&&J.name==="TypeError"&&/Load failed|fetch/i.test(J.message)){const de=new ye("Network Error",ye.ERR_NETWORK,S,M,J&&J.response);throw Object.defineProperty(de,"cause",{__proto__:null,value:J.cause||J,writable:!0,enumerable:!1,configurable:!0}),de}throw ye.from(J,J&&J.code,S,M,J&&J.response)}}},CS=new Map,n5=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,a=[r,i,n];let l=a.length,c=l,u,d,f=CS;for(;c--;)u=a[c],d=f.get(u),d===void 0&&f.set(u,d=c?new Map:wS(t)),f=d;return d};n5();const od={http:j_,xhr:fS,fetch:{get:n5}};V.forEach(od,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const r5=e=>`- ${e}`,ES=e=>V.isFunction(e)||e===null||e===!1;function _S(e,t){e=V.isArray(e)?e:[e];const{length:n}=e;let r,i;const a={};for(let l=0;l<n;l++){r=e[l];let c;if(i=r,!ES(r)&&(i=od[(c=String(r)).toLowerCase()],i===void 0))throw new ye(`Unknown adapter '${c}'`);if(i&&(V.isFunction(i)||(i=i.get(t))))break;a[c||"#"+l]=i}if(!i){const l=Object.entries(a).map(([u,d])=>`adapter ${u} `+(d===!1?"is not supported by the environment":"is not available in the build"));let c=n?l.length>1?`since :
|
|
792
|
-
`+l.map(r5).join(`
|
|
793
|
-
`):" "+r5(l[0]):"as no adapter specified";throw new ye("There is no suitable adapter to dispatch the request "+c,ye.ERR_NOT_SUPPORT)}return i}const i5={getAdapter:_S,adapters:od};function ad(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Xs(null,e)}function o5(e){return ad(e),e.headers=kn.from(e.headers),e.data=rd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),i5.getAdapter(e.adapter||Ks.adapter,e)(e).then(function(r){ad(e),e.response=r;try{r.data=rd.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=kn.from(r.headers),r},function(r){if(!z4(r)&&(ad(e),r&&r.response)){e.response=r.response;try{r.response.data=rd.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=kn.from(r.response.headers)}return Promise.reject(r)})}const U0={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{U0[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const a5={};U0.transitional=function(t,n,r){function i(a,l){return"[Axios v"+id+"] Transitional option '"+a+"'"+l+(r?". "+r:"")}return(a,l,c)=>{if(t===!1)throw new ye(i(l," has been removed"+(n?" in "+n:"")),ye.ERR_DEPRECATED);return n&&!a5[l]&&(a5[l]=!0,console.warn(i(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,l,c):!0}},U0.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function SS(e,t,n){if(typeof e!="object"||e===null)throw new ye("options must be an object",ye.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],l=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(l){const c=e[a],u=c===void 0||l(c,a,e);if(u!==!0)throw new ye("option "+a+" must be "+u,ye.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ye("Unknown option "+a,ye.ERR_BAD_OPTION)}}const z0={assertOptions:SS,validators:U0},Dn=z0.validators;let Uo=class{constructor(t){this.defaults=t||{},this.interceptors={request:new j4,response:new j4}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const a=(()=>{if(!i.stack)return"";const l=i.stack.indexOf(`
|
|
794
|
-
`);return l===-1?"":i.stack.slice(l+1)})();try{if(!r.stack)r.stack=a;else if(a){const l=a.indexOf(`
|
|
795
|
-
`),c=l===-1?-1:a.indexOf(`
|
|
796
|
-
`,l+1),u=c===-1?"":a.slice(c+1);String(r.stack).endsWith(u)||(r.stack+=`
|
|
797
|
-
`+a)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Wo(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&z0.assertOptions(r,{silentJSONParsing:Dn.transitional(Dn.boolean),forcedJSONParsing:Dn.transitional(Dn.boolean),clarifyTimeoutError:Dn.transitional(Dn.boolean),legacyInterceptorReqResOrdering:Dn.transitional(Dn.boolean),advertiseZstdAcceptEncoding:Dn.transitional(Dn.boolean),validateStatusUndefinedResolves:Dn.transitional(Dn.boolean)},!1),i!=null&&(V.isFunction(i)?n.paramsSerializer={serialize:i}:z0.assertOptions(i,{encode:Dn.function,serialize:Dn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),z0.assertOptions(n,{baseUrl:Dn.spelling("baseURL"),withXsrfToken:Dn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=a&&V.merge(a.common,a[n.method]);a&&V.forEach(["delete","get","head","post","put","patch","query","common"],w=>{delete a[w]}),n.headers=kn.concat(l,a);const c=[];let u=!0;this.interceptors.request.forEach(function(x){if(typeof x.runWhen=="function"&&x.runWhen(n)===!1)return;u=u&&x.synchronous;const v=n.transitional||ed;v&&v.legacyInterceptorReqResOrdering?c.unshift(x.fulfilled,x.rejected):c.push(x.fulfilled,x.rejected)});const d=[];this.interceptors.response.forEach(function(x){d.push(x.fulfilled,x.rejected)});let f,m=0,h;if(!u){const w=[o5.bind(this),void 0];for(w.unshift(...c),w.push(...d),h=w.length,f=Promise.resolve(n);m<h;)f=f.then(w[m++],w[m++]);return f}h=c.length;let g=n;for(;m<h;){const w=c[m++],x=c[m++];try{g=w(g)}catch(v){x.call(this,v);break}}try{f=o5.call(this,g)}catch(w){return Promise.reject(w)}for(m=0,h=d.length;m<h;)f=f.then(d[m++],d[m++]);return f}getUri(t){t=Wo(this.defaults,t);const n=G4(t.baseURL,t.url,t.allowAbsoluteUrls,t);return H4(n,t.params,t.paramsSerializer)}};V.forEach(["delete","get","head","options"],function(t){Uo.prototype[t]=function(n,r){return this.request(Wo(r||{},{method:t,url:n,data:r&&V.hasOwnProp(r,"data")?r.data:void 0}))}}),V.forEach(["post","put","patch","query"],function(t){function n(r){return function(a,l,c){return this.request(Wo(c||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:l}))}}Uo.prototype[t]=n(),t!=="query"&&(Uo.prototype[t+"Form"]=n(!0))});let AS=class Qx{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const l=new Promise(c=>{r.subscribe(c),a=c}).then(i);return l.cancel=function(){r.unsubscribe(a)},l},t(function(a,l,c){r.reason||(r.reason=new Xs(a,l,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Qx(function(i){t=i}),cancel:t}}};function kS(e){return function(n){return e.apply(null,n)}}function DS(e){return V.isObject(e)&&e.isAxiosError===!0}const sd={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(sd).forEach(([e,t])=>{sd[t]=e});function s5(e){const t=new Uo(e),n=C4(Uo.prototype.request,t);return V.extend(n,Uo.prototype,t,{allOwnKeys:!0}),V.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return s5(Wo(e,i))},n}const Qt=s5(Ks);Qt.Axios=Uo,Qt.CanceledError=Xs,Qt.CancelToken=AS,Qt.isCancel=z4,Qt.VERSION=id,Qt.toFormData=H0,Qt.AxiosError=ye,Qt.Cancel=Qt.CanceledError,Qt.all=function(t){return Promise.all(t)},Qt.spread=kS,Qt.isAxiosError=DS,Qt.mergeConfig=Wo,Qt.AxiosHeaders=kn,Qt.formToJSON=e=>U4(V.isHTMLForm(e)?new FormData(e):e),Qt.getAdapter=i5.getAdapter,Qt.HttpStatusCode=sd,Qt.default=Qt;const{Axios:WY,AxiosError:UY,CanceledError:zY,isCancel:VY,CancelToken:qY,VERSION:YY,all:ZY,Cancel:GY,isAxiosError:KY,spread:XY,toFormData:QY,AxiosHeaders:JY,HttpStatusCode:uo,formToJSON:eZ,getAdapter:tZ,mergeConfig:nZ,create:rZ}=Qt;/*!
|
|
798
|
-
* sweetalert2 v11.26.25
|
|
799
|
-
* Released under the MIT License.
|
|
800
|
-
*/function l5(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function OS(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c5(e,t){return e.get(l5(e,t))}function TS(e,t,n){OS(e,t),t.set(e,n)}function FS(e,t,n){return e.set(l5(e,t),n),n}const BS=100,Be={},PS=()=>{Be.previousActiveElement instanceof HTMLElement?(Be.previousActiveElement.focus(),Be.previousActiveElement=null):document.body&&document.body.focus()},LS=e=>new Promise(t=>{if(!e)return t();const n=window.scrollX,r=window.scrollY;Be.restoreFocusTimeout=setTimeout(()=>{PS(),t()},BS),window.scrollTo(n,r)}),u5="swal2-",ie=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error","draggable","dragging"].reduce((e,t)=>(e[t]=u5+t,e),{}),V0=["success","warning","info","question","error"].reduce((e,t)=>(e[t]=u5+t,e),{}),d5="SweetAlert2:",ld=e=>e.charAt(0).toUpperCase()+e.slice(1),Ln=e=>{console.warn(`${d5} ${typeof e=="object"?e.join(" "):e}`)},zo=e=>{console.error(`${d5} ${e}`)},f5=[],NS=e=>{f5.includes(e)||(f5.push(e),Ln(e))},p5=(e,t=null)=>{NS(`"${e}" is deprecated and will be removed in the next major release.${t?` Use "${t}" instead.`:""}`)},q0=e=>typeof e=="function"?e():e,cd=e=>e&&typeof e.toPromise=="function",Qs=e=>cd(e)?e.toPromise():Promise.resolve(e),ud=e=>e&&Promise.resolve(e)===e,IS=()=>navigator.userAgent.includes("Firefox"),Nn=()=>document.body.querySelector(`.${ie.container}`),Js=e=>{const t=Nn();return t?t.querySelector(e):null},ir=e=>Js(`.${e}`),xt=()=>ir(ie.popup),Ma=()=>ir(ie.icon),MS=()=>ir(ie["icon-content"]),h5=()=>ir(ie.title),dd=()=>ir(ie["html-container"]),m5=()=>ir(ie.image),fd=()=>ir(ie["progress-steps"]),Y0=()=>ir(ie["validation-message"]),ci=()=>Js(`.${ie.actions} .${ie.confirm}`),$a=()=>Js(`.${ie.actions} .${ie.cancel}`),Vo=()=>Js(`.${ie.actions} .${ie.deny}`),$S=()=>ir(ie["input-label"]),Ha=()=>Js(`.${ie.loader}`),el=()=>ir(ie.actions),v5=()=>ir(ie.footer),Z0=()=>ir(ie["timer-progress-bar"]),pd=()=>ir(ie.close),HS=`
|
|
801
|
-
a[href],
|
|
802
|
-
area[href],
|
|
803
|
-
input:not([disabled]),
|
|
804
|
-
select:not([disabled]),
|
|
805
|
-
textarea:not([disabled]),
|
|
806
|
-
button:not([disabled]),
|
|
807
|
-
iframe,
|
|
808
|
-
object,
|
|
809
|
-
embed,
|
|
810
|
-
[tabindex="0"],
|
|
811
|
-
[contenteditable],
|
|
812
|
-
audio[controls],
|
|
813
|
-
video[controls],
|
|
814
|
-
summary
|
|
815
|
-
`,hd=()=>{const e=xt();if(!e)return[];const t=e.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),n=Array.from(t).sort((a,l)=>{const c=parseInt(a.getAttribute("tabindex")||"0"),u=parseInt(l.getAttribute("tabindex")||"0");return c>u?1:c<u?-1:0}),r=e.querySelectorAll(HS),i=Array.from(r).filter(a=>a.getAttribute("tabindex")!=="-1");return[...new Set(n.concat(i))].filter(a=>Vn(a))},md=()=>Bi(document.body,ie.shown)&&!Bi(document.body,ie["toast-shown"])&&!Bi(document.body,ie["no-backdrop"]),G0=()=>{const e=xt();return e?Bi(e,ie.toast):!1},jS=()=>{const e=xt();return e?e.hasAttribute("data-loading"):!1},or=(e,t)=>{if(e.textContent="",t){const r=new DOMParser().parseFromString(t,"text/html"),i=r.querySelector("head");i&&Array.from(i.childNodes).forEach(l=>{e.appendChild(l)});const a=r.querySelector("body");a&&Array.from(a.childNodes).forEach(l=>{l instanceof HTMLVideoElement||l instanceof HTMLAudioElement?e.appendChild(l.cloneNode(!0)):e.appendChild(l)})}},Bi=(e,t)=>t?t.split(/\s+/).every(n=>e.classList.contains(n)):!1,RS=(e,t)=>{Array.from(e.classList).forEach(n=>{!Object.values(ie).includes(n)&&!Object.values(V0).includes(n)&&!Object.values(t.showClass||{}).includes(n)&&e.classList.remove(n)})},ar=(e,t,n)=>{if(RS(e,t),!t.customClass)return;const r=t.customClass[n];if(r){if(typeof r!="string"&&!r.forEach){Ln(`Invalid type of customClass.${n}! Expected string or iterable object, got "${typeof r}"`);return}bt(e,r)}},K0=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(`.${ie.popup} > .${ie[t]}`);case"checkbox":return e.querySelector(`.${ie.popup} > .${ie.checkbox} input`);case"radio":return e.querySelector(`.${ie.popup} > .${ie.radio} input:checked`)||e.querySelector(`.${ie.popup} > .${ie.radio} input:first-child`);case"range":return e.querySelector(`.${ie.popup} > .${ie.range} input`);default:return e.querySelector(`.${ie.popup} > .${ie.input}`)}},g5=e=>{if(e.focus(),e.type!=="file"){const t=e.value;e.value="",e.value=t}},x5=(e,t,n)=>{if(!e||!t)return;const r=typeof t=="string"?t.split(/\s+/).filter(Boolean):t;(Array.isArray(e)?e:[e]).forEach(a=>{r.forEach(l=>{n?a.classList.add(l):a.classList.remove(l)})})},bt=(e,t)=>{x5(e,t,!0)},_r=(e,t)=>{x5(e,t,!1)},fo=(e,t)=>Array.from(e.children).find(n=>n instanceof HTMLElement&&Bi(n,t)),qo=(e,t,n)=>{n===`${parseInt(`${n}`)}`&&(n=parseInt(n)),n||n===0?e.style.setProperty(t,typeof n=="number"?`${n}px`:n):e.style.removeProperty(t)},pn=(e,t="flex")=>{e&&(e.style.display=t)},On=e=>{e&&(e.style.display="none")},vd=(e,t="block")=>{e&&new MutationObserver(()=>{tl(e,e.innerHTML,t)}).observe(e,{childList:!0,subtree:!0})},b5=(e,t,n,r)=>{const i=e.querySelector(t);i&&i.style.setProperty(n,r)},tl=(e,t,n="flex")=>{t?pn(e,n):On(e)},Vn=e=>!!(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),WS=()=>!Vn(ci())&&!Vn(Vo())&&!Vn($a()),gd=e=>e.scrollHeight>e.clientHeight,US=(e,t)=>{let n=e;for(;n&&n!==t;){if(gd(n))return!0;n=n.parentElement}return!1},y5=e=>{const t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),r=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||r>0},xd=(e,t=!1)=>{const n=Z0();n&&Vn(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout(()=>{n.style.transition=`width ${e/1e3}s linear`,n.style.width="0%"},10))},zS=()=>{const e=Z0();if(!e)return;const t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const n=parseInt(window.getComputedStyle(e).width),r=t/n*100;e.style.width=`${r}%`},VS=()=>typeof window>"u"||typeof document>"u",qS=`
|
|
816
|
-
<div aria-labelledby="${ie.title}" aria-describedby="${ie["html-container"]}" class="${ie.popup}" tabindex="-1">
|
|
817
|
-
<button type="button" class="${ie.close}"></button>
|
|
818
|
-
<ul class="${ie["progress-steps"]}"></ul>
|
|
819
|
-
<div class="${ie.icon}"></div>
|
|
820
|
-
<img class="${ie.image}" />
|
|
821
|
-
<h2 class="${ie.title}" id="${ie.title}"></h2>
|
|
822
|
-
<div class="${ie["html-container"]}" id="${ie["html-container"]}"></div>
|
|
823
|
-
<input class="${ie.input}" id="${ie.input}" />
|
|
824
|
-
<input type="file" class="${ie.file}" />
|
|
825
|
-
<div class="${ie.range}">
|
|
826
|
-
<input type="range" />
|
|
827
|
-
<output></output>
|
|
828
|
-
</div>
|
|
829
|
-
<select class="${ie.select}" id="${ie.select}"></select>
|
|
830
|
-
<div class="${ie.radio}"></div>
|
|
831
|
-
<label class="${ie.checkbox}">
|
|
832
|
-
<input type="checkbox" id="${ie.checkbox}" />
|
|
833
|
-
<span class="${ie.label}"></span>
|
|
834
|
-
</label>
|
|
835
|
-
<textarea class="${ie.textarea}" id="${ie.textarea}"></textarea>
|
|
836
|
-
<div class="${ie["validation-message"]}" id="${ie["validation-message"]}"></div>
|
|
837
|
-
<div class="${ie.actions}">
|
|
838
|
-
<div class="${ie.loader}"></div>
|
|
839
|
-
<button type="button" class="${ie.confirm}"></button>
|
|
840
|
-
<button type="button" class="${ie.deny}"></button>
|
|
841
|
-
<button type="button" class="${ie.cancel}"></button>
|
|
842
|
-
</div>
|
|
843
|
-
<div class="${ie.footer}"></div>
|
|
844
|
-
<div class="${ie["timer-progress-bar-container"]}">
|
|
845
|
-
<div class="${ie["timer-progress-bar"]}"></div>
|
|
846
|
-
</div>
|
|
847
|
-
</div>
|
|
848
|
-
`.replace(/(^|\n)\s*/g,""),YS=()=>{const e=Nn();return e?(e.remove(),_r([document.documentElement,document.body],[ie["no-backdrop"],ie["toast-shown"],ie["has-column"]]),!0):!1},Yo=()=>{Be.currentInstance&&Be.currentInstance.resetValidationMessage()},ZS=()=>{const e=xt();if(!e)return;const t=fo(e,ie.input),n=fo(e,ie.file),r=e.querySelector(`.${ie.range} input`),i=e.querySelector(`.${ie.range} output`),a=fo(e,ie.select),l=e.querySelector(`.${ie.checkbox} input`),c=fo(e,ie.textarea);t&&(t.oninput=Yo),n&&(n.onchange=Yo),a&&(a.onchange=Yo),l&&(l.onchange=Yo),c&&(c.oninput=Yo),r&&i&&(r.oninput=()=>{Yo(),i.value=r.value},r.onchange=()=>{Yo(),i.value=r.value})},GS=e=>{if(typeof e=="string"){const t=document.querySelector(e);if(!t)throw new Error(`Target element "${e}" not found`);return t}return e},KS=e=>{const t=xt();t&&(t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true"))},XS=e=>{window.getComputedStyle(e).direction==="rtl"&&(bt(Nn(),ie.rtl),Be.isRTL=!0)},QS=e=>{const t=YS();if(VS()){zo("SweetAlert2 requires document to initialize");return}const n=document.createElement("div");n.className=ie.container,t&&bt(n,ie["no-transition"]),or(n,qS),n.dataset.swal2Theme=e.theme;const r=GS(e.target||"body");r.appendChild(n),e.topLayer&&(n.setAttribute("popover",""),n.showPopover()),KS(e),XS(r),ZS()},bd=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):typeof e=="object"?JS(e,t):e&&or(t,e)},JS=(e,t)=>{"jquery"in e?eA(t,e):or(t,e.toString())},eA=(e,t)=>{if(e.textContent="",0 in t)for(let n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},tA=(e,t)=>{const n=el(),r=Ha();!n||!r||(!t.showConfirmButton&&!t.showDenyButton&&!t.showCancelButton?On(n):pn(n),ar(n,t,"actions"),nA(n,r,t),or(r,t.loaderHtml||""),ar(r,t,"loader"))};function nA(e,t,n){const r=ci(),i=Vo(),a=$a();!r||!i||!a||(yd(r,"confirm",n),yd(i,"deny",n),yd(a,"cancel",n),rA(r,i,a,n),n.reverseButtons&&(n.toast?(e.insertBefore(a,r),e.insertBefore(i,r)):(e.insertBefore(a,t),e.insertBefore(i,t),e.insertBefore(r,t))))}function rA(e,t,n,r){if(!r.buttonsStyling){_r([e,t,n],ie.styled);return}bt([e,t,n],ie.styled),[[e,"confirm",r.confirmButtonColor],[t,"deny",r.denyButtonColor],[n,"cancel",r.cancelButtonColor]].forEach(([a,l,c])=>{c&&a.style.setProperty(`--swal2-${l}-button-background-color`,c),iA(a)})}function iA(e){const t=window.getComputedStyle(e);if(t.getPropertyValue("--swal2-action-button-focus-box-shadow"))return;const n=t.backgroundColor.replace(/rgba?\((\d+), (\d+), (\d+).*/,"rgba($1, $2, $3, 0.5)");e.style.setProperty("--swal2-action-button-focus-box-shadow",t.getPropertyValue("--swal2-outline").replace(/ rgba\(.*/,` ${n}`))}function yd(e,t,n){const r=ld(t);tl(e,n[`show${r}Button`],"inline-block"),or(e,n[`${t}ButtonText`]||""),e.setAttribute("aria-label",n[`${t}ButtonAriaLabel`]||""),e.className=ie[t],ar(e,n,`${t}Button`)}const oA=(e,t)=>{const n=pd();n&&(or(n,t.closeButtonHtml||""),ar(n,t,"closeButton"),tl(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel||""))},aA=(e,t)=>{const n=Nn();n&&(sA(n,t.backdrop),lA(n,t.position),cA(n,t.grow),ar(n,t,"container"))};function sA(e,t){typeof t=="string"?e.style.background=t:t||bt([document.documentElement,document.body],ie["no-backdrop"])}function lA(e,t){t&&(t in ie?bt(e,ie[t]):(Ln('The "position" parameter is not valid, defaulting to "center"'),bt(e,ie.center)))}function cA(e,t){t&&bt(e,ie[`grow-${t}`])}var _t={innerParams:new WeakMap,domCache:new WeakMap,focusedElement:new WeakMap};const uA=["input","file","range","select","radio","checkbox","textarea"],dA=(e,t)=>{const n=xt();if(!n)return;const r=_t.innerParams.get(e),i=!r||t.input!==r.input;uA.forEach(a=>{const l=fo(n,ie[a]);l&&(hA(a,t.inputAttributes),l.className=ie[a],i&&On(l))}),t.input&&(i&&fA(t),mA(t))},fA=e=>{if(!e.input)return;if(!Jt[e.input]){zo(`Unexpected type of input! Expected ${Object.keys(Jt).join(" | ")}, got "${e.input}"`);return}const t=w5(e.input);if(!t)return;const n=Jt[e.input](t,e);pn(t),e.inputAutoFocus&&setTimeout(()=>{g5(n)})},pA=e=>{for(const{name:t}of Array.from(e.attributes))["id","type","value","style"].includes(t)||e.removeAttribute(t)},hA=(e,t)=>{const n=xt();if(!n)return;const r=K0(n,e);if(r){pA(r);for(const i in t)r.setAttribute(i,t[i])}},mA=e=>{if(!e.input)return;const t=w5(e.input);t&&ar(t,e,"input")},wd=(e,t)=>{!e.placeholder&&t.inputPlaceholder&&(e.placeholder=t.inputPlaceholder)},nl=(e,t,n)=>{if(n.inputLabel){const r=document.createElement("label"),i=ie["input-label"];r.setAttribute("for",e.id),r.className=i,typeof n.customClass=="object"&&bt(r,n.customClass.inputLabel),r.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",r)}},w5=e=>{const t=xt();if(t)return fo(t,ie[e]||ie.input)},X0=(e,t)=>{["string","number"].includes(typeof t)?e.value=`${t}`:ud(t)||Ln(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof t}"`)},Jt={};Jt.text=Jt.email=Jt.password=Jt.number=Jt.tel=Jt.url=Jt.search=Jt.date=Jt["datetime-local"]=Jt.time=Jt.week=Jt.month=(e,t)=>{const n=e;return X0(n,t.inputValue),nl(n,n,t),wd(n,t),n.type=t.input,n},Jt.file=(e,t)=>{const n=e;return nl(n,n,t),wd(n,t),n},Jt.range=(e,t)=>{const n=e,r=n.querySelector("input"),i=n.querySelector("output");return r&&(X0(r,t.inputValue),r.type=t.input,nl(r,e,t)),i&&X0(i,t.inputValue),e},Jt.select=(e,t)=>{const n=e;if(n.textContent="",t.inputPlaceholder){const r=document.createElement("option");or(r,t.inputPlaceholder),r.value="",r.disabled=!0,r.selected=!0,n.appendChild(r)}return nl(n,n,t),n},Jt.radio=e=>{const t=e;return t.textContent="",e},Jt.checkbox=(e,t)=>{const n=xt();if(!n)throw new Error("Popup not found");const r=K0(n,"checkbox");if(!r)throw new Error("Checkbox input not found");r.value="1",r.checked=!!t.inputValue;const a=e.querySelector("span");if(a){const l=t.inputPlaceholder||t.inputLabel;l&&or(a,l)}return r},Jt.textarea=(e,t)=>{const n=e;X0(n,t.inputValue),wd(n,t),nl(n,n,t);const r=i=>parseInt(window.getComputedStyle(i).marginLeft)+parseInt(window.getComputedStyle(i).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const i=xt();if(!i)return;const a=parseInt(window.getComputedStyle(i).width),l=()=>{if(!document.body.contains(n))return;const c=n.offsetWidth+r(n),u=xt();u&&(c>a?u.style.width=`${c}px`:qo(u,"width",t.width))};new MutationObserver(l).observe(n,{attributes:!0,attributeFilter:["style"]})}}),n};const vA=(e,t)=>{const n=dd();n&&(vd(n),ar(n,t,"htmlContainer"),t.html?(bd(t.html,n),pn(n,"block")):t.text?(n.textContent=t.text,pn(n,"block")):On(n),dA(e,t))},gA=(e,t)=>{const n=v5();n&&(vd(n),tl(n,!!t.footer,"block"),t.footer&&bd(t.footer,n),ar(n,t,"footer"))},xA=(e,t)=>{const n=_t.innerParams.get(e),r=Ma();if(!r)return;if(n&&t.icon===n.icon){_5(r,t),C5(r,t);return}if(!t.icon&&!t.iconHtml){On(r);return}if(t.icon&&Object.keys(V0).indexOf(t.icon)===-1){zo(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${t.icon}"`),On(r);return}pn(r),_5(r,t),C5(r,t),bt(r,t.showClass&&t.showClass.icon),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",E5)},C5=(e,t)=>{for(const[n,r]of Object.entries(V0))t.icon!==n&&_r(e,r);bt(e,t.icon&&V0[t.icon]),wA(e,t),E5(),ar(e,t,"icon")},E5=()=>{const e=xt();if(!e)return;const t=window.getComputedStyle(e).getPropertyValue("background-color");e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix").forEach(r=>{r.style.backgroundColor=t})},bA=e=>`
|
|
849
|
-
${e.animation?'<div class="swal2-success-circular-line-left"></div>':""}
|
|
850
|
-
<span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
|
|
851
|
-
<div class="swal2-success-ring"></div>
|
|
852
|
-
${e.animation?'<div class="swal2-success-fix"></div>':""}
|
|
853
|
-
${e.animation?'<div class="swal2-success-circular-line-right"></div>':""}
|
|
854
|
-
`,yA=`
|
|
855
|
-
<span class="swal2-x-mark">
|
|
856
|
-
<span class="swal2-x-mark-line-left"></span>
|
|
857
|
-
<span class="swal2-x-mark-line-right"></span>
|
|
858
|
-
</span>
|
|
859
|
-
`,_5=(e,t)=>{if(!t.icon&&!t.iconHtml)return;let n=e.innerHTML,r="";t.iconHtml?r=S5(t.iconHtml):t.icon==="success"?(r=bA(t),n=n.replace(/ style=".*?"/g,"")):t.icon==="error"?r=yA:t.icon&&(r=S5({question:"?",warning:"!",info:"i"}[t.icon])),n.trim()!==r.trim()&&or(e,r)},wA=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])b5(e,n,"background-color",t.iconColor);b5(e,".swal2-success-ring","border-color",t.iconColor)}},S5=e=>`<div class="${ie["icon-content"]}">${e}</div>`,CA=(e,t)=>{const n=m5();if(n){if(!t.imageUrl){On(n);return}pn(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt||""),qo(n,"width",t.imageWidth),qo(n,"height",t.imageHeight),n.className=ie.image,ar(n,t,"image")}};let Cd=!1,A5=0,k5=0,D5=0,O5=0;const EA=e=>{e.addEventListener("mousedown",Q0),document.body.addEventListener("mousemove",J0),e.addEventListener("mouseup",ec),e.addEventListener("touchstart",Q0),document.body.addEventListener("touchmove",J0),e.addEventListener("touchend",ec)},_A=e=>{e.removeEventListener("mousedown",Q0),document.body.removeEventListener("mousemove",J0),e.removeEventListener("mouseup",ec),e.removeEventListener("touchstart",Q0),document.body.removeEventListener("touchmove",J0),e.removeEventListener("touchend",ec)},Q0=e=>{const t=xt();if(!t)return;const n=Ma();if(e.target===t||n&&n.contains(e.target)){Cd=!0;const r=T5(e);A5=r.clientX,k5=r.clientY,D5=parseInt(t.style.insetInlineStart)||0,O5=parseInt(t.style.insetBlockStart)||0,bt(t,"swal2-dragging")}},J0=e=>{const t=xt();if(t&&Cd){let{clientX:n,clientY:r}=T5(e);const i=n-A5;t.style.insetInlineStart=`${D5+(Be.isRTL?-i:i)}px`,t.style.insetBlockStart=`${O5+(r-k5)}px`}},ec=()=>{const e=xt();Cd=!1,_r(e,"swal2-dragging")},T5=e=>{const t=e.type.startsWith("touch")?e.touches[0]:e;return{clientX:t.clientX,clientY:t.clientY}},SA=(e,t)=>{const n=Nn(),r=xt();if(!(!n||!r)){if(t.toast){qo(n,"width",t.width),r.style.width="100%";const i=Ha();i&&r.insertBefore(i,Ma())}else qo(r,"width",t.width);qo(r,"padding",t.padding),t.color&&(r.style.color=t.color),t.background&&(r.style.background=t.background),On(Y0()),AA(r,t),t.draggable&&!t.toast?(bt(r,ie.draggable),EA(r)):(_r(r,ie.draggable),_A(r))}},AA=(e,t)=>{const n=t.showClass||{};e.className=`${ie.popup} ${Vn(e)?n.popup:""}`,t.toast?(bt([document.documentElement,document.body],ie["toast-shown"]),bt(e,ie.toast)):bt(e,ie.modal),ar(e,t,"popup"),typeof t.customClass=="string"&&bt(e,t.customClass),t.icon&&bt(e,ie[`icon-${t.icon}`])},kA=(e,t)=>{const n=fd();if(!n)return;const{progressSteps:r,currentProgressStep:i}=t;if(!r||r.length===0||i===void 0){On(n);return}pn(n),n.textContent="",i>=r.length&&Ln("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),r.forEach((a,l)=>{const c=DA(a);if(n.appendChild(c),l===i&&bt(c,ie["active-progress-step"]),l!==r.length-1){const u=OA(t);n.appendChild(u)}})},DA=e=>{const t=document.createElement("li");return bt(t,ie["progress-step"]),or(t,e),t},OA=e=>{const t=document.createElement("li");return bt(t,ie["progress-step-line"]),e.progressStepsDistance&&qo(t,"width",e.progressStepsDistance),t},TA=(e,t)=>{const n=h5();n&&(vd(n),tl(n,!!(t.title||t.titleText),"block"),t.title&&bd(t.title,n),t.titleText&&(n.innerText=t.titleText),ar(n,t,"title"))},F5=(e,t)=>{var n;SA(e,t),aA(e,t),kA(e,t),xA(e,t),CA(e,t),TA(e,t),oA(e,t),vA(e,t),tA(e,t),gA(e,t);const r=xt();typeof t.didRender=="function"&&r&&t.didRender(r),(n=Be.eventEmitter)===null||n===void 0||n.emit("didRender",r)},FA=()=>Vn(xt()),B5=()=>{var e;return(e=ci())===null||e===void 0?void 0:e.click()},BA=()=>{var e;return(e=Vo())===null||e===void 0?void 0:e.click()},PA=()=>{var e;return(e=$a())===null||e===void 0?void 0:e.click()},ja=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),P5=e=>{if(e.keydownTarget&&e.keydownHandlerAdded&&e.keydownHandler){const t=e.keydownHandler;e.keydownTarget.removeEventListener("keydown",t,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1}},LA=(e,t,n)=>{if(P5(e),!t.toast){const r=a=>IA(t,a,n);e.keydownHandler=r;const i=t.keydownListenerCapture?window:xt();if(i){e.keydownTarget=i,e.keydownListenerCapture=t.keydownListenerCapture;const a=r;e.keydownTarget.addEventListener("keydown",a,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0}}},Ed=(e,t)=>{var n;const r=hd();return r.length?(e=e+t,e===-2&&(e=r.length-1),e===r.length?e=0:e===-1&&(e=r.length-1),r[e].focus(),!(IS()&&r[e]instanceof HTMLIFrameElement)):((n=xt())===null||n===void 0||n.focus(),!0)},L5=["ArrowRight","ArrowDown"],NA=["ArrowLeft","ArrowUp"],IA=(e,t,n)=>{e&&(t.isComposing||t.keyCode===229||(e.stopKeydownPropagation&&t.stopPropagation(),t.key==="Enter"?MA(t,e):t.key==="Tab"?$A(t):[...L5,...NA].includes(t.key)?HA(t.key):t.key==="Escape"&&jA(t,e,n)))},MA=(e,t)=>{if(!q0(t.allowEnterKey))return;const n=xt();if(!n||!t.input)return;const r=K0(n,t.input);if(e.target&&r&&e.target instanceof HTMLElement&&e.target.outerHTML===r.outerHTML){if(["textarea","file"].includes(t.input))return;B5(),e.preventDefault()}},$A=e=>{const t=e.target,r=hd().findIndex(a=>a===t);let i=!0;e.shiftKey?i=Ed(r,-1):i=Ed(r,1),e.stopPropagation(),i&&e.preventDefault()},HA=e=>{const t=el(),n=ci(),r=Vo(),i=$a();if(!t||!n||!r||!i)return;const a=[n,r,i];if(document.activeElement instanceof HTMLElement&&!a.includes(document.activeElement))return;const l=L5.includes(e)?"nextElementSibling":"previousElementSibling";let c=document.activeElement;if(c){for(let u=0;u<t.children.length;u++){if(c=c[l],!c)return;if(c instanceof HTMLButtonElement&&Vn(c))break}c instanceof HTMLButtonElement&&c.focus()}},jA=(e,t,n)=>{e.preventDefault(),q0(t.allowEscapeKey)&&n(ja.esc)};var Ra={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const RA=()=>{const e=Nn();Array.from(document.body.children).forEach(n=>{n.contains(e)||(n.hasAttribute("aria-hidden")&&n.setAttribute("data-previous-aria-hidden",n.getAttribute("aria-hidden")||""),n.setAttribute("aria-hidden","true"))})},N5=()=>{Array.from(document.body.children).forEach(t=>{t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")||""),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})},_d=typeof window<"u"&&!!window.GestureEvent,WA=_d&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,UA=()=>{if(_d&&!Bi(document.body,ie.iosfix)){const e=document.body.scrollTop;document.body.style.top=`${e*-1}px`,bt(document.body,ie.iosfix),zA()}},zA=()=>{const e=Nn();if(!e)return;let t;e.ontouchstart=n=>{t=VA(n)},e.ontouchmove=n=>{t&&(n.preventDefault(),n.stopPropagation())}},VA=e=>{const t=e.target,n=Nn(),r=dd();return!n||!r||qA(e)||YA(e)?!1:t===n||!gd(n)&&t instanceof HTMLElement&&!US(t,r)&&t.tagName!=="INPUT"&&t.tagName!=="TEXTAREA"&&!(gd(r)&&r.contains(t))},qA=e=>!!(e.touches&&e.touches.length&&e.touches[0].touchType==="stylus"),YA=e=>e.touches&&e.touches.length>1,ZA=()=>{if(Bi(document.body,ie.iosfix)){const e=parseInt(document.body.style.top,10);_r(document.body,ie.iosfix),document.body.style.top="",document.body.scrollTop=e*-1}},GA=()=>{const e=document.createElement("div");e.className=ie["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t};let Wa=null;const KA=e=>{Wa===null&&(document.body.scrollHeight>window.innerHeight||e==="scroll")&&(Wa=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${Wa+GA()}px`)},XA=()=>{Wa!==null&&(document.body.style.paddingRight=`${Wa}px`,Wa=null)};function I5(e,t,n,r){G0()?$5(e,r):(LS(n).then(()=>$5(e,r)),P5(Be)),_d?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),md()&&(XA(),ZA(),N5()),QA()}function QA(){_r([document.documentElement,document.body],[ie.shown,ie["height-auto"],ie["no-backdrop"],ie["toast-shown"]])}function po(e){e=ek(e);const t=Ra.swalPromiseResolve.get(this),n=JA(this);this.isAwaitingPromise?e.isDismissed||(rl(this),t(e)):n&&t(e)}const JA=e=>{const t=xt();if(!t)return!1;const n=_t.innerParams.get(e);if(!n||Bi(t,n.hideClass.popup))return!1;_r(t,n.showClass.popup),bt(t,n.hideClass.popup);const r=Nn();return _r(r,n.showClass.backdrop),bt(r,n.hideClass.backdrop),tk(e,t,n),!0};function M5(e){const t=Ra.swalPromiseReject.get(this);rl(this),t&&t(e)}const rl=e=>{e.isAwaitingPromise&&(delete e.isAwaitingPromise,_t.innerParams.get(e)||e._destroy())},ek=e=>typeof e>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),tk=(e,t,n)=>{var r;const i=Nn(),a=y5(t);typeof n.willClose=="function"&&n.willClose(t),(r=Be.eventEmitter)===null||r===void 0||r.emit("willClose",t),a&&i?nk(e,t,i,!!n.returnFocus,n.didClose):i&&I5(e,i,!!n.returnFocus,n.didClose)},nk=(e,t,n,r,i)=>{Be.swalCloseEventFinishedCallback=I5.bind(null,e,n,r,i);const a=function(l){if(l.target===t){var c;(c=Be.swalCloseEventFinishedCallback)===null||c===void 0||c.call(Be),delete Be.swalCloseEventFinishedCallback,t.removeEventListener("animationend",a),t.removeEventListener("transitionend",a)}};t.addEventListener("animationend",a),t.addEventListener("transitionend",a)},$5=(e,t)=>{setTimeout(()=>{var n;typeof t=="function"&&t.bind(e.params)(),(n=Be.eventEmitter)===null||n===void 0||n.emit("didClose"),e._destroy&&e._destroy()})},Ua=e=>{let t=xt();if(t||new za,t=xt(),!t)return;const n=Ha();G0()?On(Ma()):rk(t,e),pn(n),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},rk=(e,t)=>{const n=el(),r=Ha();!n||!r||(!t&&Vn(ci())&&(t=ci()),pn(n),t&&(On(t),r.setAttribute("data-button-to-replace",t.className),n.insertBefore(r,t)),bt([e,n],ie.loading))},ik=(e,t)=>{t.input==="select"||t.input==="radio"?ck(e,t):["text","email","number","tel","textarea"].some(n=>n===t.input)&&(cd(t.inputValue)||ud(t.inputValue))&&(Ua(ci()),uk(e,t))},ok=(e,t)=>{const n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return ak(n);case"radio":return sk(n);case"file":return lk(n);default:return t.inputAutoTrim?n.value.trim():n.value}},ak=e=>e.checked?1:0,sk=e=>e.checked?e.value:null,lk=e=>e.files&&e.files.length?e.getAttribute("multiple")!==null?e.files:e.files[0]:null,ck=(e,t)=>{const n=xt();if(!n)return;const r=i=>{t.input==="select"?dk(n,Sd(i),t):t.input==="radio"&&fk(n,Sd(i),t)};cd(t.inputOptions)||ud(t.inputOptions)?(Ua(ci()),Qs(t.inputOptions).then(i=>{e.hideLoading(),r(i)})):typeof t.inputOptions=="object"?r(t.inputOptions):zo(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof t.inputOptions}`)},uk=(e,t)=>{const n=e.getInput();n&&(On(n),Qs(t.inputValue).then(r=>{n.value=t.input==="number"?`${parseFloat(r)||0}`:`${r}`,pn(n),n.focus(),e.hideLoading()}).catch(r=>{zo(`Error in inputValue promise: ${r}`),n.value="",pn(n),n.focus(),e.hideLoading()}))};function dk(e,t,n){const r=fo(e,ie.select);if(!r)return;const i=(a,l,c)=>{const u=document.createElement("option");u.value=c,or(u,l),u.selected=H5(c,n.inputValue),a.appendChild(u)};t.forEach(a=>{const l=a[0],c=a[1];if(Array.isArray(c)){const u=document.createElement("optgroup");u.label=l,u.disabled=!1,r.appendChild(u),c.forEach(d=>i(u,d[1],d[0]))}else i(r,c,l)}),r.focus()}function fk(e,t,n){const r=fo(e,ie.radio);if(!r)return;t.forEach(a=>{const l=a[0],c=a[1],u=document.createElement("input"),d=document.createElement("label");u.type="radio",u.name=ie.radio,u.value=l,H5(l,n.inputValue)&&(u.checked=!0);const f=document.createElement("span");or(f,c),f.className=ie.label,d.appendChild(u),d.appendChild(f),r.appendChild(d)});const i=r.querySelectorAll("input");i.length&&i[0].focus()}const Sd=e=>(e instanceof Map?Array.from(e):Object.entries(e)).map(([n,r])=>[n,typeof r=="object"?Sd(r):r]),H5=(e,t)=>!!t&&t!=null&&t.toString()===e.toString(),pk=e=>{const t=_t.innerParams.get(e);e.disableButtons(),t.input?j5(e,"confirm"):kd(e,!0)},hk=e=>{const t=_t.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?j5(e,"deny"):Ad(e,!1)},mk=(e,t)=>{e.disableButtons(),t(ja.cancel)},j5=(e,t)=>{const n=_t.innerParams.get(e);if(!n.input){zo(`The "input" parameter is needed to be set when using returnInputValueOn${ld(t)}`);return}const r=e.getInput(),i=ok(e,n);n.inputValidator?vk(e,i,t):r&&!r.checkValidity()?(e.enableButtons(),e.showValidationMessage(n.validationMessage||r.validationMessage)):t==="deny"?Ad(e,i):kd(e,i)},vk=(e,t,n)=>{const r=_t.innerParams.get(e);e.disableInput(),Promise.resolve().then(()=>Qs(r.inputValidator(t,r.validationMessage))).then(a=>{e.enableButtons(),e.enableInput(),a?e.showValidationMessage(a):n==="deny"?Ad(e,t):kd(e,t)})},Ad=(e,t)=>{const n=_t.innerParams.get(e);n.showLoaderOnDeny&&Ua(Vo()),n.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then(()=>Qs(n.preDeny(t,n.validationMessage))).then(i=>{i===!1?(e.hideLoading(),rl(e)):e.close({isDenied:!0,value:typeof i>"u"?t:i})}).catch(i=>W5(e,i))):e.close({isDenied:!0,value:t})},R5=(e,t)=>{e.close({isConfirmed:!0,value:t})},W5=(e,t)=>{e.rejectPromise(t)},kd=(e,t)=>{const n=_t.innerParams.get(e);n.showLoaderOnConfirm&&Ua(),n.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then(()=>Qs(n.preConfirm(t,n.validationMessage))).then(i=>{Vn(Y0())||i===!1?(e.hideLoading(),rl(e)):R5(e,typeof i>"u"?t:i)}).catch(i=>W5(e,i))):R5(e,t)};function tc(){const e=_t.innerParams.get(this);if(!e)return;const t=_t.domCache.get(this);On(t.loader),G0()?e.icon&&pn(Ma()):gk(t),_r([t.popup,t.actions],ie.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),this.enableButtons()}const gk=e=>{const t=e.loader.getAttribute("data-button-to-replace"),n=t?e.popup.getElementsByClassName(t):[];n.length?pn(n[0],"inline-block"):WS()&&On(e.actions)};function U5(){const e=_t.innerParams.get(this),t=_t.domCache.get(this);return t?K0(t.popup,e.input):null}function z5(e,t,n){const r=_t.domCache.get(e);t.forEach(i=>{r[i].disabled=n})}function V5(e,t){const n=xt();!n||!e||(e.type==="radio"?n.querySelectorAll(`[name="${ie.radio}"]`).forEach(i=>{i.disabled=t}):e.disabled=t)}function q5(){z5(this,["confirmButton","denyButton","cancelButton"],!1);const e=_t.focusedElement.get(this);e instanceof HTMLElement&&document.activeElement===document.body&&e.focus(),_t.focusedElement.delete(this)}function Y5(){_t.focusedElement.set(this,document.activeElement),z5(this,["confirmButton","denyButton","cancelButton"],!0)}function Z5(){V5(this.getInput(),!1)}function G5(){V5(this.getInput(),!0)}function K5(e){const t=_t.domCache.get(this),n=_t.innerParams.get(this);or(t.validationMessage,e),t.validationMessage.className=ie["validation-message"],n.customClass&&n.customClass.validationMessage&&bt(t.validationMessage,n.customClass.validationMessage),pn(t.validationMessage);const r=this.getInput();r&&(r.setAttribute("aria-invalid","true"),r.setAttribute("aria-describedby",ie["validation-message"]),g5(r),bt(r,ie.inputerror))}function X5(){const e=_t.domCache.get(this);e.validationMessage&&On(e.validationMessage);const t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),_r(t,ie.inputerror))}const ho={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,draggable:!1,animation:!0,theme:"light",showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoFocus:!0,inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0,topLayer:!1},xk=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","draggable","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","theme","willClose"],bk={allowEnterKey:void 0},yk=["allowOutsideClick","allowEnterKey","backdrop","draggable","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Q5=e=>Object.prototype.hasOwnProperty.call(ho,e),J5=e=>xk.indexOf(e)!==-1,em=e=>bk[e],wk=e=>{Q5(e)||Ln(`Unknown parameter "${e}"`)},Ck=e=>{yk.includes(e)&&Ln(`The parameter "${e}" is incompatible with toasts`)},Ek=e=>{const t=em(e);t&&p5(e,t)},tm=e=>{e.backdrop===!1&&e.allowOutsideClick&&Ln('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),e.theme&&!["light","dark","auto","minimal","borderless","bootstrap-4","bootstrap-4-light","bootstrap-4-dark","bootstrap-5","bootstrap-5-light","bootstrap-5-dark","material-ui","material-ui-light","material-ui-dark","embed-iframe","bulma","bulma-light","bulma-dark"].includes(e.theme)&&Ln(`Invalid theme "${e.theme}"`);for(const t in e)wk(t),e.toast&&Ck(t),Ek(t)};function nm(e){const t=Nn(),n=xt(),r=_t.innerParams.get(this);if(!n||Bi(n,r.hideClass.popup)){Ln("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");return}const i=_k(e),a=Object.assign({},r,i);tm(a),t&&(t.dataset.swal2Theme=a.theme),F5(this,a),_t.innerParams.set(this,a),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}const _k=e=>{const t={};return Object.keys(e).forEach(n=>{if(J5(n)){const r=e;t[n]=r[n]}else Ln(`Invalid parameter to update: ${n}`)}),t};function rm(){var e;const t=_t.domCache.get(this),n=_t.innerParams.get(this);if(!n){im(this);return}t.popup&&Be.swalCloseEventFinishedCallback&&(Be.swalCloseEventFinishedCallback(),delete Be.swalCloseEventFinishedCallback),typeof n.didDestroy=="function"&&n.didDestroy(),(e=Be.eventEmitter)===null||e===void 0||e.emit("didDestroy"),Sk(this)}const Sk=e=>{im(e),delete e.params,delete Be.keydownHandler,delete Be.keydownTarget,delete Be.currentInstance},im=e=>{e.isAwaitingPromise?(Dd(_t,e),e.isAwaitingPromise=!0):(Dd(Ra,e),Dd(_t,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},Dd=(e,t)=>{for(const n in e)e[n].delete(t)};var Ak=Object.freeze({__proto__:null,_destroy:rm,close:po,closeModal:po,closePopup:po,closeToast:po,disableButtons:Y5,disableInput:G5,disableLoading:tc,enableButtons:q5,enableInput:Z5,getInput:U5,handleAwaitingPromise:rl,hideLoading:tc,rejectPromise:M5,resetValidationMessage:X5,showValidationMessage:K5,update:nm});const kk=(e,t,n)=>{e.toast?Dk(e,t,n):(Tk(t),Fk(t),Bk(e,t,n))},Dk=(e,t,n)=>{t.popup.onclick=()=>{e&&(Ok(e)||e.timer||e.input)||n(ja.close)}},Ok=e=>!!(e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton);let nc=!1;const Tk=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=()=>{},t.target===e.container&&(nc=!0)}}},Fk=e=>{e.container.onmousedown=t=>{t.target===e.container&&t.preventDefault(),e.popup.onmouseup=function(n){e.popup.onmouseup=()=>{},(n.target===e.popup||n.target instanceof HTMLElement&&e.popup.contains(n.target))&&(nc=!0)}}},Bk=(e,t,n)=>{t.container.onclick=r=>{if(nc){nc=!1;return}r.target===t.container&&q0(e.allowOutsideClick)&&n(ja.backdrop)}},Pk=e=>typeof e=="object"&&e!==null&&"jquery"in e,om=e=>e instanceof Element||Pk(e),Lk=e=>{const t={};return typeof e[0]=="object"&&!om(e[0])?Object.assign(t,e[0]):["title","html","icon"].forEach((n,r)=>{const i=e[r];typeof i=="string"||om(i)?t[n]=i:i!==void 0&&zo(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof i}`)}),t};function Nk(...e){return new this(...e)}function Ik(e){class t extends this{_main(r,i){return super._main(r,Object.assign({},e,i))}}return t}const Mk=()=>Be.timeout&&Be.timeout.getTimerLeft(),am=()=>{if(Be.timeout)return zS(),Be.timeout.stop()},sm=()=>{if(Be.timeout){const e=Be.timeout.start();return xd(e),e}},$k=()=>{const e=Be.timeout;return e&&(e.running?am():sm())},Hk=e=>{if(Be.timeout){const t=Be.timeout.increase(e);return xd(t,!0),t}},jk=()=>!!(Be.timeout&&Be.timeout.isRunning());let lm=!1;const Od={};function Rk(e="data-swal-template"){Od[e]=this,lm||(document.body.addEventListener("click",Wk),lm=!0)}const Wk=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const n in Od){const r=t.getAttribute&&t.getAttribute(n);if(r){Od[n].fire({template:r});return}}};class Uk{constructor(){this.events={}}_getHandlersByEventName(t){return typeof this.events[t]>"u"&&(this.events[t]=[]),this.events[t]}on(t,n){const r=this._getHandlersByEventName(t);r.includes(n)||r.push(n)}once(t,n){const r=(...i)=>{this.removeListener(t,r),n.apply(this,i)};this.on(t,r)}emit(t,...n){this._getHandlersByEventName(t).forEach(r=>{try{r.apply(this,n)}catch(i){console.error(i)}})}removeListener(t,n){const r=this._getHandlersByEventName(t),i=r.indexOf(n);i>-1&&r.splice(i,1)}removeAllListeners(t){this.events[t]!==void 0&&(this.events[t].length=0)}reset(){this.events={}}}Be.eventEmitter=new Uk;var zk=Object.freeze({__proto__:null,argsToParams:Lk,bindClickHandler:Rk,clickCancel:PA,clickConfirm:B5,clickDeny:BA,enableLoading:Ua,fire:Nk,getActions:el,getCancelButton:$a,getCloseButton:pd,getConfirmButton:ci,getContainer:Nn,getDenyButton:Vo,getFocusableElements:hd,getFooter:v5,getHtmlContainer:dd,getIcon:Ma,getIconContent:MS,getImage:m5,getInputLabel:$S,getLoader:Ha,getPopup:xt,getProgressSteps:fd,getTimerLeft:Mk,getTimerProgressBar:Z0,getTitle:h5,getValidationMessage:Y0,increaseTimer:Hk,isDeprecatedParameter:em,isLoading:jS,isTimerRunning:jk,isUpdatableParameter:J5,isValidParameter:Q5,isVisible:FA,mixin:Ik,off:(e,t)=>{if(Be.eventEmitter){if(!e){Be.eventEmitter.reset();return}t?Be.eventEmitter.removeListener(e,t):Be.eventEmitter.removeAllListeners(e)}},on:(e,t)=>{Be.eventEmitter&&Be.eventEmitter.on(e,t)},once:(e,t)=>{Be.eventEmitter&&Be.eventEmitter.once(e,t)},resumeTimer:sm,showLoading:Ua,stopTimer:am,toggleTimer:$k});class Vk{constructor(t,n){this.callback=t,this.remaining=n,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(t){const n=this.running;return n&&this.stop(),this.remaining+=t,n&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const cm=["swal-title","swal-html","swal-footer"],qk=e=>{const t=typeof e.template=="string"?document.querySelector(e.template):e.template;if(!t)return{};const n=t.content;return eD(n),Object.assign(Yk(n),Zk(n),Gk(n),Kk(n),Xk(n),Qk(n),Jk(n,cm))},Yk=e=>{const t={};return Array.from(e.querySelectorAll("swal-param")).forEach(r=>{Zo(r,["name","value"]);const i=r.getAttribute("name"),a=r.getAttribute("value");!i||!a||(i in ho&&typeof ho[i]=="boolean"?t[i]=a!=="false":i in ho&&typeof ho[i]=="object"?t[i]=JSON.parse(a):t[i]=a)}),t},Zk=e=>{const t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach(r=>{const i=r.getAttribute("name"),a=r.getAttribute("value");!i||!a||(t[i]=new Function(`return ${a}`)())}),t},Gk=e=>{const t={};return Array.from(e.querySelectorAll("swal-button")).forEach(r=>{Zo(r,["type","color","aria-label"]);const i=r.getAttribute("type");if(!i||!["confirm","cancel","deny"].includes(i))return;t[`${i}ButtonText`]=r.innerHTML,t[`show${ld(i)}Button`]=!0;const a=r.getAttribute("color");a!==null&&(t[`${i}ButtonColor`]=a);const l=r.getAttribute("aria-label");l!==null&&(t[`${i}ButtonAriaLabel`]=l)}),t},Kk=e=>{const t={},n=e.querySelector("swal-image");if(n){Zo(n,["src","width","height","alt"]);const r=n.getAttribute("src");r!==null&&(t.imageUrl=r||void 0);const i=n.getAttribute("width");i!==null&&(t.imageWidth=i||void 0);const a=n.getAttribute("height");a!==null&&(t.imageHeight=a||void 0);const l=n.getAttribute("alt");l!==null&&(t.imageAlt=l||void 0)}return t},Xk=e=>{const t={},n=e.querySelector("swal-icon");return n&&(Zo(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},Qk=e=>{const t={},n=e.querySelector("swal-input");n&&(Zo(n,["type","label","placeholder","value"]),t.input=n.getAttribute("type")||"text",n.hasAttribute("label")&&(t.inputLabel=n.getAttribute("label")),n.hasAttribute("placeholder")&&(t.inputPlaceholder=n.getAttribute("placeholder")),n.hasAttribute("value")&&(t.inputValue=n.getAttribute("value")));const r=Array.from(e.querySelectorAll("swal-input-option"));return r.length&&(t.inputOptions={},r.forEach(i=>{Zo(i,["value"]);const a=i.getAttribute("value");if(!a)return;const l=i.innerHTML;t.inputOptions[a]=l})),t},Jk=(e,t)=>{const n={};for(const r in t){const i=t[r],a=e.querySelector(i);a&&(Zo(a,[]),n[i.replace(/^swal-/,"")]=a.innerHTML.trim())}return n},eD=e=>{const t=cm.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach(n=>{const r=n.tagName.toLowerCase();t.includes(r)||Ln(`Unrecognized element <${r}>`)})},Zo=(e,t)=>{Array.from(e.attributes).forEach(n=>{t.indexOf(n.name)===-1&&Ln([`Unrecognized attribute "${n.name}" on <${e.tagName.toLowerCase()}>.`,`${t.length?`Allowed attributes are: ${t.join(", ")}`:"To set the value, use HTML within the element."}`])})},um=10,tD=e=>{var t,n;const r=Nn(),i=xt();if(!r||!i)return;typeof e.willOpen=="function"&&e.willOpen(i),(t=Be.eventEmitter)===null||t===void 0||t.emit("willOpen",i);const l=window.getComputedStyle(document.body).overflowY;if(iD(r,i,e),setTimeout(()=>{nD(r,i)},um),md()&&(rD(r,e.scrollbarPadding!==void 0?e.scrollbarPadding:!1,l),RA()),WA&&e.backdrop===!1&&i.scrollHeight>r.clientHeight&&(r.style.pointerEvents="auto"),!G0()&&!Be.previousActiveElement&&(Be.previousActiveElement=document.activeElement),typeof e.didOpen=="function"){const c=e.didOpen;setTimeout(()=>c(i))}(n=Be.eventEmitter)===null||n===void 0||n.emit("didOpen",i)},rc=e=>{const t=xt();if(!t||e.target!==t)return;const n=Nn();n&&(t.removeEventListener("animationend",rc),t.removeEventListener("transitionend",rc),n.style.overflowY="auto",_r(n,ie["no-transition"]))},nD=(e,t)=>{y5(t)?(e.style.overflowY="hidden",t.addEventListener("animationend",rc),t.addEventListener("transitionend",rc)):e.style.overflowY="auto"},rD=(e,t,n)=>{UA(),t&&n!=="hidden"&&KA(n),setTimeout(()=>{e.scrollTop=0})},iD=(e,t,n)=>{var r;(r=n.showClass)!==null&&r!==void 0&&r.backdrop&&bt(e,n.showClass.backdrop),n.animation?(t.style.setProperty("opacity","0","important"),pn(t,"grid"),setTimeout(()=>{var i;(i=n.showClass)!==null&&i!==void 0&&i.popup&&bt(t,n.showClass.popup),t.style.removeProperty("opacity")},um)):pn(t,"grid"),bt([document.documentElement,document.body],ie.shown),n.heightAuto&&n.backdrop&&!n.toast&&bt([document.documentElement,document.body],ie["height-auto"])};var dm={email:(e,t)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function oD(e){e.inputValidator||(e.input==="email"&&(e.inputValidator=dm.email),e.input==="url"&&(e.inputValidator=dm.url))}function aD(e){(!e.target||typeof e.target=="string"&&!document.querySelector(e.target)||typeof e.target!="string"&&!e.target.appendChild)&&(Ln('Target parameter is not valid, defaulting to "body"'),e.target="body")}function sD(e){oD(e),e.showLoaderOnConfirm&&!e.preConfirm&&Ln(`showLoaderOnConfirm is set to true, but preConfirm is not defined.
|
|
860
|
-
showLoaderOnConfirm should be used together with preConfirm, see usage example:
|
|
861
|
-
https://sweetalert2.github.io/#ajax-request`),aD(e),typeof e.title=="string"&&(e.title=e.title.split(`
|
|
862
|
-
`).join("<br />")),QS(e)}let ui;var ic=new WeakMap;class en{constructor(...t){if(TS(this,ic,Promise.resolve({isConfirmed:!1,isDenied:!1,isDismissed:!0})),typeof window>"u")return;ui=this;const n=Object.freeze(this.constructor.argsToParams(t));this.params=n,this.isAwaitingPromise=!1,FS(ic,this,this._main(ui.params))}_main(t,n={}){if(tm(Object.assign({},n,t)),Be.currentInstance){const a=Ra.swalPromiseResolve.get(Be.currentInstance),{isAwaitingPromise:l}=Be.currentInstance;Be.currentInstance._destroy(),l||a({isDismissed:!0}),md()&&N5()}Be.currentInstance=ui;const r=cD(t,n);sD(r),Object.freeze(r),Be.timeout&&(Be.timeout.stop(),delete Be.timeout),clearTimeout(Be.restoreFocusTimeout);const i=uD(ui);return F5(ui,r),_t.innerParams.set(ui,r),lD(ui,i,r)}then(t){return c5(ic,this).then(t)}finally(t){return c5(ic,this).finally(t)}}const lD=(e,t,n)=>new Promise((r,i)=>{const a=l=>{e.close({isDismissed:!0,dismiss:l,isConfirmed:!1,isDenied:!1})};Ra.swalPromiseResolve.set(e,r),Ra.swalPromiseReject.set(e,i),t.confirmButton.onclick=()=>{pk(e)},t.denyButton.onclick=()=>{hk(e)},t.cancelButton.onclick=()=>{mk(e,a)},t.closeButton.onclick=()=>{a(ja.close)},kk(n,t,a),LA(Be,n,a),ik(e,n),tD(n),dD(Be,n,a),fD(t,n),setTimeout(()=>{t.container.scrollTop=0})}),cD=(e,t)=>{const n=qk(e),r=Object.assign({},ho,t,n,e);return r.showClass=Object.assign({},ho.showClass,r.showClass),r.hideClass=Object.assign({},ho.hideClass,r.hideClass),r.animation===!1&&(r.showClass={backdrop:"swal2-noanimation"},r.hideClass={}),r},uD=e=>{const t={popup:xt(),container:Nn(),actions:el(),confirmButton:ci(),denyButton:Vo(),cancelButton:$a(),loader:Ha(),closeButton:pd(),validationMessage:Y0(),progressSteps:fd()};return _t.domCache.set(e,t),t},dD=(e,t,n)=>{const r=Z0();On(r),t.timer&&(e.timeout=new Vk(()=>{n("timer"),delete e.timeout},t.timer),t.timerProgressBar&&r&&(pn(r),ar(r,t,"timerProgressBar"),setTimeout(()=>{e.timeout&&e.timeout.running&&xd(t.timer)})))},fD=(e,t)=>{if(!t.toast){if(!q0(t.allowEnterKey)){p5("allowEnterKey","preConfirm: () => false"),e.popup.focus();return}pD(e)||hD(e,t)||Ed(-1,1)}},pD=e=>{const t=Array.from(e.popup.querySelectorAll("[autofocus]"));for(const n of t)if(n instanceof HTMLElement&&Vn(n))return n.focus(),!0;return!1},hD=(e,t)=>t.focusDeny&&Vn(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&Vn(e.cancelButton)?(e.cancelButton.focus(),!0):t.focusConfirm&&Vn(e.confirmButton)?(e.confirmButton.focus(),!0):!1;en.prototype.disableButtons=Y5,en.prototype.enableButtons=q5,en.prototype.getInput=U5,en.prototype.disableInput=G5,en.prototype.enableInput=Z5,en.prototype.hideLoading=tc,en.prototype.disableLoading=tc,en.prototype.showValidationMessage=K5,en.prototype.resetValidationMessage=X5,en.prototype.close=po,en.prototype.closePopup=po,en.prototype.closeModal=po,en.prototype.closeToast=po,en.prototype.rejectPromise=M5,en.prototype.update=nm,en.prototype._destroy=rm,Object.assign(en,zk),Object.keys(Ak).forEach(e=>{en[e]=function(...t){if(ui&&ui[e])return ui[e](...t)}}),en.DismissReason=ja,en.version="11.26.25";const za=en;za.default=za,typeof document<"u"&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch{n.innerText=t}}(document,':root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.15s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-timer-progress-bar-background: rgba(0, 0, 0, 0.3);--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:auto}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;overflow-wrap:break-word;cursor:initial}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:var(--swal2-action-button-transition);border:none;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:var(--swal2-timer-progress-bar-background)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;overflow-wrap:break-word;word-break:break-word;cursor:initial}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:var(--swal2-background)}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:var(--swal2-input-background);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:var(--swal2-input-background);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:var(--swal2-background);color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;zoom:var(--swal2-icon-zoom);border:.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#f8bb86;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#3fc3ee;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#87adbd;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:auto}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}100%{transform:translate3d(0, 0, 0) scale(1);opacity:1}}@keyframes swal2-hide{0%{transform:translate3d(0, 0, 0) scale(1);opacity:1}100%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}');class Td{constructor({baseURL:t,timeout:n,headers:r={},requestInterceptor:i=l=>l,responseInterceptor:a=l=>l}={}){vn(this,"https");vn(this,"requestInterceptor");vn(this,"responseInterceptor");this.https=Qt.create({baseURL:t,timeout:n,headers:r}),this.requestInterceptor=this.https.interceptors.request.use(i,l=>{var c;if(((c=l.request)==null?void 0:c.status)===uo.Unauthorized){const u=new CustomEvent("@unauthorized",{detail:l});dispatchEvent(u)}return Promise.reject(l)}),this.responseInterceptor=this.https.interceptors.response.use(a,async l=>{var c;if(((c=l.response)==null?void 0:c.status)===uo.Unauthorized){await za.fire({icon:"error",title:"Tu sesión ha expirado",text:"Por favor inicia sesión nuevamente.",allowOutsideClick:!1,customClass:{popup:"z-50"},showCloseButton:!0,showConfirmButton:!1});const u=`${window.location.origin}/login`;window.location.href=u;const d=new CustomEvent("@unauthorized",{detail:l});dispatchEvent(d)}return Promise.reject(l)})}get(t,n){return typeof t=="object"&&(t!=null&&t.provide)?this.https.get(t.provide,{params:t.query}):this.https.get(t,n)}delete(t,n){return typeof t=="object"&&(t!=null&&t.provide)?this.https.delete(t.provide,{params:t.query}):this.https.delete(t,n)}patch(t,n,r){return typeof t=="object"&&(t!=null&&t.provide)?this.https.patch(t.provide,n,{params:t.query}):this.https.patch(t,n,r)}post(t,n,r){return typeof t=="object"&&(t!=null&&t.provide)?this.https.post(t.provide,n,{params:t.query}):this.https.post(t,n,r)}put(t,n,r){return typeof t=="object"&&(t!=null&&t.provide)?this.https.put(t.provide,n,{params:t.query}):this.https.put(t,n,r)}removeInterceptors(){this.https.interceptors.request.eject(this.requestInterceptor),this.https.interceptors.response.eject(this.responseInterceptor)}}var il=(e=>(e.GET="GET",e.PUT="PUT",e.POST="POST",e.PATCH="PATCH",e.DELETE="DELETE",e))(il||{});function ol(e,t,n,r){return async()=>{const i={},a=(n==null?void 0:n.params)??[];e!=null&&e.token&&(i.Authorization=w4(e.token)),e!=null&&e.refreshToken&&(i["X-Access-Token"]=e.refreshToken);const l=a.length>0?a.join("/"):null,c=new Td({baseURL:t.baseURL,headers:i});switch(t.method){case"GET":if(t.normalize){const w=await c.get({provide:l?t.endpoint.concat("/",l):t.endpoint,query:n==null?void 0:n.query});return w==null?void 0:w.data}const u=await c.get({provide:l?t.endpoint.concat("/",l):t.endpoint,query:n==null?void 0:n.query});return u==null?void 0:u.data;case"DELETE":if(t.normalize){const w=await c.delete({provide:l?t.endpoint.concat("/",l):t.endpoint,query:n==null?void 0:n.query});return w==null?void 0:w.data}const d=await c.delete({provide:l?t.endpoint.concat("/",l):t.endpoint,query:n==null?void 0:n.query});return d==null?void 0:d.data;case"POST":const f=await c.post({provide:l?t.endpoint.concat("/",l):t.endpoint,query:n==null?void 0:n.query},r);return f==null?void 0:f.data;case"PUT":const m=await c.put({provide:l?t.endpoint.concat("/",l):t.endpoint,query:n==null?void 0:n.query},r);return m==null?void 0:m.data;case"PATCH":const h=await c.patch({provide:l?t.endpoint.concat("/",l):t.endpoint,query:n==null?void 0:n.query},r);return h==null?void 0:h.data;default:const{data:g}=await c.get({provide:l?t.endpoint.concat("/",l):t.endpoint,query:n==null?void 0:n.query});return g}}}const Va=T.createContext({});function al(){return T.useContext(Va)}const Fd=T.createContext(null),fm=({children:e})=>{const[t,n]=T.useState(void 0),[r,i]=T.useState(void 0),[a,l]=T.useState(!0),c=f=>{i(f)},u=f=>{n(f)},d=f=>{l(f)};return b.jsxs(Fd.Provider,{value:{updateEnterprise:u,updateHolding:c,updateIsLoading:d,getEnterprise:t,getHolding:r,isLoading:a},children:[b.jsx(pm,{}),e]})};function mD({children:e}){return b.jsx(fm,{children:e})}const Bd=process.env.SV_API_URL??"",pm=()=>{const{session:e,user:t}=al(),[n,r]=T.useState([]),[i,a]=T.useState([]),[l,c]=T.useState([]),[u,d]=T.useState([]),[f,m]=T.useState([]),[h,g]=T.useState(),[w,x]=T.useState(),v=T.useContext(Fd),S=T.useCallback((D,A)=>{m(D==="-1"?A:D==="-2"?A.filter(B=>!B.history):A.filter(B=>B.history===D))},[]);T.useEffect(()=>{const D=ol(e,{method:il.GET,baseURL:Bd,endpoint:"/sso/user"},{query:{id:(t==null?void 0:t.id)??0}}),A=ol(e,{method:il.GET,baseURL:Bd,endpoint:"/sso/holding"}),B=ol(e,{method:il.GET,baseURL:Bd,endpoint:"/sso/enterprise"});D().then(O=>{var N,L;if(O.result.assignAllEnterprises){let I=!0,H=!0;A().then(W=>{r(W.result);const K=W.result.map(({id:ue,name:se,holdingCode:ae})=>({key:se,value:ue.toString(),label:`${se} / Código: ${ae}`,history:ae==null?void 0:ae.toString()}));c([{value:"-1",label:"Todos los holdings",key:"-1"},{value:"-2",label:"Sin holdings",key:"-2"},...K]);const Y=localStorage.getItem("holding");g(Y??"-1");const ne=W.result.find(ue=>ue.id===+(Y||-1));v==null||v.updateHolding(ne)}).catch(W=>console.log(W)).finally(()=>{H=!1,I||v==null||v.updateIsLoading(!1)}),B().then(W=>{a(W.result);const K=W.result.map(({id:se,name:ae,rut:Z,holding:M})=>({key:ae,value:se.toString(),label:`${Z} / ${ae}`,history:M==null?void 0:M.id.toString()})),Y=[{value:"-1",label:"Todas las empresas",key:"-1",history:"-1"},...K];d(Y),S(h??"-1",Y);const ne=localStorage.getItem("enterprise");x(ne??"-1");const ue=W.result.find(se=>se.id===+(ne||-1));v==null||v.updateEnterprise(ue)}).catch(W=>console.log(W)).finally(()=>{I=!1,H||v==null||v.updateIsLoading(!1)})}else{r(O.result.holdings);const I=(L=(N=O.result)==null?void 0:N.holdings)==null?void 0:L.map(({id:ae,name:Z,holdingCode:M})=>({key:Z,value:ae.toString(),label:`${Z} / Código: ${M}`,history:M==null?void 0:M.toString()}));c([{value:"-1",label:"Todos los holdings",key:"-1"},{value:"-2",label:"Sin holdings",key:"-2"},...I]);const H=[...O.result.enterprises,O.result.enterprise];a(H);const W=H.map(({id:ae,name:Z,rut:M,holding:z})=>({key:Z,value:ae.toString(),label:`${M} / ${Z}`,history:z==null?void 0:z.toString()})),K=[{value:"-1",label:"Todas las empresas",key:"-1",history:"-1"},...W];d(K),S(h??"-1",K);const Y=localStorage.getItem("holding"),ne=localStorage.getItem("enterprise");g(Y??"-1"),x(ne??"-1");const ue=O.result.holdings.find(ae=>ae.id==+(Y||-1));v==null||v.updateHolding(ue);const se=H.find(ae=>ae.id==+(ne||-1));v==null||v.updateEnterprise(se),v==null||v.updateIsLoading(!1)}})},[e,t==null?void 0:t.id]);const C=T.useCallback(D=>{g(D);const A=n.find(B=>B.id===+D);v==null||v.updateHolding(A),localStorage.setItem("holding",D),S(D,u)},[v,u,S,n]),E=T.useCallback(D=>{x(D);const A=i.find(B=>B.id===+D);v==null||v.updateEnterprise(A),localStorage.setItem("enterprise",D)},[v,i]),_=T.useCallback(()=>{C("-1"),E("-1")},[E,C]);return b.jsx(b.Fragment,{children:b.jsxs("div",{className:"absolute top-5 left-[calc(50%_-_317px)] min-h-[60px] min-w-[600px] flex items-center justify-center gap-4",children:[b.jsx("div",{className:"flex items-center gap-1",children:b.jsx(Rr,{color:"darkened",size:"sm",children:"Filtrar por:"})}),b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("div",{children:b.jsx($h.TreeStructureIcon,{size:18,color:"#316772"})}),b.jsx("div",{children:b.jsx(Mh.Select,{showSearch:!0,className:"w-[296px]",value:h,onChange:C,placeholder:"Please select",options:l,filterOption:(D,A)=>((A==null?void 0:A.label)??"").toLowerCase().includes(D.toLowerCase())})})]}),b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("div",{children:b.jsx(Dw,{className:"w-5 h-5",color:"#316772"})}),b.jsx("div",{children:b.jsx(Mh.Select,{showSearch:!0,className:"w-[296px]",value:w,onChange:E,placeholder:"Please select",options:f,filterOption:(D,A)=>((A==null?void 0:A.label)??"").toLowerCase().includes(D.toLowerCase())})})]}),b.jsx("div",{className:"flex items-center gap-2",children:b.jsx("button",{onClick:_,children:b.jsx($h.ArrowCounterClockwiseIcon,{className:"w-5 h-5",color:"#499990"})})})]})})};function Pd(e){const t=e.replace(/\D/g,"");if(t===""||t===":")return t;const n=t.slice(0,2);if(t.length===3||t.length===4){const r=t.slice(2);return r.length===1&&/^[6-9]$/.test(r)?`${n}:0${r}`:`${n}:${r}`}return n.length===1&&/^[3-9]$/.test(n)?`0${n}:`:t.slice(-1)===":"&&t.length<5?t.slice(0,-1):t.length===2&&/^(0\d|1\d|2[0-3])$/.test(t)?t:e}const oc=e=>(e&&e.includes(":"),e.replace(":",""));function hm(e,t){if(t)return"#dfdfdf";switch(e){case"secondary":return"#316772";case"primary":return"#316772";case"outline":return"#65BFB1";case"outlined-primary":return"#316772";case"outlined-black":return"#464646";case"outlined-gray":return"#316772";case"hours":return"#939799"}}function vD(e,t){switch(e){case"secondary":return"#316772";case"primary":return"#65BFB1";case"outline":return"#FFFFFF";case"outlined-primary":return"#FFFFFF";case"outlined-black":return"#464646";case"outlined-gray":return"#316772";case"hours":return"#939799"}}function sl(e,t){if(t)return"#dfdfdf";switch(e){case"secondary":return"#316772";case"primary":return"#316772";case"outline":return"#65BFB1";case"outlined-primary":return"#65BFB1";case"outlined-black":return"#DFDFDF";case"outlined-gray":return"#DFDFDF";case"hours":return"#939799"}}function gD(e,t){if(t)return"#dfdfdf";switch(e){case"secondary":return"#316772";case"primary":return"#316772";case"outline":return"#65BFB1";case"outlined-primary":return"#65BFB1";case"outlined-black":return"#DFDFDF";case"outlined-gray":return"#B3B3B3";case"hours":return"#939799"}}function xD(e){switch(e){case"secondary":return"#FFFFFF";case"primary":return"#316772";case"outline":return"#65BFB1";case"outlined-primary":return"#316772";case"outlined-black":return"#464646";case"outlined-gray":return"#316772";case"hours":return"#316772"}}function bD(e){switch(e){case"secondary":return"#FFFFFF";case"primary":return"#316772";case"outline":return"#65BFB1";case"outlined-primary":return"#65BFB1";case"outlined-gray":return"#B3B3B3";case"outlined-black":return"#65BFB1";case"hours":return"#65BFB1"}}function Ld(e){switch(e){case"secondary":return"#316772";case"primary":return"#65BFB1";case"outline":return"#FFFFFF";case"outlined-primary":return"#FFFFFF";case"outlined-black":return"#464646";case"outlined-gray":return"#316772";case"hours":return"#939799"}}function yD(e){switch(e){case"secondary":return"#65BFB1";case"primary":return"#316772";case"outline":return"#65BFB1";case"outlined-primary":return"#65BFB1";case"outlined-black":return"#FFFFFF";case"hours":return"#FFFFFF"}}function wD(e){switch(e){case"xs":return"1.125rem";case"sm":return"1.5rem";case"base":return"2rem";case"lg":return"2.5rem";case"xl":return"3rem";case"xxl":return"3rem"}}function Nd(e,t){switch(e){case"xs":return"0.75rem";case"sm":return"0.875rem";case"base":return"1rem";case"lg":return"1.125rem";case"xl":return"1.125rem";case"xxl":return"1.25rem"}}function CD(e){switch(e){case"outlined-black":return"4px";case"outlined-gray":return"4px";default:return"25px"}}function ED(e){switch(e){case"outlined-black":return"4px";case"outlined-gray":return"4px";default:return"18px"}}const Id=re(Ps)`
|
|
863
|
-
.react-select__control {
|
|
864
|
-
border-radius: ${({variant:e})=>e&&CD(e)};
|
|
865
|
-
border-color: ${({variant:e,disabled:t})=>e&&sl(e,t)};
|
|
866
|
-
|
|
867
|
-
&:focus-within {
|
|
868
|
-
box-shadow: none;
|
|
869
|
-
border-color: ${({variant:e,disabled:t})=>e&&sl(e,t)};
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
&:hover {
|
|
873
|
-
cursor: ${e=>e.hours?"initial":"pointer"};
|
|
874
|
-
color: ${({variant:e})=>e&&vD(e)};
|
|
875
|
-
border-color: ${({variant:e,disabled:t})=>e&&gD(e,t)};
|
|
876
|
-
background: ${({variant:e})=>e&&yD(e)};
|
|
877
|
-
|
|
878
|
-
.react-select__dropdown-indicator {
|
|
879
|
-
color: ${({variant:e})=>e&&Ld(e)};
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
.react-select__single-value,
|
|
883
|
-
.react-select__placeholder {
|
|
884
|
-
display: flex;
|
|
885
|
-
align-items: center;
|
|
886
|
-
justify-content: space-between;
|
|
887
|
-
font-family: 'Roboto', sans-serif;
|
|
888
|
-
white-space: nowrap !important;
|
|
889
|
-
overflow: hidden !important;
|
|
890
|
-
text-overflow: ellipsis !important;
|
|
891
|
-
font-size: ${({size:e})=>e&&Nd(e)};
|
|
892
|
-
font-weight: 500;
|
|
893
|
-
color: ${({variant:e})=>e&&Ld(e)};
|
|
894
|
-
}
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
&:active {
|
|
898
|
-
border-color: ${({variant:e})=>e&&sl(e)};
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
& .react-select__value-container {
|
|
902
|
-
padding-left: 15px;
|
|
903
|
-
padding-right: 15px;
|
|
904
|
-
|
|
905
|
-
min-height: ${({size:e})=>e&&wD(e)};
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
& .react-select__dropdown-indicator {
|
|
909
|
-
color: ${({variant:e,disabled:t})=>e&&hm(e,t)};
|
|
910
|
-
padding: 7px 8px;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
& .react-select__single-value,
|
|
914
|
-
.react-select__placeholder {
|
|
915
|
-
font-family: 'Roboto', sans-serif;
|
|
916
|
-
font-size: ${({size:e})=>e&&Nd(e)};
|
|
917
|
-
font-weight: 500;
|
|
918
|
-
color: ${({variant:e})=>e&&hm(e)};
|
|
919
|
-
white-space: nowrap !important;
|
|
920
|
-
overflow: hidden !important;
|
|
921
|
-
text-overflow: ellipsis !important;
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
.react-select__control--is-focused {
|
|
926
|
-
border-color: ${({variant:e})=>e&&sl(e)};
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
.react-select__control--is-focused:hover {
|
|
930
|
-
border-color: ${({variant:e})=>e&&sl(e)};
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
.react-select__indicator-separator {
|
|
934
|
-
display: none;
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
.react-select__option {
|
|
938
|
-
font-family: 'Roboto', sans-serif;
|
|
939
|
-
font-size: ${({size:e})=>e&&Nd(e)};
|
|
940
|
-
color: ${({variant:e})=>e&&xD(e)};
|
|
941
|
-
padding: 13px 16px;
|
|
942
|
-
${({isRut:e})=>e&&`
|
|
943
|
-
display: flex;
|
|
944
|
-
justify-content: center;
|
|
945
|
-
align-items: center;
|
|
946
|
-
`}
|
|
947
|
-
|
|
948
|
-
&:hover {
|
|
949
|
-
cursor: pointer;
|
|
950
|
-
background-color: #f3f3f3;
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
.react-select__menu {
|
|
955
|
-
position: ${({position:e})=>e||"absolute"};
|
|
956
|
-
border: 1px solid ${({variant:e})=>e&&bD(e)};
|
|
957
|
-
border-radius: ${({variant:e})=>e&&ED(e)};
|
|
958
|
-
max-width: auto;
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
.react-select__menu-list {
|
|
962
|
-
margin-top: 0.8rem;
|
|
963
|
-
margin-bottom: 0.8rem;
|
|
964
|
-
max-height: ${({listHeight:e})=>e&&`${e}px`};
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
&:hover .react-select__dropdown-indicator {
|
|
968
|
-
color: ${({variant:e})=>e&&Ld(e)};
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
@media (max-width: 1024px) {
|
|
972
|
-
.react-select__control {
|
|
973
|
-
font-size: 0.875rem;
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
.react-select__option {
|
|
977
|
-
font-size: ${e=>(e==null?void 0:e.optionFontSize)??"0.875rem"};
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
.react-select__single-value,
|
|
981
|
-
.react-select__placeholder {
|
|
982
|
-
font-size: 0.875rem;
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
`;Id.defaultProps={classNamePrefix:"react-select"};const Md=T.memo(e=>{const{time:t,value:n,size:r,hours:i,variant:a,options:l,control:c,devtools:u,onClear:d,onPick:f,onSelect:m,position:h,disabled:g,className:w,container:x,listHeight:v,placeholder:S,defaultValue:C,onTypingHour:E,isSearchable:_,optionFontSize:D,handleKeyDown:A,isMulti:B,isClearable:O,maxSelectedOptions:N,isRut:L}=e,[I,H]=T.useState(!1),W=T.useCallback(J=>{if(!B)return m==null?void 0:m(J);const de=J;e.maxSelectedOptions!==void 0&&de.length>e.maxSelectedOptions||m==null||m(de)},[m,B,e.maxSelectedOptions]),K=T.useCallback((J,de)=>!B||e.maxSelectedOptions===void 0?!1:!de.find(Se=>Se.value===J.value)&&de.length>=e.maxSelectedOptions,[B,e.maxSelectedOptions]),Y=T.useCallback(()=>{d==null||d()},[d]),ne=T.useCallback(J=>{const de=J;E==null||E(void 0),f==null||f(de)},[f,E]),ue=T.useCallback((J,{action:de})=>{if(de==="input-change"&&J.length<=5){const Se=oc(J),Oe=new RegExp(/^(?:(?:[01]?\d|2[0-3])([0-5]\d)?)?$/),We=new RegExp(/^(?:0\d{3}|1\d{3}|2[0-3]\d{2}|[0-5]\d{2}|00\d|000)$/);if(J===mm||Oe.test(Se)||We.test(Se))return E==null?void 0:E(J)}if(de=="menu-close"&&t){const Se=new RegExp(/^(?:(?:[01]?\d|2[0-3])([0-5]\d)?)?$/),Oe=oc(t),We=Pd(t);if(E==null||E(void 0),Se.test(Oe)&&We.length===5)return f==null?void 0:f({key:We,label:We,value:We});l!=null&&l.length&&(f==null||f(void 0),E==null||E(void 0))}},[E,f,t,l]),se=T.useCallback(J=>{if(t){if(J.key==="Enter")return J.preventDefault(),H(!1),E==null?void 0:E(t);if(J.key==="Backspace"&&J.target instanceof HTMLInputElement){const{selectionStart:de}=J.target,fe=oc(t);(de===1||de===2)&&fe.length>=3&&(E==null||E(void 0))}}},[t,E]),ae=T.useCallback(J=>b.jsxs(b.Fragment,{children:[d&&b.jsx("span",{className:"w-6 h-6",onClick:Y,children:b.jsx(Q3,{className:"w-6 h-6",onClick:Y})}),b.jsx(Ps.components.IndicatorsContainer,{...J})]}),[d,Y]),Z=T.useMemo(()=>i?{option:(J,de)=>{const fe=de.data,Se=de.selectProps.value;return n&&fe.label===C?{...J,backgroundColor:"#F3F3F3"}:{...J,backgroundColor:fe.label===Se||fe.label===C?"#F3F3F3":"#FFFFFF"}},control:J=>({...J,display:"flex",padding:"2px",alignItems:"center",flexDirection:"row-reverse"})}:{option:(J,de)=>{const fe=de.data,Se=de.selectProps.value;return n&&fe.label===C?{...J,backgroundColor:"#F3F3F3",display:"flex",justifyContent:"center",alignItems:"center"}:{...J,...fe,backgroundColor:fe.label===Se||fe.label===C?"#F3F3F3":"#FFFFFF"}},input:J=>({...J,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}),control:J=>({...J,...c,width:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}),placeholder:J=>({...J,...S,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})},[i,n,C,c,S,L]),M=T.useMemo(()=>({DropdownIndicator:SD,IndicatorSeparator:_D}),[]),z=T.useMemo(()=>({IndicatorsContainer:ae}),[ae]),X=()=>!0,U=()=>{H(!0)},pe=()=>{H(!1)};return i?b.jsx("div",{className:x,children:b.jsx(Id,{size:r,hours:i,isRtl:!1,value:n,styles:Z,variant:a,options:l,disabled:g,placeholder:n,position:h,isClearable:!1,isSearchable:!0,className:w,onChange:ne,menuIsOpen:u||I,components:M,filterOption:X,onKeyDown:se,onInputChange:ue,inputValue:Pd(t??mm),onMenuOpen:U,onMenuClose:pe})}):b.jsx("div",{className:x,children:b.jsx(Id,{size:r,value:n,styles:Z,variant:a,options:l,disabled:g,position:h,isClearable:O,isSearchable:_,className:w,onChange:W,menuIsOpen:u,placeholder:n??C,isDisabled:g,optionFontSize:D,components:z,onKeyDown:A,listHeight:v,isMulti:B,maxSelectedOptions:N,isOptionDisabled:K,isRut:L})})});Md.defaultProps={options:[],control:{},isSearchable:!1};const mm="",_D=()=>null,SD=e=>b.jsx(Ps.components.DropdownIndicator,{...e,children:b.jsx(jw,{className:"w-6 h-6"})}),AD=({children:e,color:t,backgroundColor:n,onChange:r,checked:i,disabled:a})=>{const l=()=>{!a&&(r==null||r(!i))};return b.jsxs(kD,{children:[e&&b.jsx(DD,{color:t,children:e}),b.jsx(OD,{children:b.jsxs(TD,{children:[b.jsx(vm,{checked:i,onChange:l}),b.jsx(FD,{backgroundColor:n,disabled:a})]})})]})},kD=re.div`
|
|
986
|
-
display: flex;
|
|
987
|
-
flex-direction: row;
|
|
988
|
-
justify-content: space-between;
|
|
989
|
-
`,DD=re.div`
|
|
990
|
-
flex-basis: 60%;
|
|
991
|
-
font-size: 1.125rem;
|
|
992
|
-
font-weight: 500;
|
|
993
|
-
line-height: 110%;
|
|
994
|
-
color: ${e=>e.color||""};
|
|
995
|
-
`,OD=re.div`
|
|
996
|
-
flex-basis: 25%;
|
|
997
|
-
`,TD=re.label`
|
|
998
|
-
position: relative;
|
|
999
|
-
display: inline-flex;
|
|
1000
|
-
align-items: center;
|
|
1001
|
-
cursor: pointer;
|
|
1002
|
-
`,vm=re.input.attrs({type:"checkbox"})`
|
|
1003
|
-
position: absolute;
|
|
1004
|
-
opacity: 0;
|
|
1005
|
-
cursor: pointer;
|
|
1006
|
-
height: 0;
|
|
1007
|
-
width: 0;
|
|
1008
|
-
`,FD=re.div`
|
|
1009
|
-
width: 44px;
|
|
1010
|
-
height: 24px;
|
|
1011
|
-
background-color: #ddd;
|
|
1012
|
-
border-radius: 50px;
|
|
1013
|
-
position: relative;
|
|
1014
|
-
opacity: ${e=>e.disabled?.4:1};
|
|
1015
|
-
cursor: ${e=>e.disabled?"not-allowed":"auto"};
|
|
1016
|
-
|
|
1017
|
-
&:after {
|
|
1018
|
-
content: '';
|
|
1019
|
-
position: absolute;
|
|
1020
|
-
top: 2px;
|
|
1021
|
-
left: 2px;
|
|
1022
|
-
height: 20px;
|
|
1023
|
-
width: 20px;
|
|
1024
|
-
background-color: white;
|
|
1025
|
-
border: 2px solid #ccc;
|
|
1026
|
-
border-radius: 50%;
|
|
1027
|
-
transition: all 0.3s;
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
|
-
${vm}:checked + & {
|
|
1031
|
-
background-color: ${e=>e.backgroundColor||""};
|
|
1032
|
-
&:after {
|
|
1033
|
-
transform: translateX(20px);
|
|
1034
|
-
border-color: white;
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
`;//! moment.js
|
|
1038
|
-
//! version : 2.30.1
|
|
1039
|
-
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
1040
|
-
//! license : MIT
|
|
1041
|
-
//! momentjs.com
|
|
1042
|
-
var gm;function Ee(){return gm.apply(null,arguments)}function BD(e){gm=e}function zr(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Go(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function vt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function $d(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(vt(e,t))return!1;return!0}function qn(e){return e===void 0}function Pi(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ll(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function xm(e,t){var n=[],r,i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function mo(e,t){for(var n in t)vt(t,n)&&(e[n]=t[n]);return vt(t,"toString")&&(e.toString=t.toString),vt(t,"valueOf")&&(e.valueOf=t.valueOf),e}function di(e,t,n,r){return Vm(e,t,n,r,!0).utc()}function PD(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function Ke(e){return e._pf==null&&(e._pf=PD()),e._pf}var Hd;Array.prototype.some?Hd=Array.prototype.some:Hd=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function jd(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=Ke(e),n=Hd.call(t.parsedDateParts,function(i){return i!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function ac(e){var t=di(NaN);return e!=null?mo(Ke(t),e):Ke(t).userInvalidated=!0,t}var bm=Ee.momentProperties=[],Rd=!1;function Wd(e,t){var n,r,i,a=bm.length;if(qn(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),qn(t._i)||(e._i=t._i),qn(t._f)||(e._f=t._f),qn(t._l)||(e._l=t._l),qn(t._strict)||(e._strict=t._strict),qn(t._tzm)||(e._tzm=t._tzm),qn(t._isUTC)||(e._isUTC=t._isUTC),qn(t._offset)||(e._offset=t._offset),qn(t._pf)||(e._pf=Ke(t)),qn(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)r=bm[n],i=t[r],qn(i)||(e[r]=i);return e}function cl(e){Wd(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Rd===!1&&(Rd=!0,Ee.updateOffset(this),Rd=!1)}function Vr(e){return e instanceof cl||e!=null&&e._isAMomentObject!=null}function ym(e){Ee.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function Sr(e,t){var n=!0;return mo(function(){if(Ee.deprecationHandler!=null&&Ee.deprecationHandler(null,e),n){var r=[],i,a,l,c=arguments.length;for(a=0;a<c;a++){if(i="",typeof arguments[a]=="object"){i+=`
|
|
1043
|
-
[`+a+"] ";for(l in arguments[0])vt(arguments[0],l)&&(i+=l+": "+arguments[0][l]+", ");i=i.slice(0,-2)}else i=arguments[a];r.push(i)}ym(e+`
|
|
1044
|
-
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
1045
|
-
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var wm={};function Cm(e,t){Ee.deprecationHandler!=null&&Ee.deprecationHandler(e,t),wm[e]||(ym(t),wm[e]=!0)}Ee.suppressDeprecationWarnings=!1,Ee.deprecationHandler=null;function fi(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function LD(e){var t,n;for(n in e)vt(e,n)&&(t=e[n],fi(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ud(e,t){var n=mo({},e),r;for(r in t)vt(t,r)&&(Go(e[r])&&Go(t[r])?(n[r]={},mo(n[r],e[r]),mo(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)vt(e,r)&&!vt(t,r)&&Go(e[r])&&(n[r]=mo({},n[r]));return n}function zd(e){e!=null&&this.set(e)}var Vd;Object.keys?Vd=Object.keys:Vd=function(e){var t,n=[];for(t in e)vt(e,t)&&n.push(t);return n};var ND={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ID(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return fi(r)?r.call(t,n):r}function pi(e,t,n){var r=""+Math.abs(e),i=t-r.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var qd=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,sc=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Yd={},qa={};function Pe(e,t,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),e&&(qa[e]=i),t&&(qa[t[0]]=function(){return pi(i.apply(this,arguments),t[1],t[2])}),n&&(qa[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function MD(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function $D(e){var t=e.match(qd),n,r;for(n=0,r=t.length;n<r;n++)qa[t[n]]?t[n]=qa[t[n]]:t[n]=MD(t[n]);return function(i){var a="",l;for(l=0;l<r;l++)a+=fi(t[l])?t[l].call(i,e):t[l];return a}}function lc(e,t){return e.isValid()?(t=Em(t,e.localeData()),Yd[t]=Yd[t]||$D(t),Yd[t](e)):e.localeData().invalidDate()}function Em(e,t){var n=5;function r(i){return t.longDateFormat(i)||i}for(sc.lastIndex=0;n>=0&&sc.test(e);)e=e.replace(sc,r),sc.lastIndex=0,n-=1;return e}var HD={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function jD(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(qd).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var RD="Invalid date";function WD(){return this._invalidDate}var UD="%d",zD=/\d{1,2}/;function VD(e){return this._ordinal.replace("%d",e)}var qD={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function YD(e,t,n,r){var i=this._relativeTime[n];return fi(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ZD(e,t){var n=this._relativeTime[e>0?"future":"past"];return fi(n)?n(t):n.replace(/%s/i,t)}var _m={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Ar(e){return typeof e=="string"?_m[e]||_m[e.toLowerCase()]:void 0}function Zd(e){var t={},n,r;for(r in e)vt(e,r)&&(n=Ar(r),n&&(t[n]=e[r]));return t}var GD={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function KD(e){var t=[],n;for(n in e)vt(e,n)&&t.push({unit:n,priority:GD[n]});return t.sort(function(r,i){return r.priority-i.priority}),t}var Sm=/\d/,sr=/\d\d/,Am=/\d{3}/,Gd=/\d{4}/,cc=/[+-]?\d{6}/,Mt=/\d\d?/,km=/\d\d\d\d?/,Dm=/\d\d\d\d\d\d?/,uc=/\d{1,3}/,Kd=/\d{1,4}/,dc=/[+-]?\d{1,6}/,Ya=/\d+/,fc=/[+-]?\d+/,XD=/Z|[+-]\d\d:?\d\d/gi,pc=/Z|[+-]\d\d(?::?\d\d)?/gi,QD=/[+-]?\d+(\.\d{1,3})?/,ul=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Za=/^[1-9]\d?/,Xd=/^([1-9]\d|\d)/,hc;hc={};function Ae(e,t,n){hc[e]=fi(t)?t:function(r,i){return r&&n?n:t}}function JD(e,t){return vt(hc,e)?hc[e](t._strict,t._locale):new RegExp(eO(e))}function eO(e){return Li(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,i,a){return n||r||i||a}))}function Li(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function kr(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function lt(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=kr(t)),n}var Qd={};function At(e,t){var n,r=t,i;for(typeof e=="string"&&(e=[e]),Pi(t)&&(r=function(a,l){l[t]=lt(a)}),i=e.length,n=0;n<i;n++)Qd[e[n]]=r}function dl(e,t){At(e,function(n,r,i,a){i._w=i._w||{},t(n,i._w,i,a)})}function tO(e,t,n){t!=null&&vt(Qd,e)&&Qd[e](t,n._a,n,e)}function mc(e){return e%4===0&&e%100!==0||e%400===0}var Tn=0,Ni=1,hi=2,an=3,qr=4,Ii=5,Ko=6,nO=7,rO=8;Pe("Y",0,0,function(){var e=this.year();return e<=9999?pi(e,4):"+"+e}),Pe(0,["YY",2],0,function(){return this.year()%100}),Pe(0,["YYYY",4],0,"year"),Pe(0,["YYYYY",5],0,"year"),Pe(0,["YYYYYY",6,!0],0,"year"),Ae("Y",fc),Ae("YY",Mt,sr),Ae("YYYY",Kd,Gd),Ae("YYYYY",dc,cc),Ae("YYYYYY",dc,cc),At(["YYYYY","YYYYYY"],Tn),At("YYYY",function(e,t){t[Tn]=e.length===2?Ee.parseTwoDigitYear(e):lt(e)}),At("YY",function(e,t){t[Tn]=Ee.parseTwoDigitYear(e)}),At("Y",function(e,t){t[Tn]=parseInt(e,10)});function fl(e){return mc(e)?366:365}Ee.parseTwoDigitYear=function(e){return lt(e)+(lt(e)>68?1900:2e3)};var Om=Ga("FullYear",!0);function iO(){return mc(this.year())}function Ga(e,t){return function(n){return n!=null?(Tm(this,e,n),Ee.updateOffset(this,t),this):pl(this,e)}}function pl(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Tm(e,t,n){var r,i,a,l,c;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}a=n,l=e.month(),c=e.date(),c=c===29&&l===1&&!mc(a)?28:c,i?r.setUTCFullYear(a,l,c):r.setFullYear(a,l,c)}}function oO(e){return e=Ar(e),fi(this[e])?this[e]():this}function aO(e,t){if(typeof e=="object"){e=Zd(e);var n=KD(e),r,i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(e=Ar(e),fi(this[e]))return this[e](t);return this}function sO(e,t){return(e%t+t)%t}var tn;Array.prototype.indexOf?tn=Array.prototype.indexOf:tn=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Jd(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=sO(t,12);return e+=(t-n)/12,n===1?mc(e)?29:28:31-n%7%2}Pe("M",["MM",2],"Mo",function(){return this.month()+1}),Pe("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),Pe("MMMM",0,0,function(e){return this.localeData().months(this,e)}),Ae("M",Mt,Za),Ae("MM",Mt,sr),Ae("MMM",function(e,t){return t.monthsShortRegex(e)}),Ae("MMMM",function(e,t){return t.monthsRegex(e)}),At(["M","MM"],function(e,t){t[Ni]=lt(e)-1}),At(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);i!=null?t[Ni]=i:Ke(n).invalidMonth=e});var lO="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Fm="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Bm=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,cO=ul,uO=ul;function dO(e,t){return e?zr(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Bm).test(t)?"format":"standalone"][e.month()]:zr(this._months)?this._months:this._months.standalone}function fO(e,t){return e?zr(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Bm.test(t)?"format":"standalone"][e.month()]:zr(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function pO(e,t,n){var r,i,a,l=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=di([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?t==="MMM"?(i=tn.call(this._shortMonthsParse,l),i!==-1?i:null):(i=tn.call(this._longMonthsParse,l),i!==-1?i:null):t==="MMM"?(i=tn.call(this._shortMonthsParse,l),i!==-1?i:(i=tn.call(this._longMonthsParse,l),i!==-1?i:null)):(i=tn.call(this._longMonthsParse,l),i!==-1?i:(i=tn.call(this._shortMonthsParse,l),i!==-1?i:null))}function hO(e,t,n){var r,i,a;if(this._monthsParseExact)return pO.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=di([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(n&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function Pm(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=lt(t);else if(t=e.localeData().monthsParse(t),!Pi(t))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,Jd(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function Lm(e){return e!=null?(Pm(this,e),Ee.updateOffset(this,!0),this):pl(this,"Month")}function mO(){return Jd(this.year(),this.month())}function vO(e){return this._monthsParseExact?(vt(this,"_monthsRegex")||Nm.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(vt(this,"_monthsShortRegex")||(this._monthsShortRegex=cO),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function gO(e){return this._monthsParseExact?(vt(this,"_monthsRegex")||Nm.call(this),e?this._monthsStrictRegex:this._monthsRegex):(vt(this,"_monthsRegex")||(this._monthsRegex=uO),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Nm(){function e(u,d){return d.length-u.length}var t=[],n=[],r=[],i,a,l,c;for(i=0;i<12;i++)a=di([2e3,i]),l=Li(this.monthsShort(a,"")),c=Li(this.months(a,"")),t.push(l),n.push(c),r.push(c),r.push(l);t.sort(e),n.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function xO(e,t,n,r,i,a,l){var c;return e<100&&e>=0?(c=new Date(e+400,t,n,r,i,a,l),isFinite(c.getFullYear())&&c.setFullYear(e)):c=new Date(e,t,n,r,i,a,l),c}function hl(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function vc(e,t,n){var r=7+t-n,i=(7+hl(e,0,r).getUTCDay()-t)%7;return-i+r-1}function Im(e,t,n,r,i){var a=(7+n-r)%7,l=vc(e,r,i),c=1+7*(t-1)+a+l,u,d;return c<=0?(u=e-1,d=fl(u)+c):c>fl(e)?(u=e+1,d=c-fl(e)):(u=e,d=c),{year:u,dayOfYear:d}}function ml(e,t,n){var r=vc(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,a,l;return i<1?(l=e.year()-1,a=i+Mi(l,t,n)):i>Mi(e.year(),t,n)?(a=i-Mi(e.year(),t,n),l=e.year()+1):(l=e.year(),a=i),{week:a,year:l}}function Mi(e,t,n){var r=vc(e,t,n),i=vc(e+1,t,n);return(fl(e)-r+i)/7}Pe("w",["ww",2],"wo","week"),Pe("W",["WW",2],"Wo","isoWeek"),Ae("w",Mt,Za),Ae("ww",Mt,sr),Ae("W",Mt,Za),Ae("WW",Mt,sr),dl(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=lt(e)});function bO(e){return ml(e,this._week.dow,this._week.doy).week}var yO={dow:0,doy:6};function wO(){return this._week.dow}function CO(){return this._week.doy}function EO(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function _O(e){var t=ml(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}Pe("d",0,"do","day"),Pe("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Pe("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Pe("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Pe("e",0,0,"weekday"),Pe("E",0,0,"isoWeekday"),Ae("d",Mt),Ae("e",Mt),Ae("E",Mt),Ae("dd",function(e,t){return t.weekdaysMinRegex(e)}),Ae("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Ae("dddd",function(e,t){return t.weekdaysRegex(e)}),dl(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i!=null?t.d=i:Ke(n).invalidWeekday=e}),dl(["d","e","E"],function(e,t,n,r){t[r]=lt(e)});function SO(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function AO(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ef(e,t){return e.slice(t,7).concat(e.slice(0,t))}var kO="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Mm="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),DO="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),OO=ul,TO=ul,FO=ul;function BO(e,t){var n=zr(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ef(n,this._week.dow):e?n[e.day()]:n}function PO(e){return e===!0?ef(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function LO(e){return e===!0?ef(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function NO(e,t,n){var r,i,a,l=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=di([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?t==="dddd"?(i=tn.call(this._weekdaysParse,l),i!==-1?i:null):t==="ddd"?(i=tn.call(this._shortWeekdaysParse,l),i!==-1?i:null):(i=tn.call(this._minWeekdaysParse,l),i!==-1?i:null):t==="dddd"?(i=tn.call(this._weekdaysParse,l),i!==-1||(i=tn.call(this._shortWeekdaysParse,l),i!==-1)?i:(i=tn.call(this._minWeekdaysParse,l),i!==-1?i:null)):t==="ddd"?(i=tn.call(this._shortWeekdaysParse,l),i!==-1||(i=tn.call(this._weekdaysParse,l),i!==-1)?i:(i=tn.call(this._minWeekdaysParse,l),i!==-1?i:null)):(i=tn.call(this._minWeekdaysParse,l),i!==-1||(i=tn.call(this._weekdaysParse,l),i!==-1)?i:(i=tn.call(this._shortWeekdaysParse,l),i!==-1?i:null))}function IO(e,t,n){var r,i,a;if(this._weekdaysParseExact)return NO.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=di([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function MO(e){if(!this.isValid())return e!=null?this:NaN;var t=pl(this,"Day");return e!=null?(e=SO(e,this.localeData()),this.add(e-t,"d")):t}function $O(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function HO(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=AO(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function jO(e){return this._weekdaysParseExact?(vt(this,"_weekdaysRegex")||tf.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(vt(this,"_weekdaysRegex")||(this._weekdaysRegex=OO),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function RO(e){return this._weekdaysParseExact?(vt(this,"_weekdaysRegex")||tf.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(vt(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=TO),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function WO(e){return this._weekdaysParseExact?(vt(this,"_weekdaysRegex")||tf.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(vt(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=FO),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function tf(){function e(f,m){return m.length-f.length}var t=[],n=[],r=[],i=[],a,l,c,u,d;for(a=0;a<7;a++)l=di([2e3,1]).day(a),c=Li(this.weekdaysMin(l,"")),u=Li(this.weekdaysShort(l,"")),d=Li(this.weekdays(l,"")),t.push(c),n.push(u),r.push(d),i.push(c),i.push(u),i.push(d);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function nf(){return this.hours()%12||12}function UO(){return this.hours()||24}Pe("H",["HH",2],0,"hour"),Pe("h",["hh",2],0,nf),Pe("k",["kk",2],0,UO),Pe("hmm",0,0,function(){return""+nf.apply(this)+pi(this.minutes(),2)}),Pe("hmmss",0,0,function(){return""+nf.apply(this)+pi(this.minutes(),2)+pi(this.seconds(),2)}),Pe("Hmm",0,0,function(){return""+this.hours()+pi(this.minutes(),2)}),Pe("Hmmss",0,0,function(){return""+this.hours()+pi(this.minutes(),2)+pi(this.seconds(),2)});function $m(e,t){Pe(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}$m("a",!0),$m("A",!1);function Hm(e,t){return t._meridiemParse}Ae("a",Hm),Ae("A",Hm),Ae("H",Mt,Xd),Ae("h",Mt,Za),Ae("k",Mt,Za),Ae("HH",Mt,sr),Ae("hh",Mt,sr),Ae("kk",Mt,sr),Ae("hmm",km),Ae("hmmss",Dm),Ae("Hmm",km),Ae("Hmmss",Dm),At(["H","HH"],an),At(["k","kk"],function(e,t,n){var r=lt(e);t[an]=r===24?0:r}),At(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),At(["h","hh"],function(e,t,n){t[an]=lt(e),Ke(n).bigHour=!0}),At("hmm",function(e,t,n){var r=e.length-2;t[an]=lt(e.substr(0,r)),t[qr]=lt(e.substr(r)),Ke(n).bigHour=!0}),At("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[an]=lt(e.substr(0,r)),t[qr]=lt(e.substr(r,2)),t[Ii]=lt(e.substr(i)),Ke(n).bigHour=!0}),At("Hmm",function(e,t,n){var r=e.length-2;t[an]=lt(e.substr(0,r)),t[qr]=lt(e.substr(r))}),At("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[an]=lt(e.substr(0,r)),t[qr]=lt(e.substr(r,2)),t[Ii]=lt(e.substr(i))});function zO(e){return(e+"").toLowerCase().charAt(0)==="p"}var VO=/[ap]\.?m?\.?/i,qO=Ga("Hours",!0);function YO(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var jm={calendar:ND,longDateFormat:HD,invalidDate:RD,ordinal:UD,dayOfMonthOrdinalParse:zD,relativeTime:qD,months:lO,monthsShort:Fm,week:yO,weekdays:kO,weekdaysMin:DO,weekdaysShort:Mm,meridiemParse:VO},Wt={},vl={},gl;function ZO(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function Rm(e){return e&&e.toLowerCase().replace("_","-")}function GO(e){for(var t=0,n,r,i,a;t<e.length;){for(a=Rm(e[t]).split("-"),n=a.length,r=Rm(e[t+1]),r=r?r.split("-"):null;n>0;){if(i=gc(a.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&ZO(a,r)>=n-1)break;n--}t++}return gl}function KO(e){return!!(e&&e.match("^[^/\\\\]*$"))}function gc(e){var t=null,n;if(Wt[e]===void 0&&typeof module<"u"&&module&&module.exports&&KO(e))try{t=gl._abbr,n=require,n("./locale/"+e),vo(t)}catch{Wt[e]=null}return Wt[e]}function vo(e,t){var n;return e&&(qn(t)?n=$i(e):n=rf(e,t),n?gl=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),gl._abbr}function rf(e,t){if(t!==null){var n,r=jm;if(t.abbr=e,Wt[e]!=null)Cm("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Wt[e]._config;else if(t.parentLocale!=null)if(Wt[t.parentLocale]!=null)r=Wt[t.parentLocale]._config;else if(n=gc(t.parentLocale),n!=null)r=n._config;else return vl[t.parentLocale]||(vl[t.parentLocale]=[]),vl[t.parentLocale].push({name:e,config:t}),null;return Wt[e]=new zd(Ud(r,t)),vl[e]&&vl[e].forEach(function(i){rf(i.name,i.config)}),vo(e),Wt[e]}else return delete Wt[e],null}function XO(e,t){if(t!=null){var n,r,i=jm;Wt[e]!=null&&Wt[e].parentLocale!=null?Wt[e].set(Ud(Wt[e]._config,t)):(r=gc(e),r!=null&&(i=r._config),t=Ud(i,t),r==null&&(t.abbr=e),n=new zd(t),n.parentLocale=Wt[e],Wt[e]=n),vo(e)}else Wt[e]!=null&&(Wt[e].parentLocale!=null?(Wt[e]=Wt[e].parentLocale,e===vo()&&vo(e)):Wt[e]!=null&&delete Wt[e]);return Wt[e]}function $i(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return gl;if(!zr(e)){if(t=gc(e),t)return t;e=[e]}return GO(e)}function QO(){return Vd(Wt)}function of(e){var t,n=e._a;return n&&Ke(e).overflow===-2&&(t=n[Ni]<0||n[Ni]>11?Ni:n[hi]<1||n[hi]>Jd(n[Tn],n[Ni])?hi:n[an]<0||n[an]>24||n[an]===24&&(n[qr]!==0||n[Ii]!==0||n[Ko]!==0)?an:n[qr]<0||n[qr]>59?qr:n[Ii]<0||n[Ii]>59?Ii:n[Ko]<0||n[Ko]>999?Ko:-1,Ke(e)._overflowDayOfYear&&(t<Tn||t>hi)&&(t=hi),Ke(e)._overflowWeeks&&t===-1&&(t=nO),Ke(e)._overflowWeekday&&t===-1&&(t=rO),Ke(e).overflow=t),e}var JO=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,eT=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,tT=/Z|[+-]\d\d(?::?\d\d)?/,xc=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],af=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],nT=/^\/?Date\((-?\d+)/i,rT=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,iT={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Wm(e){var t,n,r=e._i,i=JO.exec(r)||eT.exec(r),a,l,c,u,d=xc.length,f=af.length;if(i){for(Ke(e).iso=!0,t=0,n=d;t<n;t++)if(xc[t][1].exec(i[1])){l=xc[t][0],a=xc[t][2]!==!1;break}if(l==null){e._isValid=!1;return}if(i[3]){for(t=0,n=f;t<n;t++)if(af[t][1].exec(i[3])){c=(i[2]||" ")+af[t][0];break}if(c==null){e._isValid=!1;return}}if(!a&&c!=null){e._isValid=!1;return}if(i[4])if(tT.exec(i[4]))u="Z";else{e._isValid=!1;return}e._f=l+(c||"")+(u||""),lf(e)}else e._isValid=!1}function oT(e,t,n,r,i,a){var l=[aT(e),Fm.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&l.push(parseInt(a,10)),l}function aT(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function sT(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function lT(e,t,n){if(e){var r=Mm.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return Ke(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function cT(e,t,n){if(e)return iT[e];if(t)return 0;var r=parseInt(n,10),i=r%100,a=(r-i)/100;return a*60+i}function Um(e){var t=rT.exec(sT(e._i)),n;if(t){if(n=oT(t[4],t[3],t[2],t[5],t[6],t[7]),!lT(t[1],n,e))return;e._a=n,e._tzm=cT(t[8],t[9],t[10]),e._d=hl.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Ke(e).rfc2822=!0}else e._isValid=!1}function uT(e){var t=nT.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Wm(e),e._isValid===!1)delete e._isValid;else return;if(Um(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:Ee.createFromInputFallback(e)}Ee.createFromInputFallback=Sr("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Ka(e,t,n){return e??t??n}function dT(e){var t=new Date(Ee.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function sf(e){var t,n,r=[],i,a,l;if(!e._d){for(i=dT(e),e._w&&e._a[hi]==null&&e._a[Ni]==null&&fT(e),e._dayOfYear!=null&&(l=Ka(e._a[Tn],i[Tn]),(e._dayOfYear>fl(l)||e._dayOfYear===0)&&(Ke(e)._overflowDayOfYear=!0),n=hl(l,0,e._dayOfYear),e._a[Ni]=n.getUTCMonth(),e._a[hi]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[an]===24&&e._a[qr]===0&&e._a[Ii]===0&&e._a[Ko]===0&&(e._nextDay=!0,e._a[an]=0),e._d=(e._useUTC?hl:xO).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[an]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(Ke(e).weekdayMismatch=!0)}}function fT(e){var t,n,r,i,a,l,c,u,d;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,l=4,n=Ka(t.GG,e._a[Tn],ml($t(),1,4).year),r=Ka(t.W,1),i=Ka(t.E,1),(i<1||i>7)&&(u=!0)):(a=e._locale._week.dow,l=e._locale._week.doy,d=ml($t(),a,l),n=Ka(t.gg,e._a[Tn],d.year),r=Ka(t.w,d.week),t.d!=null?(i=t.d,(i<0||i>6)&&(u=!0)):t.e!=null?(i=t.e+a,(t.e<0||t.e>6)&&(u=!0)):i=a),r<1||r>Mi(n,a,l)?Ke(e)._overflowWeeks=!0:u!=null?Ke(e)._overflowWeekday=!0:(c=Im(n,r,i,a,l),e._a[Tn]=c.year,e._dayOfYear=c.dayOfYear)}Ee.ISO_8601=function(){},Ee.RFC_2822=function(){};function lf(e){if(e._f===Ee.ISO_8601){Wm(e);return}if(e._f===Ee.RFC_2822){Um(e);return}e._a=[],Ke(e).empty=!0;var t=""+e._i,n,r,i,a,l,c=t.length,u=0,d,f;for(i=Em(e._f,e._locale).match(qd)||[],f=i.length,n=0;n<f;n++)a=i[n],r=(t.match(JD(a,e))||[])[0],r&&(l=t.substr(0,t.indexOf(r)),l.length>0&&Ke(e).unusedInput.push(l),t=t.slice(t.indexOf(r)+r.length),u+=r.length),qa[a]?(r?Ke(e).empty=!1:Ke(e).unusedTokens.push(a),tO(a,r,e)):e._strict&&!r&&Ke(e).unusedTokens.push(a);Ke(e).charsLeftOver=c-u,t.length>0&&Ke(e).unusedInput.push(t),e._a[an]<=12&&Ke(e).bigHour===!0&&e._a[an]>0&&(Ke(e).bigHour=void 0),Ke(e).parsedDateParts=e._a.slice(0),Ke(e).meridiem=e._meridiem,e._a[an]=pT(e._locale,e._a[an],e._meridiem),d=Ke(e).era,d!==null&&(e._a[Tn]=e._locale.erasConvertYear(d,e._a[Tn])),sf(e),of(e)}function pT(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function hT(e){var t,n,r,i,a,l,c=!1,u=e._f.length;if(u===0){Ke(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<u;i++)a=0,l=!1,t=Wd({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],lf(t),jd(t)&&(l=!0),a+=Ke(t).charsLeftOver,a+=Ke(t).unusedTokens.length*10,Ke(t).score=a,c?a<r&&(r=a,n=t):(r==null||a<r||l)&&(r=a,n=t,l&&(c=!0));mo(e,n||t)}function mT(e){if(!e._d){var t=Zd(e._i),n=t.day===void 0?t.date:t.day;e._a=xm([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),sf(e)}}function vT(e){var t=new cl(of(zm(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function zm(e){var t=e._i,n=e._f;return e._locale=e._locale||$i(e._l),t===null||n===void 0&&t===""?ac({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Vr(t)?new cl(of(t)):(ll(t)?e._d=t:zr(n)?hT(e):n?lf(e):gT(e),jd(e)||(e._d=null),e))}function gT(e){var t=e._i;qn(t)?e._d=new Date(Ee.now()):ll(t)?e._d=new Date(t.valueOf()):typeof t=="string"?uT(e):zr(t)?(e._a=xm(t.slice(0),function(n){return parseInt(n,10)}),sf(e)):Go(t)?mT(e):Pi(t)?e._d=new Date(t):Ee.createFromInputFallback(e)}function Vm(e,t,n,r,i){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(Go(e)&&$d(e)||zr(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,vT(a)}function $t(e,t,n,r){return Vm(e,t,n,r,!1)}var xT=Sr("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$t.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:ac()}),bT=Sr("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$t.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:ac()});function qm(e,t){var n,r;if(t.length===1&&zr(t[0])&&(t=t[0]),!t.length)return $t();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function yT(){var e=[].slice.call(arguments,0);return qm("isBefore",e)}function wT(){var e=[].slice.call(arguments,0);return qm("isAfter",e)}var CT=function(){return Date.now?Date.now():+new Date},xl=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ET(e){var t,n=!1,r,i=xl.length;for(t in e)if(vt(e,t)&&!(tn.call(xl,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<i;++r)if(e[xl[r]]){if(n)return!1;parseFloat(e[xl[r]])!==lt(e[xl[r]])&&(n=!0)}return!0}function _T(){return this._isValid}function ST(){return Yr(NaN)}function bc(e){var t=Zd(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,l=t.day||0,c=t.hour||0,u=t.minute||0,d=t.second||0,f=t.millisecond||0;this._isValid=ET(t),this._milliseconds=+f+d*1e3+u*6e4+c*1e3*60*60,this._days=+l+a*7,this._months=+i+r*3+n*12,this._data={},this._locale=$i(),this._bubble()}function yc(e){return e instanceof bc}function cf(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function AT(e,t,n){var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,l;for(l=0;l<r;l++)lt(e[l])!==lt(t[l])&&a++;return a+i}function Ym(e,t){Pe(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+pi(~~(n/60),2)+t+pi(~~n%60,2)})}Ym("Z",":"),Ym("ZZ",""),Ae("Z",pc),Ae("ZZ",pc),At(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=uf(pc,e)});var kT=/([\+\-]|\d\d)/gi;function uf(e,t){var n=(t||"").match(e),r,i,a;return n===null?null:(r=n[n.length-1]||[],i=(r+"").match(kT)||["-",0,0],a=+(i[1]*60)+lt(i[2]),a===0?0:i[0]==="+"?a:-a)}function df(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(Vr(e)||ll(e)?e.valueOf():$t(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),Ee.updateOffset(n,!1),n):$t(e).local()}function ff(e){return-Math.round(e._d.getTimezoneOffset())}Ee.updateOffset=function(){};function DT(e,t,n){var r=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=uf(pc,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(i=ff(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?Xm(this,Yr(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Ee.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:ff(this)}function OT(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function TT(e){return this.utcOffset(0,e)}function FT(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ff(this),"m")),this}function BT(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=uf(XD,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function PT(e){return this.isValid()?(e=e?$t(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function LT(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function NT(){if(!qn(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Wd(e,this),e=zm(e),e._a?(t=e._isUTC?di(e._a):$t(e._a),this._isDSTShifted=this.isValid()&&AT(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function IT(){return this.isValid()?!this._isUTC:!1}function MT(){return this.isValid()?this._isUTC:!1}function Zm(){return this.isValid()?this._isUTC&&this._offset===0:!1}var $T=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,HT=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Yr(e,t){var n=e,r=null,i,a,l;return yc(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:Pi(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=$T.exec(e))?(i=r[1]==="-"?-1:1,n={y:0,d:lt(r[hi])*i,h:lt(r[an])*i,m:lt(r[qr])*i,s:lt(r[Ii])*i,ms:lt(cf(r[Ko]*1e3))*i}):(r=HT.exec(e))?(i=r[1]==="-"?-1:1,n={y:Xo(r[2],i),M:Xo(r[3],i),w:Xo(r[4],i),d:Xo(r[5],i),h:Xo(r[6],i),m:Xo(r[7],i),s:Xo(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(l=jT($t(n.from),$t(n.to)),n={},n.ms=l.milliseconds,n.M=l.months),a=new bc(n),yc(e)&&vt(e,"_locale")&&(a._locale=e._locale),yc(e)&&vt(e,"_isValid")&&(a._isValid=e._isValid),a}Yr.fn=bc.prototype,Yr.invalid=ST;function Xo(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Gm(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function jT(e,t){var n;return e.isValid()&&t.isValid()?(t=df(t,e),e.isBefore(t)?n=Gm(e,t):(n=Gm(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Km(e,t){return function(n,r){var i,a;return r!==null&&!isNaN(+r)&&(Cm(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),i=Yr(n,r),Xm(this,i,e),this}}function Xm(e,t,n,r){var i=t._milliseconds,a=cf(t._days),l=cf(t._months);e.isValid()&&(r=r??!0,l&&Pm(e,pl(e,"Month")+l*n),a&&Tm(e,"Date",pl(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&Ee.updateOffset(e,a||l))}var RT=Km(1,"add"),WT=Km(-1,"subtract");function Qm(e){return typeof e=="string"||e instanceof String}function UT(e){return Vr(e)||ll(e)||Qm(e)||Pi(e)||VT(e)||zT(e)||e===null||e===void 0}function zT(e){var t=Go(e)&&!$d(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,a,l=r.length;for(i=0;i<l;i+=1)a=r[i],n=n||vt(e,a);return t&&n}function VT(e){var t=zr(e),n=!1;return t&&(n=e.filter(function(r){return!Pi(r)&&Qm(e)}).length===0),t&&n}function qT(e){var t=Go(e)&&!$d(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,a;for(i=0;i<r.length;i+=1)a=r[i],n=n||vt(e,a);return t&&n}function YT(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function ZT(e,t){arguments.length===1&&(arguments[0]?UT(arguments[0])?(e=arguments[0],t=void 0):qT(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||$t(),r=df(n,this).startOf("day"),i=Ee.calendarFormat(this,r)||"sameElse",a=t&&(fi(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,$t(n)))}function GT(){return new cl(this)}function KT(e,t){var n=Vr(e)?e:$t(e);return this.isValid()&&n.isValid()?(t=Ar(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function XT(e,t){var n=Vr(e)?e:$t(e);return this.isValid()&&n.isValid()?(t=Ar(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function QT(e,t,n,r){var i=Vr(e)?e:$t(e),a=Vr(t)?t:$t(t);return this.isValid()&&i.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(i,n):!this.isBefore(i,n))&&(r[1]===")"?this.isBefore(a,n):!this.isAfter(a,n))):!1}function JT(e,t){var n=Vr(e)?e:$t(e),r;return this.isValid()&&n.isValid()?(t=Ar(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function eF(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function tF(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function nF(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(r=df(e,this),!r.isValid())return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,t=Ar(t),t){case"year":a=wc(this,r)/12;break;case"month":a=wc(this,r);break;case"quarter":a=wc(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:kr(a)}function wc(e,t){if(e.date()<t.date())return-wc(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),i,a;return t-r<0?(i=e.clone().add(n-1,"months"),a=(t-r)/(r-i)):(i=e.clone().add(n+1,"months"),a=(t-r)/(i-r)),-(n+a)||0}Ee.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",Ee.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function rF(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function iF(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?lc(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):fi(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",lc(n,"Z")):lc(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function oF(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,i,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(n+r+i+a)}function aF(e){e||(e=this.isUtc()?Ee.defaultFormatUtc:Ee.defaultFormat);var t=lc(this,e);return this.localeData().postformat(t)}function sF(e,t){return this.isValid()&&(Vr(e)&&e.isValid()||$t(e).isValid())?Yr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function lF(e){return this.from($t(),e)}function cF(e,t){return this.isValid()&&(Vr(e)&&e.isValid()||$t(e).isValid())?Yr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function uF(e){return this.to($t(),e)}function Jm(e){var t;return e===void 0?this._locale._abbr:(t=$i(e),t!=null&&(this._locale=t),this)}var e6=Sr("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function t6(){return this._locale}var Cc=1e3,Xa=60*Cc,Ec=60*Xa,n6=(365*400+97)*24*Ec;function Qa(e,t){return(e%t+t)%t}function r6(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-n6:new Date(e,t,n).valueOf()}function i6(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-n6:Date.UTC(e,t,n)}function dF(e){var t,n;if(e=Ar(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?i6:r6,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Qa(t+(this._isUTC?0:this.utcOffset()*Xa),Ec);break;case"minute":t=this._d.valueOf(),t-=Qa(t,Xa);break;case"second":t=this._d.valueOf(),t-=Qa(t,Cc);break}return this._d.setTime(t),Ee.updateOffset(this,!0),this}function fF(e){var t,n;if(e=Ar(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?i6:r6,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ec-Qa(t+(this._isUTC?0:this.utcOffset()*Xa),Ec)-1;break;case"minute":t=this._d.valueOf(),t+=Xa-Qa(t,Xa)-1;break;case"second":t=this._d.valueOf(),t+=Cc-Qa(t,Cc)-1;break}return this._d.setTime(t),Ee.updateOffset(this,!0),this}function pF(){return this._d.valueOf()-(this._offset||0)*6e4}function hF(){return Math.floor(this.valueOf()/1e3)}function mF(){return new Date(this.valueOf())}function vF(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function gF(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function xF(){return this.isValid()?this.toISOString():null}function bF(){return jd(this)}function yF(){return mo({},Ke(this))}function wF(){return Ke(this).overflow}function CF(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Pe("N",0,0,"eraAbbr"),Pe("NN",0,0,"eraAbbr"),Pe("NNN",0,0,"eraAbbr"),Pe("NNNN",0,0,"eraName"),Pe("NNNNN",0,0,"eraNarrow"),Pe("y",["y",1],"yo","eraYear"),Pe("y",["yy",2],0,"eraYear"),Pe("y",["yyy",3],0,"eraYear"),Pe("y",["yyyy",4],0,"eraYear"),Ae("N",pf),Ae("NN",pf),Ae("NNN",pf),Ae("NNNN",PF),Ae("NNNNN",LF),At(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?Ke(n).era=i:Ke(n).invalidEra=e}),Ae("y",Ya),Ae("yy",Ya),Ae("yyy",Ya),Ae("yyyy",Ya),Ae("yo",NF),At(["y","yy","yyy","yyyy"],Tn),At(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Tn]=n._locale.eraYearOrdinalParse(e,i):t[Tn]=parseInt(e,10)});function EF(e,t){var n,r,i,a=this._eras||$i("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":i=Ee(a[n].since).startOf("day"),a[n].since=i.valueOf();break}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=Ee(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf();break}}return a}function _F(e,t,n){var r,i,a=this.eras(),l,c,u;for(e=e.toUpperCase(),r=0,i=a.length;r<i;++r)if(l=a[r].name.toUpperCase(),c=a[r].abbr.toUpperCase(),u=a[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(c===e)return a[r];break;case"NNNN":if(l===e)return a[r];break;case"NNNNN":if(u===e)return a[r];break}else if([l,c,u].indexOf(e)>=0)return a[r]}function SF(e,t){var n=e.since<=e.until?1:-1;return t===void 0?Ee(e.since).year():Ee(e.since).year()+(t-e.offset)*n}function AF(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function kF(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function DF(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function OF(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.clone().startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-Ee(i[e].since).year())*n+i[e].offset;return this.year()}function TF(e){return vt(this,"_erasNameRegex")||hf.call(this),e?this._erasNameRegex:this._erasRegex}function FF(e){return vt(this,"_erasAbbrRegex")||hf.call(this),e?this._erasAbbrRegex:this._erasRegex}function BF(e){return vt(this,"_erasNarrowRegex")||hf.call(this),e?this._erasNarrowRegex:this._erasRegex}function pf(e,t){return t.erasAbbrRegex(e)}function PF(e,t){return t.erasNameRegex(e)}function LF(e,t){return t.erasNarrowRegex(e)}function NF(e,t){return t._eraYearOrdinalRegex||Ya}function hf(){var e=[],t=[],n=[],r=[],i,a,l,c,u,d=this.eras();for(i=0,a=d.length;i<a;++i)l=Li(d[i].name),c=Li(d[i].abbr),u=Li(d[i].narrow),t.push(l),e.push(c),n.push(u),r.push(l),r.push(c),r.push(u);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}Pe(0,["gg",2],0,function(){return this.weekYear()%100}),Pe(0,["GG",2],0,function(){return this.isoWeekYear()%100});function _c(e,t){Pe(0,[e,e.length],0,t)}_c("gggg","weekYear"),_c("ggggg","weekYear"),_c("GGGG","isoWeekYear"),_c("GGGGG","isoWeekYear"),Ae("G",fc),Ae("g",fc),Ae("GG",Mt,sr),Ae("gg",Mt,sr),Ae("GGGG",Kd,Gd),Ae("gggg",Kd,Gd),Ae("GGGGG",dc,cc),Ae("ggggg",dc,cc),dl(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=lt(e)}),dl(["gg","GG"],function(e,t,n,r){t[r]=Ee.parseTwoDigitYear(e)});function IF(e){return o6.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function MF(e){return o6.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function $F(){return Mi(this.year(),1,4)}function HF(){return Mi(this.isoWeekYear(),1,4)}function jF(){var e=this.localeData()._week;return Mi(this.year(),e.dow,e.doy)}function RF(){var e=this.localeData()._week;return Mi(this.weekYear(),e.dow,e.doy)}function o6(e,t,n,r,i){var a;return e==null?ml(this,r,i).year:(a=Mi(e,r,i),t>a&&(t=a),WF.call(this,e,t,n,r,i))}function WF(e,t,n,r,i){var a=Im(e,t,n,r,i),l=hl(a.year,0,a.dayOfYear);return this.year(l.getUTCFullYear()),this.month(l.getUTCMonth()),this.date(l.getUTCDate()),this}Pe("Q",0,"Qo","quarter"),Ae("Q",Sm),At("Q",function(e,t){t[Ni]=(lt(e)-1)*3});function UF(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}Pe("D",["DD",2],"Do","date"),Ae("D",Mt,Za),Ae("DD",Mt,sr),Ae("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),At(["D","DD"],hi),At("Do",function(e,t){t[hi]=lt(e.match(Mt)[0])});var a6=Ga("Date",!0);Pe("DDD",["DDDD",3],"DDDo","dayOfYear"),Ae("DDD",uc),Ae("DDDD",Am),At(["DDD","DDDD"],function(e,t,n){n._dayOfYear=lt(e)});function zF(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}Pe("m",["mm",2],0,"minute"),Ae("m",Mt,Xd),Ae("mm",Mt,sr),At(["m","mm"],qr);var VF=Ga("Minutes",!1);Pe("s",["ss",2],0,"second"),Ae("s",Mt,Xd),Ae("ss",Mt,sr),At(["s","ss"],Ii);var qF=Ga("Seconds",!1);Pe("S",0,0,function(){return~~(this.millisecond()/100)}),Pe(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Pe(0,["SSS",3],0,"millisecond"),Pe(0,["SSSS",4],0,function(){return this.millisecond()*10}),Pe(0,["SSSSS",5],0,function(){return this.millisecond()*100}),Pe(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),Pe(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),Pe(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),Pe(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Ae("S",uc,Sm),Ae("SS",uc,sr),Ae("SSS",uc,Am);var go,s6;for(go="SSSS";go.length<=9;go+="S")Ae(go,Ya);function YF(e,t){t[Ko]=lt(("0."+e)*1e3)}for(go="S";go.length<=9;go+="S")At(go,YF);s6=Ga("Milliseconds",!1),Pe("z",0,0,"zoneAbbr"),Pe("zz",0,0,"zoneName");function ZF(){return this._isUTC?"UTC":""}function GF(){return this._isUTC?"Coordinated Universal Time":""}var ve=cl.prototype;ve.add=RT,ve.calendar=ZT,ve.clone=GT,ve.diff=nF,ve.endOf=fF,ve.format=aF,ve.from=sF,ve.fromNow=lF,ve.to=cF,ve.toNow=uF,ve.get=oO,ve.invalidAt=wF,ve.isAfter=KT,ve.isBefore=XT,ve.isBetween=QT,ve.isSame=JT,ve.isSameOrAfter=eF,ve.isSameOrBefore=tF,ve.isValid=bF,ve.lang=e6,ve.locale=Jm,ve.localeData=t6,ve.max=bT,ve.min=xT,ve.parsingFlags=yF,ve.set=aO,ve.startOf=dF,ve.subtract=WT,ve.toArray=vF,ve.toObject=gF,ve.toDate=mF,ve.toISOString=iF,ve.inspect=oF,typeof Symbol<"u"&&Symbol.for!=null&&(ve[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ve.toJSON=xF,ve.toString=rF,ve.unix=hF,ve.valueOf=pF,ve.creationData=CF,ve.eraName=AF,ve.eraNarrow=kF,ve.eraAbbr=DF,ve.eraYear=OF,ve.year=Om,ve.isLeapYear=iO,ve.weekYear=IF,ve.isoWeekYear=MF,ve.quarter=ve.quarters=UF,ve.month=Lm,ve.daysInMonth=mO,ve.week=ve.weeks=EO,ve.isoWeek=ve.isoWeeks=_O,ve.weeksInYear=jF,ve.weeksInWeekYear=RF,ve.isoWeeksInYear=$F,ve.isoWeeksInISOWeekYear=HF,ve.date=a6,ve.day=ve.days=MO,ve.weekday=$O,ve.isoWeekday=HO,ve.dayOfYear=zF,ve.hour=ve.hours=qO,ve.minute=ve.minutes=VF,ve.second=ve.seconds=qF,ve.millisecond=ve.milliseconds=s6,ve.utcOffset=DT,ve.utc=TT,ve.local=FT,ve.parseZone=BT,ve.hasAlignedHourOffset=PT,ve.isDST=LT,ve.isLocal=IT,ve.isUtcOffset=MT,ve.isUtc=Zm,ve.isUTC=Zm,ve.zoneAbbr=ZF,ve.zoneName=GF,ve.dates=Sr("dates accessor is deprecated. Use date instead.",a6),ve.months=Sr("months accessor is deprecated. Use month instead",Lm),ve.years=Sr("years accessor is deprecated. Use year instead",Om),ve.zone=Sr("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",OT),ve.isDSTShifted=Sr("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",NT);function KF(e){return $t(e*1e3)}function XF(){return $t.apply(null,arguments).parseZone()}function l6(e){return e}var gt=zd.prototype;gt.calendar=ID,gt.longDateFormat=jD,gt.invalidDate=WD,gt.ordinal=VD,gt.preparse=l6,gt.postformat=l6,gt.relativeTime=YD,gt.pastFuture=ZD,gt.set=LD,gt.eras=EF,gt.erasParse=_F,gt.erasConvertYear=SF,gt.erasAbbrRegex=FF,gt.erasNameRegex=TF,gt.erasNarrowRegex=BF,gt.months=dO,gt.monthsShort=fO,gt.monthsParse=hO,gt.monthsRegex=gO,gt.monthsShortRegex=vO,gt.week=bO,gt.firstDayOfYear=CO,gt.firstDayOfWeek=wO,gt.weekdays=BO,gt.weekdaysMin=LO,gt.weekdaysShort=PO,gt.weekdaysParse=IO,gt.weekdaysRegex=jO,gt.weekdaysShortRegex=RO,gt.weekdaysMinRegex=WO,gt.isPM=zO,gt.meridiem=YO;function Sc(e,t,n,r){var i=$i(),a=di().set(r,t);return i[n](a,e)}function c6(e,t,n){if(Pi(e)&&(t=e,e=void 0),e=e||"",t!=null)return Sc(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Sc(e,r,n,"month");return i}function mf(e,t,n,r){typeof e=="boolean"?(Pi(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,Pi(t)&&(n=t,t=void 0),t=t||"");var i=$i(),a=e?i._week.dow:0,l,c=[];if(n!=null)return Sc(t,(n+a)%7,r,"day");for(l=0;l<7;l++)c[l]=Sc(t,(l+a)%7,r,"day");return c}function QF(e,t){return c6(e,t,"months")}function JF(e,t){return c6(e,t,"monthsShort")}function eB(e,t,n){return mf(e,t,n,"weekdays")}function tB(e,t,n){return mf(e,t,n,"weekdaysShort")}function nB(e,t,n){return mf(e,t,n,"weekdaysMin")}vo("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=lt(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),Ee.lang=Sr("moment.lang is deprecated. Use moment.locale instead.",vo),Ee.langData=Sr("moment.langData is deprecated. Use moment.localeData instead.",$i);var Hi=Math.abs;function rB(){var e=this._data;return this._milliseconds=Hi(this._milliseconds),this._days=Hi(this._days),this._months=Hi(this._months),e.milliseconds=Hi(e.milliseconds),e.seconds=Hi(e.seconds),e.minutes=Hi(e.minutes),e.hours=Hi(e.hours),e.months=Hi(e.months),e.years=Hi(e.years),this}function u6(e,t,n,r){var i=Yr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function iB(e,t){return u6(this,e,t,1)}function oB(e,t){return u6(this,e,t,-1)}function d6(e){return e<0?Math.floor(e):Math.ceil(e)}function aB(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,a,l,c,u;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=d6(vf(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=kr(e/1e3),r.seconds=i%60,a=kr(i/60),r.minutes=a%60,l=kr(a/60),r.hours=l%24,t+=kr(l/24),u=kr(f6(t)),n+=u,t-=d6(vf(u)),c=kr(n/12),n%=12,r.days=t,r.months=n,r.years=c,this}function f6(e){return e*4800/146097}function vf(e){return e*146097/4800}function sB(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=Ar(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+f6(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vf(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function ji(e){return function(){return this.as(e)}}var p6=ji("ms"),lB=ji("s"),cB=ji("m"),uB=ji("h"),dB=ji("d"),fB=ji("w"),pB=ji("M"),hB=ji("Q"),mB=ji("y"),vB=p6;function gB(){return Yr(this)}function xB(e){return e=Ar(e),this.isValid()?this[e+"s"]():NaN}function Qo(e){return function(){return this.isValid()?this._data[e]:NaN}}var bB=Qo("milliseconds"),yB=Qo("seconds"),wB=Qo("minutes"),CB=Qo("hours"),EB=Qo("days"),_B=Qo("months"),SB=Qo("years");function AB(){return kr(this.days()/7)}var Ri=Math.round,Ja={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function kB(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function DB(e,t,n,r){var i=Yr(e).abs(),a=Ri(i.as("s")),l=Ri(i.as("m")),c=Ri(i.as("h")),u=Ri(i.as("d")),d=Ri(i.as("M")),f=Ri(i.as("w")),m=Ri(i.as("y")),h=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||l<=1&&["m"]||l<n.m&&["mm",l]||c<=1&&["h"]||c<n.h&&["hh",c]||u<=1&&["d"]||u<n.d&&["dd",u];return n.w!=null&&(h=h||f<=1&&["w"]||f<n.w&&["ww",f]),h=h||d<=1&&["M"]||d<n.M&&["MM",d]||m<=1&&["y"]||["yy",m],h[2]=t,h[3]=+e>0,h[4]=r,kB.apply(null,h)}function OB(e){return e===void 0?Ri:typeof e=="function"?(Ri=e,!0):!1}function TB(e,t){return Ja[e]===void 0?!1:t===void 0?Ja[e]:(Ja[e]=t,e==="s"&&(Ja.ss=t-1),!0)}function FB(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Ja,i,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},Ja,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),a=DB(this,!n,r,i),n&&(a=i.pastFuture(+this,a)),i.postformat(a)}var gf=Math.abs;function es(e){return(e>0)-(e<0)||+e}function Ac(){if(!this.isValid())return this.localeData().invalidDate();var e=gf(this._milliseconds)/1e3,t=gf(this._days),n=gf(this._months),r,i,a,l,c=this.asSeconds(),u,d,f,m;return c?(r=kr(e/60),i=kr(r/60),e%=60,r%=60,a=kr(n/12),n%=12,l=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=c<0?"-":"",d=es(this._months)!==es(c)?"-":"",f=es(this._days)!==es(c)?"-":"",m=es(this._milliseconds)!==es(c)?"-":"",u+"P"+(a?d+a+"Y":"")+(n?d+n+"M":"")+(t?f+t+"D":"")+(i||r||e?"T":"")+(i?m+i+"H":"")+(r?m+r+"M":"")+(e?m+l+"S":"")):"P0D"}var pt=bc.prototype;pt.isValid=_T,pt.abs=rB,pt.add=iB,pt.subtract=oB,pt.as=sB,pt.asMilliseconds=p6,pt.asSeconds=lB,pt.asMinutes=cB,pt.asHours=uB,pt.asDays=dB,pt.asWeeks=fB,pt.asMonths=pB,pt.asQuarters=hB,pt.asYears=mB,pt.valueOf=vB,pt._bubble=aB,pt.clone=gB,pt.get=xB,pt.milliseconds=bB,pt.seconds=yB,pt.minutes=wB,pt.hours=CB,pt.days=EB,pt.weeks=AB,pt.months=_B,pt.years=SB,pt.humanize=FB,pt.toISOString=Ac,pt.toString=Ac,pt.toJSON=Ac,pt.locale=Jm,pt.localeData=t6,pt.toIsoString=Sr("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ac),pt.lang=e6,Pe("X",0,0,"unix"),Pe("x",0,0,"valueOf"),Ae("x",fc),Ae("X",QD),At("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),At("x",function(e,t,n){n._d=new Date(lt(e))});//! moment.js
|
|
1046
|
-
Ee.version="2.30.1",BD($t),Ee.fn=ve,Ee.min=yT,Ee.max=wT,Ee.now=CT,Ee.utc=di,Ee.unix=KF,Ee.months=QF,Ee.isDate=ll,Ee.locale=vo,Ee.invalid=ac,Ee.duration=Yr,Ee.isMoment=Vr,Ee.weekdays=eB,Ee.parseZone=XF,Ee.localeData=$i,Ee.isDuration=yc,Ee.monthsShort=JF,Ee.weekdaysMin=nB,Ee.defineLocale=rf,Ee.updateLocale=XO,Ee.locales=QO,Ee.weekdaysShort=tB,Ee.normalizeUnits=Ar,Ee.relativeTimeRounding=OB,Ee.relativeTimeThreshold=TB,Ee.calendarFormat=YT,Ee.prototype=ve,Ee.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Wi={container:"relative flex justify-start items-center",date:"text-lg font-bold text-center text-darkened",day:"text-base font-bold text-center relative top-2"},BB=e=>{switch(e){case"top":return re.css`
|
|
1047
|
-
top: 100%;
|
|
1048
|
-
left: 50%;
|
|
1049
|
-
transform: rotate(180deg);
|
|
1050
|
-
`;case"left":return re.css`
|
|
1051
|
-
top: 100%;
|
|
1052
|
-
right: 2.5%;
|
|
1053
|
-
transform: rotate(180deg);
|
|
1054
|
-
`;case"right":return re.css`
|
|
1055
|
-
top: 100%;
|
|
1056
|
-
left: 2.5%;
|
|
1057
|
-
transform: rotate(180deg);
|
|
1058
|
-
`;case"bottom":return re.css`
|
|
1059
|
-
left: 50%;
|
|
1060
|
-
bottom: 100%;
|
|
1061
|
-
transform: rotate(0deg);
|
|
1062
|
-
`;case"bottom-left":return re.css`
|
|
1063
|
-
left: 93%;
|
|
1064
|
-
bottom: 100%;
|
|
1065
|
-
transform: rotate(0deg);
|
|
1066
|
-
`}},PB=e=>{switch(e){case"top":return re.css`
|
|
1067
|
-
left: 50%;
|
|
1068
|
-
bottom: calc(100% + 5px);
|
|
1069
|
-
transform: translateX(-50%);
|
|
1070
|
-
`;case"left":return re.css`
|
|
1071
|
-
right: 30%;
|
|
1072
|
-
bottom: 115%;
|
|
1073
|
-
transform: translateX(0%);
|
|
1074
|
-
`;case"right":return re.css`
|
|
1075
|
-
left: 50%;
|
|
1076
|
-
bottom: 115%;
|
|
1077
|
-
transform: translateX(0%);
|
|
1078
|
-
`;case"bottom":return re.css`
|
|
1079
|
-
left: 50%;
|
|
1080
|
-
top: calc(100% + 5px);
|
|
1081
|
-
transform: translateX(-50%);
|
|
1082
|
-
`;case"bottom-left":return re.css`
|
|
1083
|
-
right: 70%;
|
|
1084
|
-
top: 120%;
|
|
1085
|
-
transform: translateX(6.5%);
|
|
1086
|
-
`}},LB=re.div`
|
|
1087
|
-
position: ${e=>e.tableData?"static":"relative"};
|
|
1088
|
-
display: ${e=>e.tableHead?"block":"inline-block"};
|
|
1089
|
-
z-index: ${e=>(e==null?void 0:e.zIndex)??"auto"};
|
|
1090
|
-
max-width: 100%;
|
|
1091
|
-
|
|
1092
|
-
${e=>e.tableData&&`
|
|
1093
|
-
right: 12.5%;
|
|
1094
|
-
top: 47%;
|
|
1095
|
-
`}
|
|
1096
|
-
`,h6=re.div`
|
|
1097
|
-
visibility: ${e=>e.visible?"visible":"hidden"};
|
|
1098
|
-
position: absolute;
|
|
1099
|
-
${e=>PB(e.orientation)}
|
|
1100
|
-
background-color: #464646;
|
|
1101
|
-
color: #fff;
|
|
1102
|
-
padding: 8px;
|
|
1103
|
-
border-radius: 8px;
|
|
1104
|
-
white-space: ${e=>e.infoWidth?"normal":"nowrap"};
|
|
1105
|
-
max-width: ${e=>e.infoWidth?"none":`${e.maxWidth}px`};
|
|
1106
|
-
text-overflow: inherit;
|
|
1107
|
-
width: ${e=>e.infoWidth?`${e.infoWidth}px`:"auto"};
|
|
1108
|
-
z-index: ${e=>e==null?void 0:e.zIndex};
|
|
1109
|
-
`,NB=re.div`
|
|
1110
|
-
width: 0.5rem;
|
|
1111
|
-
height: 0.5rem;
|
|
1112
|
-
position: absolute;
|
|
1113
|
-
border-left: 5px solid transparent;
|
|
1114
|
-
border-right: 5px solid transparent;
|
|
1115
|
-
border-bottom: 5px solid #464646;
|
|
1116
|
-
${e=>BB(e.orientation)}
|
|
1117
|
-
`;h6.defaultProps={maxWidth:300};const bl=T.memo(e=>{const[t,n]=T.useState((e==null?void 0:e.controlled)??(e==null?void 0:e.active)??!1),r=()=>{(e==null?void 0:e.controlled)!==!1&&n(!0)},i=()=>{e!=null&&e.active||n(!1)};T.useEffect(()=>{n(!!(e!=null&&e.controlled))},[e==null?void 0:e.controlled]);const a=T.useMemo(()=>e!=null&&e.text?e.text.split("{break}").map((l,c)=>b.jsx("div",{children:l.replace("{break}","")},c)):"",[e.text]);return b.jsxs(LB,{tableData:e==null?void 0:e.tableData,tableHead:e==null?void 0:e.tableHead,className:e==null?void 0:e.className,onMouseEnter:r,onMouseLeave:i,onFocus:r,onBlur:i,zIndex:e==null?void 0:e.zIndex,children:[e.children,b.jsxs(h6,{visible:t,maxWidth:e==null?void 0:e.maxWidth,orientation:e.orientation,zIndex:e==null?void 0:e.zIndexText,infoWidth:e==null?void 0:e.infoWidth,children:[a,b.jsx(NB,{orientation:e.orientation})]})]})});re(Uu)`
|
|
1118
|
-
height: 3.25rem;
|
|
1119
|
-
width: 12.5rem;
|
|
1120
|
-
border: 1px solid #dfdfdf;
|
|
1121
|
-
`;const IB=re.input`
|
|
1122
|
-
padding: 0px 8px;
|
|
1123
|
-
font-weight: 700;
|
|
1124
|
-
border-radius: 4px;
|
|
1125
|
-
border-width: 1px;
|
|
1126
|
-
color: ${e=>e.disabled?"#BABABA":nt.darkened};
|
|
1127
|
-
cursor: ${e=>e.disabled?"default":"auto"};
|
|
1128
|
-
height: 2rem;
|
|
1129
|
-
max-width: 100%;
|
|
1130
|
-
appearance: none;
|
|
1131
|
-
font-size: 1rem;
|
|
1132
|
-
line-height: 1.5;
|
|
1133
|
-
transition:
|
|
1134
|
-
border-color 0.15s ease-in-out,
|
|
1135
|
-
box-shadow 0.15s ease-in-out;
|
|
1136
|
-
background-color: ${e=>e!=null&&e.disabled?"transparent":"white"};
|
|
1137
|
-
box-sizing: border-box;
|
|
1138
|
-
|
|
1139
|
-
&:focus {
|
|
1140
|
-
border-color: ${nt.primary};
|
|
1141
|
-
outline: 0;
|
|
1142
|
-
}
|
|
1143
|
-
`,MB=re.input`
|
|
1144
|
-
appearance: none;
|
|
1145
|
-
border-radius: 28px;
|
|
1146
|
-
border: 1px solid #dfdfdf;
|
|
1147
|
-
padding: 1rem;
|
|
1148
|
-
font-size: 1rem;
|
|
1149
|
-
line-height: 1.5;
|
|
1150
|
-
font-weight: 500;
|
|
1151
|
-
transition:
|
|
1152
|
-
border-color 0.15s ease-in-out,
|
|
1153
|
-
box-shadow 0.15s ease-in-out;
|
|
1154
|
-
background-color: ${e=>e!=null&&e.disabled?"transparent":"white"};
|
|
1155
|
-
width: 100%;
|
|
1156
|
-
box-sizing: border-box;
|
|
1157
|
-
color: ${nt.primary};
|
|
1158
|
-
padding: 0.75rem 1rem 0.75rem 3rem !important;
|
|
1159
|
-
|
|
1160
|
-
&:focus {
|
|
1161
|
-
border-color: ${nt.primary};
|
|
1162
|
-
outline: 0;
|
|
1163
|
-
}
|
|
1164
|
-
`,m6=re.span`
|
|
1165
|
-
position: absolute;
|
|
1166
|
-
left: 1rem;
|
|
1167
|
-
z-index: 10;
|
|
1168
|
-
margin: 0;
|
|
1169
|
-
padding: 0;
|
|
1170
|
-
color: ${nt.primary};
|
|
1171
|
-
|
|
1172
|
-
&:hover {
|
|
1173
|
-
cursor: ${e=>e!=null&&e.disabled?"inherit":"pointer"};
|
|
1174
|
-
}
|
|
1175
|
-
`,$B=re.div`
|
|
1176
|
-
display: flex;
|
|
1177
|
-
margin: 0.5rem;
|
|
1178
|
-
justify-content: space-around;
|
|
1179
|
-
background-color: #fff;
|
|
1180
|
-
font-style: normal;
|
|
1181
|
-
gap: 1rem;
|
|
1182
|
-
`,yl=re.span`
|
|
1183
|
-
text-align: center;
|
|
1184
|
-
`;function wl(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function v6(e){const t=wl(e);return t.setHours(0,0,0,0),t}function HB(e,t){const n=v6(e),r=v6(t);return+n==+r}function jB(e,t){const n=wl(e),r=wl(t);return n.getTime()>r.getTime()}function RB(e,t){const n=wl(e),r=wl(t);return+n<+r}const g6=T.memo(e=>{var K;const{dayRef:t,format:n,minDate:r,maxDate:i,readOnly:a,disabled:l,onChange:c,className:u,isSelectable:d,isTableInput:f,formatDisabled:m,tooltipMinDate:h,tooltipMaxDate:g,placeholderText:w}=e,x=T.useRef(),[v,S]=T.useState(!1),C=new Date().getFullYear(),[E,_]=T.useState(e!=null&&e.date?(K=e==null?void 0:e.date)==null?void 0:K.getFullYear():C),D=T.useCallback(Y=>{Y&&(c==null||c(Y))},[c]),A=Y=>{!/[0-9/]/.test(Y.key)&&Y.key!=="Backspace"&&Y.key!=="ArrowLeft"&&Y.key!=="ArrowRight"&&Y.key!=="Tab"&&Y.preventDefault()},B=()=>{e!=null&&e.disabled||S(!0)},O=()=>{S(!1)},N=()=>{const Y=new Date().getFullYear(),ne=Y-100,ue=Y+100;return Array.from({length:ue-ne+1},(ae,Z)=>ne+Z).map(ae=>({key:ae.toString(),label:ae.toString(),value:ae.toString()}))},L=T.useMemo(()=>f?b.jsx(IB,{}):b.jsx(MB,{}),[f]),I=T.useCallback(Y=>{const{date:ne,decreaseMonth:ue,increaseMonth:se,prevMonthButtonDisabled:ae,nextMonthButtonDisabled:Z}=Y,M=new Date(ne),z=ne==null?void 0:ne.toLocaleString("default",{month:"long"});let X=ne?ne==null?void 0:ne.getFullYear():E;const U=pe=>{X=pe,_(pe),M.setFullYear(pe),D(M),O()};return b.jsxs($B,{children:[b.jsx("button",{onClick:ue,disabled:ae,children:b.jsx(gw,{className:"w-6 h-6"})}),d?b.jsx(b.Fragment,{children:b.jsxs("div",{className:"flex align-center",children:[b.jsx("span",{className:Wi.date,children:f0(z)}),b.jsx(Md,{size:"base",options:N(),value:X,onSelect:pe=>U(parseInt(pe.value)),variant:"outlined-black",className:"ml-4",handleKeyDown:A,isSearchable:!0,listHeight:200})]})}):b.jsx(b.Fragment,{children:b.jsx("div",{children:b.jsxs("span",{className:Wi.date,children:[f0(z)," ",ne==null?void 0:ne.getFullYear()]})})}),b.jsx("button",{onClick:se,disabled:Z,children:b.jsx(bw,{height:6,width:6})})]})},[D,d,E]),H=T.useCallback((Y,ne)=>HB(t,ne)?e!=null&&e.debug&&h?b.jsx(bl,{text:h,active:!0,children:b.jsx(yl,{about:"today",className:xe(Wi.day),children:Y})}):b.jsx(yl,{about:"today",className:xe(Wi.day),children:Y}):r&&h&&RB(ne,r)?b.jsx(bl,{active:e==null?void 0:e.debug,text:h,children:b.jsx(yl,{className:xe(Wi.day),children:Y})}):i&&g&&jB(ne,i)?b.jsx(bl,{active:e==null?void 0:e.debug,text:g,children:b.jsx(yl,{className:xe(Wi.day),children:Y})}):b.jsx(yl,{className:xe(Wi.day),children:Y}),[t,r,i,g,h,e.debug]);if(m)return b.jsxs("div",{className:xe(Wi.container),children:[!f&&b.jsx(m6,{ref:x.current,disabled:e==null?void 0:e.disabled,onClick:v?O:B,children:b.jsx(Y3,{className:"w-6 h-6"})}),b.jsx(Uu,{open:v,locale:"es",minDate:r,maxDate:i,readOnly:a,disabled:l,selected:e==null?void 0:e.date,wrapperClassName:u,customInput:L,placeholderText:w,renderDayContents:H,onCalendarOpen:B,onInputClick:B,className:"custom-datepicker",onChange:D,onClickOutside:O,onCalendarClose:O,renderCustomHeader:I,onKeyDown:A,dateFormat:"dd/MM/yyyy"})]});const W=e!=null&&e.date?Ee(e.date).format(n):"";return b.jsxs("div",{className:xe(Wi.container),children:[!f&&b.jsx(m6,{ref:x.current,disabled:e==null?void 0:e.disabled,onClick:v?O:B,children:b.jsx(Y3,{className:"w-6 h-6"})}),b.jsx(Uu,{open:v,locale:"es",value:W,readOnly:a,disabled:l,selected:e==null?void 0:e.date,minDate:r,maxDate:i,onChange:D,className:"custom-datepicker",wrapperClassName:u,customInput:L,placeholderText:w,renderDayContents:H,onCalendarOpen:B,onClickOutside:O,onCalendarClose:O,renderCustomHeader:I,onKeyDown:A})]})});g6.defaultProps={format:"DD/MM/YYYY",formatDisabled:!0,isSelectable:!1};const WB={container:{root:"flex items-center relative "}},xf=T.memo(({className:e,name:t,value:n,checked:r,disabled:i,onClick:a})=>{const l=()=>{a==null||a(n)};return b.jsx("div",{className:WB.container.root+e,children:b.jsx(UB,{name:t,value:n,checked:r,disabled:i,onClick:l})})});xf.defaultProps={checked:!1,disabled:!1};const UB=re.input.attrs({type:"radio"})`
|
|
1185
|
-
appearance: none;
|
|
1186
|
-
|
|
1187
|
-
border: 3px solid #f3f3f3;
|
|
1188
|
-
border-radius: 50%;
|
|
1189
|
-
width: 20px;
|
|
1190
|
-
height: 20px;
|
|
1191
|
-
padding: 4px;
|
|
1192
|
-
margin: 2px;
|
|
1193
|
-
background-color: #f3f3f3;
|
|
1194
|
-
outline: 1px solid #999;
|
|
1195
|
-
transition:
|
|
1196
|
-
background-color 0.2s linear,
|
|
1197
|
-
outline 0.2s linear;
|
|
1198
|
-
|
|
1199
|
-
&:checked {
|
|
1200
|
-
background-color: #316772;
|
|
1201
|
-
outline: 1px solid #316772;
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
&:disabled {
|
|
1205
|
-
opacity: 0.7;
|
|
1206
|
-
cursor: not-allowed;
|
|
1207
|
-
}
|
|
1208
|
-
`,Zr={icon:xe(p0("w-10"),Yh("ml-2"),zu("absolute"),_b("pointer-events-none")),relativeAddOn:xe(Zh("flex"),zu("relative"),qh("items-center"),wb("justify-start")),relativeAddOff:zu("relative"),container:"form-input focus:outline-none",flow:"absolute inset-y-0 right-0 pr-2 flex items-center cursor-pointer hover:text-primary"},Cl={value:""},zB=T.memo(e=>{const{AddOn:t,error:n,disabled:r,className:i,allow:a,placeholder:l,value:c,onEdit:u,onDelete:d,onChange:f,onBlur:m,maxLength:h,minLength:g,validation:w,completed:x,length:v,type:S,minValue:C,height:E}=e,_=T.useMemo(()=>{if(a==="text")return v;switch(w){case"sence":return VB;case"amount":return x6;default:return}},[w,a,v]),D=I=>{var K,Y,ne;if(a==="text")return f==null?void 0:f((K=I==null?void 0:I.target)==null?void 0:K.value);if(a==="number"&&g&&h){let ue=(Y=I==null?void 0:I.target)==null?void 0:Y.value.replace(/\D/g,"");if(/^\d+$/.test(ue)&&typeof h=="number"&&typeof g=="number"){if(g>0){const ae=/^0+(?!$)/g;ae.test(ue)&&(ue=ue.replace(ae,""))}if(+ue<g||+ue>h)return}}let H=(ne=I==null?void 0:I.target)==null?void 0:ne.value.replace(/\D/g,"");const W=/^\d+$/.test(H);if(W&&typeof h=="number"&&typeof g=="number"&&g>0){const ue=/^0+(?!$)/g;ue.test(H)&&(H=H.replace(ue,""))}if(!(g===0&&H.startsWith("0")&&!/^0$/.test(H))&&!(W&&C&&C>Number(H))){if(w==="sence"&&W)return a==="number"||H===Cl.value?f==null?void 0:f(H):void 0;if(w==="amount"&&W)return a==="number"&&H.length<=x6||H===Cl.value?f==null?void 0:f(H):void 0;f==null||f(H)}},A=()=>{u==null||u()},B=()=>{d==null||d()},O=T.useCallback(I=>{if(w==="amount"&&I!==void 0){if(e!=null&&e.zeros){let Y=I;if(Y.startsWith("0")){const ue=/^0+(?!$)/g;ue.test(I)&&(Y=Y.replace(ue,""))}return Y.replace(/\B(?=(\d{3})+(?!\d))/g,".")??Cl.value}return(I==="0"?Cl.value:I).replace(/^0+/,"").replace(/\B(?=(\d{3})+(?!\d))/g,".")??Cl.value}return I},[w,e.zeros]),N=h0(c!==""&&c!=="0"?"font-bold":"font-normal"),L=(e==null?void 0:e.fullWidth)&&p0("w-full");return n?b.jsxs("div",{className:Zr.relativeAddOff,children:[b.jsx(El,{type:S,value:c,onChange:D,onBlur:m,maxLength:_,placeholder:l,disabled:r||n,className:xe(i,N,L,Zr.container),autoFocus:!0,autoComplete:"off"}),b.jsx(bf,{className:Zr.flow,onClick:B}),b.jsx(bf,{className:Zr.flow,onClick:B,children:b.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-5 h-5 text-info hover:cursor-pointer hover:text-primary",children:b.jsx("path",{className:"flex items-center justify-center",strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})})]}):x?b.jsxs("div",{className:Zr.relativeAddOff,children:[b.jsx(El,{type:S,value:c,onChange:D,onBlur:m,maxLength:_,placeholder:l,disabled:r||x,className:xe(i,N,L,Zr.container),autoFocus:!0,autoComplete:"off"}),b.jsx(bf,{className:Zr.flow,onClick:A,children:b.jsx(nC,{className:"w-5 h-5 text-info hover:cursor-pointer hover:text-primary"})})]}):t?b.jsxs("div",{className:Zr.relativeAddOn,children:[b.jsx(ZB,{disabled:e.disabled,children:t}),b.jsx(YB,{autoFocus:!0,type:S,name:"CLP",value:O(c),disabled:r,onChange:D,onBlur:m,maxLength:_,className:xe(i,N,L,Zr.container),placeholder:l,autoComplete:"off"})]}):b.jsx(El,{autoFocus:!0,type:S,value:c,height:E,disabled:r,onChange:D,onBlur:m,maxLength:_,placeholder:l,className:xe(i,N,L,Zr.container),autoComplete:"off"})}),VB=10,x6=18,qB=e=>e?nt.danger:nt.opaque,El=re.input`
|
|
1209
|
-
padding: 0.75rem 1.25rem 0.75rem 1.25rem;
|
|
1210
|
-
|
|
1211
|
-
font-weight: 700;
|
|
1212
|
-
border-radius: ${e=>e.inputField?"12px":"28px"};
|
|
1213
|
-
border-color: ${e=>qB(e.isError)};
|
|
1214
|
-
border-width: 1px;
|
|
1215
|
-
color: ${nt.primary};
|
|
1216
|
-
height: ${e=>e.height??"3.25rem"};
|
|
1217
|
-
`;re(El)`
|
|
1218
|
-
font-weight: small;
|
|
1219
|
-
background: transparent;
|
|
1220
|
-
`;const YB=re.input`
|
|
1221
|
-
padding: 0.75rem 0px 0.75rem 0px;
|
|
1222
|
-
border-radius: 0px 28px 28px 0px;
|
|
1223
|
-
border-color: ${nt.opaque} ${nt.opaque} ${nt.opaque} transparent;
|
|
1224
|
-
border-width: 1px;
|
|
1225
|
-
color: ${nt.primary};
|
|
1226
|
-
height: 3.25rem;
|
|
1227
|
-
`,ZB=re.div`
|
|
1228
|
-
background-color: ${e=>e.disabled?"transparent":"white"};
|
|
1229
|
-
border-radius: 28px 0 0 28px;
|
|
1230
|
-
border-color: ${nt.opaque} transparent ${nt.opaque} ${nt.opaque};
|
|
1231
|
-
border-width: 1px;
|
|
1232
|
-
color: ${nt.primary};
|
|
1233
|
-
padding: 0.75rem 0.5rem 0.75rem 1.25rem;
|
|
1234
|
-
height: 3.25rem;
|
|
1235
|
-
display: flex;
|
|
1236
|
-
align-items: center;
|
|
1237
|
-
`,bf=re.div`
|
|
1238
|
-
margin: 5px;
|
|
1239
|
-
border-radius: 24px;
|
|
1240
|
-
padding: 0.75rem 1.25rem 0.75rem 1.25rem;
|
|
1241
|
-
transition: background-color 0.3s ease-in-out;
|
|
1242
|
-
`;re.div`
|
|
1243
|
-
padding: 0.75rem 1.25rem 0.75rem 1.25rem;
|
|
1244
|
-
border-radius: 24px;
|
|
1245
|
-
background-color: ${nt.danger};
|
|
1246
|
-
margin: 5px;
|
|
1247
|
-
`;const GB=T.memo(e=>{const{mode:t,type:n,allow:r,value:i,disabled:a,onChange:l,className:c,isError:u,maxValue:d,minValue:f,placeholder:m,inputField:h,onKeyDown:g,fieldIdentifier:w}=e,x=E=>{const{downKeys:_={next:"Enter",prev:"Shift"}}=e,D=Array.from(document.querySelectorAll("input, textarea, [contenteditable]")),A=D.indexOf(E.currentTarget);if(E.key===_.next){E.preventDefault();const O=D[A+1];O&&(O.focus(),O instanceof HTMLInputElement&&O.value&&O.select())}if(E.key===_.prev){E.preventDefault();const O=D[A-1];O&&(O.focus(),O instanceof HTMLInputElement&&O.value&&O.select())}typeof g=="function"&&g(E.currentTarget.value,w),["Backspace","ArrowRight","ArrowLeft","ArrowUp","ArrowDown","Delete",...Array.from({length:10},(O,N)=>String(N))].includes(E.key)||E.preventDefault()},v=E=>{var D;const _=E.target.value;if(r==="text"){l==null||l((D=E==null?void 0:E.target)==null?void 0:D.value);return}if(r==="number"){let A=_.replace(/[^\d]/g,"");switch(A.startsWith("00")&&(A=A.substring(1)),A.startsWith("0")&&A.length>1&&!A.startsWith("0.")&&(A=A.substring(1)),t){case"strict":if(A==="1"){l==null||l("100");return}l==null||l(A==="0"||A==="100"?A:"");return;case"range":const B=parseInt(A)||0;l==null||l(d!==void 0&&B>d?d.toString():f!==void 0&&B<f?f.toString():A);return;default:l==null||l(A)}}},S=h0(i!==""&&i!=="0"?"font-bold":"font-normal"),C=(e==null?void 0:e.fullWidth)&&p0("w-full");return b.jsx(b.Fragment,{children:b.jsx(El,{autoFocus:!0,type:n,value:i,disabled:a,onChange:v,isError:u,placeholder:m,inputField:h,maxValue:d,minValue:f,className:xe(c,S,C,Zr.container),onKeyDown:x,autoComplete:"off"})})}),KB={container:"form-input focus:outline-none"};var Yn=(e=>(e.Default="DEFAULT",e.Money="MONEY",e.Score="SCORE",e.Strict="STRICT",e.Range="RANGE",e.Email="EMAIL",e))(Yn||{});const XB=e=>e==="0"?"0":"",QB=(e,t,n)=>{const r=n!==void 0&&e>n,i=t!==void 0&&e<t;return r?n.toString():i?t.toString():e.toString()},JB=(e,t)=>{const n=t??10,i=(e.length>n?e.substring(0,n):e).replace(/\./g,""),a=parseFloat(i);return isNaN(a)?"":new Intl.NumberFormat("es-CL",{style:"decimal",maximumFractionDigits:0}).format(a)},eP=(e,t,n)=>{if(e.match(/^(\d{1,2}(\.\d?)?|100)$/)||e===""){const r=parseFloat(e);if(!isNaN(r)&&(t===void 0||r>=t)&&(n===void 0||r<=n))return e}return""},tP=e=>e,nP=T.memo(e=>{const{mode:t,value:n,isError:r,onChange:i,onKeyDown:a,fieldIdentifier:l,maxValue:c,minValue:u,fullWidth:d,className:f,borderRadius:m,allowedKeys:h,maxLength:g=10,disabled:w}=e,x=d&&p0("w-full"),v=["Backspace","ArrowRight","ArrowLeft","ArrowUp","ArrowDown","Delete","Tab",".",...Array.from({length:10},(O,N)=>String(N))],S={[Yn.Money]:[...v],[Yn.Score]:[...v],[Yn.Strict]:[...v],[Yn.Range]:[...v],[Yn.Email]:[...v,"@","-","_",...Array.from({length:10},(O,N)=>String(N)),...Array.from({length:26},(O,N)=>String.fromCharCode(N+65)),...Array.from({length:26},(O,N)=>String.fromCharCode(N+97))],[Yn.Default]:[...v,","," ","Space","#","´","°","-","Á","É","Í","Ó","Ú","á","é","í","ó","ú","Ñ","ñ",...Array.from({length:10},(O,N)=>String(N)),...Array.from({length:26},(O,N)=>String.fromCharCode(N+65)),...Array.from({length:26},(O,N)=>String.fromCharCode(N+97))]},E=h??(O=>S[O]||v)(t),_=O=>{O.focus(),O instanceof HTMLInputElement&&O.value&&O.select()},D=(O,N,L)=>{const I=L.indexOf(O.currentTarget),H=L[N==="next"?I+1:I-1];H&&_(H)},A=O=>{const{downKeys:N={next:"Enter",prev:"Shift"}}=e,L=Array.from(document.querySelectorAll("input, textarea, [contenteditable]"));if(O.key===N.next){O.preventDefault(),D(O,"next",L);return}if(O.key===N.prev){O.preventDefault(),D(O,"prev",L);return}if(typeof a=="function"){a(O.currentTarget.value,l);return}E.includes(O.key)||O.preventDefault()},B=O=>{const N=(()=>{switch(t){case Yn.Default:return tP(O.target.value);case Yn.Money:return JB(O.target.value,g);case Yn.Score:return eP(O.target.value,u,c);case Yn.Strict:return O.target.value==="1"?"100":XB(O.target.value);case Yn.Range:return QB(parseInt(O.target.value)||0,u,c);case Yn.Email:return O.target.value;default:return O.target.value}})();O.target.value=N,i==null||i(N)};return b.jsx(iP,{mode:t,isError:r,minValue:u,maxValue:c,maxLength:g,onChange:B,onKeyDown:A,className:xe(f,x,KB.container),allowedKeys:E,borderRadius:m,disabled:w,value:n})}),rP=e=>e?nt.danger:nt.opaque,iP=re.input`
|
|
1248
|
-
padding: 0px 8px;
|
|
1249
|
-
font-weight: 700;
|
|
1250
|
-
border-radius: ${e=>e.borderRadius?e.borderRadius:"4px"};
|
|
1251
|
-
border-color: ${e=>rP(e.isError)};
|
|
1252
|
-
border-width: 1px;
|
|
1253
|
-
background: ${e=>e.disabled?nt.disabled:"white"};
|
|
1254
|
-
color: ${e=>e.disabled?"#BABABA":nt.darkened};
|
|
1255
|
-
cursor: ${e=>e.disabled?"default":"auto"};
|
|
1256
|
-
height: 2rem;
|
|
1257
|
-
max-width: 100%;
|
|
1258
|
-
`,oP=re.textarea`
|
|
1259
|
-
width: 100%;
|
|
1260
|
-
resize: none;
|
|
1261
|
-
outline: none;
|
|
1262
|
-
cursor: auto;
|
|
1263
|
-
line-height: 120%;
|
|
1264
|
-
padding: 1rem 1.25rem;
|
|
1265
|
-
border-radius: 1.25rem;
|
|
1266
|
-
color: ${e=>e.textColor};
|
|
1267
|
-
border: 1px solid ${e=>e.borderColor};
|
|
1268
|
-
|
|
1269
|
-
&::placeholder {
|
|
1270
|
-
color: #9ca3af; /* Tailwind gray-400 */
|
|
1271
|
-
font-weight: 400;
|
|
1272
|
-
font-size: 1rem;
|
|
1273
|
-
opacity: 1;
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
::-webkit-scrollbar {
|
|
1277
|
-
width: 0.25em;
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
::-webkit-scrollbar-track {
|
|
1281
|
-
background: #f0f0f0;
|
|
1282
|
-
}
|
|
1283
|
-
|
|
1284
|
-
::-webkit-scrollbar-thumb {
|
|
1285
|
-
background: #888;
|
|
1286
|
-
border-radius: 0.25em;
|
|
1287
|
-
}
|
|
1288
|
-
|
|
1289
|
-
::-webkit-scrollbar-thumb:hover {
|
|
1290
|
-
background: #555;
|
|
1291
|
-
}
|
|
1292
|
-
`,aP=({name:e,rows:t=4,value:n,onChange:r,textColor:i,borderColor:a,maxLength:l,className:c,...u})=>{const d=m=>{r==null||r(m)},f=m=>{var h;(h=u.onKeyDown)==null||h.call(u,m)};return b.jsx(oP,{name:e,value:n,rows:t,textColor:i,borderColor:a,onChange:d,onKeyDown:f,maxLength:l,className:c,...u})},b6=e=>e.className?b.jsx("div",{className:e.className,children:e.children}):e.autofill?b.jsx("div",{className:xe("grid",e.cols&&`grid-cols-${e.cols}`,e.gap&&`gap-${e.gap}`,e.gapX&&`gap-x-${e.gapX}`,e.gapY&&`gap-y-${e.gapY}`,e.autofill&&"md:grid lg:grid xl:grid",e.autofill&&`md:grid-cols-${e.cols} lg:grid-cols-${e.cols} xl:grid-cols-${e.cols}`),children:e.children}):b.jsx("div",{className:xe("grid",e.cols&&`grid-cols-${e.cols}`,e.gap&&`gap-${e.gap}`,e.gapX&&`gap-x-${e.gapX}`,e.gapY&&`gap-y-${e.gapY}`,e.xs&&`xs:grid xs:grid-cols-${e.xs}`,e.md&&`md:grid md:grid-cols-${e.md}`,e.lg&&`lg:grid lg:grid-cols-${e.lg}`,e.xl&&`xl:grid xl:grid-cols-${e.xl}`),children:e.children});b6.defaultProps={cols:9,autofill:!0};const y6=e=>b.jsx("div",{className:xe(e.start&&`col-start-${e.start}`,e.cols&&`col-span-${e.cols}`,e.end&&`col-end-${e.end}`,e.xl&&`xl:col-span-${e.xl}`,e.md&&`md:col-span-${e.md}`,e.lg&&`lg:col-span-${e.lg}`,e.xs&&`xs:col-span-${e.xs}`),children:e.children});y6.defaultProps={start:1};const Jo={container:"flex items-center",circle:"rounded-full h-[5.25rem] min-w-[5.25rem] max-w-[5.25rem] items-center justify-center flex flex-col border-8 border-white self-center",number:"font-bold mb-[-0.5rem] text-white",unit:"font-medium text-sm text-white",info:"flex flex-col ml-2 self-center w-full",message:"border-b border-gray-300 text-xs font-bold h-[20px]",transcurridoLabel:"text-xs font-bold"},sP=({passedDays:e,remainingDays:t,message:n,color:r})=>{const i=xe({"text-4xl":t&&Math.abs(t)<100,"text-3xl":t&&Math.abs(t)>=100});return b.jsxs("div",{className:Jo.container,children:[b.jsxs(lP,{className:Jo.circle,color:r,children:[b.jsx("div",{className:xe(Jo.number,i),children:t}),b.jsx("div",{className:Jo.unit,children:"días"})]}),b.jsxs("div",{className:Jo.info,children:[b.jsx("div",{className:Jo.message,children:n}),b.jsxs(cP,{color:r,children:[e," días"]}),b.jsx("div",{className:Jo.transcurridoLabel,children:"transcurridos"})]})]})},lP=re.div`
|
|
1293
|
-
background-color: ${({color:e})=>e};
|
|
1294
|
-
`,cP=re.span`
|
|
1295
|
-
font-size: 1.25rem;
|
|
1296
|
-
font-weight: bold;
|
|
1297
|
-
margin-bottom: -0.3125rem;
|
|
1298
|
-
margin-top: 0.3125rem;
|
|
1299
|
-
color: ${({color:e})=>e};
|
|
1300
|
-
`,uP=({className:e,children:t,start:n=2,cols:r=10})=>b.jsx("div",{className:xe(`col-start-${n} col-span-${r}`,e&&e),children:t}),w6=T.memo(e=>b.jsxs("div",{children:[(e==null?void 0:e.title)&&b.jsx(Rr,{...e.titleProps,children:e.title}),(e==null?void 0:e.description)&&b.jsx(Rr,{...e.decriptionProps,children:e.description})]}));w6.defaultProps={titleProps:{tag:"h1",size:"4xl",font:"bold",color:"secondary"},decriptionProps:{tag:"p",size:"xl",font:"medium"}};const yf=({status:e})=>e?b.jsx("div",{className:"loading",children:b.jsxs("div",{className:"spinner center",children:[b.jsx("br",{}),b.jsx(Hh.StageSpinner,{loading:e,color:"##65BFB1",size:80})]})}):null,wf=T.memo(({children:e,centered:t,status:n})=>b.jsx(b.Fragment,{children:n?b.jsx("div",{className:xe(t&&"flex justify-center items-center m-1"),children:b.jsx(Hh.StageSpinner,{loading:n,color:"#65BFB1",size:80})}):e}));wf.defaultProps={centered:!0};const _l={firstProperty:"border-l border-r border-black h-[3rem] justify-center items-center mb-[5rem]",middle:"border-0 -ml-4 -mr-4",empty:"",marginright:"mr-1"},dP=({workLine:e})=>e?(e.stages.forEach(t=>{const n=[];t.deadlines=t.deadlines.sort((r,i)=>i.since-r.since),t.deadlines.forEach((r,i)=>{i===0?r.since<t.maxDuration&&n.push({id:0,name:"1",criticalLevel:"",color:"#e5e7eb",since:t.maxDuration,until:r.since+1}):(r.since<t.deadlines[i-1].until-1&&n.push({id:0,name:"2",criticalLevel:"",color:"#e5e7eb",since:t.deadlines[i-1].until-1,until:r.since+1}),i===t.deadlines.length-1&&r.until>t.minDuration&&n.push({id:0,name:"3",criticalLevel:"",color:"#e5e7eb",since:r.until-1,until:t.minDuration})),n.push(r)}),t.deadlines=n.sort((r,i)=>i.since-r.since)}),b.jsx(fP,{children:b.jsxs(pP,{children:[b.jsx(hP,{children:b.jsxs(mP,{children:["Plazos de ",e.name]})}),b.jsx(vP,{children:e.stages.map(t=>b.jsx(gP,{className:t.id===2?_l.middle:_l.firstProperty,children:b.jsxs(xP,{children:[b.jsxs(bP,{children:[b.jsx(yP,{children:t.deadlines.map(n=>{const i=n.since/t.maxDuration*100;return b.jsx(kP,{widthPercent:i,children:b.jsx(wP,{children:n.since})},n.id)})}),b.jsx(CP,{children:t.deadlines.map((n,r)=>{const a=n.since/t.maxDuration*100;let l=_l.empty;const c=_l.empty;return n.color&&r!==t.deadlines.length-1&&(l=_l.marginright),b.jsx(AP,{className:`${l} ${c}`,bgColor:n.color,widthPercent:a},n.id)})})]}),b.jsxs(EP,{children:[b.jsxs(_P,{children:[" Etapa de ",t.name]}),t.deadlines.map(n=>b.jsx(SP,{children:n.color==="#E55257"&&n.until>=0?n.until:null},n.id))]})]})},t.id))})]},e.id)})):b.jsx("div",{children:"No se encuentra el Plazo Solicitado."}),fP=re.div`
|
|
1301
|
-
margin-bottom: 1rem;
|
|
1302
|
-
display: grid;
|
|
1303
|
-
`,pP=re.div``,hP=re.div`
|
|
1304
|
-
display: flex;
|
|
1305
|
-
margin-bottom: 2rem;
|
|
1306
|
-
font-weight: 500;
|
|
1307
|
-
font-size: 1.25rem;
|
|
1308
|
-
color: #939799;
|
|
1309
|
-
`,mP=re.h2``,vP=re.div`
|
|
1310
|
-
min-width: 100%;
|
|
1311
|
-
display: grid;
|
|
1312
|
-
grid-template-columns: repeat(3, 1fr);
|
|
1313
|
-
gap: 1rem;
|
|
1314
|
-
margin-bottom: 2.5rem;
|
|
1315
|
-
width: 89%;
|
|
1316
|
-
`,gP=re.div``,xP=re.div`
|
|
1317
|
-
display: grid;
|
|
1318
|
-
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1319
|
-
gap: 0.25rem;
|
|
1320
|
-
margin: 0.25rem;
|
|
1321
|
-
overflow: hidden;
|
|
1322
|
-
`,bP=re.div`
|
|
1323
|
-
display: flex;
|
|
1324
|
-
flex-direction: column;
|
|
1325
|
-
`,yP=re.div`
|
|
1326
|
-
display: flex;
|
|
1327
|
-
width: 100%;
|
|
1328
|
-
`,wP=re.div`
|
|
1329
|
-
display: flex;
|
|
1330
|
-
justify-content: start;
|
|
1331
|
-
margin-bottom: 0.25rem;
|
|
1332
|
-
font-weight: 500;
|
|
1333
|
-
font-size: 0.75rem;
|
|
1334
|
-
`,CP=re.div`
|
|
1335
|
-
display: flex;
|
|
1336
|
-
width: 100%;
|
|
1337
|
-
height: 0.75rem;
|
|
1338
|
-
`,EP=re.div`
|
|
1339
|
-
display: flex;
|
|
1340
|
-
align-items: center;
|
|
1341
|
-
justify-content: flex-end;
|
|
1342
|
-
font-size: 0.75rem;
|
|
1343
|
-
font-weight: 400;
|
|
1344
|
-
`,_P=re.div`
|
|
1345
|
-
width: 184.74px;
|
|
1346
|
-
display: flex;
|
|
1347
|
-
justify-content: center;
|
|
1348
|
-
margin-right: 85px;
|
|
1349
|
-
`,SP=re.div`
|
|
1350
|
-
display: flex;
|
|
1351
|
-
font-weight: 500;
|
|
1352
|
-
font-size: 0.75rem;
|
|
1353
|
-
`,AP=re.div`
|
|
1354
|
-
background-color: ${e=>e.bgColor};
|
|
1355
|
-
width: ${e=>e.widthPercent*600/100}%;
|
|
1356
|
-
transition: width 0.5s ease-in-out;
|
|
1357
|
-
`,kP=re.div`
|
|
1358
|
-
width: ${e=>e.widthPercent*600/100}%;
|
|
1359
|
-
`,Pt={container:{text:"text-xl font-medium text-darkened",child:"text-xl font-bold text-secondary",button:"flex w-full justify-between items-center text-left font-bold focus:outline-none focus-visible:ring focus-visible:ring-opacity-75",disclosure:"w-full my-1 mx-3 py-1 px-3",content:"overflow-hidden mt-[5px]"},icon:{root:"w-12 h-12 bg-gray-100 rounded-full flex items-center justify-center",container:"w-12 h-12 flex items-center justify-center",open:"rotate-180 transform transition-transform duration-300 ease-in-out",close:"rotate-0 transform transition-transform duration-300 ease-in-out",size:"h-7 w-7 text-xxl text-black"}},DP=T.memo(({child:e,className:t,children:n,override:r,title:i,width:a})=>e?b.jsx(Fi,{className:r,as:"div",children:({open:l})=>b.jsxs(b.Fragment,{children:[b.jsxs(Fi.Button,{className:Pt.container.button,children:[b.jsx("div",{children:b.jsx("span",{className:xe(Pt.container.child,t),children:i&&i})}),b.jsx("div",{className:xe(l?Pt.icon.root:Pt.icon.container),children:b.jsx(Fa,{className:xe(Pt.icon.size,l&&Pt.icon.open,l||Pt.icon.close)})})]}),b.jsx(Vs,{show:l,...Cf,children:b.jsx(Fi.Panel,{as:"div",className:Pt.container.content,children:n})})]})}):r||t?b.jsx(C6,{width:a,children:b.jsx(Fi,{as:"div",className:Pt.container.disclosure,children:({open:l})=>b.jsxs(b.Fragment,{children:[b.jsxs(Fi.Button,{className:Pt.container.button,children:[b.jsx("div",{children:b.jsx("span",{className:xe(Pt.container.text,t),children:i&&i})}),b.jsx("div",{className:xe(l?Pt.icon.root:Pt.icon.container),children:b.jsx(Fa,{className:xe(Pt.icon.size,l&&Pt.icon.open,l||Pt.icon.close)})})]}),b.jsx(Vs,{show:l,...Cf,children:b.jsx(Fi.Panel,{as:"div",className:Pt.container.content,children:n})})]})})}):b.jsx(C6,{width:a,children:b.jsx(Fi,{as:"div",className:Pt.container.disclosure,children:({open:l})=>b.jsxs(b.Fragment,{children:[b.jsxs(Fi.Button,{className:Pt.container.button,children:[b.jsx("div",{children:b.jsx("span",{className:Pt.container.text,children:i&&i})}),b.jsx("div",{className:xe(l?Pt.icon.root:Pt.icon.container),children:b.jsx(Fa,{className:xe(Pt.icon.size,l&&Pt.icon.open,l||Pt.icon.close)})})]}),b.jsx(Vs,{show:l,...Cf,children:b.jsx(Fi.Panel,{as:"div",className:Pt.container.content,children:n})})]})})})),C6=re.div`
|
|
1360
|
-
width: ${({width:e})=>e};
|
|
1361
|
-
height: max-content;
|
|
1362
|
-
gap: 40px;
|
|
1363
|
-
display: flex;
|
|
1364
|
-
flex-direction: row;
|
|
1365
|
-
justify-content: space-between;
|
|
1366
|
-
align-items: center;
|
|
1367
|
-
gap: 42px;
|
|
1368
|
-
background-color: white;
|
|
1369
|
-
border-radius: 36px;
|
|
1370
|
-
padding: 11px, 12px, 11px, 28px;
|
|
1371
|
-
`,Cf={enter:"transition ease-out duration-300",enterTo:"opacity-100",enterFrom:"opacity-0",leave:"transition ease-in duration-300",leaveTo:"opacity-0",leaveFrom:"opacity-100"};var Ef=(e=>(e[e.DEFAULT=1]="DEFAULT",e[e.ERROR=2]="ERROR",e[e.SUCCESS=3]="SUCCESS",e))(Ef||{});const E6=({status:e,error:t,width:n,height:r,onClick:i,children:a,className:l,borderRadius:c,backgroundColor:u=nt.secondary,isLabel:d,...f})=>{const h=t&&t>0?nt.danger:u;return b.jsx(b.Fragment,{children:b.jsx(OP,{...f,width:n,error:t,status:e,height:r,onClick:i,className:l,borderRadius:c,backgroundColor:h,isLabel:d,children:a})})},OP=re.div`
|
|
1372
|
-
font-size: 1em;
|
|
1373
|
-
display: inline-block;
|
|
1374
|
-
padding: 0.25rem 0.5rem;
|
|
1375
|
-
min-width: ${e=>e.width||"11.5rem"};
|
|
1376
|
-
min-height: ${e=>e.height||"1.4rem"};
|
|
1377
|
-
color: ${e=>e.color||"white"};
|
|
1378
|
-
border-radius: ${e=>e.borderRadius||"6.25rem"};
|
|
1379
|
-
background-color: ${e=>e.backgroundColor||"transparent"};
|
|
1380
|
-
cursor: default;
|
|
1381
|
-
user-select: none;
|
|
1382
|
-
|
|
1383
|
-
&:hover {
|
|
1384
|
-
cursor: ${e=>e.isLabel?"default":"pointer"};
|
|
1385
|
-
}
|
|
1386
|
-
`;E6.defaultProps={backgroundColor:nt.secondary,status:Ef.DEFAULT};const TP=e=>b.jsx("svg",{...e,width:"102",height:"44",viewBox:"0 0 102 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b.jsx("path",{id:"Logo CChC","fill-rule":"evenodd","clip-rule":"evenodd",d:"M26.1128 0C27.6573 0 28.9516 0.567259 29.8256 1.53455L29.8189 1.53127C30.6228 2.41659 31.0532 3.61996 31.0532 5.01024C31.0532 6.49233 30.5494 7.78424 29.6421 8.67939C28.7548 9.55487 27.4905 10.0369 26.1095 10.0369C24.7284 10.0369 23.5709 9.62045 22.7103 8.84334C21.7329 7.93179 21.1691 6.61365 21.1691 5.06926C21.1691 3.61669 21.6695 2.33134 22.5635 1.41979C23.4375 0.534469 24.6717 0 26.1128 0ZM22.817 5.04959C22.817 7.32846 24.138 8.7253 26.1128 8.7253C28.0776 8.7253 29.3953 7.25632 29.3953 5.04959C29.3953 2.84285 28.0843 1.35421 26.1128 1.35421C24.1413 1.35421 22.817 2.77072 22.817 5.04959ZM16.5256 14.575L16.529 14.5747H16.5256V14.575ZM16.5256 14.575C6.16661 15.537 0 22.727 0 29.7465C0 32.3401 0.81394 34.8682 2.29838 37.1012H13.5668C10.7947 35.4748 9.20352 32.6287 9.20352 29.7071C9.20352 26.074 11.8055 22.2672 16.5256 21.3163V14.575ZM37.1643 14.5747L37.161 14.575V14.5747H37.1643ZM37.161 14.575V21.3163C32.4408 22.2672 29.8389 26.074 29.8389 29.7071C29.8389 32.6287 31.4301 35.4748 34.2021 37.1012H22.9337C21.4493 34.8682 20.632 32.3401 20.632 29.7465C20.632 22.727 26.802 15.537 37.161 14.575ZM101.959 14.575L101.963 14.5747H101.959V14.575ZM101.959 14.575C91.5969 15.537 85.4303 22.727 85.4303 29.7465C85.4303 32.3401 86.2476 34.8682 87.732 37.1012H99.0004C96.2283 35.4748 94.6372 32.6287 94.6372 29.7071C94.6372 26.074 97.2391 22.2672 101.959 21.3163V14.575ZM79.9696 33.383V37.0685H70.4258V35.734C70.4258 32.0648 69.7954 28.6055 64.7483 28.6055C61.5159 28.6055 55.7582 30.1958 53.233 32.0648V37.0685H43.7693V14.811H53.233V25.6283C56.7023 23.1362 63.2505 21.3361 68.0607 21.3361C73.8184 21.3361 79.9696 23.7625 79.9696 33.383ZM101.646 43.9443V41.1801H101.209V42.8425C101.209 42.9802 101.212 43.118 101.215 43.2327H101.209C101.145 43.118 101.069 43.013 100.919 42.8163L99.6709 41.1801H99.2272V43.9443H99.6609V42.2064C99.6609 42.0687 99.6609 41.9375 99.6509 41.8457H99.6609C99.7276 41.9572 99.801 42.0687 99.9378 42.2425L101.235 43.9443H101.646ZM97.496 42.5769C97.496 43.2196 97.1257 43.6131 96.5719 43.6131C96.0182 43.6131 95.6446 43.2196 95.6446 42.5769C95.6446 41.9343 96.0182 41.5375 96.5719 41.5375C97.1257 41.5375 97.496 41.9572 97.496 42.5769ZM95.1776 42.5835C95.1776 43.0196 95.3377 43.3901 95.6112 43.6459C95.8547 43.8656 96.1816 43.9836 96.5686 43.9836C96.9556 43.9836 97.3158 43.8492 97.566 43.6C97.8229 43.3475 97.963 42.9835 97.963 42.5671C97.963 42.1769 97.8429 41.8359 97.6161 41.5867C97.3692 41.3145 97.0056 41.1539 96.5686 41.1539C96.1616 41.1539 95.8147 41.3047 95.5678 41.5539C95.3177 41.8097 95.1742 42.1736 95.1742 42.5835H95.1776ZM93.91 41.1801H93.473V43.9475H93.91V41.1801ZM92.2487 43.7442L92.122 43.4131C91.9251 43.5245 91.6983 43.5967 91.4581 43.5967C90.8644 43.5967 90.5041 43.154 90.5041 42.5605C90.5041 41.9966 90.8543 41.5309 91.4882 41.5309C91.755 41.5309 91.9685 41.5965 92.1853 41.731L92.1953 41.3113C92.0386 41.226 91.7884 41.1571 91.4815 41.1571C90.6041 41.1571 90.0271 41.7933 90.0271 42.5966C90.0271 43.3999 90.5341 43.9869 91.3914 43.9869C91.6783 43.9869 91.9618 43.918 92.2487 43.7475V43.7442ZM88.9463 43.7475L88.8195 43.4163C88.6227 43.5278 88.3958 43.6 88.1557 43.6C87.5619 43.6 87.2016 43.1573 87.2016 42.5638C87.2016 41.9998 87.5519 41.5342 88.1857 41.5342C88.4525 41.5342 88.666 41.5998 88.8862 41.7342L88.8929 41.3145C88.7394 41.2293 88.4859 41.1604 88.1824 41.1604C87.305 41.1604 86.7279 41.7965 86.7279 42.5999C86.7279 43.4032 87.2316 43.9902 88.089 43.9902C88.3725 43.9902 88.656 43.9213 88.9463 43.7508V43.7475ZM85.4436 42.9507V41.1867H85.0066V42.9475C85.0066 43.1475 84.9666 43.3147 84.8499 43.436C84.7465 43.5508 84.5797 43.6164 84.3362 43.6164C84.1193 43.6164 83.9592 43.5508 83.8558 43.436C83.7357 43.3049 83.679 43.1147 83.679 42.9245V41.1867H83.2453V42.9442C83.2453 43.2327 83.3087 43.5311 83.5155 43.7278C83.6857 43.8951 83.9525 43.9902 84.3295 43.9902C84.7264 43.9902 85 43.882 85.1834 43.6951C85.3636 43.5114 85.447 43.2458 85.447 42.9507H85.4436ZM81.4106 42.0031C81.4106 42.2687 81.2005 42.4851 80.9169 42.4851H80.6567V41.567H80.9069C81.2639 41.567 81.4106 41.7638 81.4106 42.0031ZM82.1745 43.9508L82.1429 43.8985L82.1427 43.8982L82.1427 43.8982C81.7297 43.2153 81.4479 42.7492 81.3406 42.6917C81.6108 42.5802 81.8576 42.3343 81.8576 41.9572C81.8576 41.5342 81.5974 41.1867 80.9036 41.1867H80.2164V43.9508H80.6534V42.8294H80.9103C81.0071 42.8554 81.1841 43.1505 81.5183 43.708C81.564 43.784 81.6125 43.865 81.6642 43.9508H82.1712H82.1745ZM79.1022 41.1867H76.984V41.5605H77.7813V43.9508H78.2249V41.5605H78.9822L79.1022 41.1867ZM75.9666 43.2245C75.9657 42.754 75.5947 42.5496 75.2648 42.3679C75.0004 42.2222 74.7623 42.091 74.7623 41.849C74.7623 41.6293 74.9592 41.5309 75.196 41.5309C75.4328 41.5309 75.6363 41.6064 75.8265 41.7211V41.3113C75.6864 41.2358 75.4695 41.1604 75.176 41.1604C74.6189 41.1604 74.312 41.4949 74.312 41.8982C74.312 42.1113 74.3854 42.2687 74.4988 42.3933C74.6324 42.543 74.8196 42.646 74.996 42.7429C75.2599 42.888 75.4996 43.0198 75.4996 43.2753C75.4996 43.5245 75.236 43.6229 75.0092 43.6229C74.749 43.6229 74.5322 43.5147 74.3954 43.4196L74.2119 43.7508C74.3887 43.8656 74.6489 43.9869 75.0259 43.9869C75.5557 43.9869 75.9656 43.6892 75.9666 43.2245ZM72.9543 43.9475V41.1834H72.5173V42.8458C72.5173 42.9455 72.5208 43.0452 72.524 43.1362L72.524 43.1366C72.5253 43.1712 72.5264 43.2045 72.5273 43.236H72.5173C72.4573 43.1212 72.3806 43.0163 72.2305 42.8196L70.9829 41.1834H70.5392V43.9475H70.9729V42.2097C70.9729 42.072 70.9729 41.9408 70.9662 41.849H70.9729C71.0396 41.9605 71.1163 42.072 71.2497 42.2458L72.5474 43.9475H72.9543ZM68.8046 42.5802C68.8046 43.2229 68.431 43.6164 67.8806 43.6164C67.3301 43.6164 66.9532 43.2229 66.9532 42.5802C66.9532 41.9375 67.3235 41.5408 67.8806 41.5408C68.4376 41.5408 68.8046 41.9605 68.8046 42.5802ZM66.4862 42.5868C66.4862 43.0229 66.643 43.3934 66.9198 43.6491C67.1634 43.8688 67.4903 43.9869 67.8806 43.9869C68.2708 43.9869 68.6278 43.8524 68.878 43.6032C69.1348 43.3508 69.2749 42.9868 69.2749 42.5704C69.2749 42.1802 69.1548 41.8392 68.9313 41.59C68.6811 41.3178 68.3175 41.1571 67.8839 41.1571C67.4769 41.1571 67.13 41.308 66.8831 41.5572C66.633 41.8129 66.4895 42.1769 66.4895 42.5868H66.4862ZM65.4087 43.7475L65.2819 43.4163C65.0851 43.5278 64.8583 43.6 64.6148 43.6C64.021 43.6 63.6607 43.1573 63.6607 42.5638C63.6607 41.9998 64.011 41.5342 64.6415 41.5342C64.9083 41.5342 65.1218 41.5998 65.342 41.7342L65.3487 41.3145C65.1952 41.2293 64.9417 41.1604 64.6381 41.1604C63.7608 41.1604 63.1837 41.7965 63.1837 42.5999C63.1837 43.4032 63.6874 43.9902 64.5447 43.9902C64.8283 43.9902 65.1152 43.9213 65.402 43.7508L65.4087 43.7475ZM59.4843 42.8786H58.7437L59.0139 42.1343C59.064 42.0031 59.0973 41.8949 59.124 41.7965H59.1274C59.144 41.8851 59.1807 41.9998 59.2274 42.1376L59.4843 42.8753V42.8786ZM60.375 43.9541L59.2841 41.1801H58.9773L57.9098 43.9541H58.3434L58.6036 43.2491H59.6244L59.9013 43.9541H60.375ZM57.0258 43.9508V43.5737H56.015V41.1867H55.5814V43.9508H57.0258ZM52.4791 43.9541V43.5737H51.4416V42.7245H52.339V42.3474H51.4416V41.5605H52.339L52.4724 41.1867H51.0013V43.9508H52.4757L52.4791 43.9541ZM49.2734 42.5507C49.2734 43.0917 48.9898 43.5737 48.2259 43.5737H47.9023V41.567H48.2259C48.9364 41.567 49.2734 41.9867 49.2734 42.5507ZM49.737 42.5409C49.737 41.7506 49.2367 41.1867 48.2192 41.1867H47.462V43.9508H48.2026C49.2 43.9508 49.7404 43.3508 49.7404 42.5376L49.737 42.5409ZM43.6225 42.8753H42.8819L43.1555 42.131C43.2055 41.9998 43.2389 41.8916 43.2655 41.7933H43.2689C43.2856 41.8818 43.3223 41.9966 43.369 42.1343L43.6258 42.872L43.6225 42.8753ZM44.5131 43.9508L43.419 41.1768H43.1154L42.048 43.9508H42.485L42.7452 43.2458H43.7659L44.0428 43.9508H44.5131ZM40.9004 43.9508V41.1867H40.4635V42.8491C40.4635 42.9868 40.4668 43.1245 40.4735 43.2393H40.4635C40.4001 43.1245 40.3267 43.0196 40.1732 42.8229L38.9256 41.1867H38.4853V43.9508H38.919V42.213C38.919 42.0753 38.919 41.9441 38.909 41.8523H38.919C38.9857 41.9638 39.0624 42.0753 39.1958 42.249L40.4935 43.9508H40.9004ZM37.191 43.9508V43.9475H37.1944L37.191 43.9508ZM37.191 43.9475V43.5705H36.1536V42.7212H37.0509V42.3441H36.1536V41.5572H37.0542L37.1877 41.1834H35.7166V43.9475H37.191ZM34.5691 43.9508V43.9475H34.5724L34.5691 43.9508ZM34.5691 43.9475V43.5705H33.5616V41.1834H33.128V43.9475H34.5691ZM31.7203 41.1867H31.2833V43.9541H31.7203V41.1867ZM29.8756 43.9508V41.1867H29.4386V42.354H28.0442V41.1867H27.6072V43.9508H28.0442V42.7376H29.4386V43.9508H29.8756ZM26.383 43.7508L26.2562 43.4196C26.0627 43.5311 25.8326 43.6032 25.5924 43.6032C24.9986 43.6032 24.6383 43.1606 24.6383 42.5671C24.6383 42.0031 24.9886 41.5375 25.6191 41.5375C25.8859 41.5375 26.0994 41.6031 26.3196 41.7375L26.3296 41.3178C26.1728 41.2326 25.9226 41.1637 25.6191 41.1637C24.7384 41.1637 24.1646 41.7998 24.1646 42.6032C24.1646 43.4065 24.6684 43.9934 25.5257 43.9934C25.8092 43.9934 26.0927 43.9246 26.383 43.7541V43.7508ZM20.4652 42.8819H19.7247L19.9949 42.1376C20.0449 42.0064 20.0783 41.8982 20.105 41.7998H20.1116C20.1283 41.8884 20.165 42.0031 20.2117 42.1408L20.4686 42.8786L20.4652 42.8819ZM21.3559 43.9574L20.2651 41.1834H19.9615L18.8941 43.9574H19.331L19.5912 43.2524H20.6087L20.8855 43.9574H21.3559ZM17.2428 42.0097C17.2428 42.2753 17.0327 42.4917 16.7491 42.4917H16.4889V41.5736H16.7391C17.096 41.5736 17.2428 41.7703 17.2428 42.0097ZM18.0101 43.9574L17.9039 43.783L17.9039 43.783L17.9038 43.7828L17.9037 43.7827L17.9037 43.7826L17.9036 43.7825C17.5288 43.1666 17.2766 42.7523 17.1728 42.6983C17.443 42.5868 17.6898 42.3408 17.6898 41.9638C17.6898 41.5408 17.4263 41.1932 16.7358 41.1932H16.0486V43.9574H16.4856V42.836H16.7424C16.836 42.8618 17.0115 43.1546 17.343 43.7076C17.3898 43.7856 17.4398 43.8689 17.493 43.9574H18.0034H18.0101ZM14.0171 42.8819H13.2765L13.5467 42.1376C13.5968 42.0064 13.6301 41.8982 13.6568 41.7998H13.6635C13.6802 41.8884 13.7169 42.0031 13.7636 42.1408L14.0204 42.8786L14.0171 42.8819ZM14.9077 43.9574L13.8169 41.1834H13.51L12.4426 43.9574H12.8762L13.1364 43.2524H14.1572L14.4307 43.9574H14.9044H14.9077ZM11.2951 43.9574V41.1932H10.8714L10.1242 42.3605C10.0475 42.4818 10.0041 42.5671 9.96406 42.6458H9.96073C9.9207 42.5638 9.86732 42.4818 9.79394 42.3704L8.99334 41.1932H8.57636V43.9574H9.01002V42.1867C9.01002 42.0949 9.01002 42.0228 8.99668 41.9015H9.00668C9.0488 41.9946 9.09507 42.0653 9.13402 42.1248C9.14443 42.1407 9.15432 42.1558 9.16347 42.1703L9.84397 43.1671H10.0741L10.7013 42.1835C10.7114 42.1661 10.7238 42.1461 10.7373 42.1241C10.7776 42.059 10.8281 41.9775 10.8581 41.9015H10.8647C10.8581 42.0195 10.8581 42.0949 10.8581 42.1966V43.9574H11.2917H11.2951ZM6.54485 42.8819H5.8043L6.0745 42.1376C6.12454 42.0064 6.15789 41.8982 6.18458 41.7998H6.18792C6.20105 41.8695 6.22865 41.9555 6.26096 42.0561C6.26969 42.0833 6.27877 42.1115 6.28799 42.1408L6.54485 42.8786V42.8819ZM7.43551 43.9574L6.3447 41.1834H6.0378L4.97034 43.9574H5.404L5.66419 43.2524H6.68829L6.96183 43.9574H7.43551ZM3.92623 43.7574L3.79947 43.4262C3.60266 43.5377 3.37582 43.6098 3.13231 43.6098C2.53853 43.6098 2.17826 43.1671 2.17826 42.5737C2.17826 42.0097 2.53186 41.5441 3.16233 41.5441C3.42919 41.5441 3.64269 41.6096 3.85951 41.7441L3.86952 41.3244C3.71274 41.2391 3.46255 41.1703 3.15899 41.1703C2.27834 41.1703 1.70458 41.8064 1.70458 42.6097C1.70458 43.4131 2.21162 44 3.06559 44C3.34913 44 3.63268 43.9311 3.9229 43.7606L3.92623 43.7574ZM6.58834 7.32846C6.58834 5.65776 5.27193 4.93153 4.10041 4.28524C3.16122 3.76711 2.31516 3.30036 2.31516 2.43954C2.31516 1.66243 3.01568 1.31158 3.85631 1.31158C4.69693 1.31158 5.41747 1.58373 6.09131 1.99032L6.10131 0.534469C5.60094 0.268874 4.82703 0 3.78626 0C1.80812 0 0.713967 1.19026 0.713967 2.61988C0.713967 3.37732 0.977497 3.92819 1.38113 4.37412C1.85512 4.90566 2.5183 5.27067 3.14328 5.61465C4.07974 6.13008 4.93044 6.5983 4.93044 7.5088C4.93044 8.39412 3.99308 8.74825 3.18914 8.74825C2.26846 8.74825 1.49788 8.36789 1.00752 8.02688L0.353699 9.20074C0.977497 9.60733 1.90152 10.0434 3.24585 10.0434C5.13393 10.0434 6.58834 8.98433 6.58834 7.33174V7.32846ZM56.1552 0.111287V9.9252H56.1485H54.6073V3.67551C54.6073 3.31483 54.6073 3.04923 54.634 2.62625H54.6073C54.5031 2.90811 54.3153 3.208 54.1681 3.44297C54.127 3.50868 54.089 3.56931 54.0569 3.62305L51.8286 7.11841H51.018L48.6062 3.5837C48.5736 3.53234 48.5391 3.47976 48.5032 3.42502L48.5024 3.42378L48.5023 3.42363C48.3618 3.20959 48.1996 2.96246 48.0458 2.62625H48.0158C48.0591 3.05907 48.0591 3.31483 48.0591 3.63944V9.9252H46.518V0.111287H48.0024L50.8445 4.2854C51.1081 4.68215 51.2882 4.96414 51.435 5.25925H51.4483C51.5851 4.98053 51.7419 4.68215 52.0121 4.24933L54.6574 0.111287H56.1552ZM80.2398 1.53455C79.3658 0.567259 78.0748 0 76.527 0C75.0859 0 73.855 0.534469 72.9777 1.41979C72.0837 2.33134 71.5833 3.61669 71.5833 5.06926C71.5833 6.61365 72.1471 7.93179 73.1245 8.84334C73.9851 9.62045 75.1426 10.0369 76.5237 10.0369C77.9047 10.0369 79.169 9.55487 80.0563 8.67939C80.9637 7.78424 81.4674 6.49233 81.4674 5.01024C81.4674 3.61996 81.037 2.41659 80.2331 1.53127L80.2398 1.53455ZM76.527 8.7253C74.5522 8.7253 73.2312 7.32846 73.2312 5.04959C73.2312 2.77072 74.5555 1.35421 76.527 1.35421C78.4985 1.35421 79.8095 2.84285 79.8095 5.04959C79.8095 7.25632 78.4918 8.7253 76.527 8.7253ZM99.1812 4.28524C100.353 4.93153 101.669 5.65776 101.669 7.32846V7.33174C101.669 8.98433 100.215 10.0434 98.3266 10.0434C96.9823 10.0434 96.0583 9.60733 95.4345 9.20074L96.0883 8.02688C96.5786 8.36789 97.3492 8.74825 98.2699 8.74825C99.0738 8.74825 100.011 8.39412 100.011 7.5088C100.011 6.5983 99.1605 6.13008 98.224 5.61465C97.5991 5.27067 96.9359 4.90566 96.4619 4.37412C96.0583 3.92819 95.7947 3.37732 95.7947 2.61988C95.7947 1.19026 96.8889 0 98.867 0C99.9078 0 100.682 0.268874 101.182 0.534469L101.172 1.99032C100.498 1.58373 99.7777 1.31158 98.9371 1.31158C98.0964 1.31158 97.3959 1.66243 97.3959 2.43954C97.3959 3.30036 98.242 3.76711 99.1812 4.28524Z",fill:"white"})}),FP=e=>b.jsx("svg",{...e,width:"27",height:"26",viewBox:"0 0 27 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.51904 6.8528C5.41069 7.55247 6.38175 8.15527 7.41652 8.6454C7.73617 6.9114 8.24316 5.34191 8.8977 4.03285C9.16616 3.49593 9.46748 2.98891 9.79965 2.52732C7.62464 3.39258 5.78245 4.91598 4.51904 6.8528ZM13.9626 0C9.10069 0 4.86333 2.66943 2.63428 6.61847C1.56978 8.50438 0.962646 10.6826 0.962646 13C0.962646 14.1224 1.1051 15.2128 1.37335 16.2536C2.81792 21.8583 7.90551 26 13.9626 26C20.0198 26 25.1074 21.8583 26.5519 16.2536C26.8202 15.2128 26.9626 14.1224 26.9626 13C26.9626 10.6826 26.3555 8.50438 25.291 6.61847C23.062 2.66943 18.8246 0 13.9626 0ZM13.9626 1.73333C12.7925 1.73333 11.4998 2.70445 10.448 4.80802C9.83203 6.04004 9.34812 7.57614 9.05977 9.30952C10.5988 9.82936 12.2476 10.1111 13.9626 10.1111C15.6777 10.1111 17.3265 9.82936 18.8655 9.30952C18.5772 7.57614 18.0933 6.04003 17.4773 4.80802C16.4255 2.70445 15.1328 1.73333 13.9626 1.73333ZM20.5088 8.6454C20.1891 6.9114 19.6821 5.34191 19.0276 4.03285C18.7591 3.49593 18.4578 2.98891 18.1256 2.52732C20.3007 3.39258 22.1428 4.91598 23.4063 6.8528C22.5146 7.55247 21.5435 8.15526 20.5088 8.6454ZM19.0828 11.0618C17.4665 11.5702 15.7464 11.8444 13.9626 11.8444C12.1789 11.8444 10.4588 11.5702 8.8425 11.0618C8.7901 11.6905 8.76265 12.338 8.76265 13C8.76265 14.6948 8.94252 16.294 9.26052 17.7276C10.7793 18.0373 12.3518 18.2 13.9626 18.2C15.5735 18.2 17.146 18.0373 18.6648 17.7276C18.9828 16.294 19.1626 14.6948 19.1626 13C19.1626 12.338 19.1352 11.6905 19.0828 11.0618ZM20.5246 17.2677C20.7661 15.9272 20.896 14.49 20.896 13C20.896 12.123 20.851 11.2642 20.7647 10.4328C22.0102 9.89012 23.1782 9.20305 24.2475 8.39279C24.8783 9.79852 25.2293 11.3574 25.2293 13C25.2293 13.8458 25.1363 14.669 24.9601 15.4601C23.5605 16.2068 22.076 16.8154 20.5246 17.2677ZM18.1447 19.5868C16.7844 19.8147 15.3872 19.9333 13.9626 19.9333C12.538 19.9333 11.1409 19.8147 9.78055 19.5868C9.97956 20.1654 10.2034 20.7027 10.448 21.192C11.4998 23.2955 12.7925 24.2667 13.9626 24.2667C15.1328 24.2667 16.4255 23.2955 17.4773 21.192C17.7219 20.7027 17.9457 20.1654 18.1447 19.5868ZM18.1258 23.4725C18.4579 23.0109 18.7592 22.504 19.0276 21.9671C19.4434 21.1356 19.7996 20.199 20.0861 19.1819C21.499 18.8281 22.8646 18.3548 24.1715 17.7732C22.9597 20.3604 20.7931 22.4112 18.1258 23.4725ZM9.79949 23.4725C9.46739 23.0109 9.16611 22.504 8.8977 21.9671C8.48193 21.1356 8.12569 20.199 7.83919 19.1819C6.42632 18.8281 5.06069 18.3548 3.7538 17.7732C4.96558 20.3604 7.13217 22.4112 9.79949 23.4725ZM2.96517 15.4601C4.36484 16.2068 5.84934 16.8154 7.40067 17.2677C7.15917 15.9272 7.02931 14.49 7.02931 13C7.02931 12.123 7.0743 11.2642 7.16056 10.4328C5.91509 9.89013 4.74704 9.20305 3.67774 8.39279C3.04699 9.79852 2.69598 11.3574 2.69598 13C2.69598 13.8458 2.78903 14.669 2.96517 15.4601Z",fill:"white"})}),BP=e=>b.jsx("svg",{...e,width:"27",height:"28",viewBox:"0 0 27 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b.jsx("path",{d:"M24.9977 0.00021225V0.00182368H1.99191C0.904799 -0.0116049 0.0134658 0.890794 0 2.01825C0 2.01987 0 2.02148 0 2.02255V25.9791C0.0129479 27.1076 0.904281 28.0116 1.99242 27.9998H24.9977C26.0885 28.0149 26.985 27.1103 27 25.9791V2.01825C26.9845 0.887571 26.0879 -0.015902 24.9977 0.00021225ZM8.00698 23.859H4.00246V10.497H8.0075V23.859H8.00698ZM8.32757 6.26221C8.32757 7.59218 7.28811 8.66968 6.00627 8.67022C4.72391 8.67022 3.68445 7.59271 3.68394 6.26275C3.68394 4.93279 4.72288 3.85474 6.00524 3.85421C7.2876 3.85421 8.32705 4.93171 8.32757 6.26168V6.26221ZM19.0044 23.8601V17.3606C19.0044 15.811 18.9775 13.8155 16.9234 13.8155C14.8694 13.8155 14.5208 15.5037 14.5208 17.2468V23.8595H10.5204V10.497H14.3608V12.3233H14.4126C15.1957 10.9348 16.652 10.1055 18.2022 10.1651C22.2569 10.1651 23.0048 12.9314 23.0048 16.5297V23.8595H19.0044V23.8601Z",fill:"white"})}),PP=e=>b.jsx("svg",{...e,width:"31",height:"22",viewBox:"0 0 31 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b.jsx("path",{d:"M16.2776 22H15.0334C11.4047 22 7.98328 21.9031 4.66555 21.8062C2.07358 21.6123 0.103679 19.5771 0.207358 17.1542C0.103679 15.1189 0 13.0837 0 10.9515C0 8.9163 0.103679 6.88106 0.207358 4.84581C0.103679 2.42291 2.07358 0.387665 4.66555 0.193833C7.77592 0.0969163 11.1973 0 14.9298 0H16.0702C19.8027 0 23.2241 0.0969163 26.3344 0.193833C28.9264 0.290749 30.8963 2.42291 30.7926 4.84581C30.8963 6.88106 31 8.9163 31 10.9515C31 12.9868 30.8963 15.022 30.7926 17.0573C30.8963 19.4802 28.9264 21.6123 26.3344 21.7092C23.1204 21.9031 19.8027 22 16.2776 22ZM12.5452 5.3304V16.5727L21.3579 10.9515L12.5452 5.3304Z",fill:"white"})}),LP=re.div`
|
|
1387
|
-
& > span {
|
|
1388
|
-
background: #939799;
|
|
1389
|
-
height: 16px;
|
|
1390
|
-
display: block;
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
position: relative;
|
|
1394
|
-
z-index: 0;
|
|
1395
|
-
padding-top: 100px;
|
|
1396
|
-
`,NP=re.div`
|
|
1397
|
-
background: #464646;
|
|
1398
|
-
min-height: 116px;
|
|
1399
|
-
display: flex;
|
|
1400
|
-
align-items: center;
|
|
1401
|
-
padding-top: 40px;
|
|
1402
|
-
padding-bottom: 40px;
|
|
1403
|
-
|
|
1404
|
-
img,
|
|
1405
|
-
svg {
|
|
1406
|
-
cursor: pointer;
|
|
1407
|
-
}
|
|
1408
|
-
|
|
1409
|
-
.mobile-btn {
|
|
1410
|
-
display: none;
|
|
1411
|
-
}
|
|
1412
|
-
.desktop-btn {
|
|
1413
|
-
display: flex;
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
@media (max-width: 768px) {
|
|
1417
|
-
display: block;
|
|
1418
|
-
.mobile-btn {
|
|
1419
|
-
display: flex;
|
|
1420
|
-
}
|
|
1421
|
-
.desktop-btn {
|
|
1422
|
-
display: none;
|
|
1423
|
-
}
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
|
-
button {
|
|
1427
|
-
color: white;
|
|
1428
|
-
background-color: transparent;
|
|
1429
|
-
border: solid 1px white;
|
|
1430
|
-
display: flex;
|
|
1431
|
-
padding: 14px 20px;
|
|
1432
|
-
align-items: center;
|
|
1433
|
-
border-radius: 32px;
|
|
1434
|
-
font-size: 16px;
|
|
1435
|
-
margin-left: auto;
|
|
1436
|
-
transition: 0.2s;
|
|
1437
|
-
|
|
1438
|
-
&:hover {
|
|
1439
|
-
background-color: white;
|
|
1440
|
-
color: ${nt.primary};
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
svg {
|
|
1444
|
-
transition: 0.2s;
|
|
1445
|
-
margin-right: 10px;
|
|
1446
|
-
}
|
|
1447
|
-
}
|
|
1448
|
-
`,IP={img:"m-auto my-8 md:m-0 md:mr-[40px]"},_6=T.memo(()=>{const{loading:e}=al(),t=T.useCallback((r,i)=>{window.gtag&&window.gtag("event",`Click ${i}`,{event_category:"Redes Sociales",event_label:i}),window.open(r,"_blank")},[]),n=T.useCallback(()=>{window.gtag&&window.gtag("event","Click Mesa Ayuda",{event_category:"Footer Mesa de Ayuda",event_label:"Mesa de Ayuda"}),window.location.href="mailto:soporte@ccc.cl"},[]);return b.jsx(b.Fragment,{children:e||b.jsxs(LP,{children:[b.jsxs(NP,{className:"px-16",children:[b.jsxs(Un,{size:"xl",variant:"quaternary",className:"mobile-btn m-auto w-full justify-center",onClick:()=>n(),children:[b.jsx(K3,{className:"w-6 h-6"}),b.jsx("span",{children:"Mesa de Ayuda"})]}),b.jsx(TP,{className:IP.img,onClick:()=>t("https://www.ccc.cl","Pagina Web CCC")}),b.jsxs(d0,{justifyContent:"center",alignItems:"center",gap:10,children:[b.jsx(FP,{onClick:()=>t("https://www.ccc.cl","Pagina Web CCC")}),b.jsx(BP,{onClick:()=>t("https://www.linkedin.com/company/otic-c-mara-chilena-de-la-construcci-n/?originalSubdomain=cl","Logo LinkedIn")}),b.jsx(PP,{onClick:()=>t("https://www.youtube.com/channel/UCxHlCqIZxdhQvNVuyFr3NYQ","Logo Youtube")})]}),b.jsxs(Un,{size:"xl",variant:"quaternary",className:"desktop-btn",onClick:n,children:[b.jsx(K3,{className:"w-6 h-6"}),b.jsx("span",{children:"Mesa de Ayuda"})]})]}),b.jsx("span",{})]})})}),MP=({user:e,allow:t,system:n=S6})=>{var a,l;const r=(a=e==null?void 0:e.systems)==null?void 0:a.find(c=>c.name===n),i=(l=r==null?void 0:r.functions)==null?void 0:l.filter(c=>{const u=c.key;return t==null?void 0:t.includes(u)});return(i==null?void 0:i.length)===(t==null?void 0:t.length)},$P=({user:e,passport:t,systems:n})=>{var i;const r=(i=e==null?void 0:e.systems)==null?void 0:i.filter(a=>n==null?void 0:n.includes(a.name));return t?(r==null?void 0:r.length)===(n==null?void 0:n.length):!1},S6="Integra Negocio",kc=T.memo(({allow:e,system:t,passport:n,systems:r,children:i,inject:a})=>{var c,u;const l=T.useMemo(()=>{var d;return(d=a==null?void 0:a.systems)==null?void 0:d.find(f=>f.name===t)},[a,t]);if(a){const d=(c=l==null?void 0:l.functions)==null?void 0:c.filter(f=>{const m=f.key;return e==null?void 0:e.includes(m)});if(n){const f=(u=a==null?void 0:a.systems)==null?void 0:u.filter(m=>r==null?void 0:r.includes(m.name));return b.jsx(b.Fragment,{children:(f==null?void 0:f.length)===(r==null?void 0:r.length)?i:null})}return b.jsx(b.Fragment,{children:(d==null?void 0:d.length)===(e==null?void 0:e.length)?i:null})}return b.jsx(Va.Consumer,{children:d=>{var g,w,x,v,S;const f=(w=(g=d==null?void 0:d.user)==null?void 0:g.systems)==null?void 0:w.find(C=>C.name===t),m=(x=f==null?void 0:f.functions)==null?void 0:x.filter(C=>{const E=C.key;return e==null?void 0:e.includes(E)}),h=(S=(v=d==null?void 0:d.user)==null?void 0:v.systems)==null?void 0:S.filter(C=>r==null?void 0:r.includes(C.name));return n?b.jsx(b.Fragment,{children:(h==null?void 0:h.length)===(r==null?void 0:r.length)?i:null}):b.jsx(b.Fragment,{children:(m==null?void 0:m.length)===(e==null?void 0:e.length)?b.jsx(b.Fragment,{children:i}):b.jsx(b.Fragment,{children:null})})}})});kc.defaultProps={allow:[],system:S6};var Gr=(e=>(e.CAN_VIEW_CARD="CAN_VIEW_CARD",e.SEE_RENDITION="SEE_RENDITION",e.DIGIT_RENDITION="DIGIT_RENDITION",e.CAN_VIEW_MANTAINER="CAN_VIEW_MANTAINER",e.CAN_EDIT_MANTAINER="CAN_EDIT_MANTAINER",e.CAN_VIEW_MANAGEMENT="CAN_VIEW_MANAGEMENT",e.VISUALIZE_RENDITION="VISUALIZE_RENDITION",e.CAN_VIEW_ATTENDANCE="CAN_VIEW_ATTENDANCE",e.CAN_ADVANCE_PAYMENT="CAN_ADVANCE_PAYMENT",e.CAN_ASSIGN_RESPONSIBLE="CAN_ASSIGN_RESPONSIBLE",e.CAN_CREATE_INSCRIPTION="CAN_CREATE_INSCRIPTION",e.CAN_VIEW_COURSE_CONTENT="CAN_VIEW_COURSE_CONTENT",e.CAN_EDIT_COURSE_CONTENT="CAN_EDIT_COURSE_CONTENT",e.CAN_REGISTER_ATTENDANCE="CAN_REGISTER_ATTENDANCE",e.CAN_GENERATE_LIQUIDATIONS="CAN_GENERATE_LIQUIDATIONS",e.CAN_GENERATE_PURCHASE_ORDER="CAN_GENERATE_PURCHASE_ORDER",e.CAN_DOWNLOAD_PURCHASE_ORDER="CAN_DOWNLOAD_PURCHASE_ORDER",e.CAN_VIEW_FILTER_RESPONSIBLE="CAN_VIEW_FILTER_RESPONSIBLE",e.CAN_VIEW_MOVILIZATION_TRAVEL="CAN_VIEW_MOVILIZATION_TRAVEL",e.CAN_RECTIFY_COURSE_FRANCHISE="CAN_RECTIFY_COURSE_FRANCHISE",e.CAN_RECTIFY_FINANCING_ACCOUNT="CAN_RECTIFY_FINANCING_ACCOUNT",e.CAN_GENERATE_SENCE_LIQUIDATION="CAN_GENERATE_SENCE_LIQUIDATION",e.CAN_REPORT_MOVILIZATION_TRAVEL="CAN_REPORT_MOVILIZATION_TRAVEL",e.CAN_RECTIFY_COURSE_NO_FRANCHISE="CAN_RECTIFY_COURSE_NO_FRANCHISE",e.CAN_GENERATE_SENCE_COMMUNICATION="CAN_GENERATE_SENCE_COMMUNICATION",e.CAN_UPDATE_REQUIREMENTS_MANUALLY="CAN_UPDATE_REQUIREMENTS_MANUALLY",e.CAN_VIEW_SERVICE="CAN_VIEW_SERVICE",e.CAN_GENERATE_PURCHASE_ORDER_SERVICE="CAN_GENERATE_PURCHASE_ORDER_SERVICE",e.CAN_VIEW_DASHBOARD_CLIENT="CAN_VIEW_DASHBOARD_CLIENT",e.CAN_VIEW_DASHBOARD_PROVIDER="CAN_VIEW_DASHBOARD_PROVIDER",e.MAKE_ADVANCE_SERVICE="MAKE_ADVANCE_SERVICE",e.CAN_IMPORT_EXTENDED_DATA="CAN_IMPORT_EXTENDED_DATA",e.CAN_VIEW_SERVICE_PROVIDER="CAN_VIEW_SERVICE_PROVIDER",e.CAN_VIEW_SERVICE_CLIENT="CAN_VIEW_SERVICE_CLIENT",e.CAN_VIEW_CLIENT="CAN_VIEW_CLIENT",e.CAN_EDIT_SERVICE="CAN_EDIT_SERVICE",e.CAN_CREATE_SCHEDULE="CAN_CREATE_SCHEDULE",e.CAN_EDIT_PLANNED_COURSE="CAN_EDIT_PLANNED_COURSE",e.CAN_SEE_REPORT="CAN_SEE_REPORT",e.CAN_VIEW_SURVEY="CAN_VIEW_SURVEY",e.CAN_RESTRICT_COMMUNICATION="CAN_RESTRICT_COMMUNICATION",e.CAN_RESTRICT_SETTLEMENT="CAN_RESTRICT_SETTLEMENT",e))(Gr||{}),A6=(e=>(e.CAN_VIEW_MENU="MOSTRAR_MENU_LATERAL",e.CAN_CREATE_SYSTEMS="CREAR_SISTEMAS",e.CAN_UPDATE_SYSTEMS="EDITAR_SISTEMAS",e.CAN_CREATE_PROFILES="CREAR_PERFILES",e.CAN_UPDATE_PROFILES="EDITAR_PERFILES",e.CAN_CREATE_FUNCTIONS="CREAR_FUNCIONES",e.CAN_DELETE_SYSTEMS="ELIMINAR_SISTEMAS",e.CAN_VIEW_USERS_LIST="LISTADO_USUARIOS",e.CAN_TOGGLE_SYSTEMS="HABILITAR_SISTEMAS",e.CAN_DELETE_PROFILES="ELIMINAR_PERFILES",e.CAN_DELETE_FUNCTIONS="ELIMINAR_FUNCIONES",e.CAN_VIEW_SYSTEMS_LIST="LISTADO_DE_SISTEMAS",e.CAN_VIEW_PROFILES_LIST="LISTADO_DE_PERFILES",e.CAN_UPDATE_USER_INFO="EDITAR_INFORMACION_USUARIO",e.CAN_ASSIGN_TEMPORARY_PERMISSION="ASIGNAR_PERMISOS_TEMPORALES",e.CAN_DELETE_TEMPORARY_PERMISSION="ELIMINAR_PERMISOS_TEMPORALES",e.CAN_CREATE_USER="CAN_CREATE_USER",e))(A6||{});const In={content:"fixed col-span-3",container:"col-span-3 grid grid-cols-3",show:"font-normal text-base transition-all duration-700 ease-in-out",hidden:"hidden",background:"bg-transparent h-screen relative flex flex-col",backgroundSize:{open:"transition-all duration-400 ease-in-out",closed:"transition-all duration-400 ease-in-out"},list:{item:"text-sm flex items-center rounded-md mb-1",wrap:"flex items-center space-x-3 mx-1"},menu:{icon:"w-6 h-6"},separator:"max-w-[11.875rem] border-b-2 border-solid mt-4 mb-4"};var Ui=(e=>(e.SIGN="Firma Digital",e.SP_V2="Sistema de Perfilamiento v2",e.OPTIMUS="Integra Negocio",e))(Ui||{});const k6={userProfile:{baseURL:typeof process<"u"?process.env.API_URL:"https://opcoredev-bff.azurewebsites.net",endpoint:"/api/core-sap/user/profile"}},D6=T.memo(({open:e,panel:t,options:n,selected:r,onToggle:i})=>{const{session:a,user:l}=al(),[c,u]=T.useState(!0),[d,f]=T.useState(!1),m=()=>{i==null||i()},h=T.useCallback(w=>{w&&(window.location.href=w)},[]),g=T.useCallback((w,x,v=[])=>{var _;const S=(r==null?void 0:r.toLowerCase())??((_=x==null?void 0:x.location)==null?void 0:_.pathname.toLowerCase()),C=w==null?void 0:w.toLowerCase();return!v.some(D=>typeof D=="string"?S.includes(D.toLowerCase()):D instanceof RegExp?D.test(S):!1)&&S.includes(C)},[r]);return T.useEffect(()=>{var w;k6.userProfile.baseURL&&((w=l==null?void 0:l.systems)==null?void 0:w.some(v=>v.functions.some(S=>S.key===Gr.CAN_VIEW_DASHBOARD_CLIENT)))&&l&&l.enterprise&&l.enterprise.rut?ol(a,k6.userProfile,{query:{rut:l.enterprise.rut}})().then(v=>(v==null?void 0:v.result)&&f(v.result.cta2==="SI")).finally(()=>u(!1)):u(!1)},[a,l]),b.jsx(Va.Consumer,{children:w=>{if(c)return;const{history:x,environment:v}=w,S=t??[{path:v==null?void 0:v.SSO_SIGN,title:"Gestor Documental",icon:b.jsx(G3,{className:"h-6 w-6"}),rules:{passport:!0,systems:[Ui.SIGN]}},{path:v==null?void 0:v.SSO_URL,title:"Sucursal Virtual",icon:b.jsx(Aw,{className:"h-6 w-6"})}],C=n??[{path:"/dashboard",title:"Dashboard Curso",icon:b.jsx(Z3,{className:"h-6 w-6"})},{path:"/serviceDashboard",title:"Dashboard Servicio",icon:b.jsx(Z3,{className:"h-6 w-6"}),rules:{system:Ui.OPTIMUS,allow:d?[]:[Gr.CAN_VIEW_SERVICE]}},{path:"/inscriptions/course/content",title:"Contenido del Curso",icon:b.jsx(_w,{className:"h-6 w-6"}),rules:{system:Ui.OPTIMUS,allow:[Gr.CAN_VIEW_COURSE_CONTENT]}},{path:"/inscriptions",title:"Inscripciones",icon:b.jsx(zw,{className:"h-6 w-6"}),rules:{system:Ui.OPTIMUS,allow:[Gr.CAN_CREATE_INSCRIPTION]},except:["/inscriptions/course/content",/\/inscriptions\/detail\/\d+$/,"/inscriptions/extended-data"]},{path:"/communications",title:"Comunicación",icon:b.jsx(Gw,{className:"h-6 w-6"}),rules:{system:Ui.OPTIMUS,allow:[Gr.CAN_GENERATE_SENCE_COMMUNICATION]},except:["/communications/liquidations"]},{path:"/communications/liquidations",title:"Liquidación",icon:b.jsx(Jw,{className:"h-6 w-6"}),rules:{system:Ui.OPTIMUS,allow:[Gr.CAN_GENERATE_SENCE_LIQUIDATION]}},{path:"/inscriptions/extended-data",title:"Datos extendidos",icon:b.jsx(G3,{className:"h-6 w-6"}),rules:{system:Ui.OPTIMUS,allow:[Gr.CAN_IMPORT_EXTENDED_DATA]}},{path:"/coursesReport",title:"Reportes",icon:b.jsx($w,{className:"h-6 w-6"}),rules:{system:Ui.OPTIMUS,allow:[Gr.CAN_SEE_REPORT]}}];return b.jsx("div",{className:In.container,"data-testid":"tw-sidebar",children:b.jsx("div",{className:In.content,children:b.jsxs("div",{className:xe(In.background,e?In.backgroundSize.open:In.backgroundSize.closed),children:[b.jsx(Si,{marginBottom:8,children:i&&b.jsx(Un,{size:"lg",variant:"tertiary",onClick:m,"data-testid":"tw-sidebar-icon",fullWidth:!0,children:b.jsxs("div",{className:In.list.wrap,children:[b.jsx("div",{className:In.menu.icon,children:b.jsx(Cw,{})}),b.jsx("span",{className:e?In.show:In.hidden,children:"Minimizar Menú"})]})})}),b.jsx("ul",{className:"w-full",children:C==null?void 0:C.map(E=>b.jsx("li",{className:"rounded-md text-center mb-1",children:E.rules?b.jsx(kc,{inject:w==null?void 0:w.user,...E.rules,children:b.jsx(Un,{size:"lg",fullWidth:!0,tabWithHover:!0,variant:"tertiary",Icon:E==null?void 0:E.icon,activeAsTab:g(E.path,x,E.except),onClick:()=>h(E.path),className:xe(e&&In.show),children:e?E.title:null})}):b.jsx(Un,{size:"lg",fullWidth:!0,tabWithHover:!0,variant:"tertiary",Icon:E==null?void 0:E.icon,activeAsTab:g(E.path,x),onClick:()=>h(E.path),className:xe(e&&In.show),children:e?E.title:null})},E.title))}),b.jsx("div",{className:In.separator}),b.jsx("ul",{className:"w-full",children:S.map(E=>b.jsx("li",{className:In.list.item,children:E.rules?b.jsx(kc,{inject:w==null?void 0:w.user,...E.rules,children:b.jsx(Un,{size:"lg",fullWidth:!0,tabWithHover:!0,variant:"tertiary",Icon:E==null?void 0:E.icon,activeAsTab:g(E.path,x,E.except),onClick:()=>h(E.path),className:xe(e&&In.show),children:e?E.title:null})}):b.jsx(Un,{size:"lg",fullWidth:!0,tabWithHover:!0,variant:"tertiary",Icon:E==null?void 0:E.icon,activeAsTab:g(E.path,x,E.except),onClick:()=>h(E.path),className:xe(e&&In.show),children:e?E.title:null})},E.title))})]})})})}})});var HP=typeof je=="object"&&je&&je.Object===Object&&je,jP=typeof self=="object"&&self&&self.Object===Object&&self;HP||jP||Function("return this")();var RP=typeof window<"u"?T.useLayoutEffect:T.useEffect,WP=typeof window>"u";function _f(e,{defaultValue:t=!1,initializeWithValue:n=!0}={}){const r=c=>WP?t:window.matchMedia(c).matches,[i,a]=T.useState(()=>n?r(e):t);function l(){a(r(e))}return RP(()=>{const c=window.matchMedia(e);return l(),c.addListener?c.addListener(l):c.addEventListener("change",l),()=>{c.removeListener?c.removeListener(l):c.removeEventListener("change",l)}},[e]),i}const O6=()=>({isSmallMobile:_f("(max-width: 360px)"),isMediumSmallMobile:_f("(max-width: 390px)"),isXLargeMobile:_f("(max-width: 640px)")});var UP=Object.freeze({__proto__:null,get start(){return rL},get ensureJQuerySupport(){return K6},get setBootstrapMaxTime(){return XP},get setMountMaxTime(){return QP},get setUnmountMaxTime(){return JP},get setUnloadMaxTime(){return eL},get registerApplication(){return nL},get unregisterApplication(){return a8},get getMountedApps(){return t8},get getAppStatus(){return r8},get unloadApplication(){return s8},get checkActivityFunctions(){return o8},get getAppNames(){return n8},get pathToActiveWhen(){return u8},get navigateToUrl(){return Bc},get patchHistoryApi(){return Y6},get triggerAppChange(){return d8},get addErrorHandler(){return zP},get removeErrorHandler(){return VP},get mountRootParcel(){return KP},get NOT_LOADED(){return zi},get LOADING_SOURCE_CODE(){return Dc},get NOT_BOOTSTRAPPED(){return ns},get BOOTSTRAPPING(){return F6},get NOT_MOUNTED(){return Vi},get MOUNTING(){return B6},get UPDATING(){return P6},get LOAD_ERROR(){return rs},get MOUNTED(){return Kr},get UNLOADING(){return Af},get UNMOUNTING(){return L6},get SKIP_BECAUSE_BROKEN(){return bn}}),T6=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{}).CustomEvent,Sf=function(){try{var e=new T6("cat",{detail:{foo:"bar"}});return e.type==="cat"&&e.detail.foo==="bar"}catch{}return!1}()?T6:typeof document<"u"&&typeof document.createEvent=="function"?function(e,t){var n=document.createEvent("CustomEvent");return t?n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail):n.initCustomEvent(e,!1,!1,void 0),n}:function(e,t){var n=document.createEventObject();return n.type=e,t?(n.bubbles=!!t.bubbles,n.cancelable=!!t.cancelable,n.detail=t.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n};let Sl=[];function xo(e,t,n){const r=ts(e,t,n);Sl.length?Sl.forEach(i=>i(r)):setTimeout(()=>{throw r})}function zP(e){if(typeof e!="function")throw Error(Ve(28));Sl.push(e)}function VP(e){if(typeof e!="function")throw Error(Ve(29));let t=!1;return Sl=Sl.filter(n=>{const r=n===e;return t=t||r,!r}),t}function Ve(e,t,...n){return`single-spa minified message #${e}: See https://single-spa.js.org/error/?code=${e}${n.length?`&arg=${n.join("&arg=")}`:""}`}function ts(e,t,n){const r=`${Oc(t)} '${Lt(t)}' died in status ${t.status}: `;let i;if(e instanceof Error){try{e.message=r+e.message}catch{}i=e}else{console.warn(Ve(30,!1,t.status,Lt(t)));try{i=Error(r+JSON.stringify(e))}catch{i=e}}return i.appOrParcelName=Lt(t),t.status=n,i}const zi="NOT_LOADED",Dc="LOADING_SOURCE_CODE",ns="NOT_BOOTSTRAPPED",F6="BOOTSTRAPPING",Vi="NOT_MOUNTED",B6="MOUNTING",Kr="MOUNTED",P6="UPDATING",L6="UNMOUNTING",Af="UNLOADING",rs="LOAD_ERROR",bn="SKIP_BECAUSE_BROKEN";function qP(e){return e.status===Kr}function kf(e){try{return e.activeWhen(window.location)}catch(t){return xo(t,e,bn),!1}}function Lt(e){return e.name}function N6(e){return!!e.unmountThisParcel}function Oc(e){return N6(e)?"parcel":"application"}function Al(){for(let e=arguments.length-1;e>0;e--)for(let t in arguments[e])t!=="__proto__"&&(arguments[e-1][t]=arguments[e][t]);return arguments[0]}function kl(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n];return null}function ea(e){return e&&(typeof e=="function"||(t=e,Array.isArray(t)&&!kl(t,n=>typeof n!="function")));var t}function bo(e,t){let n=e[t]||[];n=Array.isArray(n)?n:[n],n.length===0&&(n=[()=>Promise.resolve()]);const r=Oc(e),i=Lt(e);return function(a){return n.reduce((l,c,u)=>l.then(()=>{const d=c(a);return I6(d)?d:Promise.reject(Ve(15,!1,r,i,t,u))}),Promise.resolve())}}function I6(e){return e&&typeof e.then=="function"&&typeof e.catch=="function"}let YP=[];function Df(e,t){return Promise.resolve().then(()=>e.status!==ns?e:(e.status=F6,e.bootstrap?Dl(e,"bootstrap").then(n).catch(r=>{if(t)throw ts(r,e,bn);return xo(r,e,bn),e}):Promise.resolve().then(n)));function n(){return e.status=Vi,e}}function Tc(e,t){return Promise.resolve().then(()=>{if(e.status!==Kr)return e;e.status=L6;const n=Object.keys(e.parcels).map(i=>e.parcels[i].unmountThisParcel());return Promise.all(n).then(r,i=>r().then(()=>{const a=Error(i.message);if(t)throw ts(a,e,bn);xo(a,e,bn)})).then(()=>e);function r(){return Dl(e,"unmount").then(()=>{e.status=Vi},i=>{if(t)throw ts(i,e,bn);xo(i,e,bn)})}})}let M6=!1,$6=!1;function Of(e,t){return Promise.resolve().then(()=>e.status!==Vi?e:(M6||(window.dispatchEvent(new Sf("single-spa:before-first-mount")),M6=!0),e.status=B6,Dl(e,"mount").then(()=>(e.status=Kr,$6||(window.dispatchEvent(new Sf("single-spa:first-mount")),$6=!0),e)).catch(n=>{return e.status=Kr,Tc(e,!0).then(r,r);function r(){if(t)throw ts(n,e,bn);return xo(n,e,bn),e}})))}let ZP=0;const GP={parcels:{}};function KP(){return H6.apply(GP,arguments)}function H6(e,t){const n=this;if(!e||typeof e!="object"&&typeof e!="function")throw Error(Ve(2));if(e.name&&typeof e.name!="string")throw Error(Ve(3,!1,typeof e.name));const r=ZP++;let i=e.name||`parcel-${r}`;if(typeof t!="object")throw Error(Ve(4,!1,i,typeof t));if(!t.domElement)throw Error(Ve(5,!1,i));const a=typeof e=="function",l=a?e:()=>Promise.resolve(e),c={id:r,parcels:{},status:a?Dc:ns,customProps:t,parentName:Lt(n),unmountThisParcel:()=>m.then(()=>{if(c.status!==Kr)throw Error(Ve(6,!1,i,c.status));return Tc(c,!0)}).then(x=>(c.parentName&&delete n.parcels[c.id],x)).then(x=>(h(x),x)).catch(x=>{throw c.status=bn,g(x),x})};let u;n.parcels[r]=c;let d=l();if(!d||typeof d.then!="function")throw Error(Ve(7));d=d.then(x=>{if(!x)throw Error(Ve(8));if(i=x.name||`parcel-${r}`,Object.prototype.hasOwnProperty.call(x,"bootstrap")&&!ea(x.bootstrap))throw Error(Ve(9,!1,i));if(!ea(x.mount))throw Error(Ve(10,!1,i));if(!ea(x.unmount))throw Error(Ve(11,!1,i));if(x.update&&!ea(x.update))throw Error(Ve(12,!1,i));const v=bo(x,"bootstrap"),S=bo(x,"mount"),C=bo(x,"unmount");c.status=ns,c.name=i,c.bootstrap=v,c.mount=S,c.unmount=C,c.timeouts=R6(x.timeouts),x.update&&(c.update=bo(x,"update"),u.update=function(E){return c.customProps=E,ta((_=c,Promise.resolve().then(()=>{if(_.status!==Kr)throw Error(Ve(32,!1,Lt(_)));return _.status=P6,Dl(_,"update").then(()=>(_.status=Kr,_)).catch(D=>{throw ts(D,_,bn)})})));var _})});const f=d.then(()=>Df(c,!0)),m=f.then(()=>Of(c,!0));let h,g;const w=new Promise((x,v)=>{h=x,g=v});return u={mount:()=>ta(Promise.resolve().then(()=>{if(c.status!==Vi)throw Error(Ve(13,!1,i,c.status));return n.parcels[r]=c,Of(c)})),unmount:()=>ta(c.unmountThisParcel()),getStatus:()=>c.status,loadPromise:ta(d),bootstrapPromise:ta(f),mountPromise:ta(m),unmountPromise:ta(w)},u}function ta(e){return e.then(()=>null)}function j6(e){const t=Lt(e);let n=typeof e.customProps=="function"?e.customProps(t,window.location):e.customProps;(typeof n!="object"||n===null||Array.isArray(n))&&(n={},console.warn(Ve(40),t,n));const r=Al({},n,{name:t,mountParcel:H6.bind(e),singleSpa:UP});return N6(e)&&(r.unmountSelf=e.unmountThisParcel),r}const is={bootstrap:{millis:4e3,dieOnTimeout:!1,warningMillis:1e3},mount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unmount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unload:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},update:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3}};function XP(e,t,n){if(typeof e!="number"||e<=0)throw Error(Ve(16));is.bootstrap={millis:e,dieOnTimeout:t,warningMillis:n||1e3}}function QP(e,t,n){if(typeof e!="number"||e<=0)throw Error(Ve(17));is.mount={millis:e,dieOnTimeout:t,warningMillis:n||1e3}}function JP(e,t,n){if(typeof e!="number"||e<=0)throw Error(Ve(18));is.unmount={millis:e,dieOnTimeout:t,warningMillis:n||1e3}}function eL(e,t,n){if(typeof e!="number"||e<=0)throw Error(Ve(19));is.unload={millis:e,dieOnTimeout:t,warningMillis:n||1e3}}function Dl(e,t){const n=e.timeouts[t],r=n.warningMillis,i=Oc(e);return new Promise((a,l)=>{let c=!1,u=!1;e[t](j6(e)).then(m=>{c=!0,a(m)}).catch(m=>{c=!0,l(m)}),setTimeout(()=>f(1),r),setTimeout(()=>f(!0),n.millis);const d=Ve(31,!1,t,i,Lt(e),n.millis);function f(m){if(!c){if(m===!0)u=!0,n.dieOnTimeout?l(Error(d)):console.error(d);else if(!u){const h=m,g=h*r;console.warn(d),g+r<n.millis&&setTimeout(()=>f(h+1),r)}}}})}function R6(e){const t={};for(let n in is)t[n]=Al({},is[n],e&&e[n]||{});return t}function Tf(e){return Promise.resolve().then(()=>{if(e.loadPromise)return e.loadPromise;if(e.status!==zi&&e.status!==rs)return e;let t,n;return e.status=Dc,e.loadPromise=Promise.resolve().then(()=>{const r=e.loadApp(j6(e));if(!I6(r))throw n=!0,Error(Ve(33,!1,Lt(e)));return r.then(i=>{let a;e.loadErrorTime=null,t=i,typeof t!="object"&&(a=34),Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!ea(t.bootstrap)&&(a=35),ea(t.mount)||(a=36),ea(t.unmount)||(a=37);const l=Oc(t);if(a){let c;try{c=JSON.stringify(t)}catch{}return console.error(Ve(a,!1,l,Lt(e),c),t),xo(void 0,e,bn),e}return t.devtools&&t.devtools.overlays&&(e.devtools.overlays=Al({},e.devtools.overlays,t.devtools.overlays)),e.status=ns,e.bootstrap=bo(t,"bootstrap"),e.mount=bo(t,"mount"),e.unmount=bo(t,"unmount"),e.unload=bo(t,"unload"),e.timeouts=R6(t.timeouts),delete e.loadPromise,e})}).catch(r=>{let i;return delete e.loadPromise,n?i=bn:(i=rs,e.loadErrorTime=new Date().getTime()),xo(r,e,i),e})})}const os=typeof window<"u",Ol={hashchange:[],popstate:[]},Fc=["hashchange","popstate"];function Bc(e){let t;if(typeof e=="string")t=e;else if(this&&this.href)t=this.href;else{if(!(e&&e.currentTarget&&e.currentTarget.href&&e.preventDefault))throw Error(Ve(14));t=e.currentTarget.href,e.preventDefault()}const n=Z6(window.location.href),r=Z6(t);t.indexOf("#")===0?window.location.hash=r.hash:n.host!==r.host&&r.host?window.location.href=t:r.pathname===n.pathname&&r.search===n.search?window.location.hash=r.hash:window.history.pushState(null,null,t)}function W6(e){if(e){const t=e[0].type;Fc.indexOf(t)>=0&&Ol[t].forEach(n=>{try{n.apply(this,e)}catch(r){setTimeout(()=>{throw r})}})}}let U6;function z6(){yo([],arguments)}function V6(e,t){return function(){const n=window.location.href,r=e.apply(this,arguments),i=window.location.href;return U6&&n===i||window.dispatchEvent(tL(window.history.state,t)),r}}function tL(e,t){let n;try{n=new PopStateEvent("popstate",{state:e})}catch{n=document.createEvent("PopStateEvent"),n.initPopStateEvent("popstate",!1,!1,e)}return n.singleSpa=!0,n.singleSpaTrigger=t,n}let Ff=null,q6=!1;function Y6(e){if(q6)throw Error(Ve(43));U6=!e||!e.hasOwnProperty("urlRerouteOnly")||e.urlRerouteOnly,q6=!0,Ff=window.history.replaceState,window.addEventListener("hashchange",z6),window.addEventListener("popstate",z6);const t=window.addEventListener,n=window.removeEventListener;window.addEventListener=function(r,i){if(!(typeof i=="function"&&Fc.indexOf(r)>=0)||kl(Ol[r],a=>a===i))return t.apply(this,arguments);Ol[r].push(i)},window.removeEventListener=function(r,i){return typeof i=="function"&&Fc.indexOf(r)>=0&&(Ol[r]=Ol[r].filter(a=>a!==i)),n.apply(this,arguments)},window.history.pushState=V6(window.history.pushState,"pushState"),window.history.replaceState=V6(Ff,"replaceState")}function Z6(e){const t=document.createElement("a");return t.href=e,t}os&&(window.singleSpaNavigate?console.warn(Ve(41)):window.singleSpaNavigate=Bc);let G6=!1;function K6(e=window.jQuery){if(e||window.$&&window.$.fn&&window.$.fn.jquery&&(e=window.$),e&&!G6){const t=e.fn.on,n=e.fn.off;e.fn.on=function(r,i){return X6.call(this,t,window.addEventListener,r,i,arguments)},e.fn.off=function(r,i){return X6.call(this,n,window.removeEventListener,r,i,arguments)},G6=!0}}function X6(e,t,n,r,i){return typeof n!="string"?e.apply(this,i):(n.split(/\s+/).forEach(a=>{Fc.indexOf(a)>=0&&(t(a,r),n=n.replace(a,""))}),n.trim()===""?this:e.apply(this,i))}const as={};function Bf(e){return Promise.resolve().then(()=>{const t=as[Lt(e)];if(!t)return e;if(e.status===zi)return Q6(e,t),e;if(e.status===Af)return t.promise.then(()=>e);if(e.status!==Vi&&e.status!==rs)return e;const n=e.status===rs?Promise.resolve():Dl(e,"unload");return e.status=Af,n.then(()=>(Q6(e,t),e)).catch(r=>(function(i,a,l){delete as[Lt(i)],delete i.bootstrap,delete i.mount,delete i.unmount,delete i.unload,xo(l,i,bn),a.reject(l)}(e,t,r),e))})}function Q6(e,t){delete as[Lt(e)],delete e.bootstrap,delete e.mount,delete e.unmount,delete e.unload,e.status=zi,t.resolve()}function J6(e,t,n,r){as[Lt(e)]={app:e,resolve:n,reject:r},Object.defineProperty(as[Lt(e)],"promise",{get:t})}function e8(e){return as[e]}const Xr=[];function t8(){return Xr.filter(qP).map(Lt)}function n8(){return Xr.map(Lt)}function r8(e){const t=kl(Xr,n=>Lt(n)===e);return t?t.status:null}let i8=!1;function nL(e,t,n,r){const i=function(a,l,c,u){const d={name:null,loadApp:null,activeWhen:null,customProps:null};return typeof a=="object"?(function(m){if(Array.isArray(m)||m===null)throw Error(Ve(39));const h=["name","app","activeWhen","customProps"],g=Object.keys(m).reduce((x,v)=>h.indexOf(v)>=0?x:x.concat(v),[]);if(g.length!==0)throw Error(Ve(38,!1,h.join(", "),g.join(", ")));if(typeof m.name!="string"||m.name.length===0||typeof m.app!="object"&&typeof m.app!="function")throw Error(Ve(20));const w=x=>typeof x=="string"||typeof x=="function";if(!(w(m.activeWhen)||Array.isArray(m.activeWhen)&&m.activeWhen.every(w)))throw Error(Ve(24));if(!c8(m.customProps))throw Error(Ve(22))}(a),d.name=a.name,d.loadApp=a.app,d.activeWhen=a.activeWhen,d.customProps=a.customProps):(function(m,h,g,w){if(typeof m!="string"||m.length===0)throw Error(Ve(20));if(!h)throw Error(Ve(23));if(typeof g!="function")throw Error(Ve(24));if(!c8(w))throw Error(Ve(22))}(a,l,c,u),d.name=a,d.loadApp=l,d.activeWhen=c,d.customProps=u),d.loadApp=typeof(f=d.loadApp)!="function"?()=>Promise.resolve(f):f,d.customProps=function(m){return m||{}}(d.customProps),d.activeWhen=function(m){let h=Array.isArray(m)?m:[m];return h=h.map(g=>typeof g=="function"?g:u8(g)),g=>h.some(w=>w(g))}(d.activeWhen),d;var f}(e,t,n,r);if(Lf()||i8||(i8=!0,setTimeout(()=>{Lf()||console.warn(Ve(1))},5e3)),n8().indexOf(i.name)!==-1)throw Error(Ve(21,!1,i.name));Xr.push(Al({loadErrorTime:null,status:zi,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},i)),os&&(K6(),yo())}function o8(e=window.location){return Xr.filter(t=>t.activeWhen(e)).map(Lt)}function a8(e){if(Xr.filter(t=>Lt(t)===e).length===0)throw Error(Ve(25,!1,e));return(os?s8(e,{waitForUnmount:!1}):Promise.resolve()).then(()=>{const t=Xr.map(Lt).indexOf(e);Xr.splice(t,1)})}function s8(e,t={waitForUnmount:!1}){if(typeof e!="string")throw Error(Ve(26));const n=kl(Xr,i=>Lt(i)===e);if(!n)throw Error(Ve(27,!1,e));const r=e8(Lt(n));if(t&&t.waitForUnmount){if(r)return r.promise;{const i=new Promise((a,l)=>{J6(n,()=>i,a,l)});return i}}{let i;return r?(i=r.promise,l8(n,r.resolve,r.reject)):i=new Promise((a,l)=>{J6(n,()=>i,a,l),l8(n,a,l)}),i}}function l8(e,t,n){Promise.resolve().then(()=>{if(kl(o8(),r=>r===Lt(e)))return d8()}).then(()=>Tc(e).then(Bf).then(()=>{t(),setTimeout(()=>{yo()})})).catch(n)}function c8(e){return!e||typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)}function u8(e,t){const n=function(r,i){let a=0,l=!1,c="^";r[0]!=="/"&&(r="/"+r);for(let d=0;d<r.length;d++){const f=r[d];(!l&&f===":"||l&&f==="/")&&u(d)}return u(r.length),new RegExp(c,"i");function u(d){const f=r.slice(a,d).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(c+=l?"[^/]+/?":f,d===r.length)if(l)i&&(c+="$");else{const m=i?"":".*";c=c.charAt(c.length-1)==="/"?`${c}${m}$`:`${c}(/${m})?(#.*)?$`}l=!l,a=d}}(e,t);return r=>{let i=r.origin;i||(i=`${r.protocol}//${r.host}`);const a=r.href.replace(i,"").replace(r.search,"").split("?")[0];return n.test(a)}}let Pc=!1,Lc=[],Pf=os&&window.location.href;function d8(){return yo()}function yo(e=[],t,n=!1){if(Pc)return new Promise((v,S)=>{Lc.push({resolve:v,reject:S,eventArguments:t})});const{appsToUnload:r,appsToUnmount:i,appsToLoad:a,appsToMount:l}=function(){const v=[],S=[],C=[],E=[],_=new Date().getTime();return Xr.forEach(D=>{const A=D.status!==bn&&kf(D);switch(D.status){case rs:A&&_-D.loadErrorTime>=200&&C.push(D);break;case zi:case Dc:A&&C.push(D);break;case ns:case Vi:!A&&e8(Lt(D))?v.push(D):A&&E.push(D);break;case Kr:A||S.push(D)}}),{appsToUnload:v,appsToUnmount:S,appsToLoad:C,appsToMount:E}}();let c,u=[],d=Pf,f=Pf=window.location.href;return Lf()?(Pc=!0,c=r.concat(a,i,l),Promise.resolve().then(()=>(x(c.length===0?"before-no-app-change":"before-app-change",w(!0)),x("before-routing-event",w(!0,{cancelNavigation:m})),Promise.all(u).then(v=>{if(v.some(A=>A))return Ff.call(window.history,history.state,"",d.substring(location.origin.length)),Pf=location.href,Pc=!1,yo(e,t,!0);const S=r.map(Bf),C=i.map(Tc).map(A=>A.then(Bf)).concat(S),E=Promise.all(C);E.then(()=>{x("before-mount-routing-event",w(!0))},A=>{throw A});const _=a.map(A=>Tf(A).then(B=>f8(B,E))),D=l.filter(A=>a.indexOf(A)<0).map(A=>f8(A,E));return E.catch(A=>{throw g(),A}).then(()=>(g(),Promise.all(_.concat(D)).catch(A=>{throw e.forEach(B=>B.reject(A)),A}).then(h).then(()=>{},A=>{throw A})))})))):(c=a,Promise.resolve().then(()=>{const v=a.map(Tf);return Promise.all(v).then(g).then(()=>[]).catch(S=>{throw g(),S}).finally(()=>{})}));function m(v=!0){const S=typeof(v==null?void 0:v.then)=="function"?v:Promise.resolve(v);u.push(S.catch(C=>(console.warn(Error(Ve(42))),console.warn(C),!1)))}function h(){const v=t8();e.forEach(S=>S.resolve(v));try{x(c.length===0?"no-app-change":"app-change",w()),x("routing-event",w())}catch(S){setTimeout(()=>{throw S})}if(Pc=!1,Lc.length>0){const S=Lc;Lc=[],yo(S)}return v}function g(){n||(e.forEach(v=>{W6(v.eventArguments)}),W6(t))}function w(v=!1,S){const C={},E={[Kr]:[],[Vi]:[],[zi]:[],[bn]:[]};v?(a.concat(l).forEach((A,B)=>{D(A,Kr)}),r.forEach(A=>{D(A,zi)}),i.forEach(A=>{D(A,Vi)})):c.forEach(A=>{D(A)});const _={detail:{newAppStatuses:C,appsByNewStatus:E,totalAppChanges:c.length,originalEvent:t==null?void 0:t[0],oldUrl:d,newUrl:f}};return S&&Al(_.detail,S),_;function D(A,B){const O=Lt(A);B=B||r8(O),C[O]=B,(E[B]=E[B]||[]).push(O)}}function x(v,S){n||window.dispatchEvent(new Sf(`single-spa:${v}`,S))}}function f8(e,t){return kf(e)?Df(e).then(n=>t.then(()=>kf(n)?Of(n):n)):t.then(()=>e)}let p8=!1;function rL(e){p8=!0,os&&(Y6(e),yo())}function Lf(){return p8}var iL={getRawAppData:function(){return[...Xr]},reroute:yo,NOT_LOADED:zi,toLoadPromise:Tf,toBootstrapPromise:Df,unregisterApplication:a8,getProfilerData:function(){return YP}};os&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=iL);const Zn={mobile:{container:"flex justify-normal mt-2 px-[22px] py-[20px] rounded-full bg-white gap-2",logo:"cursor-pointer",profile:{container:"relative flex items-center ",userInfo:{container:"flex flex-col items-start w-[150px] gap-3",name:"text-[13px] font-semibold leading-[10px] capitalize ",role:"text-xs font-normal leading-[0.1] capitalize"},pick:"w-8 h-8 rounded-full cursor-pointer"},dropdown:{container:"relative w-full mt-2 text-center",wrapper:"flex flex-row gap-2"}},menu:{button:"rounded-full my-2 p-3 ml-2 text-darkened focus:outline-none focus:ring-1 focus:ring-offset-1 hover:cursor-pointer hover:bg-slate-100",active:"rounded-full my-2 p-3 ml-2 bg-secondary text-white focus:outline-none focus:ring-1 focus:ring-offset-1 hover:cursor-pointer",headless:"h-6 w-6",engine:"transform transition duration-500 hover:rotate-[-120deg] "}},oL="data:image/svg+xml,%3csvg%20width='211'%20height='64'%20viewBox='0%200%20211%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='0.5'%20y='0.5'%20width='209.433'%20height='63'%20rx='31.5'%20fill='white'/%3e%3cpath%20d='M32.9174%2026.9597C32.9174%2026.6898%2032.8748%2026.4498%2032.7897%2026.2399C32.7106%2026.03%2032.5676%2025.838%2032.3607%2025.6641C32.1538%2025.4901%2031.8617%2025.3222%2031.4845%2025.1602C31.1133%2024.9922%2030.6387%2024.8213%2030.0606%2024.6473C29.4278%2024.4554%2028.8437%2024.2425%2028.3082%2024.0085C27.7789%2023.7686%2027.3164%2023.4927%2026.9209%2023.1808C26.5254%2022.8629%2026.2181%2022.5%2025.9991%2022.0921C25.78%2021.6782%2025.6705%2021.2013%2025.6705%2020.6615C25.6705%2020.1276%2025.7831%2019.6418%2026.0082%2019.2039C26.2394%2018.766%2026.5649%2018.3881%2026.9848%2018.0702C27.4107%2017.7463%2027.9127%2017.4974%2028.4908%2017.3234C29.0688%2017.1435%2029.7077%2017.0535%2030.4075%2017.0535C31.3932%2017.0535%2032.242%2017.2335%2032.9539%2017.5934C33.6719%2017.9533%2034.2226%2018.4361%2034.606%2019.0419C34.9954%2019.6478%2035.1901%2020.3166%2035.1901%2021.0484H32.9174C32.9174%2020.6165%2032.8231%2020.2356%2032.6345%2019.9057C32.4519%2019.5698%2032.1721%2019.3059%2031.7948%2019.1139C31.4236%2018.922%2030.9521%2018.826%2030.3801%2018.826C29.8385%2018.826%2029.3883%2018.907%2029.0293%2019.0689C28.6703%2019.2309%2028.4025%2019.4498%2028.2261%2019.7258C28.0496%2020.0017%2027.9614%2020.3136%2027.9614%2020.6615C27.9614%2020.9074%2028.0192%2021.1324%2028.1348%2021.3363C28.2504%2021.5342%2028.4269%2021.7202%2028.6642%2021.8941C28.9015%2022.0621%2029.1996%2022.221%2029.5586%2022.371C29.9176%2022.521%2030.3405%2022.6649%2030.8273%2022.8029C31.5636%2023.0188%2032.2055%2023.2587%2032.7531%2023.5227C33.3008%2023.7806%2033.7571%2024.0745%2034.1222%2024.4044C34.4873%2024.7343%2034.7611%2025.1092%2034.9437%2025.5291C35.1262%2025.943%2035.2175%2026.4138%2035.2175%2026.9417C35.2175%2027.4935%2035.1049%2027.9914%2034.8798%2028.4353C34.6546%2028.8731%2034.3321%2029.248%2033.9123%2029.5599C33.4985%2029.8659%2032.9996%2030.1028%2032.4154%2030.2707C31.8374%2030.4327%2031.1924%2030.5137%2030.4805%2030.5137C29.8416%2030.5137%2029.2118%2030.4297%2028.5912%2030.2617C27.9766%2030.0938%2027.4168%2029.8389%2026.9118%2029.497C26.4067%2029.1491%2026.0051%2028.7172%2025.707%2028.2013C25.4088%2027.6795%2025.2598%2027.0707%2025.2598%2026.3749H27.5507C27.5507%2026.8007%2027.6237%2027.1636%2027.7697%2027.4635C27.9218%2027.7635%2028.1318%2028.0094%2028.3995%2028.2013C28.6672%2028.3873%2028.9776%2028.5252%2029.3305%2028.6152C29.6895%2028.7052%2030.0728%2028.7502%2030.4805%2028.7502C31.0159%2028.7502%2031.4632%2028.6752%2031.8222%2028.5252C32.1873%2028.3753%2032.4611%2028.1653%2032.6436%2027.8954C32.8262%2027.6255%2032.9174%2027.3136%2032.9174%2026.9597Z'%20fill='%23939799'/%3e%3cpath%20d='M42.9664%2028.0394V20.5985H45.1752V30.3337H43.0942L42.9664%2028.0394ZM43.2767%2026.015L44.016%2025.997C44.016%2026.6508%2043.943%2027.2536%2043.797%2027.8054C43.6509%2028.3513%2043.4258%2028.8282%2043.1216%2029.236C42.8173%2029.6379%2042.4279%2029.9528%2041.9533%2030.1808C41.4787%2030.4027%2040.9098%2030.5137%2040.2465%2030.5137C39.7658%2030.5137%2039.3247%2030.4447%2038.9231%2030.3067C38.5215%2030.1688%2038.1747%2029.9558%2037.8826%2029.6679C37.5966%2029.38%2037.3745%2029.0051%2037.2163%2028.5432C37.0581%2028.0814%2036.979%2027.5295%2036.979%2026.8877V20.5985H39.1786V26.9057C39.1786%2027.2596%2039.2212%2027.5565%2039.3064%2027.7964C39.3916%2028.0304%2039.5072%2028.2193%2039.6533%2028.3633C39.7993%2028.5072%2039.9697%2028.6092%2040.1644%2028.6692C40.3591%2028.7292%2040.566%2028.7592%2040.785%2028.7592C41.4118%2028.7592%2041.9046%2028.6392%2042.2636%2028.3993C42.6287%2028.1533%2042.8873%2027.8234%2043.0394%2027.4096C43.1976%2026.9957%2043.2767%2026.5308%2043.2767%2026.015Z'%20fill='%23939799'/%3e%3cpath%20d='M51.4638%2028.7862C51.8228%2028.7862%2052.1453%2028.7172%2052.4313%2028.5792C52.7233%2028.4353%2052.9576%2028.2373%2053.134%2027.9854C53.3166%2027.7335%2053.417%2027.4425%2053.4352%2027.1126H55.5071C55.4949%2027.7425%2055.3063%2028.3153%2054.9412%2028.8312C54.5761%2029.347%2054.0924%2029.7579%2053.49%2030.0638C52.8876%2030.3637%2052.2213%2030.5137%2051.4912%2030.5137C50.7366%2030.5137%2050.0795%2030.3877%2049.5197%2030.1358C48.9599%2029.8779%2048.4944%2029.524%2048.1232%2029.0741C47.7521%2028.6242%2047.4722%2028.1054%2047.2835%2027.5175C47.101%2026.9297%2047.0097%2026.2999%2047.0097%2025.6281V25.3132C47.0097%2024.6413%2047.101%2024.0115%2047.2835%2023.4237C47.4722%2022.8299%2047.7521%2022.308%2048.1232%2021.8581C48.4944%2021.4083%2048.9599%2021.0574%2049.5197%2020.8054C50.0795%2020.5475%2050.7336%2020.4186%2051.482%2020.4186C52.273%2020.4186%2052.9667%2020.5745%2053.563%2020.8864C54.1593%2021.1923%2054.6279%2021.6212%2054.9686%2022.1731C55.3154%2022.7189%2055.4949%2023.3547%2055.5071%2024.0805H53.4352C53.417%2023.7206%2053.3257%2023.3967%2053.1614%2023.1088C53.0032%2022.8149%2052.7781%2022.5809%2052.486%2022.407C52.2%2022.233%2051.8562%2022.1461%2051.4546%2022.1461C51.0105%2022.1461%2050.6423%2022.236%2050.3503%2022.416C50.0582%2022.5899%2049.83%2022.8299%2049.6657%2023.1358C49.5014%2023.4357%2049.3828%2023.7746%2049.3098%2024.1525C49.2428%2024.5244%2049.2094%2024.9113%2049.2094%2025.3132V25.6281C49.2094%2026.03%2049.2428%2026.4198%2049.3098%2026.7977C49.3767%2027.1756%2049.4923%2027.5145%2049.6566%2027.8144C49.827%2028.1084%2050.0582%2028.3453%2050.3503%2028.5252C50.6423%2028.6992%2051.0135%2028.7862%2051.4638%2028.7862Z'%20fill='%23939799'/%3e%3cpath%20d='M63.1374%2028.0394V20.5985H65.3462V30.3337H63.2652L63.1374%2028.0394ZM63.4477%2026.015L64.187%2025.997C64.187%2026.6508%2064.114%2027.2536%2063.968%2027.8054C63.8219%2028.3513%2063.5968%2028.8282%2063.2925%2029.236C62.9883%2029.6379%2062.5989%2029.9528%2062.1243%2030.1808C61.6497%2030.4027%2061.0807%2030.5137%2060.4175%2030.5137C59.9368%2030.5137%2059.4957%2030.4447%2059.0941%2030.3067C58.6925%2030.1688%2058.3456%2029.9558%2058.0536%2029.6679C57.7676%2029.38%2057.5455%2029.0051%2057.3873%2028.5432C57.2291%2028.0814%2057.15%2027.5295%2057.15%2026.8877V20.5985H59.3496V26.9057C59.3496%2027.2596%2059.3922%2027.5565%2059.4774%2027.7964C59.5626%2028.0304%2059.6782%2028.2193%2059.8242%2028.3633C59.9703%2028.5072%2060.1406%2028.6092%2060.3354%2028.6692C60.5301%2028.7292%2060.7369%2028.7592%2060.956%2028.7592C61.5827%2028.7592%2062.0756%2028.6392%2062.4346%2028.3993C62.7997%2028.1533%2063.0583%2027.8234%2063.2104%2027.4096C63.3686%2026.9957%2063.4477%2026.5308%2063.4477%2026.015Z'%20fill='%23939799'/%3e%3cpath%20d='M69.8093%2022.452V30.3337H67.6097V20.5985H69.7089L69.8093%2022.452ZM72.8304%2020.5355L72.8121%2022.5509C72.6783%2022.527%2072.5322%2022.509%2072.374%2022.497C72.2219%2022.485%2072.0698%2022.479%2071.9177%2022.479C71.5404%2022.479%2071.2088%2022.533%2070.9228%2022.6409C70.6368%2022.7429%2070.3965%2022.8928%2070.2018%2023.0908C70.0132%2023.2827%2069.8671%2023.5167%2069.7637%2023.7926C69.6602%2024.0685%2069.5994%2024.3774%2069.5811%2024.7193L69.0792%2024.7553C69.0792%2024.1435%2069.14%2023.5767%2069.2617%2023.0548C69.3834%2022.533%2069.5659%2022.0741%2069.8093%2021.6782C70.0588%2021.2823%2070.3691%2020.9734%2070.7403%2020.7515C71.1175%2020.5295%2071.5526%2020.4186%2072.0455%2020.4186C72.1793%2020.4186%2072.3223%2020.4306%2072.4744%2020.4545C72.6326%2020.4785%2072.7513%2020.5055%2072.8304%2020.5355Z'%20fill='%23939799'/%3e%3cpath%20d='M79.7488%2027.6975C79.7488%2027.4815%2079.694%2027.2866%2079.5845%2027.1126C79.475%2026.9327%2079.265%2026.7707%2078.9547%2026.6268C78.6505%2026.4828%2078.2002%2026.3509%2077.6039%2026.2309C77.0806%2026.1169%2076.5999%2025.982%2076.1618%2025.826C75.7298%2025.6641%2075.3586%2025.4691%2075.0483%2025.2412C74.738%2025.0132%2074.4976%2024.7433%2074.3273%2024.4314C74.1569%2024.1195%2074.0717%2023.7596%2074.0717%2023.3517C74.0717%2022.9558%2074.1599%2022.5809%2074.3364%2022.227C74.5128%2021.8731%2074.7654%2021.5612%2075.0939%2021.2913C75.4225%2021.0214%2075.8211%2020.8084%2076.2896%2020.6525C76.7642%2020.4965%2077.2936%2020.4186%2077.8777%2020.4186C78.7052%2020.4186%2079.4141%2020.5565%2080.0043%2020.8324C80.6006%2021.1024%2081.057%2021.4713%2081.3734%2021.9391C81.6898%2022.401%2081.848%2022.9228%2081.848%2023.5047H79.6484C79.6484%2023.2467%2079.5814%2023.0068%2079.4476%2022.7849C79.3198%2022.5569%2079.1251%2022.374%2078.8634%2022.236C78.6018%2022.0921%2078.2732%2022.0201%2077.8777%2022.0201C77.5005%2022.0201%2077.1871%2022.0801%2076.9376%2022.2C76.6942%2022.314%2076.5117%2022.464%2076.39%2022.6499C76.2744%2022.8359%2076.2166%2023.0398%2076.2166%2023.2617C76.2166%2023.4237%2076.247%2023.5707%2076.3078%2023.7026C76.3748%2023.8286%2076.4843%2023.9455%2076.6364%2024.0535C76.7885%2024.1555%2076.9954%2024.2515%2077.2571%2024.3414C77.5248%2024.4314%2077.8595%2024.5184%2078.2611%2024.6024C79.0156%2024.7583%2079.6636%2024.9593%2080.2051%2025.2052C80.7528%2025.4451%2081.1726%2025.757%2081.4647%2026.1409C81.7567%2026.5188%2081.9028%2026.9987%2081.9028%2027.5805C81.9028%2028.0124%2081.8085%2028.4083%2081.6198%2028.7682C81.4373%2029.1221%2081.1696%2029.431%2080.8167%2029.6949C80.4637%2029.9528%2080.0408%2030.1538%2079.548%2030.2977C79.0612%2030.4417%2078.5136%2030.5137%2077.9051%2030.5137C77.0106%2030.5137%2076.2531%2030.3577%2075.6324%2030.0458C75.0118%2029.7279%2074.5402%2029.323%2074.2177%2028.8312C73.9013%2028.3333%2073.7431%2027.8174%2073.7431%2027.2836H75.8697C75.8941%2027.6855%2076.0066%2028.0064%2076.2074%2028.2463C76.4143%2028.4803%2076.6699%2028.6512%2076.9741%2028.7592C77.2844%2028.8611%2077.6039%2028.9121%2077.9325%2028.9121C78.328%2028.9121%2078.6596%2028.8611%2078.9273%2028.7592C79.1951%2028.6512%2079.3989%2028.5072%2079.5388%2028.3273C79.6788%2028.1413%2079.7488%2027.9314%2079.7488%2027.6975Z'%20fill='%23939799'/%3e%3cpath%20d='M89.3962%2028.3813V23.7386C89.3962%2023.3907%2089.3323%2023.0908%2089.2045%2022.8389C89.0767%2022.5869%2088.882%2022.392%2088.6203%2022.254C88.3648%2022.1161%2088.0423%2022.0471%2087.6529%2022.0471C87.2939%2022.0471%2086.9836%2022.1071%2086.7219%2022.227C86.4603%2022.347%2086.2564%2022.509%2086.1104%2022.7129C85.9644%2022.9168%2085.8913%2023.1478%2085.8913%2023.4057H83.7008C83.7008%2023.0218%2083.7951%2022.6499%2083.9838%2022.29C84.1724%2021.9301%2084.4462%2021.6092%2084.8052%2021.3273C85.1642%2021.0454%2085.5932%2020.8234%2086.0921%2020.6615C86.5911%2020.4995%2087.1509%2020.4186%2087.7715%2020.4186C88.5139%2020.4186%2089.171%2020.5415%2089.743%2020.7875C90.321%2021.0334%2090.7744%2021.4053%2091.1029%2021.9031C91.4376%2022.395%2091.6049%2023.0128%2091.6049%2023.7566V28.0844C91.6049%2028.5282%2091.6353%2028.9271%2091.6962%2029.281C91.7631%2029.6289%2091.8574%2029.9318%2091.9791%2030.1898V30.3337H89.7247C89.6213%2030.0998%2089.5391%2029.8029%2089.4783%2029.443C89.4235%2029.0771%2089.3962%2028.7232%2089.3962%2028.3813ZM89.7156%2024.4134L89.7339%2025.754H88.1549C87.7472%2025.754%2087.3882%2025.793%2087.0779%2025.871C86.7675%2025.943%2086.5089%2026.0509%2086.3021%2026.1949C86.0952%2026.3389%2085.94%2026.5128%2085.8366%2026.7168C85.7331%2026.9207%2085.6814%2027.1516%2085.6814%2027.4096C85.6814%2027.6675%2085.7423%2027.9044%2085.864%2028.1204C85.9857%2028.3303%2086.1621%2028.4952%2086.3933%2028.6152C86.6306%2028.7352%2086.9166%2028.7952%2087.2513%2028.7952C87.7016%2028.7952%2088.094%2028.7052%2088.4287%2028.5252C88.7694%2028.3393%2089.0372%2028.1144%2089.2319%2027.8504C89.4266%2027.5805%2089.53%2027.3256%2089.5422%2027.0857L90.2541%2028.0484C90.1811%2028.2943%2090.0564%2028.5582%2089.8799%2028.8401C89.7034%2029.1221%2089.4722%2029.392%2089.1862%2029.6499C88.9063%2029.9018%2088.5686%2030.1088%2088.1731%2030.2707C87.7837%2030.4327%2087.3334%2030.5137%2086.8223%2030.5137C86.1773%2030.5137%2085.6023%2030.3877%2085.0973%2030.1358C84.5922%2029.8779%2084.1967%2029.533%2083.9107%2029.1011C83.6248%2028.6632%2083.4818%2028.1683%2083.4818%2027.6165C83.4818%2027.1006%2083.5791%2026.6448%2083.7738%2026.2489C83.9746%2025.847%2084.2667%2025.5111%2084.65%2025.2412C85.0395%2024.9713%2085.5141%2024.7673%2086.0739%2024.6294C86.6337%2024.4854%2087.2726%2024.4134%2087.9906%2024.4134H89.7156Z'%20fill='%23939799'/%3e%3cpath%20d='M96.2598%2016.5137V30.3337H94.051V16.5137H96.2598Z'%20fill='%23939799'/%3e%3cpath%20d='M29.8535%2044.2959L32.5166%2034.5137H35.9707L31.6553%2047.3105H29.4229L29.8535%2044.2959ZM27.4365%2034.5137L30.0996%2044.2959L30.5479%2047.3105H28.2891L24%2034.5137H27.4365Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M40.1895%2034.5137V47.3105H37.1133V34.5137H40.1895Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M42.3604%2034.5137H47.3965C48.3809%2034.5137%2049.2363%2034.6602%2049.9629%2034.9531C50.6895%2035.2461%2051.249%2035.6797%2051.6416%2036.2539C52.04%2036.8281%2052.2393%2037.5371%2052.2393%2038.3809C52.2393%2039.1133%2052.125%2039.7256%2051.8965%2040.2178C51.668%2040.71%2051.3486%2041.1172%2050.9385%2041.4395C50.5342%2041.7559%2050.0625%2042.0166%2049.5234%2042.2217L48.5127%2042.793H44.2852L44.2676%2040.4111H47.3965C47.7891%2040.4111%2048.1143%2040.3408%2048.3721%2040.2002C48.6299%2040.0596%2048.8232%2039.8604%2048.9521%2039.6025C49.0869%2039.3389%2049.1543%2039.0254%2049.1543%2038.6621C49.1543%2038.293%2049.0869%2037.9766%2048.9521%2037.7129C48.8174%2037.4492%2048.6182%2037.2471%2048.3545%2037.1064C48.0967%2036.9658%2047.7773%2036.8955%2047.3965%2036.8955H45.4453V47.3105H42.3604V34.5137ZM49.3652%2047.3105L46.5352%2041.6504L49.8047%2041.6328L52.6699%2047.1787V47.3105H49.3652Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M59.8594%2034.5137V47.3105H56.7744V34.5137H59.8594ZM63.709%2034.5137V36.8955H53.0127V34.5137H63.709Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M71.9619%2034.5137H75.0469V42.8721C75.0469%2043.8682%2074.8389%2044.7119%2074.4229%2045.4033C74.0068%2046.0889%2073.4238%2046.6074%2072.6738%2046.959C71.9238%2047.3105%2071.042%2047.4863%2070.0283%2047.4863C69.0264%2047.4863%2068.1445%2047.3105%2067.3828%2046.959C66.627%2046.6074%2066.0352%2046.0889%2065.6074%2045.4033C65.1855%2044.7119%2064.9746%2043.8682%2064.9746%2042.8721V34.5137H68.0684V42.8721C68.0684%2043.3994%2068.1445%2043.8301%2068.2969%2044.1641C68.4492%2044.4922%2068.6719%2044.7324%2068.9648%2044.8848C69.2578%2045.0371%2069.6123%2045.1133%2070.0283%2045.1133C70.4502%2045.1133%2070.8047%2045.0371%2071.0918%2044.8848C71.3789%2044.7324%2071.5957%2044.4922%2071.7422%2044.1641C71.8887%2043.8301%2071.9619%2043.3994%2071.9619%2042.8721V34.5137Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M82.2188%2037.2031L79.0986%2047.3105H75.7852L80.4873%2034.5137H82.5879L82.2188%2037.2031ZM84.8027%2047.3105L81.6738%2037.2031L81.2695%2034.5137H83.3965L88.125%2047.3105H84.8027ZM84.6797%2042.5381V44.9199H78.1143V42.5381H84.6797Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M97.5205%2044.9375V47.3105H91.0518V44.9375H97.5205ZM92.1504%2034.5137V47.3105H89.0654V34.5137H92.1504Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M109.521%2012L109.521%2052'%20stroke='%23BABABA'%20stroke-linecap='round'/%3e%3cpath%20d='M158.298%2015.8835C159.771%2015.8835%20159.771%2017.9498%20158.298%2017.9498H151.596C151.596%2023.3403%20151.626%2028.8199%20151.626%2034.2105C151.626%2034.9595%20150.995%2035.3184%20150.484%2035.3184C149.973%2035.3184%20149.402%2034.9588%20149.402%2034.2105V17.9498H142.73C141.317%2017.9498%20141.317%2015.8835%20142.73%2015.8835H158.298Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M160.854%2020.7046C160.854%2019.4167%20163.047%2019.3867%20163.047%2020.6747V34.1807C163.047%2035.4986%20160.854%2035.468%20160.854%2034.1807V20.7046Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M180.6%2034.2105C179.158%2034.8692%20177.535%2035.2885%20176.092%2035.2885C170.952%2035.2885%20166.323%2031.0962%20166.323%2025.1667C166.323%2020.2553%20169.84%2016.3621%20174.468%2015.6437C177.985%2015.1645%20181.051%2016.0331%20183.425%2018.5187C184.327%2019.5369%20182.704%2020.7651%20181.863%2019.8665C179.819%2017.7106%20177.444%2017.3809%20174.799%2017.6807C171.103%2018.2496%20168.487%2020.8548%20168.487%2025.1973C168.487%2029.5397%20172.004%2033.2229%20176.151%2033.2229C177.263%2033.2229%20178.496%2032.9232%20179.638%2032.3543C180.57%2031.8751%20181.472%2031.1561%20182.103%2030.3479C182.794%2029.3297%20184.627%2030.4376%20183.846%2031.5455C183.035%2032.6833%20181.892%2033.5818%20180.6%2034.2105H180.6Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M161.951%2018.5448C162.722%2018.5448%20163.348%2017.9216%20163.348%2017.1528C163.348%2016.384%20162.722%2015.7608%20161.951%2015.7608C161.179%2015.7608%20160.554%2016.384%20160.554%2017.1528C160.554%2017.9216%20161.179%2018.5448%20161.951%2018.5448Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M132.473%2014.5059C126.424%2014.5059%20121.521%2019.3913%20121.521%2025.4183C121.521%2031.4454%20126.424%2036.3308%20132.473%2036.3308C138.522%2036.3308%20143.425%2031.4454%20143.425%2025.4183C143.425%2019.3913%20138.522%2014.5059%20132.473%2014.5059ZM135.144%2020.2391C135.259%2020.2963%20135.372%2020.3561%20135.483%2020.4205C137.208%2021.4224%20138.369%2023.2845%20138.369%2025.4183C138.369%2027.5522%20137.208%2029.4143%20135.483%2030.4162C135.372%2030.4805%20135.259%2030.541%20135.144%2030.5976C135.055%2030.6418%20134.964%2030.6828%20134.872%2030.7224C134.165%2031.0286%20133.386%2031.2003%20132.566%2031.2003C129.36%2031.2003%20126.762%2028.6113%20126.762%2025.4183C126.762%2022.2254%20129.361%2019.6364%20132.566%2019.6364C133.386%2019.6364%20134.166%2019.808%20134.872%2020.1143C134.964%2020.1539%20135.054%2020.1955%20135.144%2020.2391Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M143.158%2037.8892H121.521V40.8618H143.158V37.8892Z'%20fill='%23E55257'/%3e%3cpath%20d='M164.796%2037.8892H143.158V40.8618H164.796V37.8892Z'%20fill='%239AC873'/%3e%3cpath%20d='M186.432%2037.8892H164.795V40.8618H186.432V37.8892Z'%20fill='%23F1A946'/%3e%3cpath%20d='M140.087%2047.4734C139.585%2047.4357%20139.121%2047.4422%20139.121%2047.0417C139.121%2046.6412%20139.667%2046.4975%20140.031%2046.4975C140.314%2046.4975%20140.841%2046.5222%20140.979%2046.885C141.061%2047.1223%20141.494%2047.004%20141.406%2046.7225C141.186%2046.1601%20140.515%2046.0788%20140.032%2046.0788C139.43%2046.0788%20138.663%2046.3662%20138.663%2047.0352C138.663%2047.8043%20139.392%2047.8609%20140.07%2047.9233C140.578%2047.961%20141.055%2047.9799%20141.055%2048.3797C141.055%2048.8114%20140.396%2048.9486%20140.089%2048.9486C139.631%2048.9486%20139.141%2048.8049%20139.078%2048.5234C139.022%2048.2107%20138.564%2048.342%20138.639%2048.6047C138.765%2049.2302%20139.568%2049.3615%20140.089%2049.3615C140.611%2049.3615%20141.514%2049.1677%20141.514%2048.3797C141.514%2047.5917%20140.78%2047.5358%20140.089%2047.4734H140.087Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M145.027%2046.1346C144.864%2046.0911%20144.713%2046.0781%20144.563%2046.0781C144.412%2046.0781%20144.236%2046.0904%20144.086%2046.1346C143.395%2046.3284%20142.987%2046.9103%20142.925%2047.604C142.906%2048.0734%20143.025%2048.4733%20143.308%2048.8049C143.615%2049.1735%20144.061%2049.3679%20144.563%2049.3679C145.065%2049.3679%20145.511%2049.1742%20145.818%2048.8049C146.094%2048.4733%20146.22%2048.0734%20146.195%2047.604C146.138%2046.9038%20145.712%2046.3284%20145.027%2046.1346ZM145.466%2048.5299C145.247%2048.7795%20144.901%2048.9427%20144.563%2048.9427C144.224%2048.9427%20143.885%2048.7925%20143.665%2048.5299C143.477%2048.3107%20143.389%2048.0169%20143.389%2047.7353C143.389%2047.1723%20143.697%2046.6847%20144.225%2046.5468C144.319%2046.5215%20144.438%2046.5033%20144.557%2046.5033C144.676%2046.5033%20144.802%2046.5221%20144.902%2046.5468C145.436%2046.6847%20145.743%2047.1782%20145.743%2047.7477C145.743%2048.0169%20145.643%2048.3166%20145.467%2048.5292L145.466%2048.5299Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M152.107%2046.1158C151.548%2046.1158%20151.002%2046.385%20150.776%2046.9415C150.588%2046.385%20150.048%2046.1158%20149.502%2046.1158C149.019%2046.1158%20148.573%2046.3161%20148.323%2046.766V46.3343C148.323%2046.2153%20148.241%2046.1152%20148.103%2046.1152C147.977%2046.1152%20147.877%2046.2153%20147.877%2046.3343V49.1293C147.877%2049.4109%20148.335%2049.4167%20148.335%2049.1293V47.7224C148.335%2047.0222%20148.894%2046.5534%20149.509%2046.5534C149.703%2046.5534%20149.886%2046.5969%20150.049%2046.6971C150.337%2046.8785%20150.482%2047.2224%20150.482%2047.5787V49.13C150.482%2049.2672%20150.576%2049.3485%20150.714%2049.3485C150.853%2049.3485%20150.947%2049.2672%20150.947%2049.13V47.7542C150.947%2047.0352%20151.467%2046.5469%20152.126%2046.5469C152.654%2046.5469%20153.087%2046.9344%20153.099%2047.4727V49.13C153.099%2049.2672%20153.181%2049.3485%20153.325%2049.3485C153.469%2049.3485%20153.557%2049.2672%20153.557%2049.13V47.4539C153.557%2046.5969%20152.83%2046.1158%20152.107%2046.1158H152.107Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M157.311%2046.1346C157.147%2046.0911%20156.997%2046.0781%20156.846%2046.0781C156.695%2046.0781%20156.52%2046.0904%20156.369%2046.1346C155.678%2046.3284%20155.271%2046.9103%20155.208%2047.604C155.189%2048.0734%20155.308%2048.4733%20155.591%2048.8049C155.898%2049.1735%20156.344%2049.3679%20156.846%2049.3679C157.348%2049.3679%20157.794%2049.1742%20158.101%2048.8049C158.377%2048.4733%20158.503%2048.0734%20158.478%2047.604C158.421%2046.9038%20157.995%2046.3284%20157.311%2046.1346ZM157.75%2048.5299C157.53%2048.7795%20157.185%2048.9427%20156.845%2048.9427C156.506%2048.9427%20156.168%2048.7925%20155.948%2048.5299C155.76%2048.3107%20155.672%2048.0169%20155.672%2047.7353C155.672%2047.1723%20155.979%2046.6847%20156.507%2046.5468C156.601%2046.5215%20156.721%2046.5033%20156.839%2046.5033C156.958%2046.5033%20157.085%2046.5221%20157.185%2046.5468C157.718%2046.6847%20158.026%2047.1782%20158.026%2047.7477C158.026%2048.0169%20157.925%2048.3166%20157.75%2048.5292V48.5299Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M161.377%2047.4734C160.876%2047.4357%20160.411%2047.4422%20160.411%2047.0417C160.411%2046.6412%20160.957%2046.4975%20161.321%2046.4975C161.604%2046.4975%20162.131%2046.5222%20162.269%2046.885C162.351%2047.1223%20162.784%2047.004%20162.696%2046.7225C162.476%2046.1601%20161.805%2046.0788%20161.322%2046.0788C160.72%2046.0788%20159.953%2046.3662%20159.953%2047.0352C159.953%2047.8043%20160.682%2047.8609%20161.36%2047.9233C161.868%2047.961%20162.345%2047.9799%20162.345%2048.3797C162.345%2048.8114%20161.686%2048.9486%20161.379%2048.9486C160.921%2048.9486%20160.431%2048.8049%20160.368%2048.5234C160.312%2048.2107%20159.854%2048.342%20159.929%2048.6047C160.055%2049.2302%20160.858%2049.3615%20161.379%2049.3615C161.901%2049.3615%20162.804%2049.1677%20162.804%2048.3797C162.804%2047.5917%20162.07%2047.5358%20161.379%2047.4734H161.377Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M170.306%2048.1521C170.188%2048.1411%20170.09%2048.1918%20170.031%2048.2789C169.913%2048.4304%20169.739%2048.5715%20169.556%2048.6664C169.336%2048.7756%20169.096%2048.8355%20168.878%2048.8355C168.059%2048.8355%20167.392%2048.1346%20167.392%2047.2731C167.392%2046.478%20167.849%2045.9331%20168.609%2045.8161C169.226%2045.7465%20169.641%2045.872%20169.988%2046.2374C170.125%2046.3843%20170.334%2046.3551%20170.458%2046.2445C170.594%2046.1217%20170.604%2045.9403%20170.48%2045.8005C169.973%2045.2699%20169.308%2045.0573%20168.51%2045.1666C167.468%2045.3285%20166.712%2046.2114%20166.712%2047.2673C166.712%2048.5162%20167.658%2049.4941%20168.866%2049.4941C169.171%2049.4941%20169.522%2049.4109%20169.855%2049.2587L169.857%2049.2574C170.155%2049.1124%20170.405%2048.907%20170.578%2048.6638C170.646%2048.5682%20170.657%2048.4564%20170.61%2048.3563C170.556%2048.2438%20170.434%2048.1619%20170.306%2048.1521H170.306Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M175.371%2048.1521C175.254%2048.1411%20175.155%2048.1918%20175.096%2048.2789C174.978%2048.4304%20174.804%2048.5715%20174.62%2048.6664C174.401%2048.7756%20174.16%2048.8355%20173.943%2048.8355C173.123%2048.8355%20172.456%2048.1346%20172.456%2047.2731C172.456%2046.478%20172.913%2045.9331%20173.673%2045.8161C174.292%2045.7465%20174.706%2045.872%20175.052%2046.2374C175.19%2046.3843%20175.399%2046.3551%20175.523%2046.2445C175.658%2046.1217%20175.669%2045.9403%20175.544%2045.8005C175.038%2045.2699%20174.372%2045.0573%20173.574%2045.1666C172.533%2045.3285%20171.776%2046.2114%20171.776%2047.2673C171.776%2048.5162%20172.723%2049.4941%20173.93%2049.4941C174.236%2049.4941%20174.586%2049.4109%20174.919%2049.2587L174.921%2049.2574C175.219%2049.1124%20175.469%2048.907%20175.642%2048.6638C175.71%2048.5682%20175.721%2048.4564%20175.674%2048.3563C175.621%2048.2438%20175.499%2048.1619%20175.37%2048.1521H175.371Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M178.783%2045.9591C178.345%2045.9591%20177.966%2046.1008%20177.71%2046.3499V45.3779C177.71%2045.1997%20177.561%2045.0651%20177.361%2045.0651C177.162%2045.0651%20177.018%2045.1965%20177.018%2045.3779V49.1235C177.018%2049.3231%20177.162%2049.4622%20177.37%2049.4622C177.577%2049.4622%20177.71%2049.3263%20177.71%2049.1235V47.5663C177.71%2046.9682%20178.252%2046.6106%20178.776%2046.6106C179.198%2046.6106%20179.635%2046.9331%20179.635%2047.4727V49.1235C179.635%2049.3231%20179.777%2049.4622%20179.981%2049.4622C180.184%2049.4622%20180.321%2049.3263%20180.321%2049.1235V47.4727C180.321%2046.4786%20179.547%2045.9585%20178.782%2045.9585L178.783%2045.9591Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M185.667%2048.3563C185.614%2048.2438%20185.492%2048.1619%20185.363%2048.1521C185.244%2048.1411%20185.147%2048.1918%20185.088%2048.2789C184.97%2048.4304%20184.796%2048.5715%20184.613%2048.6664C184.393%2048.7756%20184.153%2048.8355%20183.935%2048.8355C183.116%2048.8355%20182.449%2048.1346%20182.449%2047.2731C182.449%2046.478%20182.906%2045.9331%20183.666%2045.8161C184.284%2045.7465%20184.698%2045.872%20185.045%2046.2374C185.182%2046.3843%20185.392%2046.3551%20185.515%2046.2445C185.651%2046.1217%20185.661%2045.9403%20185.537%2045.8005C185.031%2045.2699%20184.366%2045.0573%20183.567%2045.1666C182.526%2045.3285%20181.77%2046.2114%20181.77%2047.2673C181.77%2048.5162%20182.716%2049.4941%20183.924%2049.4941C184.229%2049.4941%20184.579%2049.4109%20184.912%2049.2587L184.914%2049.2574C185.212%2049.1124%20185.462%2048.907%20185.635%2048.6638C185.703%2048.5682%20185.714%2048.4564%20185.667%2048.3563Z'%20fill='%2365BFB1'/%3e%3crect%20x='0.5'%20y='0.5'%20width='209.433'%20height='63'%20rx='31.5'%20stroke='%23F3F3F3'/%3e%3c/svg%3e",aL="data:image/svg+xml,%3csvg%20width='163'%20height='42'%20viewBox='0%200%20163%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.91792%2015.9597C8.91792%2015.6898%208.87533%2015.4498%208.79014%2015.2399C8.71104%2015.03%208.56805%2014.838%208.36117%2014.6641C8.15428%2014.4901%207.86222%2014.3222%207.48496%2014.1602C7.11379%2013.9922%206.63918%2013.8213%206.06113%2013.6473C5.42831%2013.4554%204.84418%2013.2425%204.30872%2013.0085C3.77934%2012.7686%203.3169%2012.4927%202.92139%2012.1808C2.52588%2011.8629%202.2186%2011.5%201.99955%2011.0921C1.7805%2010.6782%201.67098%2010.2013%201.67098%209.66149C1.67098%209.12764%201.78354%208.64178%202.00868%208.2039C2.2399%207.76603%202.56543%207.38814%202.98528%207.07023C3.41122%206.74632%203.91321%206.49739%204.49126%206.32344C5.06931%206.14349%205.70821%206.05352%206.40796%206.05352C7.39369%206.05352%208.24251%206.23347%208.95443%206.59336C9.67243%206.95326%2010.2231%207.43612%2010.6064%208.04195C10.9959%208.64778%2011.1906%209.31659%2011.1906%2010.0484H8.91792C8.91792%209.6165%208.82361%209.23561%208.63498%208.9057C8.45244%208.5698%208.17254%208.30587%207.79528%208.11393C7.42411%207.92198%206.95255%207.82601%206.38058%207.82601C5.83903%207.82601%205.38876%207.90699%205.02976%208.06894C4.67076%208.2309%204.40303%208.44983%204.22657%208.72575C4.05012%209.00168%203.96189%209.31359%203.96189%209.66149C3.96189%209.90742%204.01969%2010.1324%204.1353%2010.3363C4.25091%2010.5342%204.42737%2010.7202%204.66468%2010.8941C4.90198%2011.0621%205.20013%2011.221%205.55914%2011.371C5.91814%2011.521%206.34103%2011.6649%206.82781%2011.8029C7.56406%2012.0188%208.20601%2012.2587%208.75363%2012.5227C9.30126%2012.7806%209.75762%2013.0745%2010.1227%2013.4044C10.4878%2013.7343%2010.7616%2014.1092%2010.9441%2014.5291C11.1267%2014.943%2011.218%2015.4138%2011.218%2015.9417C11.218%2016.4935%2011.1054%2016.9914%2010.8803%2017.4353C10.6551%2017.8731%2010.3326%2018.248%209.91278%2018.5599C9.49902%2018.8659%209.00007%2019.1028%208.41593%2019.2707C7.83788%2019.4327%207.19289%2019.5137%206.48098%2019.5137C5.84208%2019.5137%205.2123%2019.4297%204.59166%2019.2617C3.9771%2019.0938%203.4173%2018.8389%202.91227%2018.497C2.40723%2018.1491%202.00564%2017.7172%201.70748%2017.2013C1.40933%2016.6795%201.26025%2016.0707%201.26025%2015.3749H3.55117C3.55117%2015.8007%203.62418%2016.1636%203.77022%2016.4635C3.92234%2016.7635%204.13226%2017.0094%204.39999%2017.2013C4.66772%2017.3873%204.97804%2017.5252%205.33096%2017.6152C5.68996%2017.7052%206.0733%2017.7502%206.48098%2017.7502C7.01644%2017.7502%207.46367%2017.6752%207.82267%2017.5252C8.18775%2017.3753%208.46157%2017.1653%208.64411%2016.8954C8.82665%2016.6255%208.91792%2016.3136%208.91792%2015.9597Z'%20fill='%23939799'/%3e%3cpath%20d='M18.9669%2017.0394V9.5985H21.1757V19.3337H19.0947L18.9669%2017.0394ZM19.2772%2015.015L20.0165%2014.997C20.0165%2015.6508%2019.9435%2016.2536%2019.7975%2016.8054C19.6514%2017.3513%2019.4263%2017.8282%2019.1221%2018.236C18.8178%2018.6379%2018.4284%2018.9528%2017.9538%2019.1808C17.4792%2019.4027%2016.9103%2019.5137%2016.247%2019.5137C15.7663%2019.5137%2015.3252%2019.4447%2014.9236%2019.3067C14.522%2019.1688%2014.1752%2018.9558%2013.8831%2018.6679C13.5971%2018.38%2013.375%2018.0051%2013.2168%2017.5432C13.0586%2017.0814%2012.9795%2016.5295%2012.9795%2015.8877V9.5985H15.1791V15.9057C15.1791%2016.2596%2015.2217%2016.5565%2015.3069%2016.7964C15.3921%2017.0304%2015.5077%2017.2193%2015.6537%2017.3633C15.7998%2017.5072%2015.9702%2017.6092%2016.1649%2017.6692C16.3596%2017.7292%2016.5665%2017.7592%2016.7855%2017.7592C17.4122%2017.7592%2017.9051%2017.6392%2018.2641%2017.3993C18.6292%2017.1533%2018.8878%2016.8234%2019.0399%2016.4096C19.1981%2015.9957%2019.2772%2015.5308%2019.2772%2015.015Z'%20fill='%23939799'/%3e%3cpath%20d='M27.4643%2017.7862C27.8233%2017.7862%2028.1458%2017.7172%2028.4317%2017.5792C28.7238%2017.4353%2028.9581%2017.2373%2029.1345%2016.9854C29.3171%2016.7335%2029.4175%2016.4425%2029.4357%2016.1126H31.5076C31.4954%2016.7425%2031.3068%2017.3153%2030.9417%2017.8312C30.5766%2018.347%2030.0929%2018.7579%2029.4905%2019.0638C28.8881%2019.3637%2028.2218%2019.5137%2027.4916%2019.5137C26.7371%2019.5137%2026.08%2019.3877%2025.5202%2019.1358C24.9604%2018.8779%2024.4949%2018.524%2024.1237%2018.0741C23.7526%2017.6242%2023.4727%2017.1054%2023.284%2016.5175C23.1015%2015.9297%2023.0102%2015.2999%2023.0102%2014.6281V14.3132C23.0102%2013.6413%2023.1015%2013.0115%2023.284%2012.4237C23.4727%2011.8299%2023.7526%2011.308%2024.1237%2010.8581C24.4949%2010.4083%2024.9604%2010.0574%2025.5202%209.80545C26.08%209.54752%2026.7341%209.41856%2027.4825%209.41856C28.2735%209.41856%2028.9672%209.57451%2029.5635%209.88642C30.1598%2010.1923%2030.6283%2010.6212%2030.9691%2011.1731C31.3159%2011.7189%2031.4954%2012.3547%2031.5076%2013.0805H29.4357C29.4175%2012.7206%2029.3262%2012.3967%2029.1619%2012.1088C29.0037%2011.8149%2028.7786%2011.5809%2028.4865%2011.407C28.2005%2011.233%2027.8567%2011.1461%2027.4551%2011.1461C27.011%2011.1461%2026.6428%2011.236%2026.3508%2011.416C26.0587%2011.5899%2025.8305%2011.8299%2025.6662%2012.1358C25.5019%2012.4357%2025.3833%2012.7746%2025.3103%2013.1525C25.2433%2013.5244%2025.2099%2013.9113%2025.2099%2014.3132V14.6281C25.2099%2015.03%2025.2433%2015.4198%2025.3103%2015.7977C25.3772%2016.1756%2025.4928%2016.5145%2025.6571%2016.8144C25.8275%2017.1084%2026.0587%2017.3453%2026.3508%2017.5252C26.6428%2017.6992%2027.014%2017.7862%2027.4643%2017.7862Z'%20fill='%23939799'/%3e%3cpath%20d='M39.1379%2017.0394V9.5985H41.3466V19.3337H39.2657L39.1379%2017.0394ZM39.4482%2015.015L40.1875%2014.997C40.1875%2015.6508%2040.1145%2016.2536%2039.9684%2016.8054C39.8224%2017.3513%2039.5973%2017.8282%2039.293%2018.236C38.9888%2018.6379%2038.5994%2018.9528%2038.1248%2019.1808C37.6502%2019.4027%2037.0812%2019.5137%2036.418%2019.5137C35.9373%2019.5137%2035.4961%2019.4447%2035.0946%2019.3067C34.693%2019.1688%2034.3461%2018.9558%2034.0541%2018.6679C33.7681%2018.38%2033.546%2018.0051%2033.3878%2017.5432C33.2296%2017.0814%2033.1505%2016.5295%2033.1505%2015.8877V9.5985H35.3501V15.9057C35.3501%2016.2596%2035.3927%2016.5565%2035.4779%2016.7964C35.5631%2017.0304%2035.6787%2017.2193%2035.8247%2017.3633C35.9708%2017.5072%2036.1411%2017.6092%2036.3358%2017.6692C36.5306%2017.7292%2036.7374%2017.7592%2036.9565%2017.7592C37.5832%2017.7592%2038.0761%2017.6392%2038.4351%2017.3993C38.8002%2017.1533%2039.0588%2016.8234%2039.2109%2016.4096C39.3691%2015.9957%2039.4482%2015.5308%2039.4482%2015.015Z'%20fill='%23939799'/%3e%3cpath%20d='M45.8098%2011.452V19.3337H43.6102V9.5985H45.7094L45.8098%2011.452ZM48.8309%209.53552L48.8126%2011.5509C48.6788%2011.527%2048.5327%2011.509%2048.3745%2011.497C48.2224%2011.485%2048.0703%2011.479%2047.9182%2011.479C47.5409%2011.479%2047.2093%2011.533%2046.9233%2011.6409C46.6373%2011.7429%2046.397%2011.8928%2046.2023%2012.0908C46.0136%2012.2827%2045.8676%2012.5167%2045.7642%2012.7926C45.6607%2013.0685%2045.5999%2013.3774%2045.5816%2013.7193L45.0796%2013.7553C45.0796%2013.1435%2045.1405%2012.5767%2045.2622%2012.0548C45.3839%2011.533%2045.5664%2011.0741%2045.8098%2010.6782C46.0593%2010.2823%2046.3696%209.9734%2046.7408%209.75146C47.118%209.52952%2047.5531%209.41856%2048.046%209.41856C48.1798%209.41856%2048.3228%209.43055%2048.4749%209.45455C48.6331%209.47854%2048.7518%209.50553%2048.8309%209.53552Z'%20fill='%23939799'/%3e%3cpath%20d='M55.7493%2016.6975C55.7493%2016.4815%2055.6945%2016.2866%2055.585%2016.1126C55.4754%2015.9327%2055.2655%2015.7707%2054.9552%2015.6268C54.651%2015.4828%2054.2007%2015.3509%2053.6044%2015.2309C53.0811%2015.1169%2052.6004%2014.982%2052.1623%2014.826C51.7303%2014.6641%2051.3591%2014.4691%2051.0488%2014.2412C50.7385%2014.0132%2050.4981%2013.7433%2050.3277%2013.4314C50.1574%2013.1195%2050.0722%2012.7596%2050.0722%2012.3517C50.0722%2011.9558%2050.1604%2011.5809%2050.3369%2011.227C50.5133%2010.8731%2050.7658%2010.5612%2051.0944%2010.2913C51.423%2010.0214%2051.8216%209.80844%2052.2901%209.65249C52.7647%209.49653%2053.2941%209.41856%2053.8782%209.41856C54.7057%209.41856%2055.4146%209.55652%2056.0048%209.83244C56.6011%2010.1024%2057.0575%2010.4713%2057.3739%2010.9391C57.6903%2011.401%2057.8485%2011.9228%2057.8485%2012.5047H55.6489C55.6489%2012.2467%2055.5819%2012.0068%2055.4481%2011.7849C55.3203%2011.5569%2055.1256%2011.374%2054.8639%2011.236C54.6023%2011.0921%2054.2737%2011.0201%2053.8782%2011.0201C53.5009%2011.0201%2053.1876%2011.0801%2052.9381%2011.2C52.6947%2011.314%2052.5122%2011.464%2052.3905%2011.6499C52.2749%2011.8359%2052.2171%2012.0398%2052.2171%2012.2617C52.2171%2012.4237%2052.2475%2012.5707%2052.3083%2012.7026C52.3753%2012.8286%2052.4848%2012.9455%2052.6369%2013.0535C52.789%2013.1555%2052.9959%2013.2515%2053.2576%2013.3414C53.5253%2013.4314%2053.8599%2013.5184%2054.2615%2013.6024C55.016%2013.7583%2055.6641%2013.9593%2056.2056%2014.2052C56.7532%2014.4451%2057.1731%2014.757%2057.4652%2015.1409C57.7572%2015.5188%2057.9033%2015.9987%2057.9033%2016.5805C57.9033%2017.0124%2057.809%2017.4083%2057.6203%2017.7682C57.4378%2018.1221%2057.1701%2018.431%2056.8171%2018.6949C56.4642%2018.9528%2056.0413%2019.1538%2055.5485%2019.2977C55.0617%2019.4417%2054.5141%2019.5137%2053.9056%2019.5137C53.0111%2019.5137%2052.2536%2019.3577%2051.6329%2019.0458C51.0123%2018.7279%2050.5407%2018.323%2050.2182%2017.8312C49.9018%2017.3333%2049.7436%2016.8174%2049.7436%2016.2836H51.8702C51.8946%2016.6855%2052.0071%2017.0064%2052.2079%2017.2463C52.4148%2017.4803%2052.6704%2017.6512%2052.9746%2017.7592C53.2849%2017.8611%2053.6044%2017.9121%2053.933%2017.9121C54.3285%2017.9121%2054.6601%2017.8611%2054.9278%2017.7592C55.1955%2017.6512%2055.3994%2017.5072%2055.5393%2017.3273C55.6793%2017.1413%2055.7493%2016.9314%2055.7493%2016.6975Z'%20fill='%23939799'/%3e%3cpath%20d='M65.3966%2017.3813V12.7386C65.3966%2012.3907%2065.3328%2012.0908%2065.205%2011.8389C65.0772%2011.5869%2064.8825%2011.392%2064.6208%2011.254C64.3653%2011.1161%2064.0428%2011.0471%2063.6534%2011.0471C63.2944%2011.0471%2062.984%2011.1071%2062.7224%2011.227C62.4608%2011.347%2062.2569%2011.509%2062.1109%2011.7129C61.9648%2011.9168%2061.8918%2012.1478%2061.8918%2012.4057H59.7013C59.7013%2012.0218%2059.7956%2011.6499%2059.9843%2011.29C60.1729%2010.9301%2060.4467%2010.6092%2060.8057%2010.3273C61.1647%2010.0454%2061.5937%209.82344%2062.0926%209.66149C62.5916%209.49953%2063.1514%209.41856%2063.772%209.41856C64.5144%209.41856%2065.1715%209.54152%2065.7435%209.78745C66.3215%2010.0334%2066.7748%2010.4053%2067.1034%2010.9031C67.4381%2011.395%2067.6054%2012.0128%2067.6054%2012.7566V17.0844C67.6054%2017.5282%2067.6358%2017.9271%2067.6967%2018.281C67.7636%2018.6289%2067.8579%2018.9318%2067.9796%2019.1898V19.3337H65.7252C65.6218%2019.0998%2065.5396%2018.8029%2065.4788%2018.443C65.424%2018.0771%2065.3966%2017.7232%2065.3966%2017.3813ZM65.7161%2013.4134L65.7344%2014.754H64.1554C63.7477%2014.754%2063.3887%2014.793%2063.0784%2014.871C62.768%2014.943%2062.5094%2015.0509%2062.3025%2015.1949C62.0957%2015.3389%2061.9405%2015.5128%2061.8371%2015.7168C61.7336%2015.9207%2061.6819%2016.1516%2061.6819%2016.4096C61.6819%2016.6675%2061.7427%2016.9044%2061.8644%2017.1204C61.9861%2017.3303%2062.1626%2017.4952%2062.3938%2017.6152C62.6311%2017.7352%2062.9171%2017.7952%2063.2518%2017.7952C63.702%2017.7952%2064.0945%2017.7052%2064.4292%2017.5252C64.7699%2017.3393%2065.0376%2017.1144%2065.2324%2016.8504C65.4271%2016.5805%2065.5305%2016.3256%2065.5427%2016.0857L66.2546%2017.0484C66.1816%2017.2943%2066.0568%2017.5582%2065.8804%2017.8401C65.7039%2018.1221%2065.4727%2018.392%2065.1867%2018.6499C64.9068%2018.9018%2064.5691%2019.1088%2064.1736%2019.2707C63.7842%2019.4327%2063.3339%2019.5137%2062.8228%2019.5137C62.1778%2019.5137%2061.6028%2019.3877%2061.0978%2019.1358C60.5927%2018.8779%2060.1972%2018.533%2059.9112%2018.1011C59.6253%2017.6632%2059.4823%2017.1683%2059.4823%2016.6165C59.4823%2016.1006%2059.5796%2015.6448%2059.7743%2015.2489C59.9751%2014.847%2060.2672%2014.5111%2060.6505%2014.2412C61.04%2013.9713%2061.5146%2013.7673%2062.0744%2013.6294C62.6342%2013.4854%2063.2731%2013.4134%2063.9911%2013.4134H65.7161Z'%20fill='%23939799'/%3e%3cpath%20d='M72.2603%205.51367V19.3337H70.0515V5.51367H72.2603Z'%20fill='%23939799'/%3e%3cpath%20d='M5.85352%2033.2959L8.5166%2023.5137H11.9707L7.65527%2036.3105H5.42285L5.85352%2033.2959ZM3.43652%2023.5137L6.09961%2033.2959L6.54785%2036.3105H4.28906L0%2023.5137H3.43652Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M16.1895%2023.5137V36.3105H13.1133V23.5137H16.1895Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M18.3604%2023.5137H23.3965C24.3809%2023.5137%2025.2363%2023.6602%2025.9629%2023.9531C26.6895%2024.2461%2027.249%2024.6797%2027.6416%2025.2539C28.04%2025.8281%2028.2393%2026.5371%2028.2393%2027.3809C28.2393%2028.1133%2028.125%2028.7256%2027.8965%2029.2178C27.668%2029.71%2027.3486%2030.1172%2026.9385%2030.4395C26.5342%2030.7559%2026.0625%2031.0166%2025.5234%2031.2217L24.5127%2031.793H20.2852L20.2676%2029.4111H23.3965C23.7891%2029.4111%2024.1143%2029.3408%2024.3721%2029.2002C24.6299%2029.0596%2024.8232%2028.8604%2024.9521%2028.6025C25.0869%2028.3389%2025.1543%2028.0254%2025.1543%2027.6621C25.1543%2027.293%2025.0869%2026.9766%2024.9521%2026.7129C24.8174%2026.4492%2024.6182%2026.2471%2024.3545%2026.1064C24.0967%2025.9658%2023.7773%2025.8955%2023.3965%2025.8955H21.4453V36.3105H18.3604V23.5137ZM25.3652%2036.3105L22.5352%2030.6504L25.8047%2030.6328L28.6699%2036.1787V36.3105H25.3652Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M35.8594%2023.5137V36.3105H32.7744V23.5137H35.8594ZM39.709%2023.5137V25.8955H29.0127V23.5137H39.709Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M47.9619%2023.5137H51.0469V31.8721C51.0469%2032.8682%2050.8389%2033.7119%2050.4229%2034.4033C50.0068%2035.0889%2049.4238%2035.6074%2048.6738%2035.959C47.9238%2036.3105%2047.042%2036.4863%2046.0283%2036.4863C45.0264%2036.4863%2044.1445%2036.3105%2043.3828%2035.959C42.627%2035.6074%2042.0352%2035.0889%2041.6074%2034.4033C41.1855%2033.7119%2040.9746%2032.8682%2040.9746%2031.8721V23.5137H44.0684V31.8721C44.0684%2032.3994%2044.1445%2032.8301%2044.2969%2033.1641C44.4492%2033.4922%2044.6719%2033.7324%2044.9648%2033.8848C45.2578%2034.0371%2045.6123%2034.1133%2046.0283%2034.1133C46.4502%2034.1133%2046.8047%2034.0371%2047.0918%2033.8848C47.3789%2033.7324%2047.5957%2033.4922%2047.7422%2033.1641C47.8887%2032.8301%2047.9619%2032.3994%2047.9619%2031.8721V23.5137Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M58.2188%2026.2031L55.0986%2036.3105H51.7852L56.4873%2023.5137H58.5879L58.2188%2026.2031ZM60.8027%2036.3105L57.6738%2026.2031L57.2695%2023.5137H59.3965L64.125%2036.3105H60.8027ZM60.6797%2031.5381V33.9199H54.1143V31.5381H60.6797Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M73.5205%2033.9375V36.3105H67.0518V33.9375H73.5205ZM68.1504%2023.5137V36.3105H65.0654V23.5137H68.1504Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M85.5195%201L85.5195%2041'%20stroke='%23BABABA'%20stroke-linecap='round'/%3e%3cpath%20d='M134.297%204.88348C135.77%204.88348%20135.77%206.94972%20134.297%206.94972H127.595C127.595%2012.3403%20127.625%2017.8199%20127.625%2023.2104C127.625%2023.9594%20126.994%2024.3183%20126.483%2024.3183C125.972%2024.3183%20125.401%2023.9588%20125.401%2023.2104V6.94972H118.729C117.316%206.94972%20117.316%204.88348%20118.729%204.88348H134.297Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M136.853%209.70458C136.853%208.4166%20139.047%208.38669%20139.047%209.67467V23.1806C139.047%2024.4985%20136.853%2024.468%20136.853%2023.1806V9.70458Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M156.6%2023.2105C155.157%2023.8691%20153.534%2024.2885%20152.091%2024.2885C146.952%2024.2885%20142.323%2020.0962%20142.323%2014.1666C142.323%209.25527%20145.839%205.36207%20150.468%204.64363C153.984%204.16446%20157.05%205.03308%20159.425%207.51867C160.326%208.53684%20158.704%209.765%20157.862%208.86647C155.818%206.71051%20153.443%206.38088%20150.799%206.68061C147.102%207.2495%20144.486%209.85473%20144.486%2014.1972C144.486%2018.5397%20148.003%2022.2229%20152.151%2022.2229C153.263%2022.2229%20154.495%2021.9232%20155.637%2021.3543C156.569%2020.8751%20157.471%2020.156%20158.102%2019.3478C158.793%2018.3297%20160.627%2019.4376%20159.845%2020.5454C159.034%2021.6832%20157.891%2022.5818%20156.599%2023.2105H156.6Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M137.95%207.54473C138.721%207.54473%20139.347%206.92151%20139.347%206.15272C139.347%205.38394%20138.721%204.76071%20137.95%204.76071C137.178%204.76071%20136.553%205.38394%20136.553%206.15272C136.553%206.92151%20137.178%207.54473%20137.95%207.54473Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M108.472%203.50586C102.423%203.50586%2097.5195%208.39122%2097.5195%2014.4183C97.5195%2020.4453%20102.423%2025.3307%20108.472%2025.3307C114.521%2025.3307%20119.424%2020.4453%20119.424%2014.4183C119.424%208.39122%20114.521%203.50586%20108.472%203.50586ZM111.143%209.23904C111.258%209.29626%20111.371%209.35607%20111.482%209.42044C113.207%2010.4223%20114.368%2012.2844%20114.368%2014.4183C114.368%2016.5521%20113.207%2018.4142%20111.482%2019.4161C111.371%2019.4805%20111.258%2019.541%20111.143%2019.5975C111.054%2019.6417%20110.963%2019.6827%20110.871%2019.7224C110.164%2020.0286%20109.385%2020.2002%20108.565%2020.2002C105.359%2020.2002%20102.762%2017.6113%20102.762%2014.4183C102.762%2011.2253%20105.36%208.63634%20108.565%208.63634C109.385%208.63634%20110.165%208.80798%20110.871%209.11421C110.963%209.15387%20111.054%209.19548%20111.143%209.23904Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M119.157%2026.8892H97.5195V29.8617H119.157V26.8892Z'%20fill='%23E55257'/%3e%3cpath%20d='M140.794%2026.8892H119.157V29.8617H140.794V26.8892Z'%20fill='%239AC873'/%3e%3cpath%20d='M162.432%2026.8892H140.794V29.8617H162.432V26.8892Z'%20fill='%23F1A946'/%3e%3cpath%20d='M116.086%2036.4733C115.584%2036.4356%20115.12%2036.4421%20115.12%2036.0416C115.12%2035.6411%20115.666%2035.4974%20116.03%2035.4974C116.313%2035.4974%20116.84%2035.5221%20116.978%2035.8849C117.06%2036.1222%20117.493%2036.0039%20117.405%2035.7224C117.185%2035.16%20116.514%2035.0787%20116.031%2035.0787C115.428%2035.0787%20114.662%2035.3661%20114.662%2036.0351C114.662%2036.8043%20115.39%2036.8608%20116.068%2036.9232C116.577%2036.961%20117.054%2036.9798%20117.054%2037.3797C117.054%2037.8114%20116.395%2037.9486%20116.087%2037.9486C115.629%2037.9486%20115.14%2037.8049%20115.077%2037.5234C115.02%2037.2106%20114.562%2037.342%20114.638%2037.6046C114.763%2038.2301%20115.567%2038.3614%20116.088%2038.3614C116.609%2038.3614%20117.513%2038.1677%20117.513%2037.3797C117.513%2036.5917%20116.778%2036.5357%20116.088%2036.4733H116.086Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M121.026%2035.1346C120.863%2035.091%20120.712%2035.078%20120.561%2035.078C120.41%2035.078%20120.235%2035.0904%20120.084%2035.1346C119.394%2035.3283%20118.986%2035.9102%20118.923%2036.6039C118.904%2037.0734%20119.024%2037.4732%20119.306%2037.8048C119.614%2038.1735%20120.059%2038.3679%20120.561%2038.3679C121.063%2038.3679%20121.509%2038.1741%20121.817%2037.8048C122.093%2037.4732%20122.219%2037.0734%20122.193%2036.6039C122.136%2035.9037%20121.71%2035.3283%20121.026%2035.1346ZM121.465%2037.5298C121.245%2037.7795%20120.9%2037.9426%20120.561%2037.9426C120.223%2037.9426%20119.884%2037.7925%20119.664%2037.5298C119.476%2037.3107%20119.388%2037.0168%20119.388%2036.7353C119.388%2036.1722%20119.695%2035.6846%20120.223%2035.5468C120.317%2035.5214%20120.437%2035.5032%20120.555%2035.5032C120.674%2035.5032%20120.801%2035.5221%20120.901%2035.5468C121.434%2035.6846%20121.742%2036.1781%20121.742%2036.7476C121.742%2037.0168%20121.641%2037.3165%20121.466%2037.5291L121.465%2037.5298Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M128.106%2035.1158C127.547%2035.1158%20127.001%2035.3849%20126.775%2035.9415C126.587%2035.3849%20126.047%2035.1158%20125.501%2035.1158C125.018%2035.1158%20124.572%2035.316%20124.321%2035.7659V35.3342C124.321%2035.2152%20124.24%2035.1151%20124.102%2035.1151C123.976%2035.1151%20123.876%2035.2152%20123.876%2035.3342V38.1293C123.876%2038.4108%20124.334%2038.4167%20124.334%2038.1293V36.7223C124.334%2036.0221%20124.892%2035.5533%20125.508%2035.5533C125.702%2035.5533%20125.884%2035.5969%20126.047%2035.697C126.336%2035.8784%20126.481%2036.2223%20126.481%2036.5786V38.1299C126.481%2038.2671%20126.575%2038.3484%20126.713%2038.3484C126.851%2038.3484%20126.945%2038.2671%20126.945%2038.1299V36.7542C126.945%2036.0351%20127.466%2035.5468%20128.125%2035.5468C128.652%2035.5468%20129.086%2035.9343%20129.098%2036.4727V38.1299C129.098%2038.2671%20129.18%2038.3484%20129.324%2038.3484C129.468%2038.3484%20129.556%2038.2671%20129.556%2038.1299V36.4538C129.556%2035.5969%20128.829%2035.1158%20128.106%2035.1158H128.106Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M133.31%2035.1346C133.146%2035.091%20132.996%2035.078%20132.845%2035.078C132.694%2035.078%20132.519%2035.0904%20132.368%2035.1346C131.678%2035.3283%20131.27%2035.9102%20131.207%2036.6039C131.188%2037.0734%20131.308%2037.4732%20131.59%2037.8048C131.897%2038.1735%20132.343%2038.3679%20132.845%2038.3679C133.347%2038.3679%20133.793%2038.1741%20134.1%2037.8048C134.376%2037.4732%20134.502%2037.0734%20134.477%2036.6039C134.42%2035.9037%20133.994%2035.3283%20133.31%2035.1346ZM133.749%2037.5298C133.529%2037.7795%20133.184%2037.9426%20132.844%2037.9426C132.505%2037.9426%20132.167%2037.7925%20131.947%2037.5298C131.759%2037.3107%20131.671%2037.0168%20131.671%2036.7353C131.671%2036.1722%20131.978%2035.6846%20132.506%2035.5468C132.6%2035.5214%20132.72%2035.5032%20132.838%2035.5032C132.957%2035.5032%20133.084%2035.5221%20133.184%2035.5468C133.717%2035.6846%20134.025%2036.1781%20134.025%2036.7476C134.025%2037.0168%20133.924%2037.3165%20133.749%2037.5291V37.5298Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M137.376%2036.4733C136.875%2036.4356%20136.41%2036.4421%20136.41%2036.0416C136.41%2035.6411%20136.956%2035.4974%20137.32%2035.4974C137.603%2035.4974%20138.13%2035.5221%20138.268%2035.8849C138.35%2036.1222%20138.783%2036.0039%20138.695%2035.7224C138.475%2035.16%20137.804%2035.0787%20137.321%2035.0787C136.719%2035.0787%20135.952%2035.3661%20135.952%2036.0351C135.952%2036.8043%20136.681%2036.8608%20137.359%2036.9232C137.867%2036.961%20138.344%2036.9798%20138.344%2037.3797C138.344%2037.8114%20137.685%2037.9486%20137.378%2037.9486C136.92%2037.9486%20136.43%2037.8049%20136.368%2037.5234C136.311%2037.2106%20135.853%2037.342%20135.928%2037.6046C136.054%2038.2301%20136.857%2038.3614%20137.378%2038.3614C137.9%2038.3614%20138.803%2038.1677%20138.803%2037.3797C138.803%2036.5917%20138.069%2036.5357%20137.378%2036.4733H137.376Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M146.304%2037.1521C146.186%2037.141%20146.088%2037.1917%20146.03%2037.2789C145.912%2037.4303%20145.737%2037.5714%20145.554%2037.6663C145.335%2037.7756%20145.094%2037.8354%20144.877%2037.8354C144.057%2037.8354%20143.39%2037.1345%20143.39%2036.273C143.39%2035.4779%20143.847%2034.933%20144.607%2034.816C145.224%2034.7464%20145.64%2034.8719%20145.986%2035.2373C146.124%2035.3843%20146.333%2035.355%20146.457%2035.2445C146.592%2035.1216%20146.603%2034.9402%20146.478%2034.8004C145.972%2034.2699%20145.306%2034.0573%20144.508%2034.1665C143.467%2034.3284%20142.71%2035.2113%20142.71%2036.2672C142.71%2037.5162%20143.656%2038.494%20144.864%2038.494C145.17%2038.494%20145.52%2038.4108%20145.853%2038.2587L145.855%2038.2574C146.153%2038.1124%20146.403%2037.9069%20146.576%2037.6637C146.644%2037.5682%20146.655%2037.4563%20146.608%2037.3562C146.554%2037.2437%20146.432%2037.1618%20146.304%2037.1521H146.304Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M151.37%2037.1521C151.253%2037.141%20151.154%2037.1917%20151.095%2037.2789C150.977%2037.4303%20150.803%2037.5714%20150.619%2037.6663C150.4%2037.7756%20150.159%2037.8354%20149.942%2037.8354C149.122%2037.8354%20148.455%2037.1345%20148.455%2036.273C148.455%2035.4779%20148.912%2034.933%20149.672%2034.816C150.291%2034.7464%20150.705%2034.8719%20151.051%2035.2373C151.189%2035.3843%20151.398%2035.355%20151.522%2035.2445C151.657%2035.1216%20151.668%2034.9402%20151.543%2034.8004C151.037%2034.2699%20150.371%2034.0573%20149.573%2034.1665C148.532%2034.3284%20147.775%2035.2113%20147.775%2036.2672C147.775%2037.5162%20148.722%2038.494%20149.929%2038.494C150.235%2038.494%20150.585%2038.4108%20150.918%2038.2587L150.92%2038.2574C151.218%2038.1124%20151.468%2037.9069%20151.641%2037.6637C151.709%2037.5682%20151.72%2037.4563%20151.673%2037.3562C151.62%2037.2437%20151.498%2037.1618%20151.369%2037.1521H151.37Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M154.781%2034.959C154.343%2034.959%20153.964%2035.1008%20153.708%2035.3498V34.3778C153.708%2034.1996%20153.559%2034.0651%20153.36%2034.0651C153.161%2034.0651%20153.016%2034.1964%20153.016%2034.3778V38.1234C153.016%2038.323%20153.161%2038.4622%20153.368%2038.4622C153.576%2038.4622%20153.708%2038.3263%20153.708%2038.1234V36.5663C153.708%2035.9681%20154.251%2035.6105%20154.775%2035.6105C155.197%2035.6105%20155.634%2035.933%20155.634%2036.4726V38.1234C155.634%2038.323%20155.776%2038.4622%20155.979%2038.4622C156.183%2038.4622%20156.319%2038.3263%20156.319%2038.1234V36.4726C156.319%2035.4785%20155.545%2034.9584%20154.781%2034.9584L154.781%2034.959Z'%20fill='%2365BFB1'/%3e%3cpath%20d='M161.666%2037.3562C161.613%2037.2437%20161.491%2037.1618%20161.362%2037.1521C161.243%2037.141%20161.146%2037.1917%20161.087%2037.2789C160.969%2037.4303%20160.795%2037.5714%20160.612%2037.6663C160.392%2037.7756%20160.152%2037.8354%20159.934%2037.8354C159.115%2037.8354%20158.448%2037.1345%20158.448%2036.273C158.448%2035.4779%20158.905%2034.933%20159.665%2034.816C160.283%2034.7464%20160.697%2034.8719%20161.044%2035.2373C161.181%2035.3843%20161.391%2035.355%20161.514%2035.2445C161.65%2035.1216%20161.66%2034.9402%20161.536%2034.8004C161.03%2034.2699%20160.365%2034.0573%20159.566%2034.1665C158.525%2034.3284%20157.769%2035.2113%20157.769%2036.2672C157.769%2037.5162%20158.715%2038.494%20159.923%2038.494C160.228%2038.494%20160.578%2038.4108%20160.911%2038.2587L160.913%2038.2574C161.211%2038.1124%20161.461%2037.9069%20161.634%2037.6637C161.702%2037.5682%20161.713%2037.4563%20161.666%2037.3562Z'%20fill='%2365BFB1'/%3e%3c/svg%3e",h8="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='28'%20height='28'%20transform='translate(2%202)'/%3e%3ccircle%20cx='16'%20cy='16'%20r='14.75'%20fill='%23F9DDB5'%20stroke='%23464646'%20stroke-width='1.5'/%3e%3cpath%20d='M6.99994%2015.5C6.49999%2018.9998%209%2021.5%2010%2022.5C10.8333%2021.8333%2012.8%2020%2016%2020C19.2%2020%2021.3332%2022%2021.9999%2023C23%2022%2025.5013%2021.0139%2025%2016C24.5%2011%2021.5%207%2016%207C10.5%207%207.64279%2011%206.99994%2015.5Z'%20fill='white'/%3e%3ccircle%20cx='16'%20cy='14'%20r='3'%20fill='%23F9DDB5'/%3e%3cpath%20d='M21.9815%2022.7248C20.6121%2020.9175%2018.4424%2019.75%2016%2019.75C13.5576%2019.75%2011.3879%2020.9175%2010.0185%2022.7248M21.9815%2022.7248C23.8335%2021.0763%2025%2018.6744%2025%2016C25%2011.0294%2020.9706%207%2016%207C11.0294%207%207%2011.0294%207%2016C7%2018.6744%208.1665%2021.0763%2010.0185%2022.7248M21.9815%2022.7248C20.3915%2024.1401%2018.2962%2025%2016%2025C13.7038%2025%2011.6085%2024.1401%2010.0185%2022.7248M19%2013.75C19%2015.4069%2017.6569%2016.75%2016%2016.75C14.3431%2016.75%2013%2015.4069%2013%2013.75C13%2012.0931%2014.3431%2010.75%2016%2010.75C17.6569%2010.75%2019%2012.0931%2019%2013.75Z'%20stroke='%23464646'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",sL=re.div`
|
|
1449
|
-
position: relative;
|
|
1450
|
-
`;re.div`
|
|
1451
|
-
display: flex;
|
|
1452
|
-
justify-content: space-between;
|
|
1453
|
-
position: fixed;
|
|
1454
|
-
top: 0;
|
|
1455
|
-
left: 0;
|
|
1456
|
-
background: #fff;
|
|
1457
|
-
border-bottom-left-radius: 30px;
|
|
1458
|
-
border-bottom-right-radius: 30px;
|
|
1459
|
-
padding: 26px 33px;
|
|
1460
|
-
z-index: 11;
|
|
1461
|
-
width: 100%;
|
|
1462
|
-
|
|
1463
|
-
img {
|
|
1464
|
-
cursor: pointer;
|
|
1465
|
-
}
|
|
1466
|
-
`;const lL=re.div`
|
|
1467
|
-
background: white;
|
|
1468
|
-
border: solid 1px #f3f3f3;
|
|
1469
|
-
max-height: 64px;
|
|
1470
|
-
height: 64px;
|
|
1471
|
-
border-radius: 50px;
|
|
1472
|
-
display: flex;
|
|
1473
|
-
justify-content: center;
|
|
1474
|
-
align-items: center;
|
|
1475
|
-
margin-left: auto;
|
|
1476
|
-
padding: 0 18px 0 32px;
|
|
1477
|
-
gap: 12px;
|
|
1478
|
-
text-align: right;
|
|
1479
|
-
color: black;
|
|
1480
|
-
position: relative;
|
|
1481
|
-
|
|
1482
|
-
img {
|
|
1483
|
-
width: 30px;
|
|
1484
|
-
transition: all 0.3s;
|
|
1485
|
-
cursor: pointer;
|
|
1486
|
-
}
|
|
1487
|
-
|
|
1488
|
-
p {
|
|
1489
|
-
font-size: 13px;
|
|
1490
|
-
font-weight: 600;
|
|
1491
|
-
line-height: 10px;
|
|
1492
|
-
margin: 0;
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
span {
|
|
1496
|
-
font-size: 13px;
|
|
1497
|
-
font-weight: 400;
|
|
1498
|
-
line-height: 10%;
|
|
1499
|
-
text-transform: capitalize;
|
|
1500
|
-
}
|
|
1501
|
-
`,cL=re.img`
|
|
1502
|
-
cursor: pointer;
|
|
1503
|
-
max-width: 215px;
|
|
1504
|
-
`,uL=re.div`
|
|
1505
|
-
display: grid;
|
|
1506
|
-
gap: 10px;
|
|
1507
|
-
|
|
1508
|
-
span {
|
|
1509
|
-
text-transform: capitalize;
|
|
1510
|
-
}
|
|
1511
|
-
`,m8=re.div`
|
|
1512
|
-
border-radius: 20px;
|
|
1513
|
-
border: 1px solid #f3f3f3;
|
|
1514
|
-
background: #fff;
|
|
1515
|
-
position: absolute;
|
|
1516
|
-
bottom: -10px;
|
|
1517
|
-
right: 0px;
|
|
1518
|
-
transform: translateY(100%);
|
|
1519
|
-
padding: 16px;
|
|
1520
|
-
width: 249px;
|
|
1521
|
-
font-family: Roboto, sans-serif;
|
|
1522
|
-
z-index: 20;
|
|
1523
|
-
|
|
1524
|
-
.user-info {
|
|
1525
|
-
margin-bottom: 10px;
|
|
1526
|
-
p {
|
|
1527
|
-
margin: 0;
|
|
1528
|
-
line-height: 1.2;
|
|
1529
|
-
}
|
|
1530
|
-
p:first-child {
|
|
1531
|
-
font-weight: 600;
|
|
1532
|
-
}
|
|
1533
|
-
p:last-child {
|
|
1534
|
-
font-size: 14px;
|
|
1535
|
-
color: #666;
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
button {
|
|
1540
|
-
width: 100%;
|
|
1541
|
-
height: 44px;
|
|
1542
|
-
display: flex;
|
|
1543
|
-
align-items: center;
|
|
1544
|
-
border-radius: 12px;
|
|
1545
|
-
font-size: 16px;
|
|
1546
|
-
font-weight: 500;
|
|
1547
|
-
color: #464646;
|
|
1548
|
-
padding: 0px 20px;
|
|
1549
|
-
gap: 12px;
|
|
1550
|
-
background: none;
|
|
1551
|
-
border: none;
|
|
1552
|
-
cursor: pointer;
|
|
1553
|
-
|
|
1554
|
-
&:hover {
|
|
1555
|
-
background: #f3f3f3;
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
svg {
|
|
1559
|
-
width: 20px;
|
|
1560
|
-
height: 20px;
|
|
1561
|
-
}
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
span {
|
|
1565
|
-
border-top: solid 1px #f3f3f3;
|
|
1566
|
-
width: 100%;
|
|
1567
|
-
height: 1px;
|
|
1568
|
-
display: block;
|
|
1569
|
-
margin: 10px 0;
|
|
1570
|
-
}
|
|
1571
|
-
`,v8=({selected:e})=>{var C,E,_,D,A,B,O,N;const t=al(),{isXLargeMobile:n}=O6(),[r,i]=T.useState(!1),[a,l]=T.useState(0);T.useDebugValue(a);const c=()=>{Bc("/dashboard"),l(L=>L+1)},u=()=>{Bc("/backoffice/mantainers"),l(L=>L+1)},d=()=>{var L,I,H;if(t!=null&&t.user){const W=(I=(L=t==null?void 0:t.user)==null?void 0:L.systems)==null?void 0:I.find(Y=>Y.name==="Integra Negocio"),K=(H=W==null?void 0:W.functions)==null?void 0:H.filter(Y=>[Gr.CAN_VIEW_MANTAINER].includes(Y.name));return(K==null?void 0:K.length)===1}return!1},f=()=>{var L;(L=t.history)==null||L.push("/backofficesucursal/password-change")},m=()=>{var L;localStorage.clear(),(L=t.history)==null||L.push("/login")},h=e??((E=(C=t==null?void 0:t.history)==null?void 0:C.location)==null?void 0:E.pathname),g=(h==null?void 0:h.includes("backoffice/periods"))||(h==null?void 0:h.includes("backoffice/mantainers"))||(h==null?void 0:h.includes("backoffice/requirements")),w=(_=t==null?void 0:t.environment)!=null&&_.ASSETS?`${t.environment.ASSETS}/LogoCCC-mobile.svg`:aL,x=(D=t==null?void 0:t.environment)!=null&&D.ASSETS?`${t.environment.ASSETS}/Emoji.svg`:h8,v=t!=null&&t.ref?`${t==null?void 0:t.ref.firstName} ${(A=t==null?void 0:t.ref)==null?void 0:A.lastName}`:"Nombre Usuario",S=t!=null&&t.ref?t==null?void 0:t.ref.role:"Rol";return n?b.jsxs("div",{className:Zn.mobile.container,children:[b.jsx("img",{className:Zn.mobile.logo,src:w,onClick:c}),b.jsxs("div",{className:Zn.mobile.profile.container,children:[b.jsxs("div",{className:Zn.mobile.profile.userInfo.container,children:[b.jsx("p",{className:Zn.mobile.profile.userInfo.name,children:v}),b.jsxs("span",{className:Zn.mobile.profile.userInfo.role,children:[S," "]})]}),b.jsx("img",{alt:"Profile",width:120,className:Zn.mobile.profile.pick,src:x,onClick:()=>i(L=>!L)}),r&&b.jsxs(m8,{className:Zn.mobile.dropdown.container,children:[b.jsxs("button",{onClick:f,children:[b.jsxs("div",{className:Zn.mobile.dropdown.wrapper,children:[b.jsx(X3,{})," ",b.jsx("p",{children:" Cambiar contraseña"})]})," "]}),b.jsx("span",{}),b.jsx("button",{onClick:m,children:b.jsxs("div",{className:Zn.mobile.dropdown.wrapper,children:[b.jsx(q3,{})," ",b.jsx("p",{children:"Cerrar sesión"})]})})]})]})]}):b.jsxs(sL,{children:[b.jsx("div",{style:{position:"absolute",left:"16px",top:"20px",height:"64px",display:"flex"},children:b.jsx(cL,{src:(B=t==null?void 0:t.environment)!=null&&B.ASSETS?`${t.environment.ASSETS}/LogoCCC.svg`:oL,onClick:c})}),b.jsxs("div",{style:{position:"absolute",right:"16px",top:"20px",height:"64px",display:"flex",alignItems:"center"},children:[d()&&b.jsx("button",{className:xe(Zn.menu.engine,{[Zn.menu.active]:g,[Zn.menu.button]:!g}),type:"button",onClick:u,children:b.jsx(Ww,{"aria-hidden":"true",className:Zn.menu.headless})}),b.jsxs(lL,{children:[b.jsxs(uL,{children:[b.jsx("p",{children:t!=null&&t.ref?`${t==null?void 0:t.ref.firstName} ${(O=t==null?void 0:t.ref)==null?void 0:O.lastName}`:"Nombre Usuario"}),b.jsx("span",{children:t!=null&&t.ref?t==null?void 0:t.ref.role:"Rol"})]}),b.jsx("img",{src:(N=t==null?void 0:t.environment)!=null&&N.ASSETS?`${t.environment.ASSETS}/Emoji.svg`:h8,onClick:()=>i(L=>!L)}),r&&b.jsxs(m8,{children:[b.jsxs("button",{onClick:f,children:[b.jsx(X3,{})," Cambiar contraseña"]}),b.jsx("span",{}),b.jsxs("button",{onClick:m,children:[b.jsx(q3,{})," Cerrar sesión"]})]})]})]})]})},dL=re.div`
|
|
1572
|
-
grid-column-start: ${e=>e.open?4:2};
|
|
1573
|
-
grid-column-end: span ${e=>e.open?9:11};
|
|
1574
|
-
width: 100%;
|
|
1575
|
-
grid: inherit;
|
|
1576
|
-
|
|
1577
|
-
@media (max-width: 500px) {
|
|
1578
|
-
grid-column-start: initial;
|
|
1579
|
-
grid-column-end: span 12;
|
|
1580
|
-
}
|
|
1581
|
-
`,fL=re.div`
|
|
1582
|
-
@media (max-width: 500px) {
|
|
1583
|
-
display: none;
|
|
1584
|
-
}
|
|
1585
|
-
`,pL=re.div`
|
|
1586
|
-
display: flex;
|
|
1587
|
-
flex-direction: column;
|
|
1588
|
-
min-height: 100vh;
|
|
1589
|
-
`,Nf={grid:"grid grid-cols-12 sm:mx-16 mx-[32px] mt-[9rem] gap-[1.75rem] flex-grow",open:"col-span-3 grid grid-cols-3 gap-[1.75rem]",close:"col-span-1 gap-[1.75rem]"};function hL(e,t){T.useEffect(()=>(window==null||window.addEventListener(e,n=>{n instanceof CustomEvent&&t(n==null?void 0:n.detail)}),()=>{window.removeEventListener(e,()=>{})}),[t,e])}const g8=T.memo(({menu:e,children:t,includeFooter:n=!1,includeNavbar:r=!0,includeSidebar:i=!0})=>{const[a,l]=T.useState(!0),[c,u]=T.useState("");hL("single-spa:routing-event",f=>{const m=new URL(f.newUrl);u(m.pathname)});const d=()=>{l(f=>!f)};return b.jsxs(pL,{children:[b.jsxs("div",{className:Nf.grid,children:[r&&b.jsx(Si,{top:"0",left:"0",right:"0",height:"0",zIndex:"10",position:"fixed",children:b.jsx(v8,{selected:c})}),i&&b.jsx(fL,{className:a?Nf.open:Nf.close,children:b.jsx(D6,{open:a,selected:c,panel:e==null?void 0:e.panel,options:e==null?void 0:e.options,onToggle:d})}),b.jsx(dL,{open:a,children:t})]}),n&&b.jsx(_6,{})]})});for(var yn=[],If=0;If<256;++If)yn.push((If+256).toString(16).slice(1));function mL(e,t=0){return(yn[e[t+0]]+yn[e[t+1]]+yn[e[t+2]]+yn[e[t+3]]+"-"+yn[e[t+4]]+yn[e[t+5]]+"-"+yn[e[t+6]]+yn[e[t+7]]+"-"+yn[e[t+8]]+yn[e[t+9]]+"-"+yn[e[t+10]]+yn[e[t+11]]+yn[e[t+12]]+yn[e[t+13]]+yn[e[t+14]]+yn[e[t+15]]).toLowerCase()}var Nc,vL=new Uint8Array(16);function gL(){if(!Nc&&(Nc=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Nc))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Nc(vL)}var xL=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const x8={randomUUID:xL};function b8(e,t,n){if(x8.randomUUID&&!e)return x8.randomUUID();e=e||{};var r=e.random||(e.rng||gL)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,mL(r)}const Ic=()=>b.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-4 h-4 relative top-[1px] hover:cursor-pointer hover:text-darkened",attributeName:"transform",children:b.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})});class bL{constructor(t){vn(this,"variants",{sm:"text-sm",md:"text-md",lg:"text-lg",xl:"text-xl"});vn(this,"tailwind","");vn(this,"headings",[]);this.headings=this.buildStyle(t.headers??[])}buildStyle(t){return t.map(n=>{if(typeof n=="object")switch(n.size){case"sm":return this.variants.sm;case"md":return this.variants.md;case"lg":return this.variants.lg;case"xl":return this.variants.xl;default:return this.variants.md}return n})}}const sn={table:{container:"table-fixed"},colHead:"flex justify-between items-center",kind:"rounded-full self-center",row:{delete:"text-sm font-bold hover:cursor-pointer flex items-center justify-center gap-1 text-info hover:text-secondary",sortable:"transition ease-in-out duration-300",container:"border rounded-full p-2 bg-white text-base font-bold",innerText:"text-ellipsis whitespace-nowrap overflow-hidden sm:text-clip sm:overflow-visible"},data:{container:"bg-white h-[52px]",borders:"text-base font-bold"},status:{root:"flex flex-wrap justify-start items-center w-full",item:"shrink-0 basis-0"},cols:{grids:"flex items-center",details:"flex items-center"},selectable:"inline-flex align-middle mr-4 cursor-pointer",icons:e=>`flex items-center flex gap-2.5 justify-${e??"center"}`};var Gn="top",Dr="bottom",Or="right",Kn="left",Mf="auto",Tl=[Gn,Dr,Or,Kn],ss="start",Fl="end",yL="clippingParents",y8="viewport",Bl="popper",wL="reference",w8=Tl.reduce(function(e,t){return e.concat([t+"-"+ss,t+"-"+Fl])},[]),C8=[].concat(Tl,[Mf]).reduce(function(e,t){return e.concat([t,t+"-"+ss,t+"-"+Fl])},[]),CL="beforeRead",EL="read",_L="afterRead",SL="beforeMain",AL="main",kL="afterMain",DL="beforeWrite",OL="write",TL="afterWrite",FL=[CL,EL,_L,SL,AL,kL,DL,OL,TL];function mi(e){return e?(e.nodeName||"").toLowerCase():null}function lr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function na(e){var t=lr(e).Element;return e instanceof t||e instanceof Element}function Tr(e){var t=lr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function $f(e){if(typeof ShadowRoot>"u")return!1;var t=lr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function BL(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},a=t.elements[n];!Tr(a)||!mi(a)||(Object.assign(a.style,r),Object.keys(i).forEach(function(l){var c=i[l];c===!1?a.removeAttribute(l):a.setAttribute(l,c===!0?"":c)}))})}function PL(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),c=l.reduce(function(u,d){return u[d]="",u},{});!Tr(i)||!mi(i)||(Object.assign(i.style,c),Object.keys(a).forEach(function(u){i.removeAttribute(u)}))})}}const E8={name:"applyStyles",enabled:!0,phase:"write",fn:BL,effect:PL,requires:["computeStyles"]};function vi(e){return e.split("-")[0]}var ra=Math.max,Mc=Math.min,ls=Math.round;function Hf(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function _8(){return!/^((?!chrome|android).)*safari/i.test(Hf())}function cs(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&Tr(e)&&(i=e.offsetWidth>0&&ls(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&ls(r.height)/e.offsetHeight||1);var l=na(e)?lr(e):window,c=l.visualViewport,u=!_8()&&n,d=(r.left+(u&&c?c.offsetLeft:0))/i,f=(r.top+(u&&c?c.offsetTop:0))/a,m=r.width/i,h=r.height/a;return{width:m,height:h,top:f,right:d+m,bottom:f+h,left:d,x:d,y:f}}function jf(e){var t=cs(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function S8(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&$f(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function qi(e){return lr(e).getComputedStyle(e)}function LL(e){return["table","td","th"].indexOf(mi(e))>=0}function wo(e){return((na(e)?e.ownerDocument:e.document)||window.document).documentElement}function $c(e){return mi(e)==="html"?e:e.assignedSlot||e.parentNode||($f(e)?e.host:null)||wo(e)}function A8(e){return!Tr(e)||qi(e).position==="fixed"?null:e.offsetParent}function NL(e){var t=/firefox/i.test(Hf()),n=/Trident/i.test(Hf());if(n&&Tr(e)){var r=qi(e);if(r.position==="fixed")return null}var i=$c(e);for($f(i)&&(i=i.host);Tr(i)&&["html","body"].indexOf(mi(i))<0;){var a=qi(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Pl(e){for(var t=lr(e),n=A8(e);n&&LL(n)&&qi(n).position==="static";)n=A8(n);return n&&(mi(n)==="html"||mi(n)==="body"&&qi(n).position==="static")?t:n||NL(e)||t}function Rf(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ll(e,t,n){return ra(e,Mc(t,n))}function IL(e,t,n){var r=Ll(e,t,n);return r>n?n:r}function k8(){return{top:0,right:0,bottom:0,left:0}}function D8(e){return Object.assign({},k8(),e)}function O8(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var ML=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,D8(typeof t!="number"?t:O8(t,Tl))};function $L(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,c=vi(n.placement),u=Rf(c),d=[Kn,Or].indexOf(c)>=0,f=d?"height":"width";if(!(!a||!l)){var m=ML(i.padding,n),h=jf(a),g=u==="y"?Gn:Kn,w=u==="y"?Dr:Or,x=n.rects.reference[f]+n.rects.reference[u]-l[u]-n.rects.popper[f],v=l[u]-n.rects.reference[u],S=Pl(a),C=S?u==="y"?S.clientHeight||0:S.clientWidth||0:0,E=x/2-v/2,_=m[g],D=C-h[f]-m[w],A=C/2-h[f]/2+E,B=Ll(_,A,D),O=u;n.modifiersData[r]=(t={},t[O]=B,t.centerOffset=B-A,t)}}function HL(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||S8(t.elements.popper,i)&&(t.elements.arrow=i))}const jL={name:"arrow",enabled:!0,phase:"main",fn:$L,effect:HL,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function us(e){return e.split("-")[1]}var RL={top:"auto",right:"auto",bottom:"auto",left:"auto"};function WL(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:ls(n*i)/i||0,y:ls(r*i)/i||0}}function T8(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,l=e.offsets,c=e.position,u=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,m=e.isFixed,h=l.x,g=h===void 0?0:h,w=l.y,x=w===void 0?0:w,v=typeof f=="function"?f({x:g,y:x}):{x:g,y:x};g=v.x,x=v.y;var S=l.hasOwnProperty("x"),C=l.hasOwnProperty("y"),E=Kn,_=Gn,D=window;if(d){var A=Pl(n),B="clientHeight",O="clientWidth";if(A===lr(n)&&(A=wo(n),qi(A).position!=="static"&&c==="absolute"&&(B="scrollHeight",O="scrollWidth")),A=A,i===Gn||(i===Kn||i===Or)&&a===Fl){_=Dr;var N=m&&A===D&&D.visualViewport?D.visualViewport.height:A[B];x-=N-r.height,x*=u?1:-1}if(i===Kn||(i===Gn||i===Dr)&&a===Fl){E=Or;var L=m&&A===D&&D.visualViewport?D.visualViewport.width:A[O];g-=L-r.width,g*=u?1:-1}}var I=Object.assign({position:c},d&&RL),H=f===!0?WL({x:g,y:x},lr(n)):{x:g,y:x};if(g=H.x,x=H.y,u){var W;return Object.assign({},I,(W={},W[_]=C?"0":"",W[E]=S?"0":"",W.transform=(D.devicePixelRatio||1)<=1?"translate("+g+"px, "+x+"px)":"translate3d("+g+"px, "+x+"px, 0)",W))}return Object.assign({},I,(t={},t[_]=C?x+"px":"",t[E]=S?g+"px":"",t.transform="",t))}function UL(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,c=n.roundOffsets,u=c===void 0?!0:c,d={placement:vi(t.placement),variation:us(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,T8(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,T8(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const zL={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:UL,data:{}};var Hc={passive:!0};function VL(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,l=r.resize,c=l===void 0?!0:l,u=lr(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach(function(f){f.addEventListener("scroll",n.update,Hc)}),c&&u.addEventListener("resize",n.update,Hc),function(){a&&d.forEach(function(f){f.removeEventListener("scroll",n.update,Hc)}),c&&u.removeEventListener("resize",n.update,Hc)}}const qL={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:VL,data:{}};var YL={left:"right",right:"left",bottom:"top",top:"bottom"};function jc(e){return e.replace(/left|right|bottom|top/g,function(t){return YL[t]})}var ZL={start:"end",end:"start"};function F8(e){return e.replace(/start|end/g,function(t){return ZL[t]})}function Wf(e){var t=lr(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Uf(e){return cs(wo(e)).left+Wf(e).scrollLeft}function GL(e,t){var n=lr(e),r=wo(e),i=n.visualViewport,a=r.clientWidth,l=r.clientHeight,c=0,u=0;if(i){a=i.width,l=i.height;var d=_8();(d||!d&&t==="fixed")&&(c=i.offsetLeft,u=i.offsetTop)}return{width:a,height:l,x:c+Uf(e),y:u}}function KL(e){var t,n=wo(e),r=Wf(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=ra(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),l=ra(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),c=-r.scrollLeft+Uf(e),u=-r.scrollTop;return qi(i||n).direction==="rtl"&&(c+=ra(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:l,x:c,y:u}}function zf(e){var t=qi(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function B8(e){return["html","body","#document"].indexOf(mi(e))>=0?e.ownerDocument.body:Tr(e)&&zf(e)?e:B8($c(e))}function Nl(e,t){var n;t===void 0&&(t=[]);var r=B8(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=lr(r),l=i?[a].concat(a.visualViewport||[],zf(r)?r:[]):r,c=t.concat(l);return i?c:c.concat(Nl($c(l)))}function Vf(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function XL(e,t){var n=cs(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function P8(e,t,n){return t===y8?Vf(GL(e,n)):na(t)?XL(t,n):Vf(KL(wo(e)))}function QL(e){var t=Nl($c(e)),n=["absolute","fixed"].indexOf(qi(e).position)>=0,r=n&&Tr(e)?Pl(e):e;return na(r)?t.filter(function(i){return na(i)&&S8(i,r)&&mi(i)!=="body"}):[]}function JL(e,t,n,r){var i=t==="clippingParents"?QL(e):[].concat(t),a=[].concat(i,[n]),l=a[0],c=a.reduce(function(u,d){var f=P8(e,d,r);return u.top=ra(f.top,u.top),u.right=Mc(f.right,u.right),u.bottom=Mc(f.bottom,u.bottom),u.left=ra(f.left,u.left),u},P8(e,l,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function L8(e){var t=e.reference,n=e.element,r=e.placement,i=r?vi(r):null,a=r?us(r):null,l=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,u;switch(i){case Gn:u={x:l,y:t.y-n.height};break;case Dr:u={x:l,y:t.y+t.height};break;case Or:u={x:t.x+t.width,y:c};break;case Kn:u={x:t.x-n.width,y:c};break;default:u={x:t.x,y:t.y}}var d=i?Rf(i):null;if(d!=null){var f=d==="y"?"height":"width";switch(a){case ss:u[d]=u[d]-(t[f]/2-n[f]/2);break;case Fl:u[d]=u[d]+(t[f]/2-n[f]/2);break}}return u}function Il(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,c=n.boundary,u=c===void 0?yL:c,d=n.rootBoundary,f=d===void 0?y8:d,m=n.elementContext,h=m===void 0?Bl:m,g=n.altBoundary,w=g===void 0?!1:g,x=n.padding,v=x===void 0?0:x,S=D8(typeof v!="number"?v:O8(v,Tl)),C=h===Bl?wL:Bl,E=e.rects.popper,_=e.elements[w?C:h],D=JL(na(_)?_:_.contextElement||wo(e.elements.popper),u,f,l),A=cs(e.elements.reference),B=L8({reference:A,element:E,placement:i}),O=Vf(Object.assign({},E,B)),N=h===Bl?O:A,L={top:D.top-N.top+S.top,bottom:N.bottom-D.bottom+S.bottom,left:D.left-N.left+S.left,right:N.right-D.right+S.right},I=e.modifiersData.offset;if(h===Bl&&I){var H=I[i];Object.keys(L).forEach(function(W){var K=[Or,Dr].indexOf(W)>=0?1:-1,Y=[Gn,Dr].indexOf(W)>=0?"y":"x";L[W]+=H[Y]*K})}return L}function eN(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,l=n.padding,c=n.flipVariations,u=n.allowedAutoPlacements,d=u===void 0?C8:u,f=us(r),m=f?c?w8:w8.filter(function(w){return us(w)===f}):Tl,h=m.filter(function(w){return d.indexOf(w)>=0});h.length===0&&(h=m);var g=h.reduce(function(w,x){return w[x]=Il(e,{placement:x,boundary:i,rootBoundary:a,padding:l})[vi(x)],w},{});return Object.keys(g).sort(function(w,x){return g[w]-g[x]})}function tN(e){if(vi(e)===Mf)return[];var t=jc(e);return[F8(e),t,F8(t)]}function nN(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,l=n.altAxis,c=l===void 0?!0:l,u=n.fallbackPlacements,d=n.padding,f=n.boundary,m=n.rootBoundary,h=n.altBoundary,g=n.flipVariations,w=g===void 0?!0:g,x=n.allowedAutoPlacements,v=t.options.placement,S=vi(v),C=S===v,E=u||(C||!w?[jc(v)]:tN(v)),_=[v].concat(E).reduce(function(U,pe){return U.concat(vi(pe)===Mf?eN(t,{placement:pe,boundary:f,rootBoundary:m,padding:d,flipVariations:w,allowedAutoPlacements:x}):pe)},[]),D=t.rects.reference,A=t.rects.popper,B=new Map,O=!0,N=_[0],L=0;L<_.length;L++){var I=_[L],H=vi(I),W=us(I)===ss,K=[Gn,Dr].indexOf(H)>=0,Y=K?"width":"height",ne=Il(t,{placement:I,boundary:f,rootBoundary:m,altBoundary:h,padding:d}),ue=K?W?Or:Kn:W?Dr:Gn;D[Y]>A[Y]&&(ue=jc(ue));var se=jc(ue),ae=[];if(a&&ae.push(ne[H]<=0),c&&ae.push(ne[ue]<=0,ne[se]<=0),ae.every(function(U){return U})){N=I,O=!1;break}B.set(I,ae)}if(O)for(var Z=w?3:1,M=function(pe){var J=_.find(function(de){var fe=B.get(de);if(fe)return fe.slice(0,pe).every(function(Se){return Se})});if(J)return N=J,"break"},z=Z;z>0;z--){var X=M(z);if(X==="break")break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}}const rN={name:"flip",enabled:!0,phase:"main",fn:nN,requiresIfExists:["offset"],data:{_skip:!1}};function N8(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function I8(e){return[Gn,Or,Dr,Kn].some(function(t){return e[t]>=0})}function iN(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,l=Il(t,{elementContext:"reference"}),c=Il(t,{altBoundary:!0}),u=N8(l,r),d=N8(c,i,a),f=I8(u),m=I8(d);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":m})}const oN={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:iN};function aN(e,t,n){var r=vi(e),i=[Kn,Gn].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],c=a[1];return l=l||0,c=(c||0)*i,[Kn,Or].indexOf(r)>=0?{x:c,y:l}:{x:l,y:c}}function sN(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,l=C8.reduce(function(f,m){return f[m]=aN(m,t.rects,a),f},{}),c=l[t.placement],u=c.x,d=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=l}const lN={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:sN};function cN(e){var t=e.state,n=e.name;t.modifiersData[n]=L8({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const uN={name:"popperOffsets",enabled:!0,phase:"read",fn:cN,data:{}};function dN(e){return e==="x"?"y":"x"}function fN(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,l=n.altAxis,c=l===void 0?!1:l,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,m=n.padding,h=n.tether,g=h===void 0?!0:h,w=n.tetherOffset,x=w===void 0?0:w,v=Il(t,{boundary:u,rootBoundary:d,padding:m,altBoundary:f}),S=vi(t.placement),C=us(t.placement),E=!C,_=Rf(S),D=dN(_),A=t.modifiersData.popperOffsets,B=t.rects.reference,O=t.rects.popper,N=typeof x=="function"?x(Object.assign({},t.rects,{placement:t.placement})):x,L=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(A){if(a){var W,K=_==="y"?Gn:Kn,Y=_==="y"?Dr:Or,ne=_==="y"?"height":"width",ue=A[_],se=ue+v[K],ae=ue-v[Y],Z=g?-O[ne]/2:0,M=C===ss?B[ne]:O[ne],z=C===ss?-O[ne]:-B[ne],X=t.elements.arrow,U=g&&X?jf(X):{width:0,height:0},pe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:k8(),J=pe[K],de=pe[Y],fe=Ll(0,B[ne],U[ne]),Se=E?B[ne]/2-Z-fe-J-L.mainAxis:M-fe-J-L.mainAxis,Oe=E?-B[ne]/2+Z+fe+de+L.mainAxis:z+fe+de+L.mainAxis,We=t.elements.arrow&&Pl(t.elements.arrow),Ie=We?_==="y"?We.clientTop||0:We.clientLeft||0:0,Ue=(W=I==null?void 0:I[_])!=null?W:0,mt=ue+Se-Ue-Ie,rt=ue+Oe-Ue,ke=Ll(g?Mc(se,mt):se,ue,g?ra(ae,rt):ae);A[_]=ke,H[_]=ke-ue}if(c){var dt,Xe=_==="x"?Gn:Kn,kt=_==="x"?Dr:Or,wt=A[D],it=D==="y"?"height":"width",Ye=wt+v[Xe],St=wt-v[kt],jt=[Gn,Kn].indexOf(S)!==-1,ge=(dt=I==null?void 0:I[D])!=null?dt:0,Ce=jt?Ye:wt-B[it]-O[it]-ge+L.altAxis,Qe=jt?wt+B[it]+O[it]-ge-L.altAxis:St,ot=g&&jt?IL(Ce,wt,Qe):Ll(g?Ce:Ye,wt,g?Qe:St);A[D]=ot,H[D]=ot-wt}t.modifiersData[r]=H}}const pN={name:"preventOverflow",enabled:!0,phase:"main",fn:fN,requiresIfExists:["offset"]};function hN(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function mN(e){return e===lr(e)||!Tr(e)?Wf(e):hN(e)}function vN(e){var t=e.getBoundingClientRect(),n=ls(t.width)/e.offsetWidth||1,r=ls(t.height)/e.offsetHeight||1;return n!==1||r!==1}function gN(e,t,n){n===void 0&&(n=!1);var r=Tr(t),i=Tr(t)&&vN(t),a=wo(t),l=cs(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((mi(t)!=="body"||zf(a))&&(c=mN(t)),Tr(t)?(u=cs(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Uf(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function xN(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(c){if(!n.has(c)){var u=t.get(c);u&&i(u)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),r}function bN(e){var t=xN(e);return FL.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function yN(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function wN(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var M8={placement:"bottom",modifiers:[],strategy:"absolute"};function $8(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function CN(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?M8:i;return function(c,u,d){d===void 0&&(d=a);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},M8,a),modifiersData:{},elements:{reference:c,popper:u},attributes:{},styles:{}},m=[],h=!1,g={state:f,setOptions:function(S){var C=typeof S=="function"?S(f.options):S;x(),f.options=Object.assign({},a,f.options,C),f.scrollParents={reference:na(c)?Nl(c):c.contextElement?Nl(c.contextElement):[],popper:Nl(u)};var E=bN(wN([].concat(r,f.options.modifiers)));return f.orderedModifiers=E.filter(function(_){return _.enabled}),w(),g.update()},forceUpdate:function(){if(!h){var S=f.elements,C=S.reference,E=S.popper;if($8(C,E)){f.rects={reference:gN(C,Pl(E),f.options.strategy==="fixed"),popper:jf(E)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(L){return f.modifiersData[L.name]=Object.assign({},L.data)});for(var _=0;_<f.orderedModifiers.length;_++){if(f.reset===!0){f.reset=!1,_=-1;continue}var D=f.orderedModifiers[_],A=D.fn,B=D.options,O=B===void 0?{}:B,N=D.name;typeof A=="function"&&(f=A({state:f,options:O,name:N,instance:g})||f)}}}},update:yN(function(){return new Promise(function(v){g.forceUpdate(),v(f)})}),destroy:function(){x(),h=!0}};if(!$8(c,u))return g;g.setOptions(d).then(function(v){!h&&d.onFirstUpdate&&d.onFirstUpdate(v)});function w(){f.orderedModifiers.forEach(function(v){var S=v.name,C=v.options,E=C===void 0?{}:C,_=v.effect;if(typeof _=="function"){var D=_({state:f,name:S,instance:g,options:E}),A=function(){};m.push(D||A)}})}function x(){m.forEach(function(v){return v()}),m=[]}return g}}var EN=[qL,uN,zL,E8,lN,rN,pN,jL,oN],_N=CN({defaultModifiers:EN}),SN="tippy-box",H8="tippy-content",AN="tippy-backdrop",j8="tippy-arrow",R8="tippy-svg-arrow",ia={passive:!0,capture:!0},W8=function(){return document.body};function kN(e,t){return{}.hasOwnProperty.call(e,t)}function qf(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function Yf(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function U8(e,t){return typeof e=="function"?e.apply(void 0,t):e}function z8(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function DN(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function ON(e){return e.split(/\s+/).filter(Boolean)}function ds(e){return[].concat(e)}function V8(e,t){e.indexOf(t)===-1&&e.push(t)}function TN(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function FN(e){return e.split("-")[0]}function Rc(e){return[].slice.call(e)}function q8(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function Ml(){return document.createElement("div")}function $l(e){return["Element","Fragment"].some(function(t){return Yf(e,t)})}function BN(e){return Yf(e,"NodeList")}function PN(e){return Yf(e,"MouseEvent")}function LN(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function NN(e){return $l(e)?[e]:BN(e)?Rc(e):Array.isArray(e)?e:Rc(document.querySelectorAll(e))}function Zf(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function Y8(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function IN(e){var t,n=ds(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function MN(e,t){var n=t.clientX,r=t.clientY;return e.every(function(i){var a=i.popperRect,l=i.popperState,c=i.props,u=c.interactiveBorder,d=FN(l.placement),f=l.modifiersData.offset;if(!f)return!0;var m=d==="bottom"?f.top.y:0,h=d==="top"?f.bottom.y:0,g=d==="right"?f.left.x:0,w=d==="left"?f.right.x:0,x=a.top-r+m>u,v=r-a.bottom-h>u,S=a.left-n+g>u,C=n-a.right-w>u;return x||v||S||C})}function Gf(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[r](i,n)})}function Z8(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var gi={isTouch:!1},G8=0;function $N(){gi.isTouch||(gi.isTouch=!0,window.performance&&document.addEventListener("mousemove",K8))}function K8(){var e=performance.now();e-G8<20&&(gi.isTouch=!1,document.removeEventListener("mousemove",K8)),G8=e}function HN(){var e=document.activeElement;if(LN(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function jN(){document.addEventListener("touchstart",$N,ia),window.addEventListener("blur",HN)}var RN=typeof window<"u"&&typeof document<"u",WN=RN?!!window.msCrypto:!1;function fs(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function X8(e){var t=/[ \t]{2,}/g,n=/^[ \t]*/gm;return e.replace(t," ").replace(n,"").trim()}function UN(e){return X8(`
|
|
1590
|
-
%ctippy.js
|
|
1591
|
-
|
|
1592
|
-
%c`+X8(e)+`
|
|
1593
|
-
|
|
1594
|
-
%c👷 This is a development-only message. It will be removed in production.
|
|
1595
|
-
`)}function Q8(e){return[UN(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Hl;process.env.NODE_ENV!=="production"&&zN();function zN(){Hl=new Set}function Yi(e,t){if(e&&!Hl.has(t)){var n;Hl.add(t),(n=console).warn.apply(n,Q8(t))}}function Kf(e,t){if(e&&!Hl.has(t)){var n;Hl.add(t),(n=console).error.apply(n,Q8(t))}}function VN(e){var t=!e,n=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;Kf(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Kf(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var J8={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},qN={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},cr=Object.assign({appendTo:W8,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},J8,qN),YN=Object.keys(cr),ZN=function(t){process.env.NODE_ENV!=="production"&&nv(t,[]);var n=Object.keys(t);n.forEach(function(r){cr[r]=t[r]})};function ev(e){var t=e.plugins||[],n=t.reduce(function(r,i){var a=i.name,l=i.defaultValue;if(a){var c;r[a]=e[a]!==void 0?e[a]:(c=cr[a])!=null?c:l}return r},{});return Object.assign({},e,n)}function GN(e,t){var n=t?Object.keys(ev(Object.assign({},cr,{plugins:t}))):YN,r=n.reduce(function(i,a){var l=(e.getAttribute("data-tippy-"+a)||"").trim();if(!l)return i;if(a==="content")i[a]=l;else try{i[a]=JSON.parse(l)}catch{i[a]=l}return i},{});return r}function tv(e,t){var n=Object.assign({},t,{content:U8(t.content,[e])},t.ignoreAttributes?{}:GN(e,t.plugins));return n.aria=Object.assign({},cr.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}function nv(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=Object.keys(e);n.forEach(function(r){var i=DN(cr,Object.keys(J8)),a=!kN(i,r);a&&(a=t.filter(function(l){return l.name===r}).length===0),Yi(a,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
|
|
1596
|
-
|
|
1597
|
-
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
1598
|
-
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var KN=function(){return"innerHTML"};function Xf(e,t){e[KN()]=t}function rv(e){var t=Ml();return e===!0?t.className=j8:(t.className=R8,$l(e)?t.appendChild(e):Xf(t,e)),t}function iv(e,t){$l(t.content)?(Xf(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Xf(e,t.content):e.textContent=t.content)}function Qf(e){var t=e.firstElementChild,n=Rc(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(H8)}),arrow:n.find(function(r){return r.classList.contains(j8)||r.classList.contains(R8)}),backdrop:n.find(function(r){return r.classList.contains(AN)})}}function ov(e){var t=Ml(),n=Ml();n.className=SN,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Ml();r.className=H8,r.setAttribute("data-state","hidden"),iv(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(a,l){var c=Qf(t),u=c.box,d=c.content,f=c.arrow;l.theme?u.setAttribute("data-theme",l.theme):u.removeAttribute("data-theme"),typeof l.animation=="string"?u.setAttribute("data-animation",l.animation):u.removeAttribute("data-animation"),l.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof l.maxWidth=="number"?l.maxWidth+"px":l.maxWidth,l.role?u.setAttribute("role",l.role):u.removeAttribute("role"),(a.content!==l.content||a.allowHTML!==l.allowHTML)&&iv(d,e.props),l.arrow?f?a.arrow!==l.arrow&&(u.removeChild(f),u.appendChild(rv(l.arrow))):u.appendChild(rv(l.arrow)):f&&u.removeChild(f)}return{popper:t,onUpdate:i}}ov.$$tippy=!0;var XN=1,Wc=[],Jf=[];function QN(e,t){var n=tv(e,Object.assign({},cr,ev(q8(t)))),r,i,a,l=!1,c=!1,u=!1,d=!1,f,m,h,g=[],w=z8(mt,n.interactiveDebounce),x,v=XN++,S=null,C=TN(n.plugins),E={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:v,reference:e,popper:Ml(),popperInstance:S,props:n,state:E,plugins:C,clearDelayTimeouts:Ce,setProps:Qe,setContent:ot,show:ht,hide:Ut,hideWithInteractivity:Ot,enable:jt,disable:ge,unmount:ln,destroy:wn};if(!n.render)return process.env.NODE_ENV!=="production"&&Kf(!0,"render() function has not been supplied."),_;var D=n.render(_),A=D.popper,B=D.onUpdate;A.setAttribute("data-tippy-root",""),A.id="tippy-"+_.id,_.popper=A,e._tippy=_,A._tippy=_;var O=C.map(function(te){return te.fn(_)}),N=e.hasAttribute("aria-expanded");return We(),Z(),ue(),se("onCreate",[_]),n.showOnCreate&&Ye(),A.addEventListener("mouseenter",function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()}),A.addEventListener("mouseleave",function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&K().addEventListener("mousemove",w)}),_;function L(){var te=_.props.touch;return Array.isArray(te)?te:[te,0]}function I(){return L()[0]==="hold"}function H(){var te;return!!((te=_.props.render)!=null&&te.$$tippy)}function W(){return x||e}function K(){var te=W().parentNode;return te?IN(te):document}function Y(){return Qf(A)}function ne(te){return _.state.isMounted&&!_.state.isVisible||gi.isTouch||f&&f.type==="focus"?0:qf(_.props.delay,te?0:1,cr.delay)}function ue(te){te===void 0&&(te=!1),A.style.pointerEvents=_.props.interactive&&!te?"":"none",A.style.zIndex=""+_.props.zIndex}function se(te,be,Te){if(Te===void 0&&(Te=!0),O.forEach(function(He){He[te]&&He[te].apply(He,be)}),Te){var qe;(qe=_.props)[te].apply(qe,be)}}function ae(){var te=_.props.aria;if(te.content){var be="aria-"+te.content,Te=A.id,qe=ds(_.props.triggerTarget||e);qe.forEach(function(He){var Dt=He.getAttribute(be);if(_.state.isVisible)He.setAttribute(be,Dt?Dt+" "+Te:Te);else{var Vt=Dt&&Dt.replace(Te,"").trim();Vt?He.setAttribute(be,Vt):He.removeAttribute(be)}})}}function Z(){if(!(N||!_.props.aria.expanded)){var te=ds(_.props.triggerTarget||e);te.forEach(function(be){_.props.interactive?be.setAttribute("aria-expanded",_.state.isVisible&&be===W()?"true":"false"):be.removeAttribute("aria-expanded")})}}function M(){K().removeEventListener("mousemove",w),Wc=Wc.filter(function(te){return te!==w})}function z(te){if(!(gi.isTouch&&(u||te.type==="mousedown"))){var be=te.composedPath&&te.composedPath()[0]||te.target;if(!(_.props.interactive&&Z8(A,be))){if(ds(_.props.triggerTarget||e).some(function(Te){return Z8(Te,be)})){if(gi.isTouch||_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else se("onClickOutside",[_,te]);_.props.hideOnClick===!0&&(_.clearDelayTimeouts(),_.hide(),c=!0,setTimeout(function(){c=!1}),_.state.isMounted||J())}}}function X(){u=!0}function U(){u=!1}function pe(){var te=K();te.addEventListener("mousedown",z,!0),te.addEventListener("touchend",z,ia),te.addEventListener("touchstart",U,ia),te.addEventListener("touchmove",X,ia)}function J(){var te=K();te.removeEventListener("mousedown",z,!0),te.removeEventListener("touchend",z,ia),te.removeEventListener("touchstart",U,ia),te.removeEventListener("touchmove",X,ia)}function de(te,be){Se(te,function(){!_.state.isVisible&&A.parentNode&&A.parentNode.contains(A)&&be()})}function fe(te,be){Se(te,be)}function Se(te,be){var Te=Y().box;function qe(He){He.target===Te&&(Gf(Te,"remove",qe),be())}if(te===0)return be();Gf(Te,"remove",m),Gf(Te,"add",qe),m=qe}function Oe(te,be,Te){Te===void 0&&(Te=!1);var qe=ds(_.props.triggerTarget||e);qe.forEach(function(He){He.addEventListener(te,be,Te),g.push({node:He,eventType:te,handler:be,options:Te})})}function We(){I()&&(Oe("touchstart",Ue,{passive:!0}),Oe("touchend",rt,{passive:!0})),ON(_.props.trigger).forEach(function(te){if(te!=="manual")switch(Oe(te,Ue),te){case"mouseenter":Oe("mouseleave",rt);break;case"focus":Oe(WN?"focusout":"blur",ke);break;case"focusin":Oe("focusout",ke);break}})}function Ie(){g.forEach(function(te){var be=te.node,Te=te.eventType,qe=te.handler,He=te.options;be.removeEventListener(Te,qe,He)}),g=[]}function Ue(te){var be,Te=!1;if(!(!_.state.isEnabled||dt(te)||c)){var qe=((be=f)==null?void 0:be.type)==="focus";f=te,x=te.currentTarget,Z(),!_.state.isVisible&&PN(te)&&Wc.forEach(function(He){return He(te)}),te.type==="click"&&(_.props.trigger.indexOf("mouseenter")<0||l)&&_.props.hideOnClick!==!1&&_.state.isVisible?Te=!0:Ye(te),te.type==="click"&&(l=!Te),Te&&!qe&&St(te)}}function mt(te){var be=te.target,Te=W().contains(be)||A.contains(be);if(!(te.type==="mousemove"&&Te)){var qe=it().concat(A).map(function(He){var Dt,Vt=He._tippy,Hn=(Dt=Vt.popperInstance)==null?void 0:Dt.state;return Hn?{popperRect:He.getBoundingClientRect(),popperState:Hn,props:n}:null}).filter(Boolean);MN(qe,te)&&(M(),St(te))}}function rt(te){var be=dt(te)||_.props.trigger.indexOf("click")>=0&&l;if(!be){if(_.props.interactive){_.hideWithInteractivity(te);return}St(te)}}function ke(te){_.props.trigger.indexOf("focusin")<0&&te.target!==W()||_.props.interactive&&te.relatedTarget&&A.contains(te.relatedTarget)||St(te)}function dt(te){return gi.isTouch?I()!==te.type.indexOf("touch")>=0:!1}function Xe(){kt();var te=_.props,be=te.popperOptions,Te=te.placement,qe=te.offset,He=te.getReferenceClientRect,Dt=te.moveTransition,Vt=H()?Qf(A).arrow:null,Hn=He?{getBoundingClientRect:He,contextElement:He.contextElement||W()}:e,Qr={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(bi){var dr=bi.state;if(H()){var ua=Y(),yi=ua.box;["placement","reference-hidden","escaped"].forEach(function(ei){ei==="placement"?yi.setAttribute("data-placement",dr.placement):dr.attributes.popper["data-popper-"+ei]?yi.setAttribute("data-"+ei,""):yi.removeAttribute("data-"+ei)}),dr.attributes.popper={}}}},Qn=[{name:"offset",options:{offset:qe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Dt}},Qr];H()&&Vt&&Qn.push({name:"arrow",options:{element:Vt,padding:3}}),Qn.push.apply(Qn,(be==null?void 0:be.modifiers)||[]),_.popperInstance=_N(Hn,A,Object.assign({},be,{placement:Te,onFirstUpdate:h,modifiers:Qn}))}function kt(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function wt(){var te=_.props.appendTo,be,Te=W();_.props.interactive&&te===W8||te==="parent"?be=Te.parentNode:be=U8(te,[Te]),be.contains(A)||be.appendChild(A),_.state.isMounted=!0,Xe(),process.env.NODE_ENV!=="production"&&Yi(_.props.interactive&&te===cr.appendTo&&Te.nextElementSibling!==A,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
|
|
1599
|
-
|
|
1600
|
-
`,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
|
|
1601
|
-
|
|
1602
|
-
`,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
|
|
1603
|
-
|
|
1604
|
-
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function it(){return Rc(A.querySelectorAll("[data-tippy-root]"))}function Ye(te){_.clearDelayTimeouts(),te&&se("onTrigger",[_,te]),pe();var be=ne(!0),Te=L(),qe=Te[0],He=Te[1];gi.isTouch&&qe==="hold"&&He&&(be=He),be?r=setTimeout(function(){_.show()},be):_.show()}function St(te){if(_.clearDelayTimeouts(),se("onUntrigger",[_,te]),!_.state.isVisible){J();return}if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(te.type)>=0&&l)){var be=ne(!1);be?i=setTimeout(function(){_.state.isVisible&&_.hide()},be):a=requestAnimationFrame(function(){_.hide()})}}function jt(){_.state.isEnabled=!0}function ge(){_.hide(),_.state.isEnabled=!1}function Ce(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(a)}function Qe(te){if(process.env.NODE_ENV!=="production"&&Yi(_.state.isDestroyed,fs("setProps")),!_.state.isDestroyed){se("onBeforeUpdate",[_,te]),Ie();var be=_.props,Te=tv(e,Object.assign({},be,q8(te),{ignoreAttributes:!0}));_.props=Te,We(),be.interactiveDebounce!==Te.interactiveDebounce&&(M(),w=z8(mt,Te.interactiveDebounce)),be.triggerTarget&&!Te.triggerTarget?ds(be.triggerTarget).forEach(function(qe){qe.removeAttribute("aria-expanded")}):Te.triggerTarget&&e.removeAttribute("aria-expanded"),Z(),ue(),B&&B(be,Te),_.popperInstance&&(Xe(),it().forEach(function(qe){requestAnimationFrame(qe._tippy.popperInstance.forceUpdate)})),se("onAfterUpdate",[_,te])}}function ot(te){_.setProps({content:te})}function ht(){process.env.NODE_ENV!=="production"&&Yi(_.state.isDestroyed,fs("show"));var te=_.state.isVisible,be=_.state.isDestroyed,Te=!_.state.isEnabled,qe=gi.isTouch&&!_.props.touch,He=qf(_.props.duration,0,cr.duration);if(!(te||be||Te||qe)&&!W().hasAttribute("disabled")&&(se("onShow",[_],!1),_.props.onShow(_)!==!1)){if(_.state.isVisible=!0,H()&&(A.style.visibility="visible"),ue(),pe(),_.state.isMounted||(A.style.transition="none"),H()){var Dt=Y(),Vt=Dt.box,Hn=Dt.content;Zf([Vt,Hn],0)}h=function(){var Qn;if(!(!_.state.isVisible||d)){if(d=!0,A.offsetHeight,A.style.transition=_.props.moveTransition,H()&&_.props.animation){var Jr=Y(),bi=Jr.box,dr=Jr.content;Zf([bi,dr],He),Y8([bi,dr],"visible")}ae(),Z(),V8(Jf,_),(Qn=_.popperInstance)==null||Qn.forceUpdate(),se("onMount",[_]),_.props.animation&&H()&&fe(He,function(){_.state.isShown=!0,se("onShown",[_])})}},wt()}}function Ut(){process.env.NODE_ENV!=="production"&&Yi(_.state.isDestroyed,fs("hide"));var te=!_.state.isVisible,be=_.state.isDestroyed,Te=!_.state.isEnabled,qe=qf(_.props.duration,1,cr.duration);if(!(te||be||Te)&&(se("onHide",[_],!1),_.props.onHide(_)!==!1)){if(_.state.isVisible=!1,_.state.isShown=!1,d=!1,l=!1,H()&&(A.style.visibility="hidden"),M(),J(),ue(!0),H()){var He=Y(),Dt=He.box,Vt=He.content;_.props.animation&&(Zf([Dt,Vt],qe),Y8([Dt,Vt],"hidden"))}ae(),Z(),_.props.animation?H()&&de(qe,_.unmount):_.unmount()}}function Ot(te){process.env.NODE_ENV!=="production"&&Yi(_.state.isDestroyed,fs("hideWithInteractivity")),K().addEventListener("mousemove",w),V8(Wc,w),w(te)}function ln(){process.env.NODE_ENV!=="production"&&Yi(_.state.isDestroyed,fs("unmount")),_.state.isVisible&&_.hide(),_.state.isMounted&&(kt(),it().forEach(function(te){te._tippy.unmount()}),A.parentNode&&A.parentNode.removeChild(A),Jf=Jf.filter(function(te){return te!==_}),_.state.isMounted=!1,se("onHidden",[_]))}function wn(){process.env.NODE_ENV!=="production"&&Yi(_.state.isDestroyed,fs("destroy")),!_.state.isDestroyed&&(_.clearDelayTimeouts(),_.unmount(),Ie(),delete e._tippy,_.state.isDestroyed=!0,se("onDestroy",[_]))}}function jl(e,t){t===void 0&&(t={});var n=cr.plugins.concat(t.plugins||[]);process.env.NODE_ENV!=="production"&&(VN(e),nv(t,n)),jN();var r=Object.assign({},t,{plugins:n}),i=NN(e);if(process.env.NODE_ENV!=="production"){var a=$l(r.content),l=i.length>1;Yi(a&&l,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
|
|
1605
|
-
|
|
1606
|
-
`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
|
|
1607
|
-
|
|
1608
|
-
`,`1) content: element.innerHTML
|
|
1609
|
-
`,"2) content: () => element.cloneNode(true)"].join(" "))}var c=i.reduce(function(u,d){var f=d&&QN(d,r);return f&&u.push(f),u},[]);return $l(e)?c[0]:c}jl.defaultProps=cr,jl.setDefaultProps=ZN,jl.currentInput=gi,Object.assign({},E8,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),jl.setDefaultProps({render:ov});function av(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var sv=typeof window<"u"&&typeof document<"u";function e1(e,t){e&&(typeof e=="function"&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function lv(){return sv&&document.createElement("div")}function JN(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}function cv(e,t){if(e===t)return!0;if(typeof e=="object"&&e!=null&&typeof t=="object"&&t!=null){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(t.hasOwnProperty(n)){if(!cv(e[n],t[n]))return!1}else return!1;return!0}else return!1}function eI(e){var t=[];return e.forEach(function(n){t.find(function(r){return cv(n,r)})||t.push(n)}),t}function tI(e,t){var n,r;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:eI([].concat(((n=e.popperOptions)==null?void 0:n.modifiers)||[],((r=t.popperOptions)==null?void 0:r.modifiers)||[]))})})}var t1=sv?T.useLayoutEffect:T.useEffect;function nI(e){var t=T.useRef();return t.current||(t.current=typeof e=="function"?e():e),t.current}function uv(e,t,n){n.split(/\s+/).forEach(function(r){r&&e.classList[t](r)})}var rI={name:"className",defaultValue:"",fn:function(t){var n=t.popper.firstElementChild,r=function(){var c;return!!((c=t.props.render)!=null&&c.$$tippy)};function i(){if(t.props.className&&!r()){process.env.NODE_ENV!=="production"&&console.warn(["@tippyjs/react: Cannot use `className` prop in conjunction with","`render` prop. Place the className on the element you are","rendering."].join(" "));return}uv(n,"add",t.props.className)}function a(){r()&&uv(n,"remove",t.props.className)}return{onCreate:i,onBeforeUpdate:a,onAfterUpdate:i}}};function iI(e){function t(n){var r=n.children,i=n.content,a=n.visible,l=n.singleton,c=n.render,u=n.reference,d=n.disabled,f=d===void 0?!1:d,m=n.ignoreAttributes,h=m===void 0?!0:m;n.__source,n.__self;var g=av(n,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"]),w=a!==void 0,x=l!==void 0,v=T.useState(!1),S=v[0],C=v[1],E=T.useState({}),_=E[0],D=E[1],A=T.useState(),B=A[0],O=A[1],N=nI(function(){return{container:lv(),renders:1}}),L=Object.assign({ignoreAttributes:h},g,{content:N.container});w&&(process.env.NODE_ENV!=="production"&&["trigger","hideOnClick","showOnCreate"].forEach(function(K){L[K]!==void 0&&console.warn(["@tippyjs/react: Cannot specify `"+K+"` prop in","controlled mode (`visible` prop)"].join(" "))}),L.trigger="manual",L.hideOnClick=!1),x&&(f=!0);var I=L,H=L.plugins||[];c&&(I=Object.assign({},L,{plugins:x&&l.data!=null?[].concat(H,[{fn:function(){return{onTrigger:function(ne,ue){var se=l.data.children.find(function(ae){var Z=ae.instance;return Z.reference===ue.currentTarget});ne.state.$$activeSingletonInstance=se.instance,O(se.content)}}}}]):H,render:function(){return{popper:N.container}}}));var W=[u].concat(r?[r.type]:[]);return t1(function(){var K=u;u&&u.hasOwnProperty("current")&&(K=u.current);var Y=e(K||N.ref||lv(),Object.assign({},I,{plugins:[rI].concat(L.plugins||[])}));return N.instance=Y,f&&Y.disable(),a&&Y.show(),x&&l.hook({instance:Y,content:i,props:I,setSingletonContent:O}),C(!0),function(){Y.destroy(),l==null||l.cleanup(Y)}},W),t1(function(){var K;if(N.renders===1){N.renders++;return}var Y=N.instance;Y.setProps(tI(Y.props,I)),(K=Y.popperInstance)==null||K.forceUpdate(),f?Y.disable():Y.enable(),w&&(a?Y.show():Y.hide()),x&&l.hook({instance:Y,content:i,props:I,setSingletonContent:O})}),t1(function(){var K;if(c){var Y=N.instance;Y.setProps({popperOptions:Object.assign({},Y.props.popperOptions,{modifiers:[].concat((((K=Y.props.popperOptions)==null?void 0:K.modifiers)||[]).filter(function(ne){var ue=ne.name;return ue!=="$$tippyReact"}),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(ue){var se,ae=ue.state,Z=(se=ae.modifiersData)==null?void 0:se.hide;(_.placement!==ae.placement||_.referenceHidden!==(Z==null?void 0:Z.isReferenceHidden)||_.escaped!==(Z==null?void 0:Z.hasPopperEscaped))&&D({placement:ae.placement,referenceHidden:Z==null?void 0:Z.isReferenceHidden,escaped:Z==null?void 0:Z.hasPopperEscaped}),ae.attributes.popper={}}}])})})}},[_.placement,_.referenceHidden,_.escaped].concat(W)),T.createElement(T.Fragment,null,r?T.cloneElement(r,{ref:function(Y){N.ref=Y,e1(r.ref,Y)}}):null,S&&Ca.createPortal(c?c(JN(_),B,N.instance):i,N.container))}return t}var oI=function(e,t){return T.forwardRef(function(r,i){var a=r.children,l=av(r,["children"]);return T.createElement(e,Object.assign({},t,l),a?T.cloneElement(a,{ref:function(u){e1(i,u),e1(a.ref,u)}}):null)})},aI=oI(iI(jl));const sI=re.table`
|
|
1610
|
-
table-layout: fixed;
|
|
1611
|
-
border-collapse: separate;
|
|
1612
|
-
border-spacing: 0 16px;
|
|
1613
|
-
margin-top: -16px;
|
|
1614
|
-
margin-bottom: -16px;
|
|
1615
|
-
`,lI=re.thead`
|
|
1616
|
-
background-color: transparent;
|
|
1617
|
-
|
|
1618
|
-
${({fixedHeader:e,index:t})=>e&&re.css`
|
|
1619
|
-
th {
|
|
1620
|
-
position: sticky;
|
|
1621
|
-
top: 0;
|
|
1622
|
-
background-color: white;
|
|
1623
|
-
color: black;
|
|
1624
|
-
${t!=null&&`z-index: ${t};`}
|
|
1625
|
-
}
|
|
1626
|
-
`}
|
|
1627
|
-
`,cI=re.th`
|
|
1628
|
-
color: ${({color:e})=>e};
|
|
1629
|
-
text-align: ${({align:e})=>e};
|
|
1630
|
-
padding: 6px 16px;
|
|
1631
|
-
position: relative;
|
|
1632
|
-
&:hover {
|
|
1633
|
-
color: #464646;
|
|
1634
|
-
|
|
1635
|
-
svg[attributeName='transform'] {
|
|
1636
|
-
color: #464646;
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
&:first-child {
|
|
1641
|
-
padding-left: 24px;
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
&:last-child {
|
|
1645
|
-
padding-right: 8px;
|
|
1646
|
-
}
|
|
1647
|
-
|
|
1648
|
-
&:not(:last-child):after {
|
|
1649
|
-
content: '';
|
|
1650
|
-
position: absolute;
|
|
1651
|
-
top: 50%;
|
|
1652
|
-
right: 0;
|
|
1653
|
-
height: 40%;
|
|
1654
|
-
width: 1px;
|
|
1655
|
-
background-color: #e0dfdf;
|
|
1656
|
-
transform: translateY(-50%);
|
|
1657
|
-
}
|
|
1658
|
-
`,uI=re.tr`
|
|
1659
|
-
background-color: ${({disabled:e})=>e?"#f5f5f5":"transparent"};
|
|
1660
|
-
pointer-events: ${({disabled:e})=>e?"none":"auto"};
|
|
1661
|
-
opacity: ${({disabled:e})=>e?.6:1};
|
|
1662
|
-
`,ps=re.td`
|
|
1663
|
-
${({color:e})=>e&&re.css`
|
|
1664
|
-
color: ${e};
|
|
1665
|
-
`}
|
|
1666
|
-
|
|
1667
|
-
${({align:e})=>e&&re.css`
|
|
1668
|
-
text-align: ${e};
|
|
1669
|
-
`}
|
|
1670
|
-
|
|
1671
|
-
${({overflow:e,innerText:t})=>e&&t&&re.css`
|
|
1672
|
-
max-width: 100px;
|
|
1673
|
-
overflow: hidden;
|
|
1674
|
-
text-overflow: ellipsis;
|
|
1675
|
-
white-space: nowrap;
|
|
1676
|
-
`}
|
|
1677
|
-
|
|
1678
|
-
padding: 8px 16px;
|
|
1679
|
-
|
|
1680
|
-
&:first-child {
|
|
1681
|
-
padding-left: 24px;
|
|
1682
|
-
padding-right: 16px;
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
&:last-child {
|
|
1686
|
-
padding-right: 8px;
|
|
1687
|
-
}
|
|
1688
|
-
|
|
1689
|
-
&:not(:last-child):after {
|
|
1690
|
-
content: '';
|
|
1691
|
-
position: absolute;
|
|
1692
|
-
top: 50%;
|
|
1693
|
-
right: 0;
|
|
1694
|
-
height: 40%;
|
|
1695
|
-
width: 1px;
|
|
1696
|
-
background-color: #e0dfdf;
|
|
1697
|
-
transform: translateY(-50%);
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
|
-
${({isFixed:e,right:t})=>e&&re.css`
|
|
1701
|
-
position: sticky;
|
|
1702
|
-
right: ${t};
|
|
1703
|
-
background-color: white;
|
|
1704
|
-
|
|
1705
|
-
&:after {
|
|
1706
|
-
display: none;
|
|
1707
|
-
}
|
|
1708
|
-
`}
|
|
1709
|
-
|
|
1710
|
-
${({overflowWrap:e})=>e&&re.css`
|
|
1711
|
-
overflow-wrap: break-word;
|
|
1712
|
-
`}
|
|
1713
|
-
`,dI=re.col(e=>({width:`${e.width}${e.unit};`})),fI=re.div`
|
|
1714
|
-
display: block;
|
|
1715
|
-
width: 1.25rem;
|
|
1716
|
-
height: 1.25rem;
|
|
1717
|
-
color: ${({color:e})=>e};
|
|
1718
|
-
background-color: ${({color:e})=>e};
|
|
1719
|
-
`,dv=re.div`
|
|
1720
|
-
display: flex;
|
|
1721
|
-
justify-content: space-between;
|
|
1722
|
-
align-items: center;
|
|
1723
|
-
|
|
1724
|
-
&.grow {
|
|
1725
|
-
flex-grow: 1;
|
|
1726
|
-
}
|
|
1727
|
-
|
|
1728
|
-
${({sortable:e})=>e&&re.css`
|
|
1729
|
-
cursor: pointer;
|
|
1730
|
-
`}
|
|
1731
|
-
`,fv=T.memo(e=>{const{index:t,onSort:n,headers:r,checked:i,children:a,className:l,fixedHeader:c,cellSpacing:u,cellPadding:d,hasCheckbox:f,onChangeCheckbox:m,headerClassName:h,tbodyClassname:g}=e,w=new bL(e),[x,v]=T.useState(null),S=T.useMemo(()=>{var D;return(D=e==null?void 0:e.widths)==null?void 0:D.map(A=>({id:b8(),width:A}))},[e.widths]),C=T.useCallback((D,A)=>{v(D),n==null||n(D,A)},[n]),E=T.useCallback(D=>{m==null||m(D)},[m]),_=(D,A)=>{const B=typeof D=="string"?D:D.title,O=typeof D=="string"?null:D,N=(O==null?void 0:O.sort)==="ASC"||(O==null?void 0:O.sort)==="DESC",L=(O==null?void 0:O.sort)==="ASC",I=B===x;return O!=null&&O.tooltip?b.jsx(bl,{text:O==null?void 0:O.tooltip,maxWidth:1e3,tableHead:!0,className:xe(A===0&&f&&"w-full"),children:b.jsxs(dv,{onClick:()=>O&&C(O==null?void 0:O.title,A),sortable:O==null?void 0:O.sortabled,children:[" ",b.jsxs("div",{className:xe((O==null?void 0:O.sortabled)&&A===r.length,h),children:[B,(O==null?void 0:O.sortabled)&&A===r.length&&b.jsx("span",{className:xe(sn.row.sortable,I&&L&&"rotate-180",N?"text-darkened":"text-info"),onClick:()=>C(O.title,A),children:b.jsx(Ic,{})})]})," ",O&&(O==null?void 0:O.sortabled)&&(A===r.length||b.jsx("span",{className:xe(sn.row.sortable,N?"text-darkened":"text-info",L&&"rotate-180"),onClick:()=>C(O.title,A),children:b.jsx(Ic,{})})),A===r.length&&b.jsx("span",{className:xe((e==null?void 0:e.filter)&&e.filter,sn.row.delete)})]})}):b.jsxs(dv,{onClick:()=>O&&C(O==null?void 0:O.title,A),className:xe(A===0&&f&&"w-full"),sortable:O==null?void 0:O.sortabled,children:[" ",b.jsxs("div",{className:xe((O==null?void 0:O.sortabled)&&A===r.length-1&&"flex justify-start gap-5"),children:[B,(O==null?void 0:O.sortabled)&&A===r.length-1&&b.jsx("span",{className:xe(sn.row.sortable,L&&"rotate-180",N?"text-darkened":"text-info"),children:b.jsx(Ic,{})})]})," ",b.jsxs("div",{className:"flex justify-between",children:[O&&(O==null?void 0:O.sortabled)&&(A===r.length-1||b.jsx("span",{className:xe(sn.row.sortable,N?"text-darkened":"text-info",L&&"rotate-180"),onClick:()=>C(O.title,A),children:b.jsx(Ic,{})})),A===r.length-1&&b.jsx("span",{className:xe((e==null?void 0:e.filter)&&e.filter,sn.row.delete)})]})]})};return b.jsxs(sI,{cellPadding:d,cellSpacing:u,className:xe(l,sn.table.container,(e==null?void 0:e.auto)&&"table-auto"),children:[(e==null?void 0:e.widths)&&b.jsx("colgroup",{children:S==null?void 0:S.map(({width:D,id:A})=>b.jsx(dI,{width:D},A))}),b.jsx(lI,{fixedHeader:c,index:t,children:b.jsx("tr",{children:r.map((D,A)=>{const B=typeof D=="string"?D:D.title,O=typeof D=="string"?null:D,N=xe(w.headings[A],A===0&&!c&&!f,A===0&&!c&&f&&"relative flex items-center"),L=(O==null?void 0:O.sort)==="ASC"||(O==null?void 0:O.sort)==="DESC";return b.jsxs(cI,{index:A,className:N,align:O==null?void 0:O.align,color:L?nt.darkened:O==null?void 0:O.color,children:[A===0&&f&&b.jsx(k2,{checked:i,className:sn.selectable,onChange:E}),b.jsx("div",{className:xe("flex w-full",A===0&&e.firstHeaderXAlign==="center"&&"justify-center",A===0&&e.firstHeaderXAlign==="right"&&"justify-end",A===0&&e.firstHeaderXAlign==="left"&&"justify-start"),children:_(D,A)})]},B)})})}),b.jsx("tbody",{className:g,children:a})]})});fv.defaultProps={headers:[],unit:"%",fixedHeader:!1};const pv=T.memo(e=>{const t=xe(sn.data.borders,sn.data.container,e.last&&"rounded-r-full",e.first&&"rounded-l-full","text-darkened font-bold text-base",e.overflow&&sn.row.innerText),n=()=>e.formatAsStatus?e.statusTextInColor===!0?e.color:void 0:e.color,r={align:e.align,overflow:e.overflow,innerText:e.innerText,className:t,index:e.first?0:1,overflowWrap:e.overflowWrap,color:n()},i=c=>e.tooltip?b.jsx(aI,{content:e.tooltip,children:c}):c,a=T.useMemo(()=>e.first&&e.hasCheckbox&&b.jsx(k2,{checked:e.checked,onChange:c=>{var u;(u=e.onChangeCheckbox)==null||u.call(e,c,e.dataId)},className:sn.selectable}),[e.checked]),l=T.useMemo(()=>{var u;const c=(u=e.dataId)==null?void 0:u.toString();return e.first&&e.hasRadioButton&&b.jsx(xf,{checked:e.checked,onClick:()=>{var d;(d=e.onChangeRadioButton)==null||d.call(e,c)},className:sn.selectable,value:c})},[e.checked]);if(e!=null&&e.formatAsRut&&(e!=null&&e.innerText))return i(b.jsxs(ps,{...r,children:[a||l,eb.format(e.innerText,{dots:!0})]}));if(e!=null&&e.formatAsCLP&&(e!=null&&e.innerText)){const c=Number(e.innerText),u=new Intl.NumberFormat("es-CL",{style:"currency",currency:"CLP"});return i(b.jsxs(ps,{...r,children:[a||l,u.format(c)]}))}return e!=null&&e.formatAsStatus?i(b.jsxs(ps,{...r,children:[a||l,e.icons&&b.jsx("div",{className:sn.icons(e==null?void 0:e.iconJustify),children:e.icons.map(c=>c)}),b.jsx(hv,{color:e==null?void 0:e.color,buttonChildren:e.detailText,variant:e.detailVariant,onClick:e==null?void 0:e.onClickDetail,disabled:e.detailDisabled,value:e==null?void 0:e.innerText,textInColor:e.statusTextInColor,children:e.children})]})):e!=null&&e.isFixed?i(b.jsx(ps,{isFixed:e.isFixed,right:e.right,children:e.children})):e!=null&&e.innerText?i(b.jsxs(ps,{...r,children:[e.icons&&b.jsx("div",{className:"flex",children:e.icons.map(c=>c)}),a||l,e.innerText]})):b.jsxs(ps,{...r,children:[e.icons&&b.jsx("div",{className:sn.icons(e==null?void 0:e.iconJustify),children:e.icons.map(c=>c)}),e.children]})});pv.defaultProps={icons:[],align:"left"};const hv=({buttonChildren:e,disabled:t,variant:n,children:r,value:i,color:a,onClick:l,textInColor:c})=>{const u=!!l,d=()=>c===!0&&a?{color:a}:{color:nt.darkened};return b.jsxs("div",{className:u?sn.cols.details:sn.cols.grids,children:[b.jsxs("div",{className:"w-1/5 flex justify-start",style:d(),children:[i," ",r]}),b.jsx("div",{className:"w-3/5 flex justify-center",children:b.jsx(fI,{color:a,className:sn.kind})}),u&&b.jsx("div",{className:"w-auto flex justify-end",children:b.jsx(Un,{size:"base",disabled:t,variant:n??"secondary",onClick:l,fontSize:"sm",children:e})})]})};hv.defaultProps={variant:"secondary",text:"Ver Detalle"};const pI=({align:e,children:t,disabled:n=!1,width:r})=>b.jsx(uI,{width:r,align:e,disabled:n,children:t}),hI=({children:e})=>b.jsx("div",{className:sn.row.container,children:e}),hs={dropdown:{root:"w-full relative whitespace-nowrap ml-2",item:"block px-4 py-2 text-sm hover:cursor-pointer text-darkened font-medium",items:"absolute text-darkened w-auto divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-opaque ring-opacity-5 focus:outline-none rounded-full border-solid border-[1px] border-opaque z-50 ",title:"inline-flex items-center w-full justify-center gap-x-1.5 px-4 py-2 text-lg font-medium text-darkened whitespace-nowrap",container:"border-solid border-[1px] border-opaque flex items-center bg-white"},icon:{xcircle:"w-6 h-6 text-gray-400 mr-4 cursor-pointer text-info hover:text-primary"}},mI={value:""},mv=re.css`
|
|
1732
|
-
margin-left: 1.25rem;
|
|
1733
|
-
`,vv=re(Ps)`
|
|
1734
|
-
.react-select__control {
|
|
1735
|
-
border: 1px solid #dfdfdf;
|
|
1736
|
-
color: #464646;
|
|
1737
|
-
min-height: 4rem;
|
|
1738
|
-
${e=>e.dropdown?re.css`
|
|
1739
|
-
border-left-style: none;
|
|
1740
|
-
border-top-left-radius: 0;
|
|
1741
|
-
border-bottom-left-radius: 0;
|
|
1742
|
-
border-top-right-radius: 0;
|
|
1743
|
-
border-bottom-right-radius: 0;
|
|
1744
|
-
border-right-style: none;
|
|
1745
|
-
`:re.css`
|
|
1746
|
-
border-left-style: solid;
|
|
1747
|
-
border-top-left-radius: 2.25rem;
|
|
1748
|
-
border-bottom-left-radius: 2.25rem;
|
|
1749
|
-
`}
|
|
1750
|
-
&:focus-within {
|
|
1751
|
-
box-shadow: none;
|
|
1752
|
-
border-color: none;
|
|
1753
|
-
}
|
|
1754
|
-
|
|
1755
|
-
&:hover {
|
|
1756
|
-
border-color: #dfdfdf;
|
|
1757
|
-
}
|
|
1758
|
-
|
|
1759
|
-
& .react-select__input-container {
|
|
1760
|
-
height: 3.25rem;
|
|
1761
|
-
${e=>!e.dropdown&&mv}
|
|
1762
|
-
}
|
|
1763
|
-
|
|
1764
|
-
& .react-select__placeholder {
|
|
1765
|
-
${e=>!e.dropdown&&mv}
|
|
1766
|
-
}
|
|
1767
|
-
|
|
1768
|
-
& .react-select__control--input-container {
|
|
1769
|
-
height: 3.25rem;
|
|
1770
|
-
}
|
|
1771
|
-
& .react-select__control--is-focused {
|
|
1772
|
-
border-color: none;
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
|
-
& .react-select__control--is-focused:hover {
|
|
1776
|
-
border-color: none;
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
& .react-select__control--menu-is-open {
|
|
1780
|
-
border-color: none;
|
|
1781
|
-
}
|
|
1782
|
-
|
|
1783
|
-
& .react-select__control--menu-is-open:hover {
|
|
1784
|
-
border-color: none;
|
|
1785
|
-
}
|
|
1786
|
-
|
|
1787
|
-
& .react-select__multi-value {
|
|
1788
|
-
}
|
|
1789
|
-
}
|
|
1790
|
-
|
|
1791
|
-
& .react-select_dropdown-indicator {
|
|
1792
|
-
color: #464646;
|
|
1793
|
-
background-color: ${nt.secondary};
|
|
1794
|
-
padding: 100px;
|
|
1795
|
-
}
|
|
1796
|
-
|
|
1797
|
-
.react-select__indicator-separator {
|
|
1798
|
-
display: none;
|
|
1799
|
-
}
|
|
1800
|
-
|
|
1801
|
-
.react-select__se .react-select__control-label {
|
|
1802
|
-
display: none;
|
|
1803
|
-
}
|
|
1804
|
-
`;vv.defaultProps={classNamePrefix:"react-select"};const vI=re.div`
|
|
1805
|
-
background: ${e=>e.color??nt.secondary};
|
|
1806
|
-
border: 1px solid #dfdfdf;
|
|
1807
|
-
border-radius: 0rem 2.25rem 2.25rem 0rem;
|
|
1808
|
-
width: 4rem;
|
|
1809
|
-
align-items: center;
|
|
1810
|
-
justify-content: end;
|
|
1811
|
-
color: #fff;
|
|
1812
|
-
display: flex;
|
|
1813
|
-
justify-content: center;
|
|
1814
|
-
align-items: center;
|
|
1815
|
-
min-height: 4rem;
|
|
1816
|
-
padding-right: 2px;
|
|
1817
|
-
|
|
1818
|
-
&:hover {
|
|
1819
|
-
cursor: pointer;
|
|
1820
|
-
}
|
|
1821
|
-
`,gI=re(L0)`
|
|
1822
|
-
display: flex;
|
|
1823
|
-
justify-content: end;
|
|
1824
|
-
justify-content: center;
|
|
1825
|
-
align-items: center;
|
|
1826
|
-
padding: 0.5rem 0.5rem 0.5rem 0.75rem;
|
|
1827
|
-
`,xI=re.div`
|
|
1828
|
-
border-radius: 2.25rem 0 0 2.25rem;
|
|
1829
|
-
`,bI=T.memo(({value:e,values:t=[],length:n,search:r,options:i=["Nombre","ID Sence","SSC"],classNames:a,placeholder:l,onAdding:c,onDelete:u,onSearch:d,onChange:f,onPress:m,dropdown:h=!0,onClearInput:g,onInputChange:w,onReachingLimit:x,backgroundColor:v,placeholderText:S,dropdownWidth:C})=>{const E=(N,{action:L})=>{if(L==="input-change"){if(n&&t&&(t==null?void 0:t.length)>=n)return;if((l==null?void 0:l.type)==="number")return/^\d*$/.test(N)&&w?w(N):void 0;w&&w(N)}},_=N=>{if(n&&t&&(t==null?void 0:t.length)>=n)return x?x():void 0;const L=13;if(N.keyCode===L&&c){if(r){if(/^([ ]*|\n*)$/.test(r))return;c({value:b8(),label:r.trim()})}return}N.keyCode===L&&d&&d()},D=T.useCallback((N,{action:L,removedValue:I})=>{L==="remove-value"&&u&&u(I)},[u]),A=N=>{f&&f(N)},B=N=>{if(N.preventDefault(),r||r===mI.value){if(r.length>0&&(t==null?void 0:t.length)===0){if(/^([ ]*|\n*)$/.test(r))return;if(m){m();return}}d&&d()}},O=T.useMemo(()=>({multiValue:N=>({...N,color:"#464646",alignItems:"center",padding:"0.5rem 0.5rem 0.5rem 0.75rem",backgroundColor:"#F3F3F3",fontSize:"1.125rem",borderRadius:25,fontWeight:500}),multiValueRemove:N=>({...N}),valueContainer:N=>({...N}),input:N=>({...N})}),[]);return b.jsxs("div",{className:(a==null?void 0:a.root)??"flex justify-start w-full",children:[h&&b.jsx("div",{className:(a==null?void 0:a.dropdown)??`${C??"w-1/6"} grid`,children:b.jsx(xI,{className:hs.dropdown.container,children:b.jsx(gI,{options:i??[],uncontrollable:!1,orientation:"bottom",classNames:{root:hs.dropdown.root,item:hs.dropdown.item,title:hs.dropdown.title,items:hs.dropdown.items},selected:e,onChange:A})})}),b.jsx("div",{className:(a==null?void 0:a.input)??(h?"w-2/3":"w-5/6"),children:b.jsx(vv,{isMulti:!0,autoFocus:!0,value:t,options:t,menuIsOpen:!1,inputValue:r,dropdown:h,onKeyDown:_,onInputChange:E,blurInputOnSelect:!1,components:{DropdownIndicator:T.useCallback(()=>b.jsx(T.Fragment,{}),[]),MultiValueRemove:T.useCallback(N=>b.jsx("div",{...N.innerProps,children:b.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-5 h-5 text-info hover:cursor-pointer",children:b.jsx("path",{className:"flex items-center justify-center",strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),[]),IndicatorsContainer:N=>b.jsxs(b.Fragment,{children:[g&&b.jsx(Q3,{className:hs.icon.xcircle,onClick:g}),b.jsx(Ps.components.IndicatorsContainer,{...N})]})},onChange:(N,L)=>D(N,L),styles:O,isClearable:!1,placeholder:S??(l==null?void 0:l.label)})}),b.jsx("div",{className:(a==null?void 0:a.search)??"w-16 grid",children:b.jsxs(vI,{color:v,onClick:B,children:[b.jsx("svg",{"aria-hidden":"true",className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:b.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),b.jsx("span",{className:"sr-only",children:"Search"})]})})]})}),yI=re.keyframes`
|
|
1830
|
-
|
|
1831
|
-
0% {
|
|
1832
|
-
background-position: -400px 0;
|
|
1833
|
-
}
|
|
1834
|
-
100% {
|
|
1835
|
-
|
|
1836
|
-
background-position: 400px 0;
|
|
1837
|
-
}
|
|
1838
|
-
`,wI=re.div`
|
|
1839
|
-
cursor: pointer;
|
|
1840
|
-
color: rgb(49, 103, 114);
|
|
1841
|
-
position: relative;
|
|
1842
|
-
padding: 0.75rem;
|
|
1843
|
-
margin: 1rem;
|
|
1844
|
-
border-radius: 12px;
|
|
1845
|
-
overflow: hidden;
|
|
1846
|
-
width: ${e=>e!=null&&e.width?`${e.width}%`:"auto"};
|
|
1847
|
-
animation: 3s linear 0s infinite normal none running ${yI};
|
|
1848
|
-
background: linear-gradient(
|
|
1849
|
-
to right,
|
|
1850
|
-
rgb(238, 238, 238) 8%,
|
|
1851
|
-
rgb(221, 221, 221) 18%,
|
|
1852
|
-
rgb(238, 238, 238) 33%
|
|
1853
|
-
)
|
|
1854
|
-
0% 0% / 400px 104px;
|
|
1855
|
-
`,CI=re.div`
|
|
1856
|
-
margin-top: ${({marginTop:e})=>e||"1.5rem"};
|
|
1857
|
-
margin-bottom: 0.75rem;
|
|
1858
|
-
position: relative;
|
|
1859
|
-
`,EI=re.div`
|
|
1860
|
-
display: flex;
|
|
1861
|
-
align-items: center;
|
|
1862
|
-
border: ${e=>`solid 1px ${e.theming}`};
|
|
1863
|
-
border-radius: 9999px;
|
|
1864
|
-
`,_I=re.input`
|
|
1865
|
-
border-radius: 25px;
|
|
1866
|
-
width: 100%;
|
|
1867
|
-
height: 3.25rem;
|
|
1868
|
-
padding: 0.25rem 1.25rem;
|
|
1869
|
-
outline: none;
|
|
1870
|
-
&::placeholder {
|
|
1871
|
-
/* Chrome, Firefox, Opera, Safari 10.1+ */
|
|
1872
|
-
color: ${e=>e.placeholderColor};
|
|
1873
|
-
opacity: 1; /* Firefox */
|
|
1874
|
-
}
|
|
1875
|
-
`,n1=re.div`
|
|
1876
|
-
position: absolute;
|
|
1877
|
-
left: 0;
|
|
1878
|
-
margin-top: 0.5rem;
|
|
1879
|
-
width: 100%;
|
|
1880
|
-
border-radius: 15px; // You can adjust this value to get the border roundness you want
|
|
1881
|
-
background-color: rgba(255, 255, 255, 1); // var(--color-white) replaced with rgba equivalent
|
|
1882
|
-
z-index: 40;
|
|
1883
|
-
box-shadow:
|
|
1884
|
-
0 1px 3px rgba(0, 0, 0, 0.1),
|
|
1885
|
-
0 1px 2px rgba(0, 0, 0, 0.06);
|
|
1886
|
-
overflow-y: auto;
|
|
1887
|
-
overflow-x: hidden;
|
|
1888
|
-
max-height: 25rem;
|
|
1889
|
-
`,SI=re.div`
|
|
1890
|
-
padding: 0.75rem;
|
|
1891
|
-
margin: 1rem;
|
|
1892
|
-
cursor: pointer;
|
|
1893
|
-
border-radius: 15px;
|
|
1894
|
-
color: ${e=>e.theming};
|
|
1895
|
-
|
|
1896
|
-
&:hover {
|
|
1897
|
-
background-color: rgb(240, 240, 240);
|
|
1898
|
-
}
|
|
1899
|
-
`,AI=re.div`
|
|
1900
|
-
padding: 1rem;
|
|
1901
|
-
margin: 0.25rem;
|
|
1902
|
-
border-radius: 15px;
|
|
1903
|
-
color: ${e=>e.theming};
|
|
1904
|
-
`,kI=re.div`
|
|
1905
|
-
padding: 0.7rem;
|
|
1906
|
-
margin: 0.25rem;
|
|
1907
|
-
border-radius: 15px;
|
|
1908
|
-
color: ${e=>e.theming};
|
|
1909
|
-
`,DI=T.memo(T.forwardRef(function({show:t,search:n,pending:r,shallow:i,results:a,loading:l,onFocus:c,onScroll:u,searching:d,onFocusOut:f,placeholder:m,onInputChange:h,onResultSelect:g,barColor:w,renderItem:x,property:v,searchColor:S,loaderColor:C,spacingColor:E,placeholderColor:_,dropdownItemColor:D,cMarginTop:A,inputDisabled:B,defaultValue:O},N){const L=a??[],I=r??[],H=w??nt.secondary,W=S??nt.secondary,K=C??nt.secondary,Y=E??nt.secondary,ne=T.useCallback(M=>{var z;h&&h((z=M==null?void 0:M.target)==null?void 0:z.value)},[h]),ue=T.useCallback(M=>g&&g(M),[g]),se=M=>{u&&u(M)},ae=()=>{c&&c()},Z=()=>{c&&f&&f()};return b.jsxs(CI,{marginTop:A,children:[b.jsx(EI,{theming:H,children:b.jsx(_I,{type:"text",autoFocus:!0,value:n,defaultValue:O,theming:W,onFocus:ae,onBlur:Z,onChange:ne,placeholder:m??"Escribe el RUT o Nombre del Cliente",placeholderColor:_??nt.secondary,disabled:B})}),b.jsxs(b.Fragment,{children:[d&&b.jsx(n1,{children:b.jsx(kI,{theming:K,children:b.jsx(wf,{status:!0})})}),t&&b.jsxs(n1,{ref:N,onScroll:se,children:[L==null?void 0:L.map((M,z)=>b.jsx(SI,{theming:D??nt.primary,onClick:()=>ue(M),children:x==null?void 0:x(M)},v?M==null?void 0:M[v]:z)),l&&(I==null?void 0:I.map(M=>b.jsx(wI,{width:M==null?void 0:M.width},M==null?void 0:M.uuid)))]}),i&&l===!1&&d===!1&&b.jsx(n1,{children:b.jsx(AI,{theming:Y,children:b.jsx("p",{children:"No se encontraron resultados para su búsqueda"})})})]})]})}));var Uc={exports:{}};/**
|
|
1910
|
-
* @license
|
|
1911
|
-
* Lodash <https://lodash.com/>
|
|
1912
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
1913
|
-
* Released under MIT license <https://lodash.com/license>
|
|
1914
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
1915
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
1916
|
-
*/Uc.exports,function(e,t){(function(){var n,r="4.18.1",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="Invalid `variable` option passed into `_.template`",u="Invalid `imports` option passed into `_.template`",d="__lodash_hash_undefined__",f=500,m="__lodash_placeholder__",h=1,g=2,w=4,x=1,v=2,S=1,C=2,E=4,_=8,D=16,A=32,B=64,O=128,N=256,L=512,I=30,H="...",W=800,K=16,Y=1,ne=2,ue=3,se=1/0,ae=9007199254740991,Z=17976931348623157e292,M=NaN,z=4294967295,X=z-1,U=z>>>1,pe=[["ary",O],["bind",S],["bindKey",C],["curry",_],["curryRight",D],["flip",L],["partial",A],["partialRight",B],["rearg",N]],J="[object Arguments]",de="[object Array]",fe="[object AsyncFunction]",Se="[object Boolean]",Oe="[object Date]",We="[object DOMException]",Ie="[object Error]",Ue="[object Function]",mt="[object GeneratorFunction]",rt="[object Map]",ke="[object Number]",dt="[object Null]",Xe="[object Object]",kt="[object Promise]",wt="[object Proxy]",it="[object RegExp]",Ye="[object Set]",St="[object String]",jt="[object Symbol]",ge="[object Undefined]",Ce="[object WeakMap]",Qe="[object WeakSet]",ot="[object ArrayBuffer]",ht="[object DataView]",Ut="[object Float32Array]",Ot="[object Float64Array]",ln="[object Int8Array]",wn="[object Int16Array]",te="[object Int32Array]",be="[object Uint8Array]",Te="[object Uint8ClampedArray]",qe="[object Uint16Array]",He="[object Uint32Array]",Dt=/\b__p \+= '';/g,Vt=/\b(__p \+=) '' \+/g,Hn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Qr=/&(?:amp|lt|gt|quot|#39);/g,Qn=/[&<>"']/g,Jr=RegExp(Qr.source),bi=RegExp(Qn.source),dr=/<%-([\s\S]+?)%>/g,ua=/<%([\s\S]+?)%>/g,yi=/<%=([\s\S]+?)%>/g,ei=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yl=/^\w*$/,xs=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cn=/[\\^$.*+?()[\]{}|]/g,Fr=RegExp(cn.source),So=/^\s+/,Zl=/\s/,Ep=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,_p=/\{\n\/\* \[wrapped with (.+)\] \*/,Me=/,? & /,me=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Je=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,Gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fr=/\w*$/,Br=/^[-+]0x[0-9a-f]+$/i,on=/^0b[01]+$/i,Pr=/^\[object .+?Constructor\]$/,da=/^0o[0-7]+$/i,fa=/^(?:0|[1-9]\d*)$/,wi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,pr=/($^)/,kj=/['\n\r\u2028\u2029\\]/g,ru="\\ud800-\\udfff",Dj="\\u0300-\\u036f",Oj="\\ufe20-\\ufe2f",Tj="\\u20d0-\\u20ff",Sg=Dj+Oj+Tj,Ag="\\u2700-\\u27bf",kg="a-z\\xdf-\\xf6\\xf8-\\xff",Fj="\\xac\\xb1\\xd7\\xf7",Bj="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pj="\\u2000-\\u206f",Lj=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Dg="A-Z\\xc0-\\xd6\\xd8-\\xde",Og="\\ufe0e\\ufe0f",Tg=Fj+Bj+Pj+Lj,Sp="['’]",Nj="["+ru+"]",Fg="["+Tg+"]",iu="["+Sg+"]",Bg="\\d+",Ij="["+Ag+"]",Pg="["+kg+"]",Lg="[^"+ru+Tg+Bg+Ag+kg+Dg+"]",Ap="\\ud83c[\\udffb-\\udfff]",Mj="(?:"+iu+"|"+Ap+")",Ng="[^"+ru+"]",kp="(?:\\ud83c[\\udde6-\\uddff]){2}",Dp="[\\ud800-\\udbff][\\udc00-\\udfff]",bs="["+Dg+"]",Ig="\\u200d",Mg="(?:"+Pg+"|"+Lg+")",$j="(?:"+bs+"|"+Lg+")",$g="(?:"+Sp+"(?:d|ll|m|re|s|t|ve))?",Hg="(?:"+Sp+"(?:D|LL|M|RE|S|T|VE))?",jg=Mj+"?",Rg="["+Og+"]?",Hj="(?:"+Ig+"(?:"+[Ng,kp,Dp].join("|")+")"+Rg+jg+")*",jj="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Rj="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Wg=Rg+jg+Hj,Wj="(?:"+[Ij,kp,Dp].join("|")+")"+Wg,Uj="(?:"+[Ng+iu+"?",iu,kp,Dp,Nj].join("|")+")",zj=RegExp(Sp,"g"),Vj=RegExp(iu,"g"),Op=RegExp(Ap+"(?="+Ap+")|"+Uj+Wg,"g"),qj=RegExp([bs+"?"+Pg+"+"+$g+"(?="+[Fg,bs,"$"].join("|")+")",$j+"+"+Hg+"(?="+[Fg,bs+Mg,"$"].join("|")+")",bs+"?"+Mg+"+"+$g,bs+"+"+Hg,Rj,jj,Bg,Wj].join("|"),"g"),Yj=RegExp("["+Ig+ru+Sg+Og+"]"),Zj=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gj=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Kj=-1,Rt={};Rt[Ut]=Rt[Ot]=Rt[ln]=Rt[wn]=Rt[te]=Rt[be]=Rt[Te]=Rt[qe]=Rt[He]=!0,Rt[J]=Rt[de]=Rt[ot]=Rt[Se]=Rt[ht]=Rt[Oe]=Rt[Ie]=Rt[Ue]=Rt[rt]=Rt[ke]=Rt[Xe]=Rt[it]=Rt[Ye]=Rt[St]=Rt[Ce]=!1;var It={};It[J]=It[de]=It[ot]=It[ht]=It[Se]=It[Oe]=It[Ut]=It[Ot]=It[ln]=It[wn]=It[te]=It[rt]=It[ke]=It[Xe]=It[it]=It[Ye]=It[St]=It[jt]=It[be]=It[Te]=It[qe]=It[He]=!0,It[Ie]=It[Ue]=It[Ce]=!1;var Xj={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Qj={"&":"&","<":"<",">":">",'"':""","'":"'"},Jj={"&":"&","<":"<",">":">",""":'"',"'":"'"},eR={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tR=parseFloat,nR=parseInt,Ug=typeof je=="object"&&je&&je.Object===Object&&je,rR=typeof self=="object"&&self&&self.Object===Object&&self,Cn=Ug||rR||Function("return this")(),Tp=t&&!t.nodeType&&t,pa=Tp&&!0&&e&&!e.nodeType&&e,zg=pa&&pa.exports===Tp,Fp=zg&&Ug.process,Lr=function(){try{var q=pa&&pa.require&&pa.require("util").types;return q||Fp&&Fp.binding&&Fp.binding("util")}catch{}}(),Vg=Lr&&Lr.isArrayBuffer,qg=Lr&&Lr.isDate,Yg=Lr&&Lr.isMap,Zg=Lr&&Lr.isRegExp,Gg=Lr&&Lr.isSet,Kg=Lr&&Lr.isTypedArray;function hr(q,oe,ee){switch(ee.length){case 0:return q.call(oe);case 1:return q.call(oe,ee[0]);case 2:return q.call(oe,ee[0],ee[1]);case 3:return q.call(oe,ee[0],ee[1],ee[2])}return q.apply(oe,ee)}function iR(q,oe,ee,De){for(var ze=-1,yt=q==null?0:q.length;++ze<yt;){var un=q[ze];oe(De,un,ee(un),q)}return De}function mr(q,oe){for(var ee=-1,De=q==null?0:q.length;++ee<De&&oe(q[ee],ee,q)!==!1;);return q}function oR(q,oe){for(var ee=q==null?0:q.length;ee--&&oe(q[ee],ee,q)!==!1;);return q}function Xg(q,oe){for(var ee=-1,De=q==null?0:q.length;++ee<De;)if(!oe(q[ee],ee,q))return!1;return!0}function Ao(q,oe){for(var ee=-1,De=q==null?0:q.length,ze=0,yt=[];++ee<De;){var un=q[ee];oe(un,ee,q)&&(yt[ze++]=un)}return yt}function ou(q,oe){var ee=q==null?0:q.length;return!!ee&&ys(q,oe,0)>-1}function Bp(q,oe,ee){for(var De=-1,ze=q==null?0:q.length;++De<ze;)if(ee(oe,q[De]))return!0;return!1}function zt(q,oe){for(var ee=-1,De=q==null?0:q.length,ze=Array(De);++ee<De;)ze[ee]=oe(q[ee],ee,q);return ze}function ko(q,oe){for(var ee=-1,De=oe.length,ze=q.length;++ee<De;)q[ze+ee]=oe[ee];return q}function Pp(q,oe,ee,De){var ze=-1,yt=q==null?0:q.length;for(De&&yt&&(ee=q[++ze]);++ze<yt;)ee=oe(ee,q[ze],ze,q);return ee}function aR(q,oe,ee,De){var ze=q==null?0:q.length;for(De&&ze&&(ee=q[--ze]);ze--;)ee=oe(ee,q[ze],ze,q);return ee}function Lp(q,oe){for(var ee=-1,De=q==null?0:q.length;++ee<De;)if(oe(q[ee],ee,q))return!0;return!1}var sR=Np("length");function lR(q){return q.split("")}function cR(q){return q.match(me)||[]}function Qg(q,oe,ee){var De;return ee(q,function(ze,yt,un){if(oe(ze,yt,un))return De=yt,!1}),De}function au(q,oe,ee,De){for(var ze=q.length,yt=ee+(De?1:-1);De?yt--:++yt<ze;)if(oe(q[yt],yt,q))return yt;return-1}function ys(q,oe,ee){return oe===oe?wR(q,oe,ee):au(q,Jg,ee)}function uR(q,oe,ee,De){for(var ze=ee-1,yt=q.length;++ze<yt;)if(De(q[ze],oe))return ze;return-1}function Jg(q){return q!==q}function e9(q,oe){var ee=q==null?0:q.length;return ee?Mp(q,oe)/ee:M}function Np(q){return function(oe){return oe==null?n:oe[q]}}function Ip(q){return function(oe){return q==null?n:q[oe]}}function t9(q,oe,ee,De,ze){return ze(q,function(yt,un,Tt){ee=De?(De=!1,yt):oe(ee,yt,un,Tt)}),ee}function dR(q,oe){var ee=q.length;for(q.sort(oe);ee--;)q[ee]=q[ee].value;return q}function Mp(q,oe){for(var ee,De=-1,ze=q.length;++De<ze;){var yt=oe(q[De]);yt!==n&&(ee=ee===n?yt:ee+yt)}return ee}function $p(q,oe){for(var ee=-1,De=Array(q);++ee<q;)De[ee]=oe(ee);return De}function fR(q,oe){return zt(oe,function(ee){return[ee,q[ee]]})}function n9(q){return q&&q.slice(0,a9(q)+1).replace(So,"")}function vr(q){return function(oe){return q(oe)}}function Hp(q,oe){return zt(oe,function(ee){return q[ee]})}function Gl(q,oe){return q.has(oe)}function r9(q,oe){for(var ee=-1,De=q.length;++ee<De&&ys(oe,q[ee],0)>-1;);return ee}function i9(q,oe){for(var ee=q.length;ee--&&ys(oe,q[ee],0)>-1;);return ee}function pR(q,oe){for(var ee=q.length,De=0;ee--;)q[ee]===oe&&++De;return De}var hR=Ip(Xj),mR=Ip(Qj);function vR(q){return"\\"+eR[q]}function gR(q,oe){return q==null?n:q[oe]}function ws(q){return Yj.test(q)}function xR(q){return Zj.test(q)}function bR(q){for(var oe,ee=[];!(oe=q.next()).done;)ee.push(oe.value);return ee}function jp(q){var oe=-1,ee=Array(q.size);return q.forEach(function(De,ze){ee[++oe]=[ze,De]}),ee}function o9(q,oe){return function(ee){return q(oe(ee))}}function Do(q,oe){for(var ee=-1,De=q.length,ze=0,yt=[];++ee<De;){var un=q[ee];(un===oe||un===m)&&(q[ee]=m,yt[ze++]=ee)}return yt}function su(q){var oe=-1,ee=Array(q.size);return q.forEach(function(De){ee[++oe]=De}),ee}function yR(q){var oe=-1,ee=Array(q.size);return q.forEach(function(De){ee[++oe]=[De,De]}),ee}function wR(q,oe,ee){for(var De=ee-1,ze=q.length;++De<ze;)if(q[De]===oe)return De;return-1}function CR(q,oe,ee){for(var De=ee+1;De--;)if(q[De]===oe)return De;return De}function Cs(q){return ws(q)?_R(q):sR(q)}function ti(q){return ws(q)?SR(q):lR(q)}function a9(q){for(var oe=q.length;oe--&&Zl.test(q.charAt(oe)););return oe}var ER=Ip(Jj);function _R(q){for(var oe=Op.lastIndex=0;Op.test(q);)++oe;return oe}function SR(q){return q.match(Op)||[]}function AR(q){return q.match(qj)||[]}var kR=function q(oe){oe=oe==null?Cn:Es.defaults(Cn.Object(),oe,Es.pick(Cn,Gj));var ee=oe.Array,De=oe.Date,ze=oe.Error,yt=oe.Function,un=oe.Math,Tt=oe.Object,Rp=oe.RegExp,DR=oe.String,Nr=oe.TypeError,lu=ee.prototype,OR=yt.prototype,_s=Tt.prototype,cu=oe["__core-js_shared__"],uu=OR.toString,Ct=_s.hasOwnProperty,TR=0,s9=function(){var o=/[^.]+$/.exec(cu&&cu.keys&&cu.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),du=_s.toString,FR=uu.call(Tt),BR=Cn._,PR=Rp("^"+uu.call(Ct).replace(cn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),fu=zg?oe.Buffer:n,Oo=oe.Symbol,pu=oe.Uint8Array,l9=fu?fu.allocUnsafe:n,hu=o9(Tt.getPrototypeOf,Tt),c9=Tt.create,u9=_s.propertyIsEnumerable,mu=lu.splice,d9=Oo?Oo.isConcatSpreadable:n,Kl=Oo?Oo.iterator:n,ha=Oo?Oo.toStringTag:n,vu=function(){try{var o=ba(Tt,"defineProperty");return o({},"",{}),o}catch{}}(),LR=oe.clearTimeout!==Cn.clearTimeout&&oe.clearTimeout,NR=De&&De.now!==Cn.Date.now&&De.now,IR=oe.setTimeout!==Cn.setTimeout&&oe.setTimeout,gu=un.ceil,xu=un.floor,Wp=Tt.getOwnPropertySymbols,MR=fu?fu.isBuffer:n,f9=oe.isFinite,$R=lu.join,HR=o9(Tt.keys,Tt),dn=un.max,Bn=un.min,jR=De.now,RR=oe.parseInt,p9=un.random,WR=lu.reverse,Up=ba(oe,"DataView"),Xl=ba(oe,"Map"),zp=ba(oe,"Promise"),Ss=ba(oe,"Set"),Ql=ba(oe,"WeakMap"),Jl=ba(Tt,"create"),bu=Ql&&new Ql,As={},UR=ya(Up),zR=ya(Xl),VR=ya(zp),qR=ya(Ss),YR=ya(Ql),yu=Oo?Oo.prototype:n,e0=yu?yu.valueOf:n,h9=yu?yu.toString:n;function F(o){if(Kt(o)&&!Ze(o)&&!(o instanceof ct)){if(o instanceof Ir)return o;if(Ct.call(o,"__wrapped__"))return mx(o)}return new Ir(o)}var ks=function(){function o(){}return function(s){if(!qt(s))return{};if(c9)return c9(s);o.prototype=s;var p=new o;return o.prototype=n,p}}();function wu(){}function Ir(o,s){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=n}F.templateSettings={escape:dr,evaluate:ua,interpolate:yi,variable:"",imports:{_:F}},F.prototype=wu.prototype,F.prototype.constructor=F,Ir.prototype=ks(wu.prototype),Ir.prototype.constructor=Ir;function ct(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=z,this.__views__=[]}function ZR(){var o=new ct(this.__wrapped__);return o.__actions__=Jn(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=Jn(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=Jn(this.__views__),o}function GR(){if(this.__filtered__){var o=new ct(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}function KR(){var o=this.__wrapped__.value(),s=this.__dir__,p=Ze(o),y=s<0,k=p?o.length:0,P=lU(0,k,this.__views__),$=P.start,R=P.end,G=R-$,le=y?R:$-1,ce=this.__iteratees__,he=ce.length,we=0,Fe=Bn(G,this.__takeCount__);if(!p||!y&&k==G&&Fe==G)return $9(o,this.__actions__);var $e=[];e:for(;G--&&we<Fe;){le+=s;for(var tt=-1,Le=o[le];++tt<he;){var st=ce[tt],ft=st.iteratee,br=st.type,Wn=ft(Le);if(br==ne)Le=Wn;else if(!Wn){if(br==Y)continue e;break e}}$e[we++]=Le}return $e}ct.prototype=ks(wu.prototype),ct.prototype.constructor=ct;function ma(o){var s=-1,p=o==null?0:o.length;for(this.clear();++s<p;){var y=o[s];this.set(y[0],y[1])}}function XR(){this.__data__=Jl?Jl(null):{},this.size=0}function QR(o){var s=this.has(o)&&delete this.__data__[o];return this.size-=s?1:0,s}function JR(o){var s=this.__data__;if(Jl){var p=s[o];return p===d?n:p}return Ct.call(s,o)?s[o]:n}function eW(o){var s=this.__data__;return Jl?s[o]!==n:Ct.call(s,o)}function tW(o,s){var p=this.__data__;return this.size+=this.has(o)?0:1,p[o]=Jl&&s===n?d:s,this}ma.prototype.clear=XR,ma.prototype.delete=QR,ma.prototype.get=JR,ma.prototype.has=eW,ma.prototype.set=tW;function Gi(o){var s=-1,p=o==null?0:o.length;for(this.clear();++s<p;){var y=o[s];this.set(y[0],y[1])}}function nW(){this.__data__=[],this.size=0}function rW(o){var s=this.__data__,p=Cu(s,o);if(p<0)return!1;var y=s.length-1;return p==y?s.pop():mu.call(s,p,1),--this.size,!0}function iW(o){var s=this.__data__,p=Cu(s,o);return p<0?n:s[p][1]}function oW(o){return Cu(this.__data__,o)>-1}function aW(o,s){var p=this.__data__,y=Cu(p,o);return y<0?(++this.size,p.push([o,s])):p[y][1]=s,this}Gi.prototype.clear=nW,Gi.prototype.delete=rW,Gi.prototype.get=iW,Gi.prototype.has=oW,Gi.prototype.set=aW;function Ki(o){var s=-1,p=o==null?0:o.length;for(this.clear();++s<p;){var y=o[s];this.set(y[0],y[1])}}function sW(){this.size=0,this.__data__={hash:new ma,map:new(Xl||Gi),string:new ma}}function lW(o){var s=Lu(this,o).delete(o);return this.size-=s?1:0,s}function cW(o){return Lu(this,o).get(o)}function uW(o){return Lu(this,o).has(o)}function dW(o,s){var p=Lu(this,o),y=p.size;return p.set(o,s),this.size+=p.size==y?0:1,this}Ki.prototype.clear=sW,Ki.prototype.delete=lW,Ki.prototype.get=cW,Ki.prototype.has=uW,Ki.prototype.set=dW;function va(o){var s=-1,p=o==null?0:o.length;for(this.__data__=new Ki;++s<p;)this.add(o[s])}function fW(o){return this.__data__.set(o,d),this}function pW(o){return this.__data__.has(o)}va.prototype.add=va.prototype.push=fW,va.prototype.has=pW;function ni(o){var s=this.__data__=new Gi(o);this.size=s.size}function hW(){this.__data__=new Gi,this.size=0}function mW(o){var s=this.__data__,p=s.delete(o);return this.size=s.size,p}function vW(o){return this.__data__.get(o)}function gW(o){return this.__data__.has(o)}function xW(o,s){var p=this.__data__;if(p instanceof Gi){var y=p.__data__;if(!Xl||y.length<i-1)return y.push([o,s]),this.size=++p.size,this;p=this.__data__=new Ki(y)}return p.set(o,s),this.size=p.size,this}ni.prototype.clear=hW,ni.prototype.delete=mW,ni.prototype.get=vW,ni.prototype.has=gW,ni.prototype.set=xW;function m9(o,s){var p=Ze(o),y=!p&&wa(o),k=!p&&!y&&Lo(o),P=!p&&!y&&!k&&Fs(o),$=p||y||k||P,R=$?$p(o.length,DR):[],G=R.length;for(var le in o)(s||Ct.call(o,le))&&!($&&(le=="length"||k&&(le=="offset"||le=="parent")||P&&(le=="buffer"||le=="byteLength"||le=="byteOffset")||Ji(le,G)))&&R.push(le);return R}function v9(o){var s=o.length;return s?o[th(0,s-1)]:n}function bW(o,s){return Nu(Jn(o),ga(s,0,o.length))}function yW(o){return Nu(Jn(o))}function Vp(o,s,p){(p!==n&&!ii(o[s],p)||p===n&&!(s in o))&&Ci(o,s,p)}function t0(o,s,p){var y=o[s];(!(Ct.call(o,s)&&ii(y,p))||p===n&&!(s in o))&&Ci(o,s,p)}function Cu(o,s){for(var p=o.length;p--;)if(ii(o[p][0],s))return p;return-1}function wW(o,s,p,y){return To(o,function(k,P,$){s(y,k,p(k),$)}),y}function g9(o,s){return o&&_i(s,mn(s),o)}function CW(o,s){return o&&_i(s,tr(s),o)}function Ci(o,s,p){s=="__proto__"&&vu?vu(o,s,{configurable:!0,enumerable:!0,value:p,writable:!0}):o[s]=p}function qp(o,s){for(var p=-1,y=s.length,k=ee(y),P=o==null;++p<y;)k[p]=P?n:kh(o,s[p]);return k}function ga(o,s,p){return o===o&&(p!==n&&(o=o<=p?o:p),s!==n&&(o=o>=s?o:s)),o}function Mr(o,s,p,y,k,P){var $,R=s&h,G=s&g,le=s&w;if(p&&($=k?p(o,y,k,P):p(o)),$!==n)return $;if(!qt(o))return o;var ce=Ze(o);if(ce){if($=uU(o),!R)return Jn(o,$)}else{var he=Pn(o),we=he==Ue||he==mt;if(Lo(o))return R9(o,R);if(he==Xe||he==J||we&&!k){if($=G||we?{}:ax(o),!R)return G?JW(o,CW($,o)):QW(o,g9($,o))}else{if(!It[he])return k?o:{};$=dU(o,he,R)}}P||(P=new ni);var Fe=P.get(o);if(Fe)return Fe;P.set(o,$),Nx(o)?o.forEach(function(Le){$.add(Mr(Le,s,p,Le,o,P))}):Px(o)&&o.forEach(function(Le,st){$.set(st,Mr(Le,s,p,st,o,P))});var $e=le?G?fh:dh:G?tr:mn,tt=ce?n:$e(o);return mr(tt||o,function(Le,st){tt&&(st=Le,Le=o[st]),t0($,st,Mr(Le,s,p,st,o,P))}),$}function EW(o){var s=mn(o);return function(p){return x9(p,o,s)}}function x9(o,s,p){var y=p.length;if(o==null)return!y;for(o=Tt(o);y--;){var k=p[y],P=s[k],$=o[k];if($===n&&!(k in o)||!P($))return!1}return!0}function b9(o,s,p){if(typeof o!="function")throw new Nr(l);return l0(function(){o.apply(n,p)},s)}function n0(o,s,p,y){var k=-1,P=ou,$=!0,R=o.length,G=[],le=s.length;if(!R)return G;p&&(s=zt(s,vr(p))),y?(P=Bp,$=!1):s.length>=i&&(P=Gl,$=!1,s=new va(s));e:for(;++k<R;){var ce=o[k],he=p==null?ce:p(ce);if(ce=y||ce!==0?ce:0,$&&he===he){for(var we=le;we--;)if(s[we]===he)continue e;G.push(ce)}else P(s,he,y)||G.push(ce)}return G}var To=q9(Ei),y9=q9(Zp,!0);function _W(o,s){var p=!0;return To(o,function(y,k,P){return p=!!s(y,k,P),p}),p}function Eu(o,s,p){for(var y=-1,k=o.length;++y<k;){var P=o[y],$=s(P);if($!=null&&(R===n?$===$&&!xr($):p($,R)))var R=$,G=P}return G}function SW(o,s,p,y){var k=o.length;for(p=et(p),p<0&&(p=-p>k?0:k+p),y=y===n||y>k?k:et(y),y<0&&(y+=k),y=p>y?0:Mx(y);p<y;)o[p++]=s;return o}function w9(o,s){var p=[];return To(o,function(y,k,P){s(y,k,P)&&p.push(y)}),p}function En(o,s,p,y,k){var P=-1,$=o.length;for(p||(p=pU),k||(k=[]);++P<$;){var R=o[P];s>0&&p(R)?s>1?En(R,s-1,p,y,k):ko(k,R):y||(k[k.length]=R)}return k}var Yp=Y9(),C9=Y9(!0);function Ei(o,s){return o&&Yp(o,s,mn)}function Zp(o,s){return o&&C9(o,s,mn)}function _u(o,s){return Ao(s,function(p){return eo(o[p])})}function xa(o,s){s=Bo(s,o);for(var p=0,y=s.length;o!=null&&p<y;)o=o[ri(s[p++])];return p&&p==y?o:n}function E9(o,s,p){var y=s(o);return Ze(o)?y:ko(y,p(o))}function jn(o){return o==null?o===n?ge:dt:ha&&ha in Tt(o)?sU(o):yU(o)}function Gp(o,s){return o>s}function AW(o,s){return o!=null&&Ct.call(o,s)}function kW(o,s){return o!=null&&s in Tt(o)}function DW(o,s,p){return o>=Bn(s,p)&&o<dn(s,p)}function Kp(o,s,p){for(var y=p?Bp:ou,k=o[0].length,P=o.length,$=P,R=ee(P),G=1/0,le=[];$--;){var ce=o[$];$&&s&&(ce=zt(ce,vr(s))),G=Bn(ce.length,G),R[$]=!p&&(s||k>=120&&ce.length>=120)?new va($&&ce):n}ce=o[0];var he=-1,we=R[0];e:for(;++he<k&&le.length<G;){var Fe=ce[he],$e=s?s(Fe):Fe;if(Fe=p||Fe!==0?Fe:0,!(we?Gl(we,$e):y(le,$e,p))){for($=P;--$;){var tt=R[$];if(!(tt?Gl(tt,$e):y(o[$],$e,p)))continue e}we&&we.push($e),le.push(Fe)}}return le}function OW(o,s,p,y){return Ei(o,function(k,P,$){s(y,p(k),P,$)}),y}function r0(o,s,p){s=Bo(s,o),o=ux(o,s);var y=o==null?o:o[ri(Hr(s))];return y==null?n:hr(y,o,p)}function _9(o){return Kt(o)&&jn(o)==J}function TW(o){return Kt(o)&&jn(o)==ot}function FW(o){return Kt(o)&&jn(o)==Oe}function i0(o,s,p,y,k){return o===s?!0:o==null||s==null||!Kt(o)&&!Kt(s)?o!==o&&s!==s:BW(o,s,p,y,i0,k)}function BW(o,s,p,y,k,P){var $=Ze(o),R=Ze(s),G=$?de:Pn(o),le=R?de:Pn(s);G=G==J?Xe:G,le=le==J?Xe:le;var ce=G==Xe,he=le==Xe,we=G==le;if(we&&Lo(o)){if(!Lo(s))return!1;$=!0,ce=!1}if(we&&!ce)return P||(P=new ni),$||Fs(o)?rx(o,s,p,y,k,P):oU(o,s,G,p,y,k,P);if(!(p&x)){var Fe=ce&&Ct.call(o,"__wrapped__"),$e=he&&Ct.call(s,"__wrapped__");if(Fe||$e){var tt=Fe?o.value():o,Le=$e?s.value():s;return P||(P=new ni),k(tt,Le,p,y,P)}}return we?(P||(P=new ni),aU(o,s,p,y,k,P)):!1}function PW(o){return Kt(o)&&Pn(o)==rt}function Xp(o,s,p,y){var k=p.length,P=k,$=!y;if(o==null)return!P;for(o=Tt(o);k--;){var R=p[k];if($&&R[2]?R[1]!==o[R[0]]:!(R[0]in o))return!1}for(;++k<P;){R=p[k];var G=R[0],le=o[G],ce=R[1];if($&&R[2]){if(le===n&&!(G in o))return!1}else{var he=new ni;if(y)var we=y(le,ce,G,o,s,he);if(!(we===n?i0(ce,le,x|v,y,he):we))return!1}}return!0}function S9(o){if(!qt(o)||mU(o))return!1;var s=eo(o)?PR:Pr;return s.test(ya(o))}function LW(o){return Kt(o)&&jn(o)==it}function NW(o){return Kt(o)&&Pn(o)==Ye}function IW(o){return Kt(o)&&Ru(o.length)&&!!Rt[jn(o)]}function A9(o){return typeof o=="function"?o:o==null?nr:typeof o=="object"?Ze(o)?O9(o[0],o[1]):D9(o):Gx(o)}function Qp(o){if(!s0(o))return HR(o);var s=[];for(var p in Tt(o))Ct.call(o,p)&&p!="constructor"&&s.push(p);return s}function MW(o){if(!qt(o))return bU(o);var s=s0(o),p=[];for(var y in o)y=="constructor"&&(s||!Ct.call(o,y))||p.push(y);return p}function Jp(o,s){return o<s}function k9(o,s){var p=-1,y=er(o)?ee(o.length):[];return To(o,function(k,P,$){y[++p]=s(k,P,$)}),y}function D9(o){var s=hh(o);return s.length==1&&s[0][2]?lx(s[0][0],s[0][1]):function(p){return p===o||Xp(p,o,s)}}function O9(o,s){return vh(o)&&sx(s)?lx(ri(o),s):function(p){var y=kh(p,o);return y===n&&y===s?Dh(p,o):i0(s,y,x|v)}}function Su(o,s,p,y,k){o!==s&&Yp(s,function(P,$){if(k||(k=new ni),qt(P))$W(o,s,$,p,Su,y,k);else{var R=y?y(xh(o,$),P,$+"",o,s,k):n;R===n&&(R=P),Vp(o,$,R)}},tr)}function $W(o,s,p,y,k,P,$){var R=xh(o,p),G=xh(s,p),le=$.get(G);if(le){Vp(o,p,le);return}var ce=P?P(R,G,p+"",o,s,$):n,he=ce===n;if(he){var we=Ze(G),Fe=!we&&Lo(G),$e=!we&&!Fe&&Fs(G);ce=G,we||Fe||$e?Ze(R)?ce=R:nn(R)?ce=Jn(R):Fe?(he=!1,ce=R9(G,!0)):$e?(he=!1,ce=W9(G,!0)):ce=[]:c0(G)||wa(G)?(ce=R,wa(R)?ce=$x(R):(!qt(R)||eo(R))&&(ce=ax(G))):he=!1}he&&($.set(G,ce),k(ce,G,y,P,$),$.delete(G)),Vp(o,p,ce)}function T9(o,s){var p=o.length;if(p)return s+=s<0?p:0,Ji(s,p)?o[s]:n}function F9(o,s,p){s.length?s=zt(s,function(P){return Ze(P)?function($){return xa($,P.length===1?P[0]:P)}:P}):s=[nr];var y=-1;s=zt(s,vr(Ne()));var k=k9(o,function(P,$,R){var G=zt(s,function(le){return le(P)});return{criteria:G,index:++y,value:P}});return dR(k,function(P,$){return XW(P,$,p)})}function HW(o,s){return B9(o,s,function(p,y){return Dh(o,y)})}function B9(o,s,p){for(var y=-1,k=s.length,P={};++y<k;){var $=s[y],R=xa(o,$);p(R,$)&&o0(P,Bo($,o),R)}return P}function jW(o){return function(s){return xa(s,o)}}function eh(o,s,p,y){var k=y?uR:ys,P=-1,$=s.length,R=o;for(o===s&&(s=Jn(s)),p&&(R=zt(o,vr(p)));++P<$;)for(var G=0,le=s[P],ce=p?p(le):le;(G=k(R,ce,G,y))>-1;)R!==o&&mu.call(R,G,1),mu.call(o,G,1);return o}function P9(o,s){for(var p=o?s.length:0,y=p-1;p--;){var k=s[p];if(p==y||k!==P){var P=k;Ji(k)?mu.call(o,k,1):ih(o,k)}}return o}function th(o,s){return o+xu(p9()*(s-o+1))}function RW(o,s,p,y){for(var k=-1,P=dn(gu((s-o)/(p||1)),0),$=ee(P);P--;)$[y?P:++k]=o,o+=p;return $}function nh(o,s){var p="";if(!o||s<1||s>ae)return p;do s%2&&(p+=o),s=xu(s/2),s&&(o+=o);while(s);return p}function at(o,s){return bh(cx(o,s,nr),o+"")}function WW(o){return v9(Bs(o))}function UW(o,s){var p=Bs(o);return Nu(p,ga(s,0,p.length))}function o0(o,s,p,y){if(!qt(o))return o;s=Bo(s,o);for(var k=-1,P=s.length,$=P-1,R=o;R!=null&&++k<P;){var G=ri(s[k]),le=p;if(G==="__proto__"||G==="constructor"||G==="prototype")return o;if(k!=$){var ce=R[G];le=y?y(ce,G,R):n,le===n&&(le=qt(ce)?ce:Ji(s[k+1])?[]:{})}t0(R,G,le),R=R[G]}return o}var L9=bu?function(o,s){return bu.set(o,s),o}:nr,zW=vu?function(o,s){return vu(o,"toString",{configurable:!0,enumerable:!1,value:Th(s),writable:!0})}:nr;function VW(o){return Nu(Bs(o))}function $r(o,s,p){var y=-1,k=o.length;s<0&&(s=-s>k?0:k+s),p=p>k?k:p,p<0&&(p+=k),k=s>p?0:p-s>>>0,s>>>=0;for(var P=ee(k);++y<k;)P[y]=o[y+s];return P}function qW(o,s){var p;return To(o,function(y,k,P){return p=s(y,k,P),!p}),!!p}function Au(o,s,p){var y=0,k=o==null?y:o.length;if(typeof s=="number"&&s===s&&k<=U){for(;y<k;){var P=y+k>>>1,$=o[P];$!==null&&!xr($)&&(p?$<=s:$<s)?y=P+1:k=P}return k}return rh(o,s,nr,p)}function rh(o,s,p,y){var k=0,P=o==null?0:o.length;if(P===0)return 0;s=p(s);for(var $=s!==s,R=s===null,G=xr(s),le=s===n;k<P;){var ce=xu((k+P)/2),he=p(o[ce]),we=he!==n,Fe=he===null,$e=he===he,tt=xr(he);if($)var Le=y||$e;else le?Le=$e&&(y||we):R?Le=$e&&we&&(y||!Fe):G?Le=$e&&we&&!Fe&&(y||!tt):Fe||tt?Le=!1:Le=y?he<=s:he<s;Le?k=ce+1:P=ce}return Bn(P,X)}function N9(o,s){for(var p=-1,y=o.length,k=0,P=[];++p<y;){var $=o[p],R=s?s($):$;if(!p||!ii(R,G)){var G=R;P[k++]=$===0?0:$}}return P}function I9(o){return typeof o=="number"?o:xr(o)?M:+o}function gr(o){if(typeof o=="string")return o;if(Ze(o))return zt(o,gr)+"";if(xr(o))return h9?h9.call(o):"";var s=o+"";return s=="0"&&1/o==-se?"-0":s}function Fo(o,s,p){var y=-1,k=ou,P=o.length,$=!0,R=[],G=R;if(p)$=!1,k=Bp;else if(P>=i){var le=s?null:rU(o);if(le)return su(le);$=!1,k=Gl,G=new va}else G=s?[]:R;e:for(;++y<P;){var ce=o[y],he=s?s(ce):ce;if(ce=p||ce!==0?ce:0,$&&he===he){for(var we=G.length;we--;)if(G[we]===he)continue e;s&&G.push(he),R.push(ce)}else k(G,he,p)||(G!==R&&G.push(he),R.push(ce))}return R}function ih(o,s){s=Bo(s,o);var p=-1,y=s.length;if(!y)return!0;for(;++p<y;){var k=ri(s[p]);if(k==="__proto__"&&!Ct.call(o,"__proto__")||(k==="constructor"||k==="prototype")&&p<y-1)return!1}var P=ux(o,s);return P==null||delete P[ri(Hr(s))]}function M9(o,s,p,y){return o0(o,s,p(xa(o,s)),y)}function ku(o,s,p,y){for(var k=o.length,P=y?k:-1;(y?P--:++P<k)&&s(o[P],P,o););return p?$r(o,y?0:P,y?P+1:k):$r(o,y?P+1:0,y?k:P)}function $9(o,s){var p=o;return p instanceof ct&&(p=p.value()),Pp(s,function(y,k){return k.func.apply(k.thisArg,ko([y],k.args))},p)}function oh(o,s,p){var y=o.length;if(y<2)return y?Fo(o[0]):[];for(var k=-1,P=ee(y);++k<y;)for(var $=o[k],R=-1;++R<y;)R!=k&&(P[k]=n0(P[k]||$,o[R],s,p));return Fo(En(P,1),s,p)}function H9(o,s,p){for(var y=-1,k=o.length,P=s.length,$={};++y<k;){var R=y<P?s[y]:n;p($,o[y],R)}return $}function ah(o){return nn(o)?o:[]}function sh(o){return typeof o=="function"?o:nr}function Bo(o,s){return Ze(o)?o:vh(o,s)?[o]:hx(Et(o))}var YW=at;function Po(o,s,p){var y=o.length;return p=p===n?y:p,!s&&p>=y?o:$r(o,s,p)}var j9=LR||function(o){return Cn.clearTimeout(o)};function R9(o,s){if(s)return o.slice();var p=o.length,y=l9?l9(p):new o.constructor(p);return o.copy(y),y}function lh(o){var s=new o.constructor(o.byteLength);return new pu(s).set(new pu(o)),s}function ZW(o,s){var p=s?lh(o.buffer):o.buffer;return new o.constructor(p,o.byteOffset,o.byteLength)}function GW(o){var s=new o.constructor(o.source,fr.exec(o));return s.lastIndex=o.lastIndex,s}function KW(o){return e0?Tt(e0.call(o)):{}}function W9(o,s){var p=s?lh(o.buffer):o.buffer;return new o.constructor(p,o.byteOffset,o.length)}function U9(o,s){if(o!==s){var p=o!==n,y=o===null,k=o===o,P=xr(o),$=s!==n,R=s===null,G=s===s,le=xr(s);if(!R&&!le&&!P&&o>s||P&&$&&G&&!R&&!le||y&&$&&G||!p&&G||!k)return 1;if(!y&&!P&&!le&&o<s||le&&p&&k&&!y&&!P||R&&p&&k||!$&&k||!G)return-1}return 0}function XW(o,s,p){for(var y=-1,k=o.criteria,P=s.criteria,$=k.length,R=p.length;++y<$;){var G=U9(k[y],P[y]);if(G){if(y>=R)return G;var le=p[y];return G*(le=="desc"?-1:1)}}return o.index-s.index}function z9(o,s,p,y){for(var k=-1,P=o.length,$=p.length,R=-1,G=s.length,le=dn(P-$,0),ce=ee(G+le),he=!y;++R<G;)ce[R]=s[R];for(;++k<$;)(he||k<P)&&(ce[p[k]]=o[k]);for(;le--;)ce[R++]=o[k++];return ce}function V9(o,s,p,y){for(var k=-1,P=o.length,$=-1,R=p.length,G=-1,le=s.length,ce=dn(P-R,0),he=ee(ce+le),we=!y;++k<ce;)he[k]=o[k];for(var Fe=k;++G<le;)he[Fe+G]=s[G];for(;++$<R;)(we||k<P)&&(he[Fe+p[$]]=o[k++]);return he}function Jn(o,s){var p=-1,y=o.length;for(s||(s=ee(y));++p<y;)s[p]=o[p];return s}function _i(o,s,p,y){var k=!p;p||(p={});for(var P=-1,$=s.length;++P<$;){var R=s[P],G=y?y(p[R],o[R],R,p,o):n;G===n&&(G=o[R]),k?Ci(p,R,G):t0(p,R,G)}return p}function QW(o,s){return _i(o,mh(o),s)}function JW(o,s){return _i(o,ix(o),s)}function Du(o,s){return function(p,y){var k=Ze(p)?iR:wW,P=s?s():{};return k(p,o,Ne(y,2),P)}}function Ds(o){return at(function(s,p){var y=-1,k=p.length,P=k>1?p[k-1]:n,$=k>2?p[2]:n;for(P=o.length>3&&typeof P=="function"?(k--,P):n,$&&Rn(p[0],p[1],$)&&(P=k<3?n:P,k=1),s=Tt(s);++y<k;){var R=p[y];R&&o(s,R,y,P)}return s})}function q9(o,s){return function(p,y){if(p==null)return p;if(!er(p))return o(p,y);for(var k=p.length,P=s?k:-1,$=Tt(p);(s?P--:++P<k)&&y($[P],P,$)!==!1;);return p}}function Y9(o){return function(s,p,y){for(var k=-1,P=Tt(s),$=y(s),R=$.length;R--;){var G=$[o?R:++k];if(p(P[G],G,P)===!1)break}return s}}function eU(o,s,p){var y=s&S,k=a0(o);function P(){var $=this&&this!==Cn&&this instanceof P?k:o;return $.apply(y?p:this,arguments)}return P}function Z9(o){return function(s){s=Et(s);var p=ws(s)?ti(s):n,y=p?p[0]:s.charAt(0),k=p?Po(p,1).join(""):s.slice(1);return y[o]()+k}}function Os(o){return function(s){return Pp(Yx(qx(s).replace(zj,"")),o,"")}}function a0(o){return function(){var s=arguments;switch(s.length){case 0:return new o;case 1:return new o(s[0]);case 2:return new o(s[0],s[1]);case 3:return new o(s[0],s[1],s[2]);case 4:return new o(s[0],s[1],s[2],s[3]);case 5:return new o(s[0],s[1],s[2],s[3],s[4]);case 6:return new o(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new o(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var p=ks(o.prototype),y=o.apply(p,s);return qt(y)?y:p}}function tU(o,s,p){var y=a0(o);function k(){for(var P=arguments.length,$=ee(P),R=P,G=Ts(k);R--;)$[R]=arguments[R];var le=P<3&&$[0]!==G&&$[P-1]!==G?[]:Do($,G);if(P-=le.length,P<p)return J9(o,s,Ou,k.placeholder,n,$,le,n,n,p-P);var ce=this&&this!==Cn&&this instanceof k?y:o;return hr(ce,this,$)}return k}function G9(o){return function(s,p,y){var k=Tt(s);if(!er(s)){var P=Ne(p,3);s=mn(s),p=function(R){return P(k[R],R,k)}}var $=o(s,p,y);return $>-1?k[P?s[$]:$]:n}}function K9(o){return Qi(function(s){var p=s.length,y=p,k=Ir.prototype.thru;for(o&&s.reverse();y--;){var P=s[y];if(typeof P!="function")throw new Nr(l);if(k&&!$&&Pu(P)=="wrapper")var $=new Ir([],!0)}for(y=$?y:p;++y<p;){P=s[y];var R=Pu(P),G=R=="wrapper"?ph(P):n;G&&gh(G[0])&&G[1]==(O|_|A|N)&&!G[4].length&&G[9]==1?$=$[Pu(G[0])].apply($,G[3]):$=P.length==1&&gh(P)?$[R]():$.thru(P)}return function(){var le=arguments,ce=le[0];if($&&le.length==1&&Ze(ce))return $.plant(ce).value();for(var he=0,we=p?s[he].apply(this,le):ce;++he<p;)we=s[he].call(this,we);return we}})}function Ou(o,s,p,y,k,P,$,R,G,le){var ce=s&O,he=s&S,we=s&C,Fe=s&(_|D),$e=s&L,tt=we?n:a0(o);function Le(){for(var st=arguments.length,ft=ee(st),br=st;br--;)ft[br]=arguments[br];if(Fe)var Wn=Ts(Le),yr=pR(ft,Wn);if(y&&(ft=z9(ft,y,k,Fe)),P&&(ft=V9(ft,P,$,Fe)),st-=yr,Fe&&st<le){var rn=Do(ft,Wn);return J9(o,s,Ou,Le.placeholder,p,ft,rn,R,G,le-st)}var oi=he?p:this,no=we?oi[o]:o;return st=ft.length,R?ft=wU(ft,R):$e&&st>1&&ft.reverse(),ce&&G<st&&(ft.length=G),this&&this!==Cn&&this instanceof Le&&(no=tt||a0(no)),no.apply(oi,ft)}return Le}function X9(o,s){return function(p,y){return OW(p,o,s(y),{})}}function Tu(o,s){return function(p,y){var k;if(p===n&&y===n)return s;if(p!==n&&(k=p),y!==n){if(k===n)return y;typeof p=="string"||typeof y=="string"?(p=gr(p),y=gr(y)):(p=I9(p),y=I9(y)),k=o(p,y)}return k}}function ch(o){return Qi(function(s){return s=zt(s,vr(Ne())),at(function(p){var y=this;return o(s,function(k){return hr(k,y,p)})})})}function Fu(o,s){s=s===n?" ":gr(s);var p=s.length;if(p<2)return p?nh(s,o):s;var y=nh(s,gu(o/Cs(s)));return ws(s)?Po(ti(y),0,o).join(""):y.slice(0,o)}function nU(o,s,p,y){var k=s&S,P=a0(o);function $(){for(var R=-1,G=arguments.length,le=-1,ce=y.length,he=ee(ce+G),we=this&&this!==Cn&&this instanceof $?P:o;++le<ce;)he[le]=y[le];for(;G--;)he[le++]=arguments[++R];return hr(we,k?p:this,he)}return $}function Q9(o){return function(s,p,y){return y&&typeof y!="number"&&Rn(s,p,y)&&(p=y=n),s=to(s),p===n?(p=s,s=0):p=to(p),y=y===n?s<p?1:-1:to(y),RW(s,p,y,o)}}function Bu(o){return function(s,p){return typeof s=="string"&&typeof p=="string"||(s=jr(s),p=jr(p)),o(s,p)}}function J9(o,s,p,y,k,P,$,R,G,le){var ce=s&_,he=ce?$:n,we=ce?n:$,Fe=ce?P:n,$e=ce?n:P;s|=ce?A:B,s&=~(ce?B:A),s&E||(s&=-4);var tt=[o,s,k,Fe,he,$e,we,R,G,le],Le=p.apply(n,tt);return gh(o)&&dx(Le,tt),Le.placeholder=y,fx(Le,o,s)}function uh(o){var s=un[o];return function(p,y){if(p=jr(p),y=y==null?0:Bn(et(y),292),y&&f9(p)){var k=(Et(p)+"e").split("e"),P=s(k[0]+"e"+(+k[1]+y));return k=(Et(P)+"e").split("e"),+(k[0]+"e"+(+k[1]-y))}return s(p)}}var rU=Ss&&1/su(new Ss([,-0]))[1]==se?function(o){return new Ss(o)}:Ph;function ex(o){return function(s){var p=Pn(s);return p==rt?jp(s):p==Ye?yR(s):fR(s,o(s))}}function Xi(o,s,p,y,k,P,$,R){var G=s&C;if(!G&&typeof o!="function")throw new Nr(l);var le=y?y.length:0;if(le||(s&=-97,y=k=n),$=$===n?$:dn(et($),0),R=R===n?R:et(R),le-=k?k.length:0,s&B){var ce=y,he=k;y=k=n}var we=G?n:ph(o),Fe=[o,s,p,y,k,ce,he,P,$,R];if(we&&xU(Fe,we),o=Fe[0],s=Fe[1],p=Fe[2],y=Fe[3],k=Fe[4],R=Fe[9]=Fe[9]===n?G?0:o.length:dn(Fe[9]-le,0),!R&&s&(_|D)&&(s&=-25),!s||s==S)var $e=eU(o,s,p);else s==_||s==D?$e=tU(o,s,R):(s==A||s==(S|A))&&!k.length?$e=nU(o,s,p,y):$e=Ou.apply(n,Fe);var tt=we?L9:dx;return fx(tt($e,Fe),o,s)}function tx(o,s,p,y){return o===n||ii(o,_s[p])&&!Ct.call(y,p)?s:o}function nx(o,s,p,y,k,P){return qt(o)&&qt(s)&&(P.set(s,o),Su(o,s,n,nx,P),P.delete(s)),o}function iU(o){return c0(o)?n:o}function rx(o,s,p,y,k,P){var $=p&x,R=o.length,G=s.length;if(R!=G&&!($&&G>R))return!1;var le=P.get(o),ce=P.get(s);if(le&&ce)return le==s&&ce==o;var he=-1,we=!0,Fe=p&v?new va:n;for(P.set(o,s),P.set(s,o);++he<R;){var $e=o[he],tt=s[he];if(y)var Le=$?y(tt,$e,he,s,o,P):y($e,tt,he,o,s,P);if(Le!==n){if(Le)continue;we=!1;break}if(Fe){if(!Lp(s,function(st,ft){if(!Gl(Fe,ft)&&($e===st||k($e,st,p,y,P)))return Fe.push(ft)})){we=!1;break}}else if(!($e===tt||k($e,tt,p,y,P))){we=!1;break}}return P.delete(o),P.delete(s),we}function oU(o,s,p,y,k,P,$){switch(p){case ht:if(o.byteLength!=s.byteLength||o.byteOffset!=s.byteOffset)return!1;o=o.buffer,s=s.buffer;case ot:return!(o.byteLength!=s.byteLength||!P(new pu(o),new pu(s)));case Se:case Oe:case ke:return ii(+o,+s);case Ie:return o.name==s.name&&o.message==s.message;case it:case St:return o==s+"";case rt:var R=jp;case Ye:var G=y&x;if(R||(R=su),o.size!=s.size&&!G)return!1;var le=$.get(o);if(le)return le==s;y|=v,$.set(o,s);var ce=rx(R(o),R(s),y,k,P,$);return $.delete(o),ce;case jt:if(e0)return e0.call(o)==e0.call(s)}return!1}function aU(o,s,p,y,k,P){var $=p&x,R=dh(o),G=R.length,le=dh(s),ce=le.length;if(G!=ce&&!$)return!1;for(var he=G;he--;){var we=R[he];if(!($?we in s:Ct.call(s,we)))return!1}var Fe=P.get(o),$e=P.get(s);if(Fe&&$e)return Fe==s&&$e==o;var tt=!0;P.set(o,s),P.set(s,o);for(var Le=$;++he<G;){we=R[he];var st=o[we],ft=s[we];if(y)var br=$?y(ft,st,we,s,o,P):y(st,ft,we,o,s,P);if(!(br===n?st===ft||k(st,ft,p,y,P):br)){tt=!1;break}Le||(Le=we=="constructor")}if(tt&&!Le){var Wn=o.constructor,yr=s.constructor;Wn!=yr&&"constructor"in o&&"constructor"in s&&!(typeof Wn=="function"&&Wn instanceof Wn&&typeof yr=="function"&&yr instanceof yr)&&(tt=!1)}return P.delete(o),P.delete(s),tt}function Qi(o){return bh(cx(o,n,xx),o+"")}function dh(o){return E9(o,mn,mh)}function fh(o){return E9(o,tr,ix)}var ph=bu?function(o){return bu.get(o)}:Ph;function Pu(o){for(var s=o.name+"",p=As[s],y=Ct.call(As,s)?p.length:0;y--;){var k=p[y],P=k.func;if(P==null||P==o)return k.name}return s}function Ts(o){var s=Ct.call(F,"placeholder")?F:o;return s.placeholder}function Ne(){var o=F.iteratee||Fh;return o=o===Fh?A9:o,arguments.length?o(arguments[0],arguments[1]):o}function Lu(o,s){var p=o.__data__;return hU(s)?p[typeof s=="string"?"string":"hash"]:p.map}function hh(o){for(var s=mn(o),p=s.length;p--;){var y=s[p],k=o[y];s[p]=[y,k,sx(k)]}return s}function ba(o,s){var p=gR(o,s);return S9(p)?p:n}function sU(o){var s=Ct.call(o,ha),p=o[ha];try{o[ha]=n;var y=!0}catch{}var k=du.call(o);return y&&(s?o[ha]=p:delete o[ha]),k}var mh=Wp?function(o){return o==null?[]:(o=Tt(o),Ao(Wp(o),function(s){return u9.call(o,s)}))}:Lh,ix=Wp?function(o){for(var s=[];o;)ko(s,mh(o)),o=hu(o);return s}:Lh,Pn=jn;(Up&&Pn(new Up(new ArrayBuffer(1)))!=ht||Xl&&Pn(new Xl)!=rt||zp&&Pn(zp.resolve())!=kt||Ss&&Pn(new Ss)!=Ye||Ql&&Pn(new Ql)!=Ce)&&(Pn=function(o){var s=jn(o),p=s==Xe?o.constructor:n,y=p?ya(p):"";if(y)switch(y){case UR:return ht;case zR:return rt;case VR:return kt;case qR:return Ye;case YR:return Ce}return s});function lU(o,s,p){for(var y=-1,k=p.length;++y<k;){var P=p[y],$=P.size;switch(P.type){case"drop":o+=$;break;case"dropRight":s-=$;break;case"take":s=Bn(s,o+$);break;case"takeRight":o=dn(o,s-$);break}}return{start:o,end:s}}function cU(o){var s=o.match(_p);return s?s[1].split(Me):[]}function ox(o,s,p){s=Bo(s,o);for(var y=-1,k=s.length,P=!1;++y<k;){var $=ri(s[y]);if(!(P=o!=null&&p(o,$)))break;o=o[$]}return P||++y!=k?P:(k=o==null?0:o.length,!!k&&Ru(k)&&Ji($,k)&&(Ze(o)||wa(o)))}function uU(o){var s=o.length,p=new o.constructor(s);return s&&typeof o[0]=="string"&&Ct.call(o,"index")&&(p.index=o.index,p.input=o.input),p}function ax(o){return typeof o.constructor=="function"&&!s0(o)?ks(hu(o)):{}}function dU(o,s,p){var y=o.constructor;switch(s){case ot:return lh(o);case Se:case Oe:return new y(+o);case ht:return ZW(o,p);case Ut:case Ot:case ln:case wn:case te:case be:case Te:case qe:case He:return W9(o,p);case rt:return new y;case ke:case St:return new y(o);case it:return GW(o);case Ye:return new y;case jt:return KW(o)}}function fU(o,s){var p=s.length;if(!p)return o;var y=p-1;return s[y]=(p>1?"& ":"")+s[y],s=s.join(p>2?", ":" "),o.replace(Ep,`{
|
|
1917
|
-
/* [wrapped with `+s+`] */
|
|
1918
|
-
`)}function pU(o){return Ze(o)||wa(o)||!!(d9&&o&&o[d9])}function Ji(o,s){var p=typeof o;return s=s??ae,!!s&&(p=="number"||p!="symbol"&&fa.test(o))&&o>-1&&o%1==0&&o<s}function Rn(o,s,p){if(!qt(p))return!1;var y=typeof s;return(y=="number"?er(p)&&Ji(s,p.length):y=="string"&&s in p)?ii(p[s],o):!1}function vh(o,s){if(Ze(o))return!1;var p=typeof o;return p=="number"||p=="symbol"||p=="boolean"||o==null||xr(o)?!0:Yl.test(o)||!ei.test(o)||s!=null&&o in Tt(s)}function hU(o){var s=typeof o;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?o!=="__proto__":o===null}function gh(o){var s=Pu(o),p=F[s];if(typeof p!="function"||!(s in ct.prototype))return!1;if(o===p)return!0;var y=ph(p);return!!y&&o===y[0]}function mU(o){return!!s9&&s9 in o}var vU=cu?eo:Nh;function s0(o){var s=o&&o.constructor,p=typeof s=="function"&&s.prototype||_s;return o===p}function sx(o){return o===o&&!qt(o)}function lx(o,s){return function(p){return p==null?!1:p[o]===s&&(s!==n||o in Tt(p))}}function gU(o){var s=Hu(o,function(y){return p.size===f&&p.clear(),y}),p=s.cache;return s}function xU(o,s){var p=o[1],y=s[1],k=p|y,P=k<(S|C|O),$=y==O&&p==_||y==O&&p==N&&o[7].length<=s[8]||y==(O|N)&&s[7].length<=s[8]&&p==_;if(!(P||$))return o;y&S&&(o[2]=s[2],k|=p&S?0:E);var R=s[3];if(R){var G=o[3];o[3]=G?z9(G,R,s[4]):R,o[4]=G?Do(o[3],m):s[4]}return R=s[5],R&&(G=o[5],o[5]=G?V9(G,R,s[6]):R,o[6]=G?Do(o[5],m):s[6]),R=s[7],R&&(o[7]=R),y&O&&(o[8]=o[8]==null?s[8]:Bn(o[8],s[8])),o[9]==null&&(o[9]=s[9]),o[0]=s[0],o[1]=k,o}function bU(o){var s=[];if(o!=null)for(var p in Tt(o))s.push(p);return s}function yU(o){return du.call(o)}function cx(o,s,p){return s=dn(s===n?o.length-1:s,0),function(){for(var y=arguments,k=-1,P=dn(y.length-s,0),$=ee(P);++k<P;)$[k]=y[s+k];k=-1;for(var R=ee(s+1);++k<s;)R[k]=y[k];return R[s]=p($),hr(o,this,R)}}function ux(o,s){return s.length<2?o:xa(o,$r(s,0,-1))}function wU(o,s){for(var p=o.length,y=Bn(s.length,p),k=Jn(o);y--;){var P=s[y];o[y]=Ji(P,p)?k[P]:n}return o}function xh(o,s){if(!(s==="constructor"&&typeof o[s]=="function")&&s!="__proto__")return o[s]}var dx=px(L9),l0=IR||function(o,s){return Cn.setTimeout(o,s)},bh=px(zW);function fx(o,s,p){var y=s+"";return bh(o,fU(y,CU(cU(y),p)))}function px(o){var s=0,p=0;return function(){var y=jR(),k=K-(y-p);if(p=y,k>0){if(++s>=W)return arguments[0]}else s=0;return o.apply(n,arguments)}}function Nu(o,s){var p=-1,y=o.length,k=y-1;for(s=s===n?y:s;++p<s;){var P=th(p,k),$=o[P];o[P]=o[p],o[p]=$}return o.length=s,o}var hx=gU(function(o){var s=[];return o.charCodeAt(0)===46&&s.push(""),o.replace(xs,function(p,y,k,P){s.push(k?P.replace(Nt,"$1"):y||p)}),s});function ri(o){if(typeof o=="string"||xr(o))return o;var s=o+"";return s=="0"&&1/o==-se?"-0":s}function ya(o){if(o!=null){try{return uu.call(o)}catch{}try{return o+""}catch{}}return""}function CU(o,s){return mr(pe,function(p){var y="_."+p[0];s&p[1]&&!ou(o,y)&&o.push(y)}),o.sort()}function mx(o){if(o instanceof ct)return o.clone();var s=new Ir(o.__wrapped__,o.__chain__);return s.__actions__=Jn(o.__actions__),s.__index__=o.__index__,s.__values__=o.__values__,s}function EU(o,s,p){(p?Rn(o,s,p):s===n)?s=1:s=dn(et(s),0);var y=o==null?0:o.length;if(!y||s<1)return[];for(var k=0,P=0,$=ee(gu(y/s));k<y;)$[P++]=$r(o,k,k+=s);return $}function _U(o){for(var s=-1,p=o==null?0:o.length,y=0,k=[];++s<p;){var P=o[s];P&&(k[y++]=P)}return k}function SU(){var o=arguments.length;if(!o)return[];for(var s=ee(o-1),p=arguments[0],y=o;y--;)s[y-1]=arguments[y];return ko(Ze(p)?Jn(p):[p],En(s,1))}var AU=at(function(o,s){return nn(o)?n0(o,En(s,1,nn,!0)):[]}),kU=at(function(o,s){var p=Hr(s);return nn(p)&&(p=n),nn(o)?n0(o,En(s,1,nn,!0),Ne(p,2)):[]}),DU=at(function(o,s){var p=Hr(s);return nn(p)&&(p=n),nn(o)?n0(o,En(s,1,nn,!0),n,p):[]});function OU(o,s,p){var y=o==null?0:o.length;return y?(s=p||s===n?1:et(s),$r(o,s<0?0:s,y)):[]}function TU(o,s,p){var y=o==null?0:o.length;return y?(s=p||s===n?1:et(s),s=y-s,$r(o,0,s<0?0:s)):[]}function FU(o,s){return o&&o.length?ku(o,Ne(s,3),!0,!0):[]}function BU(o,s){return o&&o.length?ku(o,Ne(s,3),!0):[]}function PU(o,s,p,y){var k=o==null?0:o.length;return k?(p&&typeof p!="number"&&Rn(o,s,p)&&(p=0,y=k),SW(o,s,p,y)):[]}function vx(o,s,p){var y=o==null?0:o.length;if(!y)return-1;var k=p==null?0:et(p);return k<0&&(k=dn(y+k,0)),au(o,Ne(s,3),k)}function gx(o,s,p){var y=o==null?0:o.length;if(!y)return-1;var k=y-1;return p!==n&&(k=et(p),k=p<0?dn(y+k,0):Bn(k,y-1)),au(o,Ne(s,3),k,!0)}function xx(o){var s=o==null?0:o.length;return s?En(o,1):[]}function LU(o){var s=o==null?0:o.length;return s?En(o,se):[]}function NU(o,s){var p=o==null?0:o.length;return p?(s=s===n?1:et(s),En(o,s)):[]}function IU(o){for(var s=-1,p=o==null?0:o.length,y={};++s<p;){var k=o[s];Ci(y,k[0],k[1])}return y}function bx(o){return o&&o.length?o[0]:n}function MU(o,s,p){var y=o==null?0:o.length;if(!y)return-1;var k=p==null?0:et(p);return k<0&&(k=dn(y+k,0)),ys(o,s,k)}function $U(o){var s=o==null?0:o.length;return s?$r(o,0,-1):[]}var HU=at(function(o){var s=zt(o,ah);return s.length&&s[0]===o[0]?Kp(s):[]}),jU=at(function(o){var s=Hr(o),p=zt(o,ah);return s===Hr(p)?s=n:p.pop(),p.length&&p[0]===o[0]?Kp(p,Ne(s,2)):[]}),RU=at(function(o){var s=Hr(o),p=zt(o,ah);return s=typeof s=="function"?s:n,s&&p.pop(),p.length&&p[0]===o[0]?Kp(p,n,s):[]});function WU(o,s){return o==null?"":$R.call(o,s)}function Hr(o){var s=o==null?0:o.length;return s?o[s-1]:n}function UU(o,s,p){var y=o==null?0:o.length;if(!y)return-1;var k=y;return p!==n&&(k=et(p),k=k<0?dn(y+k,0):Bn(k,y-1)),s===s?CR(o,s,k):au(o,Jg,k,!0)}function zU(o,s){return o&&o.length?T9(o,et(s)):n}var VU=at(yx);function yx(o,s){return o&&o.length&&s&&s.length?eh(o,s):o}function qU(o,s,p){return o&&o.length&&s&&s.length?eh(o,s,Ne(p,2)):o}function YU(o,s,p){return o&&o.length&&s&&s.length?eh(o,s,n,p):o}var ZU=Qi(function(o,s){var p=o==null?0:o.length,y=qp(o,s);return P9(o,zt(s,function(k){return Ji(k,p)?+k:k}).sort(U9)),y});function GU(o,s){var p=[];if(!(o&&o.length))return p;var y=-1,k=[],P=o.length;for(s=Ne(s,3);++y<P;){var $=o[y];s($,y,o)&&(p.push($),k.push(y))}return P9(o,k),p}function yh(o){return o==null?o:WR.call(o)}function KU(o,s,p){var y=o==null?0:o.length;return y?(p&&typeof p!="number"&&Rn(o,s,p)?(s=0,p=y):(s=s==null?0:et(s),p=p===n?y:et(p)),$r(o,s,p)):[]}function XU(o,s){return Au(o,s)}function QU(o,s,p){return rh(o,s,Ne(p,2))}function JU(o,s){var p=o==null?0:o.length;if(p){var y=Au(o,s);if(y<p&&ii(o[y],s))return y}return-1}function ez(o,s){return Au(o,s,!0)}function tz(o,s,p){return rh(o,s,Ne(p,2),!0)}function nz(o,s){var p=o==null?0:o.length;if(p){var y=Au(o,s,!0)-1;if(ii(o[y],s))return y}return-1}function rz(o){return o&&o.length?N9(o):[]}function iz(o,s){return o&&o.length?N9(o,Ne(s,2)):[]}function oz(o){var s=o==null?0:o.length;return s?$r(o,1,s):[]}function az(o,s,p){return o&&o.length?(s=p||s===n?1:et(s),$r(o,0,s<0?0:s)):[]}function sz(o,s,p){var y=o==null?0:o.length;return y?(s=p||s===n?1:et(s),s=y-s,$r(o,s<0?0:s,y)):[]}function lz(o,s){return o&&o.length?ku(o,Ne(s,3),!1,!0):[]}function cz(o,s){return o&&o.length?ku(o,Ne(s,3)):[]}var uz=at(function(o){return Fo(En(o,1,nn,!0))}),dz=at(function(o){var s=Hr(o);return nn(s)&&(s=n),Fo(En(o,1,nn,!0),Ne(s,2))}),fz=at(function(o){var s=Hr(o);return s=typeof s=="function"?s:n,Fo(En(o,1,nn,!0),n,s)});function pz(o){return o&&o.length?Fo(o):[]}function hz(o,s){return o&&o.length?Fo(o,Ne(s,2)):[]}function mz(o,s){return s=typeof s=="function"?s:n,o&&o.length?Fo(o,n,s):[]}function wh(o){if(!(o&&o.length))return[];var s=0;return o=Ao(o,function(p){if(nn(p))return s=dn(p.length,s),!0}),$p(s,function(p){return zt(o,Np(p))})}function wx(o,s){if(!(o&&o.length))return[];var p=wh(o);return s==null?p:zt(p,function(y){return hr(s,n,y)})}var vz=at(function(o,s){return nn(o)?n0(o,s):[]}),gz=at(function(o){return oh(Ao(o,nn))}),xz=at(function(o){var s=Hr(o);return nn(s)&&(s=n),oh(Ao(o,nn),Ne(s,2))}),bz=at(function(o){var s=Hr(o);return s=typeof s=="function"?s:n,oh(Ao(o,nn),n,s)}),yz=at(wh);function wz(o,s){return H9(o||[],s||[],t0)}function Cz(o,s){return H9(o||[],s||[],o0)}var Ez=at(function(o){var s=o.length,p=s>1?o[s-1]:n;return p=typeof p=="function"?(o.pop(),p):n,wx(o,p)});function Cx(o){var s=F(o);return s.__chain__=!0,s}function _z(o,s){return s(o),o}function Iu(o,s){return s(o)}var Sz=Qi(function(o){var s=o.length,p=s?o[0]:0,y=this.__wrapped__,k=function(P){return qp(P,o)};return s>1||this.__actions__.length||!(y instanceof ct)||!Ji(p)?this.thru(k):(y=y.slice(p,+p+(s?1:0)),y.__actions__.push({func:Iu,args:[k],thisArg:n}),new Ir(y,this.__chain__).thru(function(P){return s&&!P.length&&P.push(n),P}))});function Az(){return Cx(this)}function kz(){return new Ir(this.value(),this.__chain__)}function Dz(){this.__values__===n&&(this.__values__=Ix(this.value()));var o=this.__index__>=this.__values__.length,s=o?n:this.__values__[this.__index__++];return{done:o,value:s}}function Oz(){return this}function Tz(o){for(var s,p=this;p instanceof wu;){var y=mx(p);y.__index__=0,y.__values__=n,s?k.__wrapped__=y:s=y;var k=y;p=p.__wrapped__}return k.__wrapped__=o,s}function Fz(){var o=this.__wrapped__;if(o instanceof ct){var s=o;return this.__actions__.length&&(s=new ct(this)),s=s.reverse(),s.__actions__.push({func:Iu,args:[yh],thisArg:n}),new Ir(s,this.__chain__)}return this.thru(yh)}function Bz(){return $9(this.__wrapped__,this.__actions__)}var Pz=Du(function(o,s,p){Ct.call(o,p)?++o[p]:Ci(o,p,1)});function Lz(o,s,p){var y=Ze(o)?Xg:_W;return p&&Rn(o,s,p)&&(s=n),y(o,Ne(s,3))}function Nz(o,s){var p=Ze(o)?Ao:w9;return p(o,Ne(s,3))}var Iz=G9(vx),Mz=G9(gx);function $z(o,s){return En(Mu(o,s),1)}function Hz(o,s){return En(Mu(o,s),se)}function jz(o,s,p){return p=p===n?1:et(p),En(Mu(o,s),p)}function Ex(o,s){var p=Ze(o)?mr:To;return p(o,Ne(s,3))}function _x(o,s){var p=Ze(o)?oR:y9;return p(o,Ne(s,3))}var Rz=Du(function(o,s,p){Ct.call(o,p)?o[p].push(s):Ci(o,p,[s])});function Wz(o,s,p,y){o=er(o)?o:Bs(o),p=p&&!y?et(p):0;var k=o.length;return p<0&&(p=dn(k+p,0)),Wu(o)?p<=k&&o.indexOf(s,p)>-1:!!k&&ys(o,s,p)>-1}var Uz=at(function(o,s,p){var y=-1,k=typeof s=="function",P=er(o)?ee(o.length):[];return To(o,function($){P[++y]=k?hr(s,$,p):r0($,s,p)}),P}),zz=Du(function(o,s,p){Ci(o,p,s)});function Mu(o,s){var p=Ze(o)?zt:k9;return p(o,Ne(s,3))}function Vz(o,s,p,y){return o==null?[]:(Ze(s)||(s=s==null?[]:[s]),p=y?n:p,Ze(p)||(p=p==null?[]:[p]),F9(o,s,p))}var qz=Du(function(o,s,p){o[p?0:1].push(s)},function(){return[[],[]]});function Yz(o,s,p){var y=Ze(o)?Pp:t9,k=arguments.length<3;return y(o,Ne(s,4),p,k,To)}function Zz(o,s,p){var y=Ze(o)?aR:t9,k=arguments.length<3;return y(o,Ne(s,4),p,k,y9)}function Gz(o,s){var p=Ze(o)?Ao:w9;return p(o,ju(Ne(s,3)))}function Kz(o){var s=Ze(o)?v9:WW;return s(o)}function Xz(o,s,p){(p?Rn(o,s,p):s===n)?s=1:s=et(s);var y=Ze(o)?bW:UW;return y(o,s)}function Qz(o){var s=Ze(o)?yW:VW;return s(o)}function Jz(o){if(o==null)return 0;if(er(o))return Wu(o)?Cs(o):o.length;var s=Pn(o);return s==rt||s==Ye?o.size:Qp(o).length}function eV(o,s,p){var y=Ze(o)?Lp:qW;return p&&Rn(o,s,p)&&(s=n),y(o,Ne(s,3))}var tV=at(function(o,s){if(o==null)return[];var p=s.length;return p>1&&Rn(o,s[0],s[1])?s=[]:p>2&&Rn(s[0],s[1],s[2])&&(s=[s[0]]),F9(o,En(s,1),[])}),$u=NR||function(){return Cn.Date.now()};function nV(o,s){if(typeof s!="function")throw new Nr(l);return o=et(o),function(){if(--o<1)return s.apply(this,arguments)}}function Sx(o,s,p){return s=p?n:s,s=o&&s==null?o.length:s,Xi(o,O,n,n,n,n,s)}function Ax(o,s){var p;if(typeof s!="function")throw new Nr(l);return o=et(o),function(){return--o>0&&(p=s.apply(this,arguments)),o<=1&&(s=n),p}}var Ch=at(function(o,s,p){var y=S;if(p.length){var k=Do(p,Ts(Ch));y|=A}return Xi(o,y,s,p,k)}),kx=at(function(o,s,p){var y=S|C;if(p.length){var k=Do(p,Ts(kx));y|=A}return Xi(s,y,o,p,k)});function Dx(o,s,p){s=p?n:s;var y=Xi(o,_,n,n,n,n,n,s);return y.placeholder=Dx.placeholder,y}function Ox(o,s,p){s=p?n:s;var y=Xi(o,D,n,n,n,n,n,s);return y.placeholder=Ox.placeholder,y}function Tx(o,s,p){var y,k,P,$,R,G,le=0,ce=!1,he=!1,we=!0;if(typeof o!="function")throw new Nr(l);s=jr(s)||0,qt(p)&&(ce=!!p.leading,he="maxWait"in p,P=he?dn(jr(p.maxWait)||0,s):P,we="trailing"in p?!!p.trailing:we);function Fe(rn){var oi=y,no=k;return y=k=n,le=rn,$=o.apply(no,oi),$}function $e(rn){return le=rn,R=l0(st,s),ce?Fe(rn):$}function tt(rn){var oi=rn-G,no=rn-le,Kx=s-oi;return he?Bn(Kx,P-no):Kx}function Le(rn){var oi=rn-G,no=rn-le;return G===n||oi>=s||oi<0||he&&no>=P}function st(){var rn=$u();if(Le(rn))return ft(rn);R=l0(st,tt(rn))}function ft(rn){return R=n,we&&y?Fe(rn):(y=k=n,$)}function br(){R!==n&&j9(R),le=0,y=G=k=R=n}function Wn(){return R===n?$:ft($u())}function yr(){var rn=$u(),oi=Le(rn);if(y=arguments,k=this,G=rn,oi){if(R===n)return $e(G);if(he)return j9(R),R=l0(st,s),Fe(G)}return R===n&&(R=l0(st,s)),$}return yr.cancel=br,yr.flush=Wn,yr}var rV=at(function(o,s){return b9(o,1,s)}),iV=at(function(o,s,p){return b9(o,jr(s)||0,p)});function oV(o){return Xi(o,L)}function Hu(o,s){if(typeof o!="function"||s!=null&&typeof s!="function")throw new Nr(l);var p=function(){var y=arguments,k=s?s.apply(this,y):y[0],P=p.cache;if(P.has(k))return P.get(k);var $=o.apply(this,y);return p.cache=P.set(k,$)||P,$};return p.cache=new(Hu.Cache||Ki),p}Hu.Cache=Ki;function ju(o){if(typeof o!="function")throw new Nr(l);return function(){var s=arguments;switch(s.length){case 0:return!o.call(this);case 1:return!o.call(this,s[0]);case 2:return!o.call(this,s[0],s[1]);case 3:return!o.call(this,s[0],s[1],s[2])}return!o.apply(this,s)}}function aV(o){return Ax(2,o)}var sV=YW(function(o,s){s=s.length==1&&Ze(s[0])?zt(s[0],vr(Ne())):zt(En(s,1),vr(Ne()));var p=s.length;return at(function(y){for(var k=-1,P=Bn(y.length,p);++k<P;)y[k]=s[k].call(this,y[k]);return hr(o,this,y)})}),Eh=at(function(o,s){var p=Do(s,Ts(Eh));return Xi(o,A,n,s,p)}),Fx=at(function(o,s){var p=Do(s,Ts(Fx));return Xi(o,B,n,s,p)}),lV=Qi(function(o,s){return Xi(o,N,n,n,n,s)});function cV(o,s){if(typeof o!="function")throw new Nr(l);return s=s===n?s:et(s),at(o,s)}function uV(o,s){if(typeof o!="function")throw new Nr(l);return s=s==null?0:dn(et(s),0),at(function(p){var y=p[s],k=Po(p,0,s);return y&&ko(k,y),hr(o,this,k)})}function dV(o,s,p){var y=!0,k=!0;if(typeof o!="function")throw new Nr(l);return qt(p)&&(y="leading"in p?!!p.leading:y,k="trailing"in p?!!p.trailing:k),Tx(o,s,{leading:y,maxWait:s,trailing:k})}function fV(o){return Sx(o,1)}function pV(o,s){return Eh(sh(s),o)}function hV(){if(!arguments.length)return[];var o=arguments[0];return Ze(o)?o:[o]}function mV(o){return Mr(o,w)}function vV(o,s){return s=typeof s=="function"?s:n,Mr(o,w,s)}function gV(o){return Mr(o,h|w)}function xV(o,s){return s=typeof s=="function"?s:n,Mr(o,h|w,s)}function bV(o,s){return s==null||x9(o,s,mn(s))}function ii(o,s){return o===s||o!==o&&s!==s}var yV=Bu(Gp),wV=Bu(function(o,s){return o>=s}),wa=_9(function(){return arguments}())?_9:function(o){return Kt(o)&&Ct.call(o,"callee")&&!u9.call(o,"callee")},Ze=ee.isArray,CV=Vg?vr(Vg):TW;function er(o){return o!=null&&Ru(o.length)&&!eo(o)}function nn(o){return Kt(o)&&er(o)}function EV(o){return o===!0||o===!1||Kt(o)&&jn(o)==Se}var Lo=MR||Nh,_V=qg?vr(qg):FW;function SV(o){return Kt(o)&&o.nodeType===1&&!c0(o)}function AV(o){if(o==null)return!0;if(er(o)&&(Ze(o)||typeof o=="string"||typeof o.splice=="function"||Lo(o)||Fs(o)||wa(o)))return!o.length;var s=Pn(o);if(s==rt||s==Ye)return!o.size;if(s0(o))return!Qp(o).length;for(var p in o)if(Ct.call(o,p))return!1;return!0}function kV(o,s){return i0(o,s)}function DV(o,s,p){p=typeof p=="function"?p:n;var y=p?p(o,s):n;return y===n?i0(o,s,n,p):!!y}function _h(o){if(!Kt(o))return!1;var s=jn(o);return s==Ie||s==We||typeof o.message=="string"&&typeof o.name=="string"&&!c0(o)}function OV(o){return typeof o=="number"&&f9(o)}function eo(o){if(!qt(o))return!1;var s=jn(o);return s==Ue||s==mt||s==fe||s==wt}function Bx(o){return typeof o=="number"&&o==et(o)}function Ru(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=ae}function qt(o){var s=typeof o;return o!=null&&(s=="object"||s=="function")}function Kt(o){return o!=null&&typeof o=="object"}var Px=Yg?vr(Yg):PW;function TV(o,s){return o===s||Xp(o,s,hh(s))}function FV(o,s,p){return p=typeof p=="function"?p:n,Xp(o,s,hh(s),p)}function BV(o){return Lx(o)&&o!=+o}function PV(o){if(vU(o))throw new ze(a);return S9(o)}function LV(o){return o===null}function NV(o){return o==null}function Lx(o){return typeof o=="number"||Kt(o)&&jn(o)==ke}function c0(o){if(!Kt(o)||jn(o)!=Xe)return!1;var s=hu(o);if(s===null)return!0;var p=Ct.call(s,"constructor")&&s.constructor;return typeof p=="function"&&p instanceof p&&uu.call(p)==FR}var Sh=Zg?vr(Zg):LW;function IV(o){return Bx(o)&&o>=-ae&&o<=ae}var Nx=Gg?vr(Gg):NW;function Wu(o){return typeof o=="string"||!Ze(o)&&Kt(o)&&jn(o)==St}function xr(o){return typeof o=="symbol"||Kt(o)&&jn(o)==jt}var Fs=Kg?vr(Kg):IW;function MV(o){return o===n}function $V(o){return Kt(o)&&Pn(o)==Ce}function HV(o){return Kt(o)&&jn(o)==Qe}var jV=Bu(Jp),RV=Bu(function(o,s){return o<=s});function Ix(o){if(!o)return[];if(er(o))return Wu(o)?ti(o):Jn(o);if(Kl&&o[Kl])return bR(o[Kl]());var s=Pn(o),p=s==rt?jp:s==Ye?su:Bs;return p(o)}function to(o){if(!o)return o===0?o:0;if(o=jr(o),o===se||o===-se){var s=o<0?-1:1;return s*Z}return o===o?o:0}function et(o){var s=to(o),p=s%1;return s===s?p?s-p:s:0}function Mx(o){return o?ga(et(o),0,z):0}function jr(o){if(typeof o=="number")return o;if(xr(o))return M;if(qt(o)){var s=typeof o.valueOf=="function"?o.valueOf():o;o=qt(s)?s+"":s}if(typeof o!="string")return o===0?o:+o;o=n9(o);var p=on.test(o);return p||da.test(o)?nR(o.slice(2),p?2:8):Br.test(o)?M:+o}function $x(o){return _i(o,tr(o))}function WV(o){return o?ga(et(o),-ae,ae):o===0?o:0}function Et(o){return o==null?"":gr(o)}var UV=Ds(function(o,s){if(s0(s)||er(s)){_i(s,mn(s),o);return}for(var p in s)Ct.call(s,p)&&t0(o,p,s[p])}),Hx=Ds(function(o,s){_i(s,tr(s),o)}),jx=Ds(function(o,s,p,y){_i(s,tr(s),o,y)}),Ah=Ds(function(o,s,p,y){_i(s,mn(s),o,y)}),zV=Qi(qp);function VV(o,s){var p=ks(o);return s==null?p:g9(p,s)}var qV=at(function(o,s){o=Tt(o);var p=-1,y=s.length,k=y>2?s[2]:n;for(k&&Rn(s[0],s[1],k)&&(y=1);++p<y;)for(var P=s[p],$=tr(P),R=-1,G=$.length;++R<G;){var le=$[R],ce=o[le];(ce===n||ii(ce,_s[le])&&!Ct.call(o,le))&&(o[le]=P[le])}return o}),YV=at(function(o){return o.push(n,nx),hr(Rx,n,o)});function ZV(o,s){return Qg(o,Ne(s,3),Ei)}function GV(o,s){return Qg(o,Ne(s,3),Zp)}function KV(o,s){return o==null?o:Yp(o,Ne(s,3),tr)}function XV(o,s){return o==null?o:C9(o,Ne(s,3),tr)}function QV(o,s){return o&&Ei(o,Ne(s,3))}function JV(o,s){return o&&Zp(o,Ne(s,3))}function eq(o){return o==null?[]:_u(o,mn(o))}function tq(o){return o==null?[]:_u(o,tr(o))}function kh(o,s,p){var y=o==null?n:xa(o,s);return y===n?p:y}function nq(o,s){return o!=null&&ox(o,s,AW)}function Dh(o,s){return o!=null&&ox(o,s,kW)}var rq=X9(function(o,s,p){s!=null&&typeof s.toString!="function"&&(s=du.call(s)),o[s]=p},Th(nr)),iq=X9(function(o,s,p){s!=null&&typeof s.toString!="function"&&(s=du.call(s)),Ct.call(o,s)?o[s].push(p):o[s]=[p]},Ne),oq=at(r0);function mn(o){return er(o)?m9(o):Qp(o)}function tr(o){return er(o)?m9(o,!0):MW(o)}function aq(o,s){var p={};return s=Ne(s,3),Ei(o,function(y,k,P){Ci(p,s(y,k,P),y)}),p}function sq(o,s){var p={};return s=Ne(s,3),Ei(o,function(y,k,P){Ci(p,k,s(y,k,P))}),p}var lq=Ds(function(o,s,p){Su(o,s,p)}),Rx=Ds(function(o,s,p,y){Su(o,s,p,y)}),cq=Qi(function(o,s){var p={};if(o==null)return p;var y=!1;s=zt(s,function(P){return P=Bo(P,o),y||(y=P.length>1),P}),_i(o,fh(o),p),y&&(p=Mr(p,h|g|w,iU));for(var k=s.length;k--;)ih(p,s[k]);return p});function uq(o,s){return Wx(o,ju(Ne(s)))}var dq=Qi(function(o,s){return o==null?{}:HW(o,s)});function Wx(o,s){if(o==null)return{};var p=zt(fh(o),function(y){return[y]});return s=Ne(s),B9(o,p,function(y,k){return s(y,k[0])})}function fq(o,s,p){s=Bo(s,o);var y=-1,k=s.length;for(k||(k=1,o=n);++y<k;){var P=o==null?n:o[ri(s[y])];P===n&&(y=k,P=p),o=eo(P)?P.call(o):P}return o}function pq(o,s,p){return o==null?o:o0(o,s,p)}function hq(o,s,p,y){return y=typeof y=="function"?y:n,o==null?o:o0(o,s,p,y)}var Ux=ex(mn),zx=ex(tr);function mq(o,s,p){var y=Ze(o),k=y||Lo(o)||Fs(o);if(s=Ne(s,4),p==null){var P=o&&o.constructor;k?p=y?new P:[]:qt(o)?p=eo(P)?ks(hu(o)):{}:p={}}return(k?mr:Ei)(o,function($,R,G){return s(p,$,R,G)}),p}function vq(o,s){return o==null?!0:ih(o,s)}function gq(o,s,p){return o==null?o:M9(o,s,sh(p))}function xq(o,s,p,y){return y=typeof y=="function"?y:n,o==null?o:M9(o,s,sh(p),y)}function Bs(o){return o==null?[]:Hp(o,mn(o))}function bq(o){return o==null?[]:Hp(o,tr(o))}function yq(o,s,p){return p===n&&(p=s,s=n),p!==n&&(p=jr(p),p=p===p?p:0),s!==n&&(s=jr(s),s=s===s?s:0),ga(jr(o),s,p)}function wq(o,s,p){return s=to(s),p===n?(p=s,s=0):p=to(p),o=jr(o),DW(o,s,p)}function Cq(o,s,p){if(p&&typeof p!="boolean"&&Rn(o,s,p)&&(s=p=n),p===n&&(typeof s=="boolean"?(p=s,s=n):typeof o=="boolean"&&(p=o,o=n)),o===n&&s===n?(o=0,s=1):(o=to(o),s===n?(s=o,o=0):s=to(s)),o>s){var y=o;o=s,s=y}if(p||o%1||s%1){var k=p9();return Bn(o+k*(s-o+tR("1e-"+((k+"").length-1))),s)}return th(o,s)}var Eq=Os(function(o,s,p){return s=s.toLowerCase(),o+(p?Vx(s):s)});function Vx(o){return Oh(Et(o).toLowerCase())}function qx(o){return o=Et(o),o&&o.replace(wi,hR).replace(Vj,"")}function _q(o,s,p){o=Et(o),s=gr(s);var y=o.length;p=p===n?y:ga(et(p),0,y);var k=p;return p-=s.length,p>=0&&o.slice(p,k)==s}function Sq(o){return o=Et(o),o&&bi.test(o)?o.replace(Qn,mR):o}function Aq(o){return o=Et(o),o&&Fr.test(o)?o.replace(cn,"\\$&"):o}var kq=Os(function(o,s,p){return o+(p?"-":"")+s.toLowerCase()}),Dq=Os(function(o,s,p){return o+(p?" ":"")+s.toLowerCase()}),Oq=Z9("toLowerCase");function Tq(o,s,p){o=Et(o),s=et(s);var y=s?Cs(o):0;if(!s||y>=s)return o;var k=(s-y)/2;return Fu(xu(k),p)+o+Fu(gu(k),p)}function Fq(o,s,p){o=Et(o),s=et(s);var y=s?Cs(o):0;return s&&y<s?o+Fu(s-y,p):o}function Bq(o,s,p){o=Et(o),s=et(s);var y=s?Cs(o):0;return s&&y<s?Fu(s-y,p)+o:o}function Pq(o,s,p){return p||s==null?s=0:s&&(s=+s),RR(Et(o).replace(So,""),s||0)}function Lq(o,s,p){return(p?Rn(o,s,p):s===n)?s=1:s=et(s),nh(Et(o),s)}function Nq(){var o=arguments,s=Et(o[0]);return o.length<3?s:s.replace(o[1],o[2])}var Iq=Os(function(o,s,p){return o+(p?"_":"")+s.toLowerCase()});function Mq(o,s,p){return p&&typeof p!="number"&&Rn(o,s,p)&&(s=p=n),p=p===n?z:p>>>0,p?(o=Et(o),o&&(typeof s=="string"||s!=null&&!Sh(s))&&(s=gr(s),!s&&ws(o))?Po(ti(o),0,p):o.split(s,p)):[]}var $q=Os(function(o,s,p){return o+(p?" ":"")+Oh(s)});function Hq(o,s,p){return o=Et(o),p=p==null?0:ga(et(p),0,o.length),s=gr(s),o.slice(p,p+s.length)==s}function jq(o,s,p){var y=F.templateSettings;p&&Rn(o,s,p)&&(s=n),o=Et(o),s=Ah({},s,y,tx);var k=Ah({},s.imports,y.imports,tx),P=mn(k),$=Hp(k,P);mr(P,function(Le){if(Je.test(Le))throw new ze(u)});var R,G,le=0,ce=s.interpolate||pr,he="__p += '",we=Rp((s.escape||pr).source+"|"+ce.source+"|"+(ce===yi?Gt:pr).source+"|"+(s.evaluate||pr).source+"|$","g"),Fe="//# sourceURL="+(Ct.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Kj+"]")+`
|
|
1919
|
-
`;o.replace(we,function(Le,st,ft,br,Wn,yr){return ft||(ft=br),he+=o.slice(le,yr).replace(kj,vR),st&&(R=!0,he+=`' +
|
|
1920
|
-
__e(`+st+`) +
|
|
1921
|
-
'`),Wn&&(G=!0,he+=`';
|
|
1922
|
-
`+Wn+`;
|
|
1923
|
-
__p += '`),ft&&(he+=`' +
|
|
1924
|
-
((__t = (`+ft+`)) == null ? '' : __t) +
|
|
1925
|
-
'`),le=yr+Le.length,Le}),he+=`';
|
|
1926
|
-
`;var $e=Ct.call(s,"variable")&&s.variable;if(!$e)he=`with (obj) {
|
|
1927
|
-
`+he+`
|
|
1928
|
-
}
|
|
1929
|
-
`;else if(Je.test($e))throw new ze(c);he=(G?he.replace(Dt,""):he).replace(Vt,"$1").replace(Hn,"$1;"),he="function("+($e||"obj")+`) {
|
|
1930
|
-
`+($e?"":`obj || (obj = {});
|
|
1931
|
-
`)+"var __t, __p = ''"+(R?", __e = _.escape":"")+(G?`, __j = Array.prototype.join;
|
|
1932
|
-
function print() { __p += __j.call(arguments, '') }
|
|
1933
|
-
`:`;
|
|
1934
|
-
`)+he+`return __p
|
|
1935
|
-
}`;var tt=Zx(function(){return yt(P,Fe+"return "+he).apply(n,$)});if(tt.source=he,_h(tt))throw tt;return tt}function Rq(o){return Et(o).toLowerCase()}function Wq(o){return Et(o).toUpperCase()}function Uq(o,s,p){if(o=Et(o),o&&(p||s===n))return n9(o);if(!o||!(s=gr(s)))return o;var y=ti(o),k=ti(s),P=r9(y,k),$=i9(y,k)+1;return Po(y,P,$).join("")}function zq(o,s,p){if(o=Et(o),o&&(p||s===n))return o.slice(0,a9(o)+1);if(!o||!(s=gr(s)))return o;var y=ti(o),k=i9(y,ti(s))+1;return Po(y,0,k).join("")}function Vq(o,s,p){if(o=Et(o),o&&(p||s===n))return o.replace(So,"");if(!o||!(s=gr(s)))return o;var y=ti(o),k=r9(y,ti(s));return Po(y,k).join("")}function qq(o,s){var p=I,y=H;if(qt(s)){var k="separator"in s?s.separator:k;p="length"in s?et(s.length):p,y="omission"in s?gr(s.omission):y}o=Et(o);var P=o.length;if(ws(o)){var $=ti(o);P=$.length}if(p>=P)return o;var R=p-Cs(y);if(R<1)return y;var G=$?Po($,0,R).join(""):o.slice(0,R);if(k===n)return G+y;if($&&(R+=G.length-R),Sh(k)){if(o.slice(R).search(k)){var le,ce=G;for(k.global||(k=Rp(k.source,Et(fr.exec(k))+"g")),k.lastIndex=0;le=k.exec(ce);)var he=le.index;G=G.slice(0,he===n?R:he)}}else if(o.indexOf(gr(k),R)!=R){var we=G.lastIndexOf(k);we>-1&&(G=G.slice(0,we))}return G+y}function Yq(o){return o=Et(o),o&&Jr.test(o)?o.replace(Qr,ER):o}var Zq=Os(function(o,s,p){return o+(p?" ":"")+s.toUpperCase()}),Oh=Z9("toUpperCase");function Yx(o,s,p){return o=Et(o),s=p?n:s,s===n?xR(o)?AR(o):cR(o):o.match(s)||[]}var Zx=at(function(o,s){try{return hr(o,n,s)}catch(p){return _h(p)?p:new ze(p)}}),Gq=Qi(function(o,s){return mr(s,function(p){p=ri(p),Ci(o,p,Ch(o[p],o))}),o});function Kq(o){var s=o==null?0:o.length,p=Ne();return o=s?zt(o,function(y){if(typeof y[1]!="function")throw new Nr(l);return[p(y[0]),y[1]]}):[],at(function(y){for(var k=-1;++k<s;){var P=o[k];if(hr(P[0],this,y))return hr(P[1],this,y)}})}function Xq(o){return EW(Mr(o,h))}function Th(o){return function(){return o}}function Qq(o,s){return o==null||o!==o?s:o}var Jq=K9(),eY=K9(!0);function nr(o){return o}function Fh(o){return A9(typeof o=="function"?o:Mr(o,h))}function tY(o){return D9(Mr(o,h))}function nY(o,s){return O9(o,Mr(s,h))}var rY=at(function(o,s){return function(p){return r0(p,o,s)}}),iY=at(function(o,s){return function(p){return r0(o,p,s)}});function Bh(o,s,p){var y=mn(s),k=_u(s,y);p==null&&!(qt(s)&&(k.length||!y.length))&&(p=s,s=o,o=this,k=_u(s,mn(s)));var P=!(qt(p)&&"chain"in p)||!!p.chain,$=eo(o);return mr(k,function(R){var G=s[R];o[R]=G,$&&(o.prototype[R]=function(){var le=this.__chain__;if(P||le){var ce=o(this.__wrapped__),he=ce.__actions__=Jn(this.__actions__);return he.push({func:G,args:arguments,thisArg:o}),ce.__chain__=le,ce}return G.apply(o,ko([this.value()],arguments))})}),o}function oY(){return Cn._===this&&(Cn._=BR),this}function Ph(){}function aY(o){return o=et(o),at(function(s){return T9(s,o)})}var sY=ch(zt),lY=ch(Xg),cY=ch(Lp);function Gx(o){return vh(o)?Np(ri(o)):jW(o)}function uY(o){return function(s){return o==null?n:xa(o,s)}}var dY=Q9(),fY=Q9(!0);function Lh(){return[]}function Nh(){return!1}function pY(){return{}}function hY(){return""}function mY(){return!0}function vY(o,s){if(o=et(o),o<1||o>ae)return[];var p=z,y=Bn(o,z);s=Ne(s),o-=z;for(var k=$p(y,s);++p<o;)s(p);return k}function gY(o){return Ze(o)?zt(o,ri):xr(o)?[o]:Jn(hx(Et(o)))}function xY(o){var s=++TR;return Et(o)+s}var bY=Tu(function(o,s){return o+s},0),yY=uh("ceil"),wY=Tu(function(o,s){return o/s},1),CY=uh("floor");function EY(o){return o&&o.length?Eu(o,nr,Gp):n}function _Y(o,s){return o&&o.length?Eu(o,Ne(s,2),Gp):n}function SY(o){return e9(o,nr)}function AY(o,s){return e9(o,Ne(s,2))}function kY(o){return o&&o.length?Eu(o,nr,Jp):n}function DY(o,s){return o&&o.length?Eu(o,Ne(s,2),Jp):n}var OY=Tu(function(o,s){return o*s},1),TY=uh("round"),FY=Tu(function(o,s){return o-s},0);function BY(o){return o&&o.length?Mp(o,nr):0}function PY(o,s){return o&&o.length?Mp(o,Ne(s,2)):0}return F.after=nV,F.ary=Sx,F.assign=UV,F.assignIn=Hx,F.assignInWith=jx,F.assignWith=Ah,F.at=zV,F.before=Ax,F.bind=Ch,F.bindAll=Gq,F.bindKey=kx,F.castArray=hV,F.chain=Cx,F.chunk=EU,F.compact=_U,F.concat=SU,F.cond=Kq,F.conforms=Xq,F.constant=Th,F.countBy=Pz,F.create=VV,F.curry=Dx,F.curryRight=Ox,F.debounce=Tx,F.defaults=qV,F.defaultsDeep=YV,F.defer=rV,F.delay=iV,F.difference=AU,F.differenceBy=kU,F.differenceWith=DU,F.drop=OU,F.dropRight=TU,F.dropRightWhile=FU,F.dropWhile=BU,F.fill=PU,F.filter=Nz,F.flatMap=$z,F.flatMapDeep=Hz,F.flatMapDepth=jz,F.flatten=xx,F.flattenDeep=LU,F.flattenDepth=NU,F.flip=oV,F.flow=Jq,F.flowRight=eY,F.fromPairs=IU,F.functions=eq,F.functionsIn=tq,F.groupBy=Rz,F.initial=$U,F.intersection=HU,F.intersectionBy=jU,F.intersectionWith=RU,F.invert=rq,F.invertBy=iq,F.invokeMap=Uz,F.iteratee=Fh,F.keyBy=zz,F.keys=mn,F.keysIn=tr,F.map=Mu,F.mapKeys=aq,F.mapValues=sq,F.matches=tY,F.matchesProperty=nY,F.memoize=Hu,F.merge=lq,F.mergeWith=Rx,F.method=rY,F.methodOf=iY,F.mixin=Bh,F.negate=ju,F.nthArg=aY,F.omit=cq,F.omitBy=uq,F.once=aV,F.orderBy=Vz,F.over=sY,F.overArgs=sV,F.overEvery=lY,F.overSome=cY,F.partial=Eh,F.partialRight=Fx,F.partition=qz,F.pick=dq,F.pickBy=Wx,F.property=Gx,F.propertyOf=uY,F.pull=VU,F.pullAll=yx,F.pullAllBy=qU,F.pullAllWith=YU,F.pullAt=ZU,F.range=dY,F.rangeRight=fY,F.rearg=lV,F.reject=Gz,F.remove=GU,F.rest=cV,F.reverse=yh,F.sampleSize=Xz,F.set=pq,F.setWith=hq,F.shuffle=Qz,F.slice=KU,F.sortBy=tV,F.sortedUniq=rz,F.sortedUniqBy=iz,F.split=Mq,F.spread=uV,F.tail=oz,F.take=az,F.takeRight=sz,F.takeRightWhile=lz,F.takeWhile=cz,F.tap=_z,F.throttle=dV,F.thru=Iu,F.toArray=Ix,F.toPairs=Ux,F.toPairsIn=zx,F.toPath=gY,F.toPlainObject=$x,F.transform=mq,F.unary=fV,F.union=uz,F.unionBy=dz,F.unionWith=fz,F.uniq=pz,F.uniqBy=hz,F.uniqWith=mz,F.unset=vq,F.unzip=wh,F.unzipWith=wx,F.update=gq,F.updateWith=xq,F.values=Bs,F.valuesIn=bq,F.without=vz,F.words=Yx,F.wrap=pV,F.xor=gz,F.xorBy=xz,F.xorWith=bz,F.zip=yz,F.zipObject=wz,F.zipObjectDeep=Cz,F.zipWith=Ez,F.entries=Ux,F.entriesIn=zx,F.extend=Hx,F.extendWith=jx,Bh(F,F),F.add=bY,F.attempt=Zx,F.camelCase=Eq,F.capitalize=Vx,F.ceil=yY,F.clamp=yq,F.clone=mV,F.cloneDeep=gV,F.cloneDeepWith=xV,F.cloneWith=vV,F.conformsTo=bV,F.deburr=qx,F.defaultTo=Qq,F.divide=wY,F.endsWith=_q,F.eq=ii,F.escape=Sq,F.escapeRegExp=Aq,F.every=Lz,F.find=Iz,F.findIndex=vx,F.findKey=ZV,F.findLast=Mz,F.findLastIndex=gx,F.findLastKey=GV,F.floor=CY,F.forEach=Ex,F.forEachRight=_x,F.forIn=KV,F.forInRight=XV,F.forOwn=QV,F.forOwnRight=JV,F.get=kh,F.gt=yV,F.gte=wV,F.has=nq,F.hasIn=Dh,F.head=bx,F.identity=nr,F.includes=Wz,F.indexOf=MU,F.inRange=wq,F.invoke=oq,F.isArguments=wa,F.isArray=Ze,F.isArrayBuffer=CV,F.isArrayLike=er,F.isArrayLikeObject=nn,F.isBoolean=EV,F.isBuffer=Lo,F.isDate=_V,F.isElement=SV,F.isEmpty=AV,F.isEqual=kV,F.isEqualWith=DV,F.isError=_h,F.isFinite=OV,F.isFunction=eo,F.isInteger=Bx,F.isLength=Ru,F.isMap=Px,F.isMatch=TV,F.isMatchWith=FV,F.isNaN=BV,F.isNative=PV,F.isNil=NV,F.isNull=LV,F.isNumber=Lx,F.isObject=qt,F.isObjectLike=Kt,F.isPlainObject=c0,F.isRegExp=Sh,F.isSafeInteger=IV,F.isSet=Nx,F.isString=Wu,F.isSymbol=xr,F.isTypedArray=Fs,F.isUndefined=MV,F.isWeakMap=$V,F.isWeakSet=HV,F.join=WU,F.kebabCase=kq,F.last=Hr,F.lastIndexOf=UU,F.lowerCase=Dq,F.lowerFirst=Oq,F.lt=jV,F.lte=RV,F.max=EY,F.maxBy=_Y,F.mean=SY,F.meanBy=AY,F.min=kY,F.minBy=DY,F.stubArray=Lh,F.stubFalse=Nh,F.stubObject=pY,F.stubString=hY,F.stubTrue=mY,F.multiply=OY,F.nth=zU,F.noConflict=oY,F.noop=Ph,F.now=$u,F.pad=Tq,F.padEnd=Fq,F.padStart=Bq,F.parseInt=Pq,F.random=Cq,F.reduce=Yz,F.reduceRight=Zz,F.repeat=Lq,F.replace=Nq,F.result=fq,F.round=TY,F.runInContext=q,F.sample=Kz,F.size=Jz,F.snakeCase=Iq,F.some=eV,F.sortedIndex=XU,F.sortedIndexBy=QU,F.sortedIndexOf=JU,F.sortedLastIndex=ez,F.sortedLastIndexBy=tz,F.sortedLastIndexOf=nz,F.startCase=$q,F.startsWith=Hq,F.subtract=FY,F.sum=BY,F.sumBy=PY,F.template=jq,F.times=vY,F.toFinite=to,F.toInteger=et,F.toLength=Mx,F.toLower=Rq,F.toNumber=jr,F.toSafeInteger=WV,F.toString=Et,F.toUpper=Wq,F.trim=Uq,F.trimEnd=zq,F.trimStart=Vq,F.truncate=qq,F.unescape=Yq,F.uniqueId=xY,F.upperCase=Zq,F.upperFirst=Oh,F.each=Ex,F.eachRight=_x,F.first=bx,Bh(F,function(){var o={};return Ei(F,function(s,p){Ct.call(F.prototype,p)||(o[p]=s)}),o}(),{chain:!1}),F.VERSION=r,mr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){F[o].placeholder=F}),mr(["drop","take"],function(o,s){ct.prototype[o]=function(p){p=p===n?1:dn(et(p),0);var y=this.__filtered__&&!s?new ct(this):this.clone();return y.__filtered__?y.__takeCount__=Bn(p,y.__takeCount__):y.__views__.push({size:Bn(p,z),type:o+(y.__dir__<0?"Right":"")}),y},ct.prototype[o+"Right"]=function(p){return this.reverse()[o](p).reverse()}}),mr(["filter","map","takeWhile"],function(o,s){var p=s+1,y=p==Y||p==ue;ct.prototype[o]=function(k){var P=this.clone();return P.__iteratees__.push({iteratee:Ne(k,3),type:p}),P.__filtered__=P.__filtered__||y,P}}),mr(["head","last"],function(o,s){var p="take"+(s?"Right":"");ct.prototype[o]=function(){return this[p](1).value()[0]}}),mr(["initial","tail"],function(o,s){var p="drop"+(s?"":"Right");ct.prototype[o]=function(){return this.__filtered__?new ct(this):this[p](1)}}),ct.prototype.compact=function(){return this.filter(nr)},ct.prototype.find=function(o){return this.filter(o).head()},ct.prototype.findLast=function(o){return this.reverse().find(o)},ct.prototype.invokeMap=at(function(o,s){return typeof o=="function"?new ct(this):this.map(function(p){return r0(p,o,s)})}),ct.prototype.reject=function(o){return this.filter(ju(Ne(o)))},ct.prototype.slice=function(o,s){o=et(o);var p=this;return p.__filtered__&&(o>0||s<0)?new ct(p):(o<0?p=p.takeRight(-o):o&&(p=p.drop(o)),s!==n&&(s=et(s),p=s<0?p.dropRight(-s):p.take(s-o)),p)},ct.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},ct.prototype.toArray=function(){return this.take(z)},Ei(ct.prototype,function(o,s){var p=/^(?:filter|find|map|reject)|While$/.test(s),y=/^(?:head|last)$/.test(s),k=F[y?"take"+(s=="last"?"Right":""):s],P=y||/^find/.test(s);k&&(F.prototype[s]=function(){var $=this.__wrapped__,R=y?[1]:arguments,G=$ instanceof ct,le=R[0],ce=G||Ze($),he=function(st){var ft=k.apply(F,ko([st],R));return y&&we?ft[0]:ft};ce&&p&&typeof le=="function"&&le.length!=1&&(G=ce=!1);var we=this.__chain__,Fe=!!this.__actions__.length,$e=P&&!we,tt=G&&!Fe;if(!P&&ce){$=tt?$:new ct(this);var Le=o.apply($,R);return Le.__actions__.push({func:Iu,args:[he],thisArg:n}),new Ir(Le,we)}return $e&&tt?o.apply(this,R):(Le=this.thru(he),$e?y?Le.value()[0]:Le.value():Le)})}),mr(["pop","push","shift","sort","splice","unshift"],function(o){var s=lu[o],p=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",y=/^(?:pop|shift)$/.test(o);F.prototype[o]=function(){var k=arguments;if(y&&!this.__chain__){var P=this.value();return s.apply(Ze(P)?P:[],k)}return this[p](function($){return s.apply(Ze($)?$:[],k)})}}),Ei(ct.prototype,function(o,s){var p=F[s];if(p){var y=p.name+"";Ct.call(As,y)||(As[y]=[]),As[y].push({name:s,func:p})}}),As[Ou(n,C).name]=[{name:"wrapper",func:n}],ct.prototype.clone=ZR,ct.prototype.reverse=GR,ct.prototype.value=KR,F.prototype.at=Sz,F.prototype.chain=Az,F.prototype.commit=kz,F.prototype.next=Dz,F.prototype.plant=Tz,F.prototype.reverse=Fz,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=Bz,F.prototype.first=F.prototype.head,Kl&&(F.prototype[Kl]=Oz),F},Es=kR();pa?((pa.exports=Es)._=Es,Tp._=Es):Cn._=Es}).call(je)}(Uc,Uc.exports);var gv=Uc.exports;const xv=2,Mn={container:"flex items-center justify-between",controls:{root:e=>e?"hidden":"flex flex-1 justify-between sm:hidden",prev:"relative inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50",next:"relative ml-3 inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50"},filter:{root:"sm:flex sm:flex-1 sm:items-center sm:justify-between",start:e=>e?"hidden":"",end:"flex items-center justify-end flex-2 sm:flex-none gap-3",show:"font-bold text-sm text-gray-700",info:"font-bold mx-3 sm:mx-3"},pagination:{root:"isolate inline-flex -space-x-px rounded-md shadow-sm",active:"relative z-10 inline-flex items-center bg-secondary px-3.5 py-2 text-sm font-bold text-white focus:z-20 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-6",page:"relative inline-flex items-center border-solid border-secondary px-3.5 py-2 bg-white text-sm font-bold text-gray-900 ring-1 ring-inset ring-secondary focus:z-20 focus:outline-offset-0 hover:cursor-pointer hover:bg-secondary hover:text-white",controlsRight:"relative inline-flex bg-white items-center rounded-r-full border-solid border-secondary px-2 py-2 text-black ring-1 ring-inset ring-secondary focus:z-20 focus:outline-offset-0 hover:cursor-pointer hover:bg-secondary hover:text-white",controlsLeft:"relative inline-flex bg-white items-center rounded-l-full border-solid border-secondary px-2 py-2 text-black ring-1 ring-inset ring-secondary focus:z-20 focus:outline-offset-0 hover:cursor-pointer hover:bg-secondary hover:text-white"}},OI=["5","10","15","20","50"],TI=T.memo(({page:e,info:t,limit:n,hasNext:r,hasPrev:i,current:a,className:l,onClickPage:c,onClickLimit:u,total:d,mobileView:f})=>{const m=T.useMemo(()=>{if(d&&n){const w=Math.ceil(d/+n),x=e||1;let v=x-xv,S=x+xv;return v<=1&&(S+=Math.abs(v)+1,v=1),S>w&&(v-=S-w,S=w),gv.range(v,S+1).filter(E=>E>0)}return[]},[e,d,n]),h=T.useCallback(w=>{e!==w&&c&&c(w)},[e,c]),g=w=>{n!==w&&u&&u(w)};return b.jsx("div",{className:xe(l&&l),children:b.jsxs("div",{className:Mn.container,children:[b.jsxs("div",{className:Mn.controls.root(!!f),children:[b.jsx("span",{className:Mn.controls.prev}),b.jsx("span",{className:Mn.controls.next})]}),b.jsxs("div",{className:Mn.filter.root,children:[b.jsx("div",{className:Mn.filter.start(!!f),children:b.jsxs("p",{className:Mn.filter.show,children:["Mostrar",b.jsx("span",{className:Mn.filter.info,children:b.jsx(L0,{selected:n,options:OI,onChange:g,uncontrollable:!1,orientation:"top"})}),t]})}),b.jsxs("div",{className:Mn.filter.end,children:[b.jsx("p",{className:Mn.filter.show,children:d&&b.jsx(b.Fragment,{children:d>0&&b.jsxs(b.Fragment,{children:[n&&b.jsx(b.Fragment,{children:r?parseInt(n)*e:a})," de ",d," ","resultados"]})})}),b.jsxs("nav",{className:Mn.pagination.root,children:[i&&b.jsxs("a",{about:"page",className:Mn.pagination.controlsLeft,onClick:()=>h(e-1),children:[b.jsx("span",{className:"sr-only",children:"Previous"}),b.jsx("svg",{className:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:b.jsx("path",{fillRule:"evenodd",d:"M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z",clipRule:"evenodd"})})]}),m.map(w=>b.jsx(T.Fragment,{children:b.jsx("a",{about:"page",className:w===e?Mn.pagination.active:Mn.pagination.page,onClick:()=>h(w),children:w})},w)),r&&b.jsxs("a",{about:"page",className:Mn.pagination.controlsRight,onClick:()=>h(e+1),children:[b.jsx("span",{className:"sr-only",children:"Next"}),b.jsx("svg",{className:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:b.jsx("path",{fillRule:"evenodd",d:"M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z",clipRule:"evenodd"})})]})]})]})]})]})})}),FI=re.div`
|
|
1936
|
-
border-radius: 2rem;
|
|
1937
|
-
border: ${e=>`1px solid ${e.borderColor}`};
|
|
1938
|
-
background-color: ${e=>e.bgColor};
|
|
1939
|
-
padding: ${e=>e.padding};
|
|
1940
|
-
`,BI=re.div`
|
|
1941
|
-
display: ${e=>e.display};
|
|
1942
|
-
justify-content: ${e=>e.justifyContent};
|
|
1943
|
-
align-items: ${e=>e.alignItems};
|
|
1944
|
-
`,PI=({borderColor:e,bgColor:t,padding:n,children:r,className:i})=>b.jsx(FI,{className:i,borderColor:e,bgColor:t,padding:n,children:r}),LI=({display:e,justifyContent:t,children:n})=>b.jsx(BI,{display:e,justifyContent:t,children:n}),$n={card:{size:"col-span-3",style:"border rounded-3xl bg-white",separator:"my-[1.344rem] mx-[1rem] flex justify-between items-center",title:"text-lg text-gray-400 font-semibold mb-0 ",body:"text-sm text-gray-400 font-medium mr-2 -mt-2",icon:"w-[1.5rem] h-[1.5rem]"},title:{rule:"flex justify-start mb-7",danger:"text-danger font-bold ml-1",alert:"text-warning font-bold ml-1",pass:"text-secondary font-bold ml-1",icon:"w-[1.5rem] h-[1.5rem]"}},NI=({requirement:e,description:t,Icon:n})=>b.jsx("div",{className:$n.card.size,children:b.jsx("div",{className:$n.card.style,children:b.jsxs("div",{className:$n.card.separator,children:[b.jsxs("div",{children:[b.jsxs("h1",{className:$n.card.title,children:[" ",e," "]}),b.jsx("h2",{className:$n.card.body,children:t})]}),b.jsxs("div",{className:$n.card.icon,children:[n&&b.jsx(n,{})," "]})]})})}),II=({title:e,Icon:t})=>b.jsxs("div",{className:$n.title.rule,children:[b.jsx("div",{className:$n.title.icon,children:t&&b.jsx(t,{})}),b.jsx("div",{}),b.jsxs("h1",{className:$n.title.danger,children:[" ",e]})]}),MI=({title:e,Icon:t})=>b.jsxs("div",{className:$n.title.rule,children:[b.jsx("div",{className:$n.title.icon,children:t&&b.jsx(t,{})}),b.jsx("div",{}),b.jsx("h1",{className:$n.title.pass,children:e})]}),$I=({title:e,Icon:t})=>b.jsxs("div",{className:$n.title.rule,children:[b.jsx("div",{className:$n.title.icon,children:t&&b.jsx(t,{})}),b.jsx("div",{}),b.jsx("h1",{className:$n.title.alert,children:e})]}),HI=re.button`
|
|
1945
|
-
color: white;
|
|
1946
|
-
width: 3.875rem;
|
|
1947
|
-
height: 3.6875rem;
|
|
1948
|
-
border-radius: 1rem;
|
|
1949
|
-
padding: 10px;
|
|
1950
|
-
margin: 5px;
|
|
1951
|
-
border: none;
|
|
1952
|
-
background-color: ${e=>e.isActive?e.activeColor:e.color};
|
|
1953
|
-
cursor: pointer;
|
|
1954
|
-
transition: background-color 0.3s;
|
|
1955
|
-
font-size: 1.5rem;
|
|
1956
|
-
font-style: normal;
|
|
1957
|
-
font-weight: 700;
|
|
1958
|
-
line-height: 120%;
|
|
1959
|
-
|
|
1960
|
-
&:hover {
|
|
1961
|
-
background-color: ${({hoverColor:e})=>e};
|
|
1962
|
-
}
|
|
1963
|
-
`,jI=re.div`
|
|
1964
|
-
display: ${({isMobile:e})=>e?"":"flex"};
|
|
1965
|
-
flex-direction: row;
|
|
1966
|
-
justify-content: space-around;
|
|
1967
|
-
`,RI=({days:e,isMobile:t,activeDays:n,activeColor:r,setActiveDays:i})=>{const a=T.useCallback(c=>{if(n.includes(c)){const d=n.filter(f=>f!==c);return i(d)}const u=[...n,c];i(u)},[n,i]),l=T.useCallback(c=>n.includes(c),[n]);return b.jsx(jI,{isMobile:t,children:e.map(c=>b.jsx(HI,{color:c.color,hoverColor:c.hoverColor,activeColor:r,isActive:l(c.id),onClick:()=>a(c.id),children:c.name},c.id))})},r1=({title:e,value:t,color:n,titleColor:r,borderColor:i,as:a=bv,prefix:l})=>b.jsx(a,{borderColor:i,children:b.jsxs(zI,{children:[b.jsx(VI,{color:r,children:e}),b.jsx(qI,{color:n,children:l?`${t} ${l}`:t})]})}),WI=({prefix:e,hours:t,inputs:n,pending:r,borderColor:i,hoursTitle:a,inputsTitle:l,pendingTitle:c,hoursColor:u,inputColor:d,pendingColor:f,hoursTitleColor:m,inputsTitleColor:h,pendingTitleColor:g})=>b.jsxs(UI,{children:[b.jsx(r1,{prefix:e,title:a,value:t,color:u,titleColor:m,as:bv}),b.jsx(r1,{prefix:e,title:l,value:n,color:d,titleColor:h,as:YI,borderColor:i}),b.jsx(r1,{prefix:e,title:c,value:r,color:f,titleColor:g,as:ZI})]}),UI=re.div`
|
|
1968
|
-
display: flex;
|
|
1969
|
-
flex-direction: row;
|
|
1970
|
-
justify-content: space-between;
|
|
1971
|
-
${e=>e.span&&`grid-column: span ${e.span}`};
|
|
1972
|
-
`,zI=re.div`
|
|
1973
|
-
align-items: flex-start;
|
|
1974
|
-
`,i1=re.div`
|
|
1975
|
-
display: flex;
|
|
1976
|
-
flex-direction: column;
|
|
1977
|
-
justify-content: space-between;
|
|
1978
|
-
flex: 1;
|
|
1979
|
-
align-items: center;
|
|
1980
|
-
`,VI=re.h2`
|
|
1981
|
-
color: ${e=>e.color};
|
|
1982
|
-
font-size: 1rem;
|
|
1983
|
-
font-style: normal;
|
|
1984
|
-
font-weight: 700;
|
|
1985
|
-
line-height: 120%;
|
|
1986
|
-
`,qI=re.p`
|
|
1987
|
-
color: ${e=>e.color};
|
|
1988
|
-
font-size: 1.875rem;
|
|
1989
|
-
font-style: normal;
|
|
1990
|
-
font-weight: 700;
|
|
1991
|
-
line-height: 120%;
|
|
1992
|
-
`,bv=re(i1)`
|
|
1993
|
-
padding: 0px 15px 0px 0px;
|
|
1994
|
-
margin-left: -11px;
|
|
1995
|
-
`,YI=re(i1)`
|
|
1996
|
-
border-left: 1px solid ${e=>e.borderColor};
|
|
1997
|
-
border-right: 1px solid ${e=>e.borderColor};
|
|
1998
|
-
`,ZI=re(i1)``;var yv=(e=>(e.TOKEN="@CCC/token",e.REFRESH_TOKEN="@CCC/refresh_token",e))(yv||{}),wv=(e=>(e.token="token",e.access="access",e))(wv||{}),Cv=(e=>(e.token="tokenPrivate",e.access="tokenRefresh",e))(Cv||{}),o1=function(e,t){return o1=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},o1(e,t)};function zc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o1(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function oa(e,t,n,r){function i(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function c(f){try{d(r.next(f))}catch(m){l(m)}}function u(f){try{d(r.throw(f))}catch(m){l(m)}}function d(f){f.done?a(f.value):i(f.value).then(c,u)}d((r=r.apply(e,t||[])).next())})}function a1(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function s1(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],l;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(c){l={error:c}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return a}function l1(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function Zi(e){return typeof e=="function"}function Ev(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var c1=Ev(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
|
|
1999
|
-
`+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
|
|
2000
|
-
`):"",this.name="UnsubscriptionError",this.errors=n}});function u1(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Vc=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,a;if(!this.closed){this.closed=!0;var l=this._parentage;if(l)if(this._parentage=null,Array.isArray(l))try{for(var c=a1(l),u=c.next();!u.done;u=c.next()){var d=u.value;d.remove(this)}}catch(x){t={error:x}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}else l.remove(this);var f=this.initialTeardown;if(Zi(f))try{f()}catch(x){a=x instanceof c1?x.errors:[x]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var h=a1(m),g=h.next();!g.done;g=h.next()){var w=g.value;try{Av(w)}catch(x){a=a??[],x instanceof c1?a=l1(l1([],s1(a)),s1(x.errors)):a.push(x)}}}catch(x){r={error:x}}finally{try{g&&!g.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}}if(a)throw new c1(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Av(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&u1(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&u1(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),_v=Vc.EMPTY;function Sv(e){return e instanceof Vc||e&&"closed"in e&&Zi(e.remove)&&Zi(e.add)&&Zi(e.unsubscribe)}function Av(e){Zi(e)?e():e.unsubscribe()}var GI={Promise:void 0},KI={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,l1([e,t],s1(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function XI(e){KI.setTimeout(function(){throw e})}function kv(){}function qc(e){e()}var Dv=function(e){zc(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,Sv(n)&&n.add(r)):r.destination=eM,r}return t.create=function(n,r,i){return new d1(n,r,i)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Vc),QI=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){Yc(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){Yc(r)}else Yc(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){Yc(n)}},e}(),d1=function(e){zc(t,e);function t(n,r,i){var a=e.call(this)||this,l;return Zi(n)||!n?l={next:n??void 0,error:r??void 0,complete:i??void 0}:l=n,a.destination=new QI(l),a}return t}(Dv);function Yc(e){XI(e)}function JI(e){throw e}var eM={closed:!0,next:kv,error:JI,complete:kv},tM=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function nM(e){return e}function rM(e){return e.length===0?nM:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var Ov=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,a=oM(t)?t:new d1(t,n,r);return qc(function(){var l=i,c=l.operator,u=l.source;a.add(c?c.call(a,u):u?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=Tv(n),new n(function(i,a){var l=new d1({next:function(c){try{t(c)}catch(u){a(u),l.unsubscribe()}},error:a,complete:i});r.subscribe(l)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[tM]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return rM(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Tv(t),new t(function(r,i){var a;n.subscribe(function(l){return a=l},function(l){return i(l)},function(){return r(a)})})},e.create=function(t){return new e(t)},e}();function Tv(e){var t;return(t=e??GI.Promise)!==null&&t!==void 0?t:Promise}function iM(e){return e&&Zi(e.next)&&Zi(e.error)&&Zi(e.complete)}function oM(e){return e&&e instanceof Dv||iM(e)&&Sv(e)}var aM=Ev(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Fv=function(e){zc(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Bv(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new aM},t.prototype.next=function(n){var r=this;qc(function(){var i,a;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var l=a1(r.currentObservers),c=l.next();!c.done;c=l.next()){var u=c.value;u.next(n)}}catch(d){i={error:d}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;qc(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;qc(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,a=i.hasError,l=i.isStopped,c=i.observers;return a||l?_v:(this.currentObservers=null,c.push(n),new Vc(function(){r.currentObservers=null,u1(c,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,a=r.thrownError,l=r.isStopped;i?n.error(a):l&&n.complete()},t.prototype.asObservable=function(){var n=new Ov;return n.source=this,n},t.create=function(n,r){return new Bv(n,r)},t}(Ov),Bv=function(e){zc(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:_v},t}(Fv);function sM(e,t){const[n,r]=T.useState(!1);return T.useEffect(()=>{const{unsubscribe:i}=f1(e,t);return()=>{i()}},[]),{status:n,pause:T.useCallback(()=>r(!0),[]),resume:T.useCallback(()=>r(!1),[])}}function Pv(e,t,n){return T.useEffect(()=>{t&&(t(),n&&Rl(e,n))},[e]),T.useCallback(r=>{Rl(e,r)},[e])}const Zc={},aa={},lM={};function cM(e){var t;Zc[e]&&((t=Zc[e])==null||t.unsubscribe(),delete Zc[e])}function uM(e,t){aa[e].onmessage=n=>{t(n.data)}}function dM(e){var t;(t=aa[e])==null||t.close(),delete aa[e]}function fM(e,t){var n;if(aa[e]){(n=aa[e])==null||n.postMessage(t);return}aa[e]=new window.BroadcastChannel(e)}function pM(e,t){const n=new CustomEvent(e,{detail:t});window.dispatchEvent(n)}function hM(e){const t=new Fv,n=window;try{n[e]=t}catch{console.warn("Cannot push service to window object")}return t}function f1(e,t){const n=window;if(n[e])return n[e].subscribe(t);throw new Error("Cannot find subscription")}function mM(e){const t=window;if(t[e])return t[e].unsubscribe();throw new Error("Cannot find subscription")}function Rl(e,t){const n=window;if(n[e])return n[e].next(t);throw new Error("Cannot find subscription")}var Co=(e=>(e.SSO_LOGIN="@CCC/SSO",e.SSO_ERROR="@CCC/SSO/failure",e.SSO_LOGOUT="@CCC/SSO/logout",e.SSO_REFRESH="@CCC/SSO/refresh",e.SSO_ATTEMPT="@CCC/SSO/attempt",e.SSO_EXPIRED="@CCC/SSO/expired",e.SSO_SUCCESS="@CCC/SSO/success",e.ON_CONNECT_APP="@CCC/onConnectApp",e.ON_REHYDRATE_APP="@CCC/onRehydrateApp",e.ON_DISCONNECT_APP="@CCC/onDisconnectApp",e.GET_ZUSTAND_INSTANCE="@CCC/getZustandInstance",e.UPDATE_ZUSTAND_INSTANCE="@CCC/updateZustandInstance",e.SIGNAL="@CCC/signal",e))(Co||{});const vM={},Lv=e=>{let t;const n=new Set,r=(f,m)=>{const h=typeof f=="function"?f(t):f;if(!Object.is(h,t)){const g=t;t=m??(typeof h!="object"||h===null)?h:Object.assign({},t,h),n.forEach(w=>w(t,g))}},i=()=>t,u={setState:r,getState:i,getInitialState:()=>d,subscribe:f=>(n.add(f),()=>n.delete(f)),destroy:()=>{(vM?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},d=t=e(r,i,u);return u},gM=e=>e?Lv(e):Lv;var p1={exports:{}},h1={},Gc={exports:{}},m1={};/**
|
|
2001
|
-
* @license React
|
|
2002
|
-
* use-sync-external-store-shim.production.js
|
|
2003
|
-
*
|
|
2004
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2005
|
-
*
|
|
2006
|
-
* This source code is licensed under the MIT license found in the
|
|
2007
|
-
* LICENSE file in the root directory of this source tree.
|
|
2008
|
-
*/var Nv;function xM(){if(Nv)return m1;Nv=1;var e=T;function t(m,h){return m===h&&(m!==0||1/m===1/h)||m!==m&&h!==h}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,i=e.useEffect,a=e.useLayoutEffect,l=e.useDebugValue;function c(m,h){var g=h(),w=r({inst:{value:g,getSnapshot:h}}),x=w[0].inst,v=w[1];return a(function(){x.value=g,x.getSnapshot=h,u(x)&&v({inst:x})},[m,g,h]),i(function(){return u(x)&&v({inst:x}),m(function(){u(x)&&v({inst:x})})},[m]),l(g),g}function u(m){var h=m.getSnapshot;m=m.value;try{var g=h();return!n(m,g)}catch{return!0}}function d(m,h){return h()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:c;return m1.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,m1}var v1={};/**
|
|
2009
|
-
* @license React
|
|
2010
|
-
* use-sync-external-store-shim.development.js
|
|
2011
|
-
*
|
|
2012
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2013
|
-
*
|
|
2014
|
-
* This source code is licensed under the MIT license found in the
|
|
2015
|
-
* LICENSE file in the root directory of this source tree.
|
|
2016
|
-
*/var Iv;function bM(){return Iv||(Iv=1,process.env.NODE_ENV!=="production"&&function(){function e(g,w){return g===w&&(g!==0||1/g===1/w)||g!==g&&w!==w}function t(g,w){f||i.startTransition===void 0||(f=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var x=w();if(!m){var v=w();a(x,v)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),m=!0)}v=l({inst:{value:x,getSnapshot:w}});var S=v[0].inst,C=v[1];return u(function(){S.value=x,S.getSnapshot=w,n(S)&&C({inst:S})},[g,x,w]),c(function(){return n(S)&&C({inst:S}),g(function(){n(S)&&C({inst:S})})},[g]),d(x),x}function n(g){var w=g.getSnapshot;g=g.value;try{var x=w();return!a(g,x)}catch{return!0}}function r(g,w){return w()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=T,a=typeof Object.is=="function"?Object.is:e,l=i.useState,c=i.useEffect,u=i.useLayoutEffect,d=i.useDebugValue,f=!1,m=!1,h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:t;v1.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:h,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),v1}var Mv;function g1(){return Mv||(Mv=1,process.env.NODE_ENV==="production"?Gc.exports=xM():Gc.exports=bM()),Gc.exports}/**
|
|
2017
|
-
* @license React
|
|
2018
|
-
* use-sync-external-store-shim/with-selector.production.js
|
|
2019
|
-
*
|
|
2020
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2021
|
-
*
|
|
2022
|
-
* This source code is licensed under the MIT license found in the
|
|
2023
|
-
* LICENSE file in the root directory of this source tree.
|
|
2024
|
-
*/var $v;function yM(){if($v)return h1;$v=1;var e=T,t=g1();function n(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&f!==f}var r=typeof Object.is=="function"?Object.is:n,i=t.useSyncExternalStore,a=e.useRef,l=e.useEffect,c=e.useMemo,u=e.useDebugValue;return h1.useSyncExternalStoreWithSelector=function(d,f,m,h,g){var w=a(null);if(w.current===null){var x={hasValue:!1,value:null};w.current=x}else x=w.current;w=c(function(){function S(A){if(!C){if(C=!0,E=A,A=h(A),g!==void 0&&x.hasValue){var B=x.value;if(g(B,A))return _=B}return _=A}if(B=_,r(E,A))return B;var O=h(A);return g!==void 0&&g(B,O)?(E=A,B):(E=A,_=O)}var C=!1,E,_,D=m===void 0?null:m;return[function(){return S(f())},D===null?void 0:function(){return S(D())}]},[f,m,h,g]);var v=i(d,w[0],w[1]);return l(function(){x.hasValue=!0,x.value=v},[v]),u(v),v},h1}var x1={};/**
|
|
2025
|
-
* @license React
|
|
2026
|
-
* use-sync-external-store-shim/with-selector.development.js
|
|
2027
|
-
*
|
|
2028
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2029
|
-
*
|
|
2030
|
-
* This source code is licensed under the MIT license found in the
|
|
2031
|
-
* LICENSE file in the root directory of this source tree.
|
|
2032
|
-
*/var Hv;function wM(){return Hv||(Hv=1,process.env.NODE_ENV!=="production"&&function(){function e(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&f!==f}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=T,n=g1(),r=typeof Object.is=="function"?Object.is:e,i=n.useSyncExternalStore,a=t.useRef,l=t.useEffect,c=t.useMemo,u=t.useDebugValue;x1.useSyncExternalStoreWithSelector=function(d,f,m,h,g){var w=a(null);if(w.current===null){var x={hasValue:!1,value:null};w.current=x}else x=w.current;w=c(function(){function S(A){if(!C){if(C=!0,E=A,A=h(A),g!==void 0&&x.hasValue){var B=x.value;if(g(B,A))return _=B}return _=A}if(B=_,r(E,A))return B;var O=h(A);return g!==void 0&&g(B,O)?(E=A,B):(E=A,_=O)}var C=!1,E,_,D=m===void 0?null:m;return[function(){return S(f())},D===null?void 0:function(){return S(D())}]},[f,m,h,g]);var v=i(d,w[0],w[1]);return l(function(){x.hasValue=!0,x.value=v},[v]),u(v),v},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),x1}process.env.NODE_ENV==="production"?p1.exports=yM():p1.exports=wM();var CM=p1.exports;const EM=t2(CM),jv={},{useDebugValue:_M}=T,{useSyncExternalStoreWithSelector:SM}=EM;let Rv=!1;const AM=e=>e;function kM(e,t=AM,n){(jv?"production":void 0)!=="production"&&n&&!Rv&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),Rv=!0);const r=SM(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return _M(r),r}const Wv=e=>{(jv?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?gM(e):e,n=(r,i)=>kM(t,r,i);return Object.assign(n,t),n},b1=e=>e?Wv(e):Wv;class Wl extends Error{}Wl.prototype.name="InvalidTokenError";function DM(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function OM(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return DM(t)}catch{return atob(t)}}function y1(e,t){if(typeof e!="string")throw new Wl("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,r=e.split(".")[n];if(typeof r!="string")throw new Wl(`Invalid token specified: missing part #${n+1}`);let i;try{i=OM(r)}catch(a){throw new Wl(`Invalid token specified: invalid base64 for part #${n+1} (${a.message})`)}try{return JSON.parse(i)}catch(a){throw new Wl(`Invalid token specified: invalid json for part #${n+1} (${a.message})`)}}var Uv={exports:{}};function TM(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var w1={exports:{}};const FM=hy(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var zv;function ut(){return zv||(zv=1,function(e,t){(function(n,r){e.exports=r()})(je,function(){var n=n||function(r,i){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof je<"u"&&je.crypto&&(a=je.crypto),!a&&typeof TM=="function")try{a=FM}catch{}var l=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},c=Object.create||function(){function C(){}return function(E){var _;return C.prototype=E,_=new C,C.prototype=null,_}}(),u={},d=u.lib={},f=d.Base=function(){return{extend:function(C){var E=c(this);return C&&E.mixIn(C),(!E.hasOwnProperty("init")||this.init===E.init)&&(E.init=function(){E.$super.init.apply(this,arguments)}),E.init.prototype=E,E.$super=this,E},create:function(){var C=this.extend();return C.init.apply(C,arguments),C},init:function(){},mixIn:function(C){for(var E in C)C.hasOwnProperty(E)&&(this[E]=C[E]);C.hasOwnProperty("toString")&&(this.toString=C.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),m=d.WordArray=f.extend({init:function(C,E){C=this.words=C||[],E!=i?this.sigBytes=E:this.sigBytes=C.length*4},toString:function(C){return(C||g).stringify(this)},concat:function(C){var E=this.words,_=C.words,D=this.sigBytes,A=C.sigBytes;if(this.clamp(),D%4)for(var B=0;B<A;B++){var O=_[B>>>2]>>>24-B%4*8&255;E[D+B>>>2]|=O<<24-(D+B)%4*8}else for(var N=0;N<A;N+=4)E[D+N>>>2]=_[N>>>2];return this.sigBytes+=A,this},clamp:function(){var C=this.words,E=this.sigBytes;C[E>>>2]&=4294967295<<32-E%4*8,C.length=r.ceil(E/4)},clone:function(){var C=f.clone.call(this);return C.words=this.words.slice(0),C},random:function(C){for(var E=[],_=0;_<C;_+=4)E.push(l());return new m.init(E,C)}}),h=u.enc={},g=h.Hex={stringify:function(C){for(var E=C.words,_=C.sigBytes,D=[],A=0;A<_;A++){var B=E[A>>>2]>>>24-A%4*8&255;D.push((B>>>4).toString(16)),D.push((B&15).toString(16))}return D.join("")},parse:function(C){for(var E=C.length,_=[],D=0;D<E;D+=2)_[D>>>3]|=parseInt(C.substr(D,2),16)<<24-D%8*4;return new m.init(_,E/2)}},w=h.Latin1={stringify:function(C){for(var E=C.words,_=C.sigBytes,D=[],A=0;A<_;A++){var B=E[A>>>2]>>>24-A%4*8&255;D.push(String.fromCharCode(B))}return D.join("")},parse:function(C){for(var E=C.length,_=[],D=0;D<E;D++)_[D>>>2]|=(C.charCodeAt(D)&255)<<24-D%4*8;return new m.init(_,E)}},x=h.Utf8={stringify:function(C){try{return decodeURIComponent(escape(w.stringify(C)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(C){return w.parse(unescape(encodeURIComponent(C)))}},v=d.BufferedBlockAlgorithm=f.extend({reset:function(){this._data=new m.init,this._nDataBytes=0},_append:function(C){typeof C=="string"&&(C=x.parse(C)),this._data.concat(C),this._nDataBytes+=C.sigBytes},_process:function(C){var E,_=this._data,D=_.words,A=_.sigBytes,B=this.blockSize,O=B*4,N=A/O;C?N=r.ceil(N):N=r.max((N|0)-this._minBufferSize,0);var L=N*B,I=r.min(L*4,A);if(L){for(var H=0;H<L;H+=B)this._doProcessBlock(D,H);E=D.splice(0,L),_.sigBytes-=I}return new m.init(E,I)},clone:function(){var C=f.clone.call(this);return C._data=this._data.clone(),C},_minBufferSize:0});d.Hasher=v.extend({cfg:f.extend(),init:function(C){this.cfg=this.cfg.extend(C),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(C){return this._append(C),this._process(),this},finalize:function(C){C&&this._append(C);var E=this._doFinalize();return E},blockSize:16,_createHelper:function(C){return function(E,_){return new C.init(_).finalize(E)}},_createHmacHelper:function(C){return function(E,_){return new S.HMAC.init(C,_).finalize(E)}}});var S=u.algo={};return u}(Math);return n})}(w1)),w1.exports}var C1={exports:{}},Vv;function Kc(){return Vv||(Vv=1,function(e,t){(function(n,r){e.exports=r(ut())})(je,function(n){return function(r){var i=n,a=i.lib,l=a.Base,c=a.WordArray,u=i.x64={};u.Word=l.extend({init:function(d,f){this.high=d,this.low=f}}),u.WordArray=l.extend({init:function(d,f){d=this.words=d||[],f!=r?this.sigBytes=f:this.sigBytes=d.length*8},toX32:function(){for(var d=this.words,f=d.length,m=[],h=0;h<f;h++){var g=d[h];m.push(g.high),m.push(g.low)}return c.create(m,this.sigBytes)},clone:function(){for(var d=l.clone.call(this),f=d.words=this.words.slice(0),m=f.length,h=0;h<m;h++)f[h]=f[h].clone();return d}})}(),n})}(C1)),C1.exports}var E1={exports:{}},qv;function BM(){return qv||(qv=1,function(e,t){(function(n,r){e.exports=r(ut())})(je,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,i=r.lib,a=i.WordArray,l=a.init,c=a.init=function(u){if(u instanceof ArrayBuffer&&(u=new Uint8Array(u)),(u instanceof Int8Array||typeof Uint8ClampedArray<"u"&&u instanceof Uint8ClampedArray||u instanceof Int16Array||u instanceof Uint16Array||u instanceof Int32Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array)&&(u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength)),u instanceof Uint8Array){for(var d=u.byteLength,f=[],m=0;m<d;m++)f[m>>>2]|=u[m]<<24-m%4*8;l.call(this,f,d)}else l.apply(this,arguments)};c.prototype=a}}(),n.lib.WordArray})}(E1)),E1.exports}var _1={exports:{}},Yv;function PM(){return Yv||(Yv=1,function(e,t){(function(n,r){e.exports=r(ut())})(je,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,l=r.enc;l.Utf16=l.Utf16BE={stringify:function(u){for(var d=u.words,f=u.sigBytes,m=[],h=0;h<f;h+=2){var g=d[h>>>2]>>>16-h%4*8&65535;m.push(String.fromCharCode(g))}return m.join("")},parse:function(u){for(var d=u.length,f=[],m=0;m<d;m++)f[m>>>1]|=u.charCodeAt(m)<<16-m%2*16;return a.create(f,d*2)}},l.Utf16LE={stringify:function(u){for(var d=u.words,f=u.sigBytes,m=[],h=0;h<f;h+=2){var g=c(d[h>>>2]>>>16-h%4*8&65535);m.push(String.fromCharCode(g))}return m.join("")},parse:function(u){for(var d=u.length,f=[],m=0;m<d;m++)f[m>>>1]|=c(u.charCodeAt(m)<<16-m%2*16);return a.create(f,d*2)}};function c(u){return u<<8&4278255360|u>>>8&16711935}}(),n.enc.Utf16})}(_1)),_1.exports}var S1={exports:{}},Zv;function sa(){return Zv||(Zv=1,function(e,t){(function(n,r){e.exports=r(ut())})(je,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,l=r.enc;l.Base64={stringify:function(u){var d=u.words,f=u.sigBytes,m=this._map;u.clamp();for(var h=[],g=0;g<f;g+=3)for(var w=d[g>>>2]>>>24-g%4*8&255,x=d[g+1>>>2]>>>24-(g+1)%4*8&255,v=d[g+2>>>2]>>>24-(g+2)%4*8&255,S=w<<16|x<<8|v,C=0;C<4&&g+C*.75<f;C++)h.push(m.charAt(S>>>6*(3-C)&63));var E=m.charAt(64);if(E)for(;h.length%4;)h.push(E);return h.join("")},parse:function(u){var d=u.length,f=this._map,m=this._reverseMap;if(!m){m=this._reverseMap=[];for(var h=0;h<f.length;h++)m[f.charCodeAt(h)]=h}var g=f.charAt(64);if(g){var w=u.indexOf(g);w!==-1&&(d=w)}return c(u,d,m)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function c(u,d,f){for(var m=[],h=0,g=0;g<d;g++)if(g%4){var w=f[u.charCodeAt(g-1)]<<g%4*2,x=f[u.charCodeAt(g)]>>>6-g%4*2,v=w|x;m[h>>>2]|=v<<24-h%4*8,h++}return a.create(m,h)}}(),n.enc.Base64})}(S1)),S1.exports}var A1={exports:{}},Gv;function LM(){return Gv||(Gv=1,function(e,t){(function(n,r){e.exports=r(ut())})(je,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,l=r.enc;l.Base64url={stringify:function(u,d){d===void 0&&(d=!0);var f=u.words,m=u.sigBytes,h=d?this._safe_map:this._map;u.clamp();for(var g=[],w=0;w<m;w+=3)for(var x=f[w>>>2]>>>24-w%4*8&255,v=f[w+1>>>2]>>>24-(w+1)%4*8&255,S=f[w+2>>>2]>>>24-(w+2)%4*8&255,C=x<<16|v<<8|S,E=0;E<4&&w+E*.75<m;E++)g.push(h.charAt(C>>>6*(3-E)&63));var _=h.charAt(64);if(_)for(;g.length%4;)g.push(_);return g.join("")},parse:function(u,d){d===void 0&&(d=!0);var f=u.length,m=d?this._safe_map:this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var g=0;g<m.length;g++)h[m.charCodeAt(g)]=g}var w=m.charAt(64);if(w){var x=u.indexOf(w);x!==-1&&(f=x)}return c(u,f,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function c(u,d,f){for(var m=[],h=0,g=0;g<d;g++)if(g%4){var w=f[u.charCodeAt(g-1)]<<g%4*2,x=f[u.charCodeAt(g)]>>>6-g%4*2,v=w|x;m[h>>>2]|=v<<24-h%4*8,h++}return a.create(m,h)}}(),n.enc.Base64url})}(A1)),A1.exports}var k1={exports:{}},Kv;function la(){return Kv||(Kv=1,function(e,t){(function(n,r){e.exports=r(ut())})(je,function(n){return function(r){var i=n,a=i.lib,l=a.WordArray,c=a.Hasher,u=i.algo,d=[];(function(){for(var x=0;x<64;x++)d[x]=r.abs(r.sin(x+1))*4294967296|0})();var f=u.MD5=c.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(x,v){for(var S=0;S<16;S++){var C=v+S,E=x[C];x[C]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}var _=this._hash.words,D=x[v+0],A=x[v+1],B=x[v+2],O=x[v+3],N=x[v+4],L=x[v+5],I=x[v+6],H=x[v+7],W=x[v+8],K=x[v+9],Y=x[v+10],ne=x[v+11],ue=x[v+12],se=x[v+13],ae=x[v+14],Z=x[v+15],M=_[0],z=_[1],X=_[2],U=_[3];M=m(M,z,X,U,D,7,d[0]),U=m(U,M,z,X,A,12,d[1]),X=m(X,U,M,z,B,17,d[2]),z=m(z,X,U,M,O,22,d[3]),M=m(M,z,X,U,N,7,d[4]),U=m(U,M,z,X,L,12,d[5]),X=m(X,U,M,z,I,17,d[6]),z=m(z,X,U,M,H,22,d[7]),M=m(M,z,X,U,W,7,d[8]),U=m(U,M,z,X,K,12,d[9]),X=m(X,U,M,z,Y,17,d[10]),z=m(z,X,U,M,ne,22,d[11]),M=m(M,z,X,U,ue,7,d[12]),U=m(U,M,z,X,se,12,d[13]),X=m(X,U,M,z,ae,17,d[14]),z=m(z,X,U,M,Z,22,d[15]),M=h(M,z,X,U,A,5,d[16]),U=h(U,M,z,X,I,9,d[17]),X=h(X,U,M,z,ne,14,d[18]),z=h(z,X,U,M,D,20,d[19]),M=h(M,z,X,U,L,5,d[20]),U=h(U,M,z,X,Y,9,d[21]),X=h(X,U,M,z,Z,14,d[22]),z=h(z,X,U,M,N,20,d[23]),M=h(M,z,X,U,K,5,d[24]),U=h(U,M,z,X,ae,9,d[25]),X=h(X,U,M,z,O,14,d[26]),z=h(z,X,U,M,W,20,d[27]),M=h(M,z,X,U,se,5,d[28]),U=h(U,M,z,X,B,9,d[29]),X=h(X,U,M,z,H,14,d[30]),z=h(z,X,U,M,ue,20,d[31]),M=g(M,z,X,U,L,4,d[32]),U=g(U,M,z,X,W,11,d[33]),X=g(X,U,M,z,ne,16,d[34]),z=g(z,X,U,M,ae,23,d[35]),M=g(M,z,X,U,A,4,d[36]),U=g(U,M,z,X,N,11,d[37]),X=g(X,U,M,z,H,16,d[38]),z=g(z,X,U,M,Y,23,d[39]),M=g(M,z,X,U,se,4,d[40]),U=g(U,M,z,X,D,11,d[41]),X=g(X,U,M,z,O,16,d[42]),z=g(z,X,U,M,I,23,d[43]),M=g(M,z,X,U,K,4,d[44]),U=g(U,M,z,X,ue,11,d[45]),X=g(X,U,M,z,Z,16,d[46]),z=g(z,X,U,M,B,23,d[47]),M=w(M,z,X,U,D,6,d[48]),U=w(U,M,z,X,H,10,d[49]),X=w(X,U,M,z,ae,15,d[50]),z=w(z,X,U,M,L,21,d[51]),M=w(M,z,X,U,ue,6,d[52]),U=w(U,M,z,X,O,10,d[53]),X=w(X,U,M,z,Y,15,d[54]),z=w(z,X,U,M,A,21,d[55]),M=w(M,z,X,U,W,6,d[56]),U=w(U,M,z,X,Z,10,d[57]),X=w(X,U,M,z,I,15,d[58]),z=w(z,X,U,M,se,21,d[59]),M=w(M,z,X,U,N,6,d[60]),U=w(U,M,z,X,ne,10,d[61]),X=w(X,U,M,z,B,15,d[62]),z=w(z,X,U,M,K,21,d[63]),_[0]=_[0]+M|0,_[1]=_[1]+z|0,_[2]=_[2]+X|0,_[3]=_[3]+U|0},_doFinalize:function(){var x=this._data,v=x.words,S=this._nDataBytes*8,C=x.sigBytes*8;v[C>>>5]|=128<<24-C%32;var E=r.floor(S/4294967296),_=S;v[(C+64>>>9<<4)+15]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,v[(C+64>>>9<<4)+14]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,x.sigBytes=(v.length+1)*4,this._process();for(var D=this._hash,A=D.words,B=0;B<4;B++){var O=A[B];A[B]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360}return D},clone:function(){var x=c.clone.call(this);return x._hash=this._hash.clone(),x}});function m(x,v,S,C,E,_,D){var A=x+(v&S|~v&C)+E+D;return(A<<_|A>>>32-_)+v}function h(x,v,S,C,E,_,D){var A=x+(v&C|S&~C)+E+D;return(A<<_|A>>>32-_)+v}function g(x,v,S,C,E,_,D){var A=x+(v^S^C)+E+D;return(A<<_|A>>>32-_)+v}function w(x,v,S,C,E,_,D){var A=x+(S^(v|~C))+E+D;return(A<<_|A>>>32-_)+v}i.MD5=c._createHelper(f),i.HmacMD5=c._createHmacHelper(f)}(Math),n.MD5})}(k1)),k1.exports}var D1={exports:{}},Xv;function Qv(){return Xv||(Xv=1,function(e,t){(function(n,r){e.exports=r(ut())})(je,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,l=i.Hasher,c=r.algo,u=[],d=c.SHA1=l.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(f,m){for(var h=this._hash.words,g=h[0],w=h[1],x=h[2],v=h[3],S=h[4],C=0;C<80;C++){if(C<16)u[C]=f[m+C]|0;else{var E=u[C-3]^u[C-8]^u[C-14]^u[C-16];u[C]=E<<1|E>>>31}var _=(g<<5|g>>>27)+S+u[C];C<20?_+=(w&x|~w&v)+1518500249:C<40?_+=(w^x^v)+1859775393:C<60?_+=(w&x|w&v|x&v)-1894007588:_+=(w^x^v)-899497514,S=v,v=x,x=w<<30|w>>>2,w=g,g=_}h[0]=h[0]+g|0,h[1]=h[1]+w|0,h[2]=h[2]+x|0,h[3]=h[3]+v|0,h[4]=h[4]+S|0},_doFinalize:function(){var f=this._data,m=f.words,h=this._nDataBytes*8,g=f.sigBytes*8;return m[g>>>5]|=128<<24-g%32,m[(g+64>>>9<<4)+14]=Math.floor(h/4294967296),m[(g+64>>>9<<4)+15]=h,f.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var f=l.clone.call(this);return f._hash=this._hash.clone(),f}});r.SHA1=l._createHelper(d),r.HmacSHA1=l._createHmacHelper(d)}(),n.SHA1})}(D1)),D1.exports}var O1={exports:{}},Jv;function T1(){return Jv||(Jv=1,function(e,t){(function(n,r){e.exports=r(ut())})(je,function(n){return function(r){var i=n,a=i.lib,l=a.WordArray,c=a.Hasher,u=i.algo,d=[],f=[];(function(){function g(S){for(var C=r.sqrt(S),E=2;E<=C;E++)if(!(S%E))return!1;return!0}function w(S){return(S-(S|0))*4294967296|0}for(var x=2,v=0;v<64;)g(x)&&(v<8&&(d[v]=w(r.pow(x,1/2))),f[v]=w(r.pow(x,1/3)),v++),x++})();var m=[],h=u.SHA256=c.extend({_doReset:function(){this._hash=new l.init(d.slice(0))},_doProcessBlock:function(g,w){for(var x=this._hash.words,v=x[0],S=x[1],C=x[2],E=x[3],_=x[4],D=x[5],A=x[6],B=x[7],O=0;O<64;O++){if(O<16)m[O]=g[w+O]|0;else{var N=m[O-15],L=(N<<25|N>>>7)^(N<<14|N>>>18)^N>>>3,I=m[O-2],H=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;m[O]=L+m[O-7]+H+m[O-16]}var W=_&D^~_&A,K=v&S^v&C^S&C,Y=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),ne=(_<<26|_>>>6)^(_<<21|_>>>11)^(_<<7|_>>>25),ue=B+ne+W+f[O]+m[O],se=Y+K;B=A,A=D,D=_,_=E+ue|0,E=C,C=S,S=v,v=ue+se|0}x[0]=x[0]+v|0,x[1]=x[1]+S|0,x[2]=x[2]+C|0,x[3]=x[3]+E|0,x[4]=x[4]+_|0,x[5]=x[5]+D|0,x[6]=x[6]+A|0,x[7]=x[7]+B|0},_doFinalize:function(){var g=this._data,w=g.words,x=this._nDataBytes*8,v=g.sigBytes*8;return w[v>>>5]|=128<<24-v%32,w[(v+64>>>9<<4)+14]=r.floor(x/4294967296),w[(v+64>>>9<<4)+15]=x,g.sigBytes=w.length*4,this._process(),this._hash},clone:function(){var g=c.clone.call(this);return g._hash=this._hash.clone(),g}});i.SHA256=c._createHelper(h),i.HmacSHA256=c._createHmacHelper(h)}(Math),n.SHA256})}(O1)),O1.exports}var F1={exports:{}},e7;function NM(){return e7||(e7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),T1())})(je,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,l=r.algo,c=l.SHA256,u=l.SHA224=c.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var d=c._doFinalize.call(this);return d.sigBytes-=4,d}});r.SHA224=c._createHelper(u),r.HmacSHA224=c._createHmacHelper(u)}(),n.SHA224})}(F1)),F1.exports}var B1={exports:{}},t7;function n7(){return t7||(t7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),Kc())})(je,function(n){return function(){var r=n,i=r.lib,a=i.Hasher,l=r.x64,c=l.Word,u=l.WordArray,d=r.algo;function f(){return c.create.apply(c,arguments)}var m=[f(1116352408,3609767458),f(1899447441,602891725),f(3049323471,3964484399),f(3921009573,2173295548),f(961987163,4081628472),f(1508970993,3053834265),f(2453635748,2937671579),f(2870763221,3664609560),f(3624381080,2734883394),f(310598401,1164996542),f(607225278,1323610764),f(1426881987,3590304994),f(1925078388,4068182383),f(2162078206,991336113),f(2614888103,633803317),f(3248222580,3479774868),f(3835390401,2666613458),f(4022224774,944711139),f(264347078,2341262773),f(604807628,2007800933),f(770255983,1495990901),f(1249150122,1856431235),f(1555081692,3175218132),f(1996064986,2198950837),f(2554220882,3999719339),f(2821834349,766784016),f(2952996808,2566594879),f(3210313671,3203337956),f(3336571891,1034457026),f(3584528711,2466948901),f(113926993,3758326383),f(338241895,168717936),f(666307205,1188179964),f(773529912,1546045734),f(1294757372,1522805485),f(1396182291,2643833823),f(1695183700,2343527390),f(1986661051,1014477480),f(2177026350,1206759142),f(2456956037,344077627),f(2730485921,1290863460),f(2820302411,3158454273),f(3259730800,3505952657),f(3345764771,106217008),f(3516065817,3606008344),f(3600352804,1432725776),f(4094571909,1467031594),f(275423344,851169720),f(430227734,3100823752),f(506948616,1363258195),f(659060556,3750685593),f(883997877,3785050280),f(958139571,3318307427),f(1322822218,3812723403),f(1537002063,2003034995),f(1747873779,3602036899),f(1955562222,1575990012),f(2024104815,1125592928),f(2227730452,2716904306),f(2361852424,442776044),f(2428436474,593698344),f(2756734187,3733110249),f(3204031479,2999351573),f(3329325298,3815920427),f(3391569614,3928383900),f(3515267271,566280711),f(3940187606,3454069534),f(4118630271,4000239992),f(116418474,1914138554),f(174292421,2731055270),f(289380356,3203993006),f(460393269,320620315),f(685471733,587496836),f(852142971,1086792851),f(1017036298,365543100),f(1126000580,2618297676),f(1288033470,3409855158),f(1501505948,4234509866),f(1607167915,987167468),f(1816402316,1246189591)],h=[];(function(){for(var w=0;w<80;w++)h[w]=f()})();var g=d.SHA512=a.extend({_doReset:function(){this._hash=new u.init([new c.init(1779033703,4089235720),new c.init(3144134277,2227873595),new c.init(1013904242,4271175723),new c.init(2773480762,1595750129),new c.init(1359893119,2917565137),new c.init(2600822924,725511199),new c.init(528734635,4215389547),new c.init(1541459225,327033209)])},_doProcessBlock:function(w,x){for(var v=this._hash.words,S=v[0],C=v[1],E=v[2],_=v[3],D=v[4],A=v[5],B=v[6],O=v[7],N=S.high,L=S.low,I=C.high,H=C.low,W=E.high,K=E.low,Y=_.high,ne=_.low,ue=D.high,se=D.low,ae=A.high,Z=A.low,M=B.high,z=B.low,X=O.high,U=O.low,pe=N,J=L,de=I,fe=H,Se=W,Oe=K,We=Y,Ie=ne,Ue=ue,mt=se,rt=ae,ke=Z,dt=M,Xe=z,kt=X,wt=U,it=0;it<80;it++){var Ye,St,jt=h[it];if(it<16)St=jt.high=w[x+it*2]|0,Ye=jt.low=w[x+it*2+1]|0;else{var ge=h[it-15],Ce=ge.high,Qe=ge.low,ot=(Ce>>>1|Qe<<31)^(Ce>>>8|Qe<<24)^Ce>>>7,ht=(Qe>>>1|Ce<<31)^(Qe>>>8|Ce<<24)^(Qe>>>7|Ce<<25),Ut=h[it-2],Ot=Ut.high,ln=Ut.low,wn=(Ot>>>19|ln<<13)^(Ot<<3|ln>>>29)^Ot>>>6,te=(ln>>>19|Ot<<13)^(ln<<3|Ot>>>29)^(ln>>>6|Ot<<26),be=h[it-7],Te=be.high,qe=be.low,He=h[it-16],Dt=He.high,Vt=He.low;Ye=ht+qe,St=ot+Te+(Ye>>>0<ht>>>0?1:0),Ye=Ye+te,St=St+wn+(Ye>>>0<te>>>0?1:0),Ye=Ye+Vt,St=St+Dt+(Ye>>>0<Vt>>>0?1:0),jt.high=St,jt.low=Ye}var Hn=Ue&rt^~Ue&dt,Qr=mt&ke^~mt&Xe,Qn=pe&de^pe&Se^de&Se,Jr=J&fe^J&Oe^fe&Oe,bi=(pe>>>28|J<<4)^(pe<<30|J>>>2)^(pe<<25|J>>>7),dr=(J>>>28|pe<<4)^(J<<30|pe>>>2)^(J<<25|pe>>>7),ua=(Ue>>>14|mt<<18)^(Ue>>>18|mt<<14)^(Ue<<23|mt>>>9),yi=(mt>>>14|Ue<<18)^(mt>>>18|Ue<<14)^(mt<<23|Ue>>>9),ei=m[it],Yl=ei.high,xs=ei.low,cn=wt+yi,Fr=kt+ua+(cn>>>0<wt>>>0?1:0),cn=cn+Qr,Fr=Fr+Hn+(cn>>>0<Qr>>>0?1:0),cn=cn+xs,Fr=Fr+Yl+(cn>>>0<xs>>>0?1:0),cn=cn+Ye,Fr=Fr+St+(cn>>>0<Ye>>>0?1:0),So=dr+Jr,Zl=bi+Qn+(So>>>0<dr>>>0?1:0);kt=dt,wt=Xe,dt=rt,Xe=ke,rt=Ue,ke=mt,mt=Ie+cn|0,Ue=We+Fr+(mt>>>0<Ie>>>0?1:0)|0,We=Se,Ie=Oe,Se=de,Oe=fe,de=pe,fe=J,J=cn+So|0,pe=Fr+Zl+(J>>>0<cn>>>0?1:0)|0}L=S.low=L+J,S.high=N+pe+(L>>>0<J>>>0?1:0),H=C.low=H+fe,C.high=I+de+(H>>>0<fe>>>0?1:0),K=E.low=K+Oe,E.high=W+Se+(K>>>0<Oe>>>0?1:0),ne=_.low=ne+Ie,_.high=Y+We+(ne>>>0<Ie>>>0?1:0),se=D.low=se+mt,D.high=ue+Ue+(se>>>0<mt>>>0?1:0),Z=A.low=Z+ke,A.high=ae+rt+(Z>>>0<ke>>>0?1:0),z=B.low=z+Xe,B.high=M+dt+(z>>>0<Xe>>>0?1:0),U=O.low=U+wt,O.high=X+kt+(U>>>0<wt>>>0?1:0)},_doFinalize:function(){var w=this._data,x=w.words,v=this._nDataBytes*8,S=w.sigBytes*8;x[S>>>5]|=128<<24-S%32,x[(S+128>>>10<<5)+30]=Math.floor(v/4294967296),x[(S+128>>>10<<5)+31]=v,w.sigBytes=x.length*4,this._process();var C=this._hash.toX32();return C},clone:function(){var w=a.clone.call(this);return w._hash=this._hash.clone(),w},blockSize:1024/32});r.SHA512=a._createHelper(g),r.HmacSHA512=a._createHmacHelper(g)}(),n.SHA512})}(B1)),B1.exports}var P1={exports:{}},r7;function IM(){return r7||(r7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),Kc(),n7())})(je,function(n){return function(){var r=n,i=r.x64,a=i.Word,l=i.WordArray,c=r.algo,u=c.SHA512,d=c.SHA384=u.extend({_doReset:function(){this._hash=new l.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var f=u._doFinalize.call(this);return f.sigBytes-=16,f}});r.SHA384=u._createHelper(d),r.HmacSHA384=u._createHmacHelper(d)}(),n.SHA384})}(P1)),P1.exports}var L1={exports:{}},i7;function MM(){return i7||(i7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),Kc())})(je,function(n){return function(r){var i=n,a=i.lib,l=a.WordArray,c=a.Hasher,u=i.x64,d=u.Word,f=i.algo,m=[],h=[],g=[];(function(){for(var v=1,S=0,C=0;C<24;C++){m[v+5*S]=(C+1)*(C+2)/2%64;var E=S%5,_=(2*v+3*S)%5;v=E,S=_}for(var v=0;v<5;v++)for(var S=0;S<5;S++)h[v+5*S]=S+(2*v+3*S)%5*5;for(var D=1,A=0;A<24;A++){for(var B=0,O=0,N=0;N<7;N++){if(D&1){var L=(1<<N)-1;L<32?O^=1<<L:B^=1<<L-32}D&128?D=D<<1^113:D<<=1}g[A]=d.create(B,O)}})();var w=[];(function(){for(var v=0;v<25;v++)w[v]=d.create()})();var x=f.SHA3=c.extend({cfg:c.cfg.extend({outputLength:512}),_doReset:function(){for(var v=this._state=[],S=0;S<25;S++)v[S]=new d.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(v,S){for(var C=this._state,E=this.blockSize/2,_=0;_<E;_++){var D=v[S+2*_],A=v[S+2*_+1];D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360;var B=C[_];B.high^=A,B.low^=D}for(var O=0;O<24;O++){for(var N=0;N<5;N++){for(var L=0,I=0,H=0;H<5;H++){var B=C[N+5*H];L^=B.high,I^=B.low}var W=w[N];W.high=L,W.low=I}for(var N=0;N<5;N++)for(var K=w[(N+4)%5],Y=w[(N+1)%5],ne=Y.high,ue=Y.low,L=K.high^(ne<<1|ue>>>31),I=K.low^(ue<<1|ne>>>31),H=0;H<5;H++){var B=C[N+5*H];B.high^=L,B.low^=I}for(var se=1;se<25;se++){var L,I,B=C[se],ae=B.high,Z=B.low,M=m[se];M<32?(L=ae<<M|Z>>>32-M,I=Z<<M|ae>>>32-M):(L=Z<<M-32|ae>>>64-M,I=ae<<M-32|Z>>>64-M);var z=w[h[se]];z.high=L,z.low=I}var X=w[0],U=C[0];X.high=U.high,X.low=U.low;for(var N=0;N<5;N++)for(var H=0;H<5;H++){var se=N+5*H,B=C[se],pe=w[se],J=w[(N+1)%5+5*H],de=w[(N+2)%5+5*H];B.high=pe.high^~J.high&de.high,B.low=pe.low^~J.low&de.low}var B=C[0],fe=g[O];B.high^=fe.high,B.low^=fe.low}},_doFinalize:function(){var v=this._data,S=v.words;this._nDataBytes*8;var C=v.sigBytes*8,E=this.blockSize*32;S[C>>>5]|=1<<24-C%32,S[(r.ceil((C+1)/E)*E>>>5)-1]|=128,v.sigBytes=S.length*4,this._process();for(var _=this._state,D=this.cfg.outputLength/8,A=D/8,B=[],O=0;O<A;O++){var N=_[O],L=N.high,I=N.low;L=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,B.push(I),B.push(L)}return new l.init(B,D)},clone:function(){for(var v=c.clone.call(this),S=v._state=this._state.slice(0),C=0;C<25;C++)S[C]=S[C].clone();return v}});i.SHA3=c._createHelper(x),i.HmacSHA3=c._createHmacHelper(x)}(Math),n.SHA3})}(L1)),L1.exports}var N1={exports:{}},o7;function $M(){return o7||(o7=1,function(e,t){(function(n,r){e.exports=r(ut())})(je,function(n){/** @preserve
|
|
2033
|
-
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
2034
|
-
|
|
2035
|
-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
2036
|
-
|
|
2037
|
-
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
2038
|
-
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
2039
|
-
|
|
2040
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2041
|
-
*/return function(r){var i=n,a=i.lib,l=a.WordArray,c=a.Hasher,u=i.algo,d=l.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),f=l.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),m=l.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),h=l.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),g=l.create([0,1518500249,1859775393,2400959708,2840853838]),w=l.create([1352829926,1548603684,1836072691,2053994217,0]),x=u.RIPEMD160=c.extend({_doReset:function(){this._hash=l.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(A,B){for(var O=0;O<16;O++){var N=B+O,L=A[N];A[N]=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360}var I=this._hash.words,H=g.words,W=w.words,K=d.words,Y=f.words,ne=m.words,ue=h.words,se,ae,Z,M,z,X,U,pe,J,de;X=se=I[0],U=ae=I[1],pe=Z=I[2],J=M=I[3],de=z=I[4];for(var fe,O=0;O<80;O+=1)fe=se+A[B+K[O]]|0,O<16?fe+=v(ae,Z,M)+H[0]:O<32?fe+=S(ae,Z,M)+H[1]:O<48?fe+=C(ae,Z,M)+H[2]:O<64?fe+=E(ae,Z,M)+H[3]:fe+=_(ae,Z,M)+H[4],fe=fe|0,fe=D(fe,ne[O]),fe=fe+z|0,se=z,z=M,M=D(Z,10),Z=ae,ae=fe,fe=X+A[B+Y[O]]|0,O<16?fe+=_(U,pe,J)+W[0]:O<32?fe+=E(U,pe,J)+W[1]:O<48?fe+=C(U,pe,J)+W[2]:O<64?fe+=S(U,pe,J)+W[3]:fe+=v(U,pe,J)+W[4],fe=fe|0,fe=D(fe,ue[O]),fe=fe+de|0,X=de,de=J,J=D(pe,10),pe=U,U=fe;fe=I[1]+Z+J|0,I[1]=I[2]+M+de|0,I[2]=I[3]+z+X|0,I[3]=I[4]+se+U|0,I[4]=I[0]+ae+pe|0,I[0]=fe},_doFinalize:function(){var A=this._data,B=A.words,O=this._nDataBytes*8,N=A.sigBytes*8;B[N>>>5]|=128<<24-N%32,B[(N+64>>>9<<4)+14]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,A.sigBytes=(B.length+1)*4,this._process();for(var L=this._hash,I=L.words,H=0;H<5;H++){var W=I[H];I[H]=(W<<8|W>>>24)&16711935|(W<<24|W>>>8)&4278255360}return L},clone:function(){var A=c.clone.call(this);return A._hash=this._hash.clone(),A}});function v(A,B,O){return A^B^O}function S(A,B,O){return A&B|~A&O}function C(A,B,O){return(A|~B)^O}function E(A,B,O){return A&O|B&~O}function _(A,B,O){return A^(B|~O)}function D(A,B){return A<<B|A>>>32-B}i.RIPEMD160=c._createHelper(x),i.HmacRIPEMD160=c._createHmacHelper(x)}(),n.RIPEMD160})}(N1)),N1.exports}var I1={exports:{}},a7;function M1(){return a7||(a7=1,function(e,t){(function(n,r){e.exports=r(ut())})(je,function(n){(function(){var r=n,i=r.lib,a=i.Base,l=r.enc,c=l.Utf8,u=r.algo;u.HMAC=a.extend({init:function(d,f){d=this._hasher=new d.init,typeof f=="string"&&(f=c.parse(f));var m=d.blockSize,h=m*4;f.sigBytes>h&&(f=d.finalize(f)),f.clamp();for(var g=this._oKey=f.clone(),w=this._iKey=f.clone(),x=g.words,v=w.words,S=0;S<m;S++)x[S]^=1549556828,v[S]^=909522486;g.sigBytes=w.sigBytes=h,this.reset()},reset:function(){var d=this._hasher;d.reset(),d.update(this._iKey)},update:function(d){return this._hasher.update(d),this},finalize:function(d){var f=this._hasher,m=f.finalize(d);f.reset();var h=f.finalize(this._oKey.clone().concat(m));return h}})})()})}(I1)),I1.exports}var $1={exports:{}},s7;function HM(){return s7||(s7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),T1(),M1())})(je,function(n){return function(){var r=n,i=r.lib,a=i.Base,l=i.WordArray,c=r.algo,u=c.SHA256,d=c.HMAC,f=c.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:u,iterations:25e4}),init:function(m){this.cfg=this.cfg.extend(m)},compute:function(m,h){for(var g=this.cfg,w=d.create(g.hasher,m),x=l.create(),v=l.create([1]),S=x.words,C=v.words,E=g.keySize,_=g.iterations;S.length<E;){var D=w.update(h).finalize(v);w.reset();for(var A=D.words,B=A.length,O=D,N=1;N<_;N++){O=w.finalize(O),w.reset();for(var L=O.words,I=0;I<B;I++)A[I]^=L[I]}x.concat(D),C[0]++}return x.sigBytes=E*4,x}});r.PBKDF2=function(m,h,g){return f.create(g).compute(m,h)}}(),n.PBKDF2})}($1)),$1.exports}var H1={exports:{}},l7;function Eo(){return l7||(l7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),Qv(),M1())})(je,function(n){return function(){var r=n,i=r.lib,a=i.Base,l=i.WordArray,c=r.algo,u=c.MD5,d=c.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:u,iterations:1}),init:function(f){this.cfg=this.cfg.extend(f)},compute:function(f,m){for(var h,g=this.cfg,w=g.hasher.create(),x=l.create(),v=x.words,S=g.keySize,C=g.iterations;v.length<S;){h&&w.update(h),h=w.update(f).finalize(m),w.reset();for(var E=1;E<C;E++)h=w.finalize(h),w.reset();x.concat(h)}return x.sigBytes=S*4,x}});r.EvpKDF=function(f,m,h){return d.create(h).compute(f,m)}}(),n.EvpKDF})}(H1)),H1.exports}var j1={exports:{}},c7;function hn(){return c7||(c7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),Eo())})(je,function(n){n.lib.Cipher||function(r){var i=n,a=i.lib,l=a.Base,c=a.WordArray,u=a.BufferedBlockAlgorithm,d=i.enc;d.Utf8;var f=d.Base64,m=i.algo,h=m.EvpKDF,g=a.Cipher=u.extend({cfg:l.extend(),createEncryptor:function(L,I){return this.create(this._ENC_XFORM_MODE,L,I)},createDecryptor:function(L,I){return this.create(this._DEC_XFORM_MODE,L,I)},init:function(L,I,H){this.cfg=this.cfg.extend(H),this._xformMode=L,this._key=I,this.reset()},reset:function(){u.reset.call(this),this._doReset()},process:function(L){return this._append(L),this._process()},finalize:function(L){L&&this._append(L);var I=this._doFinalize();return I},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function L(I){return typeof I=="string"?N:A}return function(I){return{encrypt:function(H,W,K){return L(W).encrypt(I,H,W,K)},decrypt:function(H,W,K){return L(W).decrypt(I,H,W,K)}}}}()});a.StreamCipher=g.extend({_doFinalize:function(){var L=this._process(!0);return L},blockSize:1});var w=i.mode={},x=a.BlockCipherMode=l.extend({createEncryptor:function(L,I){return this.Encryptor.create(L,I)},createDecryptor:function(L,I){return this.Decryptor.create(L,I)},init:function(L,I){this._cipher=L,this._iv=I}}),v=w.CBC=function(){var L=x.extend();L.Encryptor=L.extend({processBlock:function(H,W){var K=this._cipher,Y=K.blockSize;I.call(this,H,W,Y),K.encryptBlock(H,W),this._prevBlock=H.slice(W,W+Y)}}),L.Decryptor=L.extend({processBlock:function(H,W){var K=this._cipher,Y=K.blockSize,ne=H.slice(W,W+Y);K.decryptBlock(H,W),I.call(this,H,W,Y),this._prevBlock=ne}});function I(H,W,K){var Y,ne=this._iv;ne?(Y=ne,this._iv=r):Y=this._prevBlock;for(var ue=0;ue<K;ue++)H[W+ue]^=Y[ue]}return L}(),S=i.pad={},C=S.Pkcs7={pad:function(L,I){for(var H=I*4,W=H-L.sigBytes%H,K=W<<24|W<<16|W<<8|W,Y=[],ne=0;ne<W;ne+=4)Y.push(K);var ue=c.create(Y,W);L.concat(ue)},unpad:function(L){var I=L.words[L.sigBytes-1>>>2]&255;L.sigBytes-=I}};a.BlockCipher=g.extend({cfg:g.cfg.extend({mode:v,padding:C}),reset:function(){var L;g.reset.call(this);var I=this.cfg,H=I.iv,W=I.mode;this._xformMode==this._ENC_XFORM_MODE?L=W.createEncryptor:(L=W.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==L?this._mode.init(this,H&&H.words):(this._mode=L.call(W,this,H&&H.words),this._mode.__creator=L)},_doProcessBlock:function(L,I){this._mode.processBlock(L,I)},_doFinalize:function(){var L,I=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(I.pad(this._data,this.blockSize),L=this._process(!0)):(L=this._process(!0),I.unpad(L)),L},blockSize:128/32});var E=a.CipherParams=l.extend({init:function(L){this.mixIn(L)},toString:function(L){return(L||this.formatter).stringify(this)}}),_=i.format={},D=_.OpenSSL={stringify:function(L){var I,H=L.ciphertext,W=L.salt;return W?I=c.create([1398893684,1701076831]).concat(W).concat(H):I=H,I.toString(f)},parse:function(L){var I,H=f.parse(L),W=H.words;return W[0]==1398893684&&W[1]==1701076831&&(I=c.create(W.slice(2,4)),W.splice(0,4),H.sigBytes-=16),E.create({ciphertext:H,salt:I})}},A=a.SerializableCipher=l.extend({cfg:l.extend({format:D}),encrypt:function(L,I,H,W){W=this.cfg.extend(W);var K=L.createEncryptor(H,W),Y=K.finalize(I),ne=K.cfg;return E.create({ciphertext:Y,key:H,iv:ne.iv,algorithm:L,mode:ne.mode,padding:ne.padding,blockSize:L.blockSize,formatter:W.format})},decrypt:function(L,I,H,W){W=this.cfg.extend(W),I=this._parse(I,W.format);var K=L.createDecryptor(H,W).finalize(I.ciphertext);return K},_parse:function(L,I){return typeof L=="string"?I.parse(L,this):L}}),B=i.kdf={},O=B.OpenSSL={execute:function(L,I,H,W,K){if(W||(W=c.random(64/8)),K)var Y=h.create({keySize:I+H,hasher:K}).compute(L,W);else var Y=h.create({keySize:I+H}).compute(L,W);var ne=c.create(Y.words.slice(I),H*4);return Y.sigBytes=I*4,E.create({key:Y,iv:ne,salt:W})}},N=a.PasswordBasedCipher=A.extend({cfg:A.cfg.extend({kdf:O}),encrypt:function(L,I,H,W){W=this.cfg.extend(W);var K=W.kdf.execute(H,L.keySize,L.ivSize,W.salt,W.hasher);W.iv=K.iv;var Y=A.encrypt.call(this,L,I,K.key,W);return Y.mixIn(K),Y},decrypt:function(L,I,H,W){W=this.cfg.extend(W),I=this._parse(I,W.format);var K=W.kdf.execute(H,L.keySize,L.ivSize,I.salt,W.hasher);W.iv=K.iv;var Y=A.decrypt.call(this,L,I,K.key,W);return Y}})}()})}(j1)),j1.exports}var R1={exports:{}},u7;function jM(){return u7||(u7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),hn())})(je,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(a,l){var c=this._cipher,u=c.blockSize;i.call(this,a,l,u,c),this._prevBlock=a.slice(l,l+u)}}),r.Decryptor=r.extend({processBlock:function(a,l){var c=this._cipher,u=c.blockSize,d=a.slice(l,l+u);i.call(this,a,l,u,c),this._prevBlock=d}});function i(a,l,c,u){var d,f=this._iv;f?(d=f.slice(0),this._iv=void 0):d=this._prevBlock,u.encryptBlock(d,0);for(var m=0;m<c;m++)a[l+m]^=d[m]}return r}(),n.mode.CFB})}(R1)),R1.exports}var W1={exports:{}},d7;function RM(){return d7||(d7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),hn())})(je,function(n){return n.mode.CTR=function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(a,l){var c=this._cipher,u=c.blockSize,d=this._iv,f=this._counter;d&&(f=this._counter=d.slice(0),this._iv=void 0);var m=f.slice(0);c.encryptBlock(m,0),f[u-1]=f[u-1]+1|0;for(var h=0;h<u;h++)a[l+h]^=m[h]}});return r.Decryptor=i,r}(),n.mode.CTR})}(W1)),W1.exports}var U1={exports:{}},f7;function WM(){return f7||(f7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),hn())})(je,function(n){/** @preserve
|
|
2042
|
-
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
2043
|
-
* derived from CryptoJS.mode.CTR
|
|
2044
|
-
* Jan Hruby jhruby.web@gmail.com
|
|
2045
|
-
*/return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function i(c){if((c>>24&255)===255){var u=c>>16&255,d=c>>8&255,f=c&255;u===255?(u=0,d===255?(d=0,f===255?f=0:++f):++d):++u,c=0,c+=u<<16,c+=d<<8,c+=f}else c+=1<<24;return c}function a(c){return(c[0]=i(c[0]))===0&&(c[1]=i(c[1])),c}var l=r.Encryptor=r.extend({processBlock:function(c,u){var d=this._cipher,f=d.blockSize,m=this._iv,h=this._counter;m&&(h=this._counter=m.slice(0),this._iv=void 0),a(h);var g=h.slice(0);d.encryptBlock(g,0);for(var w=0;w<f;w++)c[u+w]^=g[w]}});return r.Decryptor=l,r}(),n.mode.CTRGladman})}(U1)),U1.exports}var z1={exports:{}},p7;function UM(){return p7||(p7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),hn())})(je,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(a,l){var c=this._cipher,u=c.blockSize,d=this._iv,f=this._keystream;d&&(f=this._keystream=d.slice(0),this._iv=void 0),c.encryptBlock(f,0);for(var m=0;m<u;m++)a[l+m]^=f[m]}});return r.Decryptor=i,r}(),n.mode.OFB})}(z1)),z1.exports}var V1={exports:{}},h7;function zM(){return h7||(h7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),hn())})(je,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(i,a){this._cipher.encryptBlock(i,a)}}),r.Decryptor=r.extend({processBlock:function(i,a){this._cipher.decryptBlock(i,a)}}),r}(),n.mode.ECB})}(V1)),V1.exports}var q1={exports:{}},m7;function VM(){return m7||(m7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),hn())})(je,function(n){return n.pad.AnsiX923={pad:function(r,i){var a=r.sigBytes,l=i*4,c=l-a%l,u=a+c-1;r.clamp(),r.words[u>>>2]|=c<<24-u%4*8,r.sigBytes+=c},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Ansix923})}(q1)),q1.exports}var Y1={exports:{}},v7;function qM(){return v7||(v7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),hn())})(je,function(n){return n.pad.Iso10126={pad:function(r,i){var a=i*4,l=a-r.sigBytes%a;r.concat(n.lib.WordArray.random(l-1)).concat(n.lib.WordArray.create([l<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Iso10126})}(Y1)),Y1.exports}var Z1={exports:{}},g7;function YM(){return g7||(g7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),hn())})(je,function(n){return n.pad.Iso97971={pad:function(r,i){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,i)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(Z1)),Z1.exports}var G1={exports:{}},x7;function ZM(){return x7||(x7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),hn())})(je,function(n){return n.pad.ZeroPadding={pad:function(r,i){var a=i*4;r.clamp(),r.sigBytes+=a-(r.sigBytes%a||a)},unpad:function(r){for(var i=r.words,a=r.sigBytes-1,a=r.sigBytes-1;a>=0;a--)if(i[a>>>2]>>>24-a%4*8&255){r.sigBytes=a+1;break}}},n.pad.ZeroPadding})}(G1)),G1.exports}var K1={exports:{}},b7;function GM(){return b7||(b7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),hn())})(je,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(K1)),K1.exports}var X1={exports:{}},y7;function KM(){return y7||(y7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),hn())})(je,function(n){return function(r){var i=n,a=i.lib,l=a.CipherParams,c=i.enc,u=c.Hex,d=i.format;d.Hex={stringify:function(f){return f.ciphertext.toString(u)},parse:function(f){var m=u.parse(f);return l.create({ciphertext:m})}}}(),n.format.Hex})}(X1)),X1.exports}var Q1={exports:{}},w7;function XM(){return w7||(w7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),sa(),la(),Eo(),hn())})(je,function(n){return function(){var r=n,i=r.lib,a=i.BlockCipher,l=r.algo,c=[],u=[],d=[],f=[],m=[],h=[],g=[],w=[],x=[],v=[];(function(){for(var E=[],_=0;_<256;_++)_<128?E[_]=_<<1:E[_]=_<<1^283;for(var D=0,A=0,_=0;_<256;_++){var B=A^A<<1^A<<2^A<<3^A<<4;B=B>>>8^B&255^99,c[D]=B,u[B]=D;var O=E[D],N=E[O],L=E[N],I=E[B]*257^B*16843008;d[D]=I<<24|I>>>8,f[D]=I<<16|I>>>16,m[D]=I<<8|I>>>24,h[D]=I;var I=L*16843009^N*65537^O*257^D*16843008;g[B]=I<<24|I>>>8,w[B]=I<<16|I>>>16,x[B]=I<<8|I>>>24,v[B]=I,D?(D=O^E[E[E[L^O]]],A^=E[E[A]]):D=A=1}})();var S=[0,1,2,4,8,16,32,64,128,27,54],C=l.AES=a.extend({_doReset:function(){var E;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var _=this._keyPriorReset=this._key,D=_.words,A=_.sigBytes/4,B=this._nRounds=A+6,O=(B+1)*4,N=this._keySchedule=[],L=0;L<O;L++)L<A?N[L]=D[L]:(E=N[L-1],L%A?A>6&&L%A==4&&(E=c[E>>>24]<<24|c[E>>>16&255]<<16|c[E>>>8&255]<<8|c[E&255]):(E=E<<8|E>>>24,E=c[E>>>24]<<24|c[E>>>16&255]<<16|c[E>>>8&255]<<8|c[E&255],E^=S[L/A|0]<<24),N[L]=N[L-A]^E);for(var I=this._invKeySchedule=[],H=0;H<O;H++){var L=O-H;if(H%4)var E=N[L];else var E=N[L-4];H<4||L<=4?I[H]=E:I[H]=g[c[E>>>24]]^w[c[E>>>16&255]]^x[c[E>>>8&255]]^v[c[E&255]]}}},encryptBlock:function(E,_){this._doCryptBlock(E,_,this._keySchedule,d,f,m,h,c)},decryptBlock:function(E,_){var D=E[_+1];E[_+1]=E[_+3],E[_+3]=D,this._doCryptBlock(E,_,this._invKeySchedule,g,w,x,v,u);var D=E[_+1];E[_+1]=E[_+3],E[_+3]=D},_doCryptBlock:function(E,_,D,A,B,O,N,L){for(var I=this._nRounds,H=E[_]^D[0],W=E[_+1]^D[1],K=E[_+2]^D[2],Y=E[_+3]^D[3],ne=4,ue=1;ue<I;ue++){var se=A[H>>>24]^B[W>>>16&255]^O[K>>>8&255]^N[Y&255]^D[ne++],ae=A[W>>>24]^B[K>>>16&255]^O[Y>>>8&255]^N[H&255]^D[ne++],Z=A[K>>>24]^B[Y>>>16&255]^O[H>>>8&255]^N[W&255]^D[ne++],M=A[Y>>>24]^B[H>>>16&255]^O[W>>>8&255]^N[K&255]^D[ne++];H=se,W=ae,K=Z,Y=M}var se=(L[H>>>24]<<24|L[W>>>16&255]<<16|L[K>>>8&255]<<8|L[Y&255])^D[ne++],ae=(L[W>>>24]<<24|L[K>>>16&255]<<16|L[Y>>>8&255]<<8|L[H&255])^D[ne++],Z=(L[K>>>24]<<24|L[Y>>>16&255]<<16|L[H>>>8&255]<<8|L[W&255])^D[ne++],M=(L[Y>>>24]<<24|L[H>>>16&255]<<16|L[W>>>8&255]<<8|L[K&255])^D[ne++];E[_]=se,E[_+1]=ae,E[_+2]=Z,E[_+3]=M},keySize:256/32});r.AES=a._createHelper(C)}(),n.AES})}(Q1)),Q1.exports}var J1={exports:{}},C7;function QM(){return C7||(C7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),sa(),la(),Eo(),hn())})(je,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,l=i.BlockCipher,c=r.algo,u=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],d=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],f=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],m=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],g=c.DES=l.extend({_doReset:function(){for(var S=this._key,C=S.words,E=[],_=0;_<56;_++){var D=u[_]-1;E[_]=C[D>>>5]>>>31-D%32&1}for(var A=this._subKeys=[],B=0;B<16;B++){for(var O=A[B]=[],N=f[B],_=0;_<24;_++)O[_/6|0]|=E[(d[_]-1+N)%28]<<31-_%6,O[4+(_/6|0)]|=E[28+(d[_+24]-1+N)%28]<<31-_%6;O[0]=O[0]<<1|O[0]>>>31;for(var _=1;_<7;_++)O[_]=O[_]>>>(_-1)*4+3;O[7]=O[7]<<5|O[7]>>>27}for(var L=this._invSubKeys=[],_=0;_<16;_++)L[_]=A[15-_]},encryptBlock:function(S,C){this._doCryptBlock(S,C,this._subKeys)},decryptBlock:function(S,C){this._doCryptBlock(S,C,this._invSubKeys)},_doCryptBlock:function(S,C,E){this._lBlock=S[C],this._rBlock=S[C+1],w.call(this,4,252645135),w.call(this,16,65535),x.call(this,2,858993459),x.call(this,8,16711935),w.call(this,1,1431655765);for(var _=0;_<16;_++){for(var D=E[_],A=this._lBlock,B=this._rBlock,O=0,N=0;N<8;N++)O|=m[N][((B^D[N])&h[N])>>>0];this._lBlock=B,this._rBlock=A^O}var L=this._lBlock;this._lBlock=this._rBlock,this._rBlock=L,w.call(this,1,1431655765),x.call(this,8,16711935),x.call(this,2,858993459),w.call(this,16,65535),w.call(this,4,252645135),S[C]=this._lBlock,S[C+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function w(S,C){var E=(this._lBlock>>>S^this._rBlock)&C;this._rBlock^=E,this._lBlock^=E<<S}function x(S,C){var E=(this._rBlock>>>S^this._lBlock)&C;this._lBlock^=E,this._rBlock^=E<<S}r.DES=l._createHelper(g);var v=c.TripleDES=l.extend({_doReset:function(){var S=this._key,C=S.words;if(C.length!==2&&C.length!==4&&C.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var E=C.slice(0,2),_=C.length<4?C.slice(0,2):C.slice(2,4),D=C.length<6?C.slice(0,2):C.slice(4,6);this._des1=g.createEncryptor(a.create(E)),this._des2=g.createEncryptor(a.create(_)),this._des3=g.createEncryptor(a.create(D))},encryptBlock:function(S,C){this._des1.encryptBlock(S,C),this._des2.decryptBlock(S,C),this._des3.encryptBlock(S,C)},decryptBlock:function(S,C){this._des3.decryptBlock(S,C),this._des2.encryptBlock(S,C),this._des1.decryptBlock(S,C)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=l._createHelper(v)}(),n.TripleDES})}(J1)),J1.exports}var ep={exports:{}},E7;function JM(){return E7||(E7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),sa(),la(),Eo(),hn())})(je,function(n){return function(){var r=n,i=r.lib,a=i.StreamCipher,l=r.algo,c=l.RC4=a.extend({_doReset:function(){for(var f=this._key,m=f.words,h=f.sigBytes,g=this._S=[],w=0;w<256;w++)g[w]=w;for(var w=0,x=0;w<256;w++){var v=w%h,S=m[v>>>2]>>>24-v%4*8&255;x=(x+g[w]+S)%256;var C=g[w];g[w]=g[x],g[x]=C}this._i=this._j=0},_doProcessBlock:function(f,m){f[m]^=u.call(this)},keySize:256/32,ivSize:0});function u(){for(var f=this._S,m=this._i,h=this._j,g=0,w=0;w<4;w++){m=(m+1)%256,h=(h+f[m])%256;var x=f[m];f[m]=f[h],f[h]=x,g|=f[(f[m]+f[h])%256]<<24-w*8}return this._i=m,this._j=h,g}r.RC4=a._createHelper(c);var d=l.RC4Drop=c.extend({cfg:c.cfg.extend({drop:192}),_doReset:function(){c._doReset.call(this);for(var f=this.cfg.drop;f>0;f--)u.call(this)}});r.RC4Drop=a._createHelper(d)}(),n.RC4})}(ep)),ep.exports}var tp={exports:{}},_7;function e$(){return _7||(_7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),sa(),la(),Eo(),hn())})(je,function(n){return function(){var r=n,i=r.lib,a=i.StreamCipher,l=r.algo,c=[],u=[],d=[],f=l.Rabbit=a.extend({_doReset:function(){for(var h=this._key.words,g=this.cfg.iv,w=0;w<4;w++)h[w]=(h[w]<<8|h[w]>>>24)&16711935|(h[w]<<24|h[w]>>>8)&4278255360;var x=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],v=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var w=0;w<4;w++)m.call(this);for(var w=0;w<8;w++)v[w]^=x[w+4&7];if(g){var S=g.words,C=S[0],E=S[1],_=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,D=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,A=_>>>16|D&4294901760,B=D<<16|_&65535;v[0]^=_,v[1]^=A,v[2]^=D,v[3]^=B,v[4]^=_,v[5]^=A,v[6]^=D,v[7]^=B;for(var w=0;w<4;w++)m.call(this)}},_doProcessBlock:function(h,g){var w=this._X;m.call(this),c[0]=w[0]^w[5]>>>16^w[3]<<16,c[1]=w[2]^w[7]>>>16^w[5]<<16,c[2]=w[4]^w[1]>>>16^w[7]<<16,c[3]=w[6]^w[3]>>>16^w[1]<<16;for(var x=0;x<4;x++)c[x]=(c[x]<<8|c[x]>>>24)&16711935|(c[x]<<24|c[x]>>>8)&4278255360,h[g+x]^=c[x]},blockSize:128/32,ivSize:64/32});function m(){for(var h=this._X,g=this._C,w=0;w<8;w++)u[w]=g[w];g[0]=g[0]+1295307597+this._b|0,g[1]=g[1]+3545052371+(g[0]>>>0<u[0]>>>0?1:0)|0,g[2]=g[2]+886263092+(g[1]>>>0<u[1]>>>0?1:0)|0,g[3]=g[3]+1295307597+(g[2]>>>0<u[2]>>>0?1:0)|0,g[4]=g[4]+3545052371+(g[3]>>>0<u[3]>>>0?1:0)|0,g[5]=g[5]+886263092+(g[4]>>>0<u[4]>>>0?1:0)|0,g[6]=g[6]+1295307597+(g[5]>>>0<u[5]>>>0?1:0)|0,g[7]=g[7]+3545052371+(g[6]>>>0<u[6]>>>0?1:0)|0,this._b=g[7]>>>0<u[7]>>>0?1:0;for(var w=0;w<8;w++){var x=h[w]+g[w],v=x&65535,S=x>>>16,C=((v*v>>>17)+v*S>>>15)+S*S,E=((x&4294901760)*x|0)+((x&65535)*x|0);d[w]=C^E}h[0]=d[0]+(d[7]<<16|d[7]>>>16)+(d[6]<<16|d[6]>>>16)|0,h[1]=d[1]+(d[0]<<8|d[0]>>>24)+d[7]|0,h[2]=d[2]+(d[1]<<16|d[1]>>>16)+(d[0]<<16|d[0]>>>16)|0,h[3]=d[3]+(d[2]<<8|d[2]>>>24)+d[1]|0,h[4]=d[4]+(d[3]<<16|d[3]>>>16)+(d[2]<<16|d[2]>>>16)|0,h[5]=d[5]+(d[4]<<8|d[4]>>>24)+d[3]|0,h[6]=d[6]+(d[5]<<16|d[5]>>>16)+(d[4]<<16|d[4]>>>16)|0,h[7]=d[7]+(d[6]<<8|d[6]>>>24)+d[5]|0}r.Rabbit=a._createHelper(f)}(),n.Rabbit})}(tp)),tp.exports}var np={exports:{}},S7;function t$(){return S7||(S7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),sa(),la(),Eo(),hn())})(je,function(n){return function(){var r=n,i=r.lib,a=i.StreamCipher,l=r.algo,c=[],u=[],d=[],f=l.RabbitLegacy=a.extend({_doReset:function(){var h=this._key.words,g=this.cfg.iv,w=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],x=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var v=0;v<4;v++)m.call(this);for(var v=0;v<8;v++)x[v]^=w[v+4&7];if(g){var S=g.words,C=S[0],E=S[1],_=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,D=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,A=_>>>16|D&4294901760,B=D<<16|_&65535;x[0]^=_,x[1]^=A,x[2]^=D,x[3]^=B,x[4]^=_,x[5]^=A,x[6]^=D,x[7]^=B;for(var v=0;v<4;v++)m.call(this)}},_doProcessBlock:function(h,g){var w=this._X;m.call(this),c[0]=w[0]^w[5]>>>16^w[3]<<16,c[1]=w[2]^w[7]>>>16^w[5]<<16,c[2]=w[4]^w[1]>>>16^w[7]<<16,c[3]=w[6]^w[3]>>>16^w[1]<<16;for(var x=0;x<4;x++)c[x]=(c[x]<<8|c[x]>>>24)&16711935|(c[x]<<24|c[x]>>>8)&4278255360,h[g+x]^=c[x]},blockSize:128/32,ivSize:64/32});function m(){for(var h=this._X,g=this._C,w=0;w<8;w++)u[w]=g[w];g[0]=g[0]+1295307597+this._b|0,g[1]=g[1]+3545052371+(g[0]>>>0<u[0]>>>0?1:0)|0,g[2]=g[2]+886263092+(g[1]>>>0<u[1]>>>0?1:0)|0,g[3]=g[3]+1295307597+(g[2]>>>0<u[2]>>>0?1:0)|0,g[4]=g[4]+3545052371+(g[3]>>>0<u[3]>>>0?1:0)|0,g[5]=g[5]+886263092+(g[4]>>>0<u[4]>>>0?1:0)|0,g[6]=g[6]+1295307597+(g[5]>>>0<u[5]>>>0?1:0)|0,g[7]=g[7]+3545052371+(g[6]>>>0<u[6]>>>0?1:0)|0,this._b=g[7]>>>0<u[7]>>>0?1:0;for(var w=0;w<8;w++){var x=h[w]+g[w],v=x&65535,S=x>>>16,C=((v*v>>>17)+v*S>>>15)+S*S,E=((x&4294901760)*x|0)+((x&65535)*x|0);d[w]=C^E}h[0]=d[0]+(d[7]<<16|d[7]>>>16)+(d[6]<<16|d[6]>>>16)|0,h[1]=d[1]+(d[0]<<8|d[0]>>>24)+d[7]|0,h[2]=d[2]+(d[1]<<16|d[1]>>>16)+(d[0]<<16|d[0]>>>16)|0,h[3]=d[3]+(d[2]<<8|d[2]>>>24)+d[1]|0,h[4]=d[4]+(d[3]<<16|d[3]>>>16)+(d[2]<<16|d[2]>>>16)|0,h[5]=d[5]+(d[4]<<8|d[4]>>>24)+d[3]|0,h[6]=d[6]+(d[5]<<16|d[5]>>>16)+(d[4]<<16|d[4]>>>16)|0,h[7]=d[7]+(d[6]<<8|d[6]>>>24)+d[5]|0}r.RabbitLegacy=a._createHelper(f)}(),n.RabbitLegacy})}(np)),np.exports}var rp={exports:{}},A7;function n$(){return A7||(A7=1,function(e,t){(function(n,r,i){e.exports=r(ut(),sa(),la(),Eo(),hn())})(je,function(n){return function(){var r=n,i=r.lib,a=i.BlockCipher,l=r.algo;const c=16,u=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],d=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var f={pbox:[],sbox:[]};function m(v,S){let C=S>>24&255,E=S>>16&255,_=S>>8&255,D=S&255,A=v.sbox[0][C]+v.sbox[1][E];return A=A^v.sbox[2][_],A=A+v.sbox[3][D],A}function h(v,S,C){let E=S,_=C,D;for(let A=0;A<c;++A)E=E^v.pbox[A],_=m(v,E)^_,D=E,E=_,_=D;return D=E,E=_,_=D,_=_^v.pbox[c],E=E^v.pbox[c+1],{left:E,right:_}}function g(v,S,C){let E=S,_=C,D;for(let A=c+1;A>1;--A)E=E^v.pbox[A],_=m(v,E)^_,D=E,E=_,_=D;return D=E,E=_,_=D,_=_^v.pbox[1],E=E^v.pbox[0],{left:E,right:_}}function w(v,S,C){for(let B=0;B<4;B++){v.sbox[B]=[];for(let O=0;O<256;O++)v.sbox[B][O]=d[B][O]}let E=0;for(let B=0;B<c+2;B++)v.pbox[B]=u[B]^S[E],E++,E>=C&&(E=0);let _=0,D=0,A=0;for(let B=0;B<c+2;B+=2)A=h(v,_,D),_=A.left,D=A.right,v.pbox[B]=_,v.pbox[B+1]=D;for(let B=0;B<4;B++)for(let O=0;O<256;O+=2)A=h(v,_,D),_=A.left,D=A.right,v.sbox[B][O]=_,v.sbox[B][O+1]=D;return!0}var x=l.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var v=this._keyPriorReset=this._key,S=v.words,C=v.sigBytes/4;w(f,S,C)}},encryptBlock:function(v,S){var C=h(f,v[S],v[S+1]);v[S]=C.left,v[S+1]=C.right},decryptBlock:function(v,S){var C=g(f,v[S],v[S+1]);v[S]=C.left,v[S+1]=C.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=a._createHelper(x)}(),n.Blowfish})}(rp)),rp.exports}(function(e,t){(function(n,r,i){e.exports=r(ut(),Kc(),BM(),PM(),sa(),LM(),la(),Qv(),T1(),NM(),n7(),IM(),MM(),$M(),M1(),HM(),Eo(),hn(),jM(),RM(),WM(),UM(),zM(),VM(),qM(),YM(),ZM(),GM(),KM(),XM(),QM(),JM(),e$(),t$(),n$())})(je,function(n){return n})})(Uv);var r$=Uv.exports;const ip=t2(r$),Xc={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},op=new Map,Qc=e=>{const t=op.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([n,r])=>[n,r.getState()])):{}},i$=(e,t,n)=>{if(e===void 0)return{type:"untracked",connection:t.connect(n)};const r=op.get(n.name);if(r)return{type:"tracked",store:e,...r};const i={connection:t.connect(n),stores:{}};return op.set(n.name,i),{type:"tracked",store:e,...i}},o$=(e,t={})=>(n,r,i)=>{const{enabled:a,anonymousActionType:l,store:c,...u}=t;let d;try{d=(a??(Xc?"production":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!d)return(Xc?"production":void 0)!=="production"&&a&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,i);const{connection:f,...m}=i$(c,d,u);let h=!0;i.setState=(x,v,S)=>{const C=n(x,v);if(!h)return C;const E=S===void 0?{type:l||"anonymous"}:typeof S=="string"?{type:S}:S;return c===void 0?(f==null||f.send(E,r()),C):(f==null||f.send({...E,type:`${c}/${E.type}`},{...Qc(u.name),[c]:i.getState()}),C)};const g=(...x)=>{const v=h;h=!1,n(...x),h=v},w=e(i.setState,r,i);if(m.type==="untracked"?f==null||f.init(w):(m.stores[m.store]=i,f==null||f.init(Object.fromEntries(Object.entries(m.stores).map(([x,v])=>[x,x===m.store?w:v.getState()])))),i.dispatchFromDevtools&&typeof i.dispatch=="function"){let x=!1;const v=i.dispatch;i.dispatch=(...S)=>{(Xc?"production":void 0)!=="production"&&S[0].type==="__setState"&&!x&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),x=!0),v(...S)}}return f.subscribe(x=>{var v;switch(x.type){case"ACTION":if(typeof x.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return ap(x.payload,S=>{if(S.type==="__setState"){if(c===void 0){g(S.state);return}Object.keys(S.state).length!==1&&console.error(`
|
|
2046
|
-
[zustand devtools middleware] Unsupported __setState action format.
|
|
2047
|
-
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
|
|
2048
|
-
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
|
|
2049
|
-
`);const C=S.state[c];if(C==null)return;JSON.stringify(i.getState())!==JSON.stringify(C)&&g(C);return}i.dispatchFromDevtools&&typeof i.dispatch=="function"&&i.dispatch(S)});case"DISPATCH":switch(x.payload.type){case"RESET":return g(w),c===void 0?f==null?void 0:f.init(i.getState()):f==null?void 0:f.init(Qc(u.name));case"COMMIT":if(c===void 0){f==null||f.init(i.getState());return}return f==null?void 0:f.init(Qc(u.name));case"ROLLBACK":return ap(x.state,S=>{if(c===void 0){g(S),f==null||f.init(i.getState());return}g(S[c]),f==null||f.init(Qc(u.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return ap(x.state,S=>{if(c===void 0){g(S);return}JSON.stringify(i.getState())!==JSON.stringify(S[c])&&g(S[c])});case"IMPORT_STATE":{const{nextLiftedState:S}=x.payload,C=(v=S.computedStates.slice(-1)[0])==null?void 0:v.state;if(!C)return;g(c===void 0?C:C[c]),f==null||f.send(null,S);return}case"PAUSE_RECORDING":return h=!h}return}}),w},ap=(e,t)=>{let n;try{n=JSON.parse(e)}catch(r){console.error("[zustand devtools middleware] Could not parse the received json",r)}n!==void 0&&t(n)};function k7(e,t){let n;try{n=e()}catch{return}return{getItem:i=>{var a;const l=u=>u===null?null:JSON.parse(u,void 0),c=(a=n.getItem(i))!=null?a:null;return c instanceof Promise?c.then(l):l(c)},setItem:(i,a)=>n.setItem(i,JSON.stringify(a,void 0)),removeItem:i=>n.removeItem(i)}}const Ul=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return Ul(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return Ul(r)(n)}}}},a$=(e,t)=>(n,r,i)=>{let a={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:v=>v,version:0,merge:(v,S)=>({...S,...v}),...t},l=!1;const c=new Set,u=new Set;let d;try{d=a.getStorage()}catch{}if(!d)return e((...v)=>{console.warn(`[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`),n(...v)},r,i);const f=Ul(a.serialize),m=()=>{const v=a.partialize({...r()});let S;const C=f({state:v,version:a.version}).then(E=>d.setItem(a.name,E)).catch(E=>{S=E});if(S)throw S;return C},h=i.setState;i.setState=(v,S)=>{h(v,S),m()};const g=e((...v)=>{n(...v),m()},r,i);let w;const x=()=>{var v;if(!d)return;l=!1,c.forEach(C=>C(r()));const S=((v=a.onRehydrateStorage)==null?void 0:v.call(a,r()))||void 0;return Ul(d.getItem.bind(d))(a.name).then(C=>{if(C)return a.deserialize(C)}).then(C=>{if(C)if(typeof C.version=="number"&&C.version!==a.version){if(a.migrate)return a.migrate(C.state,C.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return C.state}).then(C=>{var E;return w=a.merge(C,(E=r())!=null?E:g),n(w,!0),m()}).then(()=>{S==null||S(w,void 0),l=!0,u.forEach(C=>C(w))}).catch(C=>{S==null||S(void 0,C)})};return i.persist={setOptions:v=>{a={...a,...v},v.getStorage&&(d=v.getStorage())},clearStorage:()=>{d==null||d.removeItem(a.name)},getOptions:()=>a,rehydrate:()=>x(),hasHydrated:()=>l,onHydrate:v=>(c.add(v),()=>{c.delete(v)}),onFinishHydration:v=>(u.add(v),()=>{u.delete(v)})},x(),w||g},s$=(e,t)=>(n,r,i)=>{let a={storage:k7(()=>localStorage),partialize:x=>x,version:0,merge:(x,v)=>({...v,...x}),...t},l=!1;const c=new Set,u=new Set;let d=a.storage;if(!d)return e((...x)=>{console.warn(`[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`),n(...x)},r,i);const f=()=>{const x=a.partialize({...r()});return d.setItem(a.name,{state:x,version:a.version})},m=i.setState;i.setState=(x,v)=>{m(x,v),f()};const h=e((...x)=>{n(...x),f()},r,i);i.getInitialState=()=>h;let g;const w=()=>{var x,v;if(!d)return;l=!1,c.forEach(C=>{var E;return C((E=r())!=null?E:h)});const S=((v=a.onRehydrateStorage)==null?void 0:v.call(a,(x=r())!=null?x:h))||void 0;return Ul(d.getItem.bind(d))(a.name).then(C=>{if(C)if(typeof C.version=="number"&&C.version!==a.version){if(a.migrate)return[!0,a.migrate(C.state,C.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,C.state];return[!1,void 0]}).then(C=>{var E;const[_,D]=C;if(g=a.merge(D,(E=r())!=null?E:h),n(g,!0),_)return f()}).then(()=>{S==null||S(g,void 0),g=r(),l=!0,u.forEach(C=>C(g))}).catch(C=>{S==null||S(void 0,C)})};return i.persist={setOptions:x=>{a={...a,...x},x.storage&&(d=x.storage)},clearStorage:()=>{d==null||d.removeItem(a.name)},getOptions:()=>a,rehydrate:()=>w(),hasHydrated:()=>l,onHydrate:x=>(c.add(x),()=>{c.delete(x)}),onFinishHydration:x=>(u.add(x),()=>{u.delete(x)})},a.skipHydration||w(),g||h},l$=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((Xc?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),a$(e,t)):s$(e,t),D7="HA6NDXoc9#!cC§pY",sp={api:null,info:null,user:null,error:null,session:null,active:!1,hasHydrated:!1},c$=b1()(o$(l$((e,t)=>({...sp,setUser:async(n,r)=>{n&&e({user:r??null,session:n})},reset:()=>{e({...sp})},setHydrated(n){e({hasHydrated:n})},sync:async(n,r)=>{const{api:i,session:a}=t();if(i)try{const l=r??(a==null?void 0:a.refreshToken),c=`Bearer ${n??(a==null?void 0:a.token)}`;if(a!=null&&a.refreshToken&&(a!=null&&a.token)){const{status:u,data:d}=await i.get("/api/sso/session",{headers:{Authorization:c,"X-Access-Token":l}});if(u===uo.Ok||u===uo.Created){const f={token:d==null?void 0:d.result.token,refreshToken:a==null?void 0:a.refreshToken};e({active:!0,session:f,user:d==null?void 0:d.result,info:y1(d==null?void 0:d.result.token)})}}else{const u=new Error("Invalid session");e({user:null,info:null,error:u,active:!1,session:null})}}catch(l){e({error:l})}},attempt:async(n,r)=>{var i;if(n&&r!=null&&r.token&&r!=null&&r.refreshToken){const{api:a}=t();if(a)try{const{status:l,data:c}=await a.get("/api/sso/session",{headers:{"X-Access-Token":r==null?void 0:r.refreshToken,Authorization:`Bearer ${r==null?void 0:r.token}`}});if(l===uo.Ok||l===uo.Created){const u={token:c==null?void 0:c.result.token,refreshToken:r==null?void 0:r.refreshToken};return e({active:!0,session:u,user:c==null?void 0:c.result,info:y1((i=c==null?void 0:c.result)==null?void 0:i.token)}),c}else{const u=new Error("Invalid session");e({error:u,user:null,info:null,session:null,active:!1})}}catch(l){e({error:l})}}},login:async(n,r)=>{var a;const{api:i}=t();if(i)try{const{status:l,data:c}=await i.get("/api/sso/session",{headers:{"X-Access-Token":r,Authorization:`Bearer ${n}`}});if(l===uo.Ok||l===uo.Created){const u={token:(a=c==null?void 0:c.result)==null?void 0:a.token,refreshToken:r};e({active:!0,session:u,user:c==null?void 0:c.result,info:y1(c==null?void 0:c.result.token)})}else throw new Error("Invalid session");return c}catch(l){e({error:l})}},setError:n=>e({error:n}),setHttp:n=>{const r=new Td(n);e({api:r})}}),{name:"@ccc/store",storage:k7(()=>localStorage),onRehydrateStorage(){return e=>{if(e!=null&&e.hasHydrated)return{...e,hasHydrated:!0}}},partialize:e=>({info:e.info,user:e.user,session:e.session}),serialize:e=>{const{stringify:t}=JSON,n=t(e);return ip.AES.encrypt(n,D7).toString()},deserialize:e=>{const{parse:t}=JSON,n=ip.AES.decrypt(e,D7);return t(n.toString(ip.enc.Utf8))}}))),O7=[],u$=e=>{if(e===void 0)return b1;const t=b1(e),n=t.getState();return O7.push(()=>{t.setState(n,!0)}),t},d$=()=>{for(const e of O7)e()};var ms;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ms||(ms={}));var T7=process.env.NODE_ENV!=="production"?function(e){return Object.freeze(e)}:function(e){return e};function f$(e,t){{typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}var F7="beforeunload",p$="popstate";function h$(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,i=r.history;function a(){var B=r.location,O=B.pathname,N=B.search,L=B.hash,I=i.state||{};return[I.idx,T7({pathname:O,search:N,hash:L,state:I.usr||null,key:I.key||"default"})]}var l=null;function c(){if(l)g.call(l),l=null;else{var B=ms.Pop,O=a(),N=O[0],L=O[1];if(g.length)if(N!=null){var I=f-N;I&&(l={action:B,location:L,retry:function(){D(I*-1)}},D(I))}else process.env.NODE_ENV!=="production"&&f$(!1,"You are trying to block a POP navigation to a location that was not created by the history library. The block will fail silently in production, but in general you should do all navigation with the history library (instead of using window.history.pushState directly) to avoid this situation.");else C(B)}}r.addEventListener(p$,c);var u=ms.Pop,d=a(),f=d[0],m=d[1],h=P7(),g=P7();f==null&&(f=0,i.replaceState(_a({},i.state,{idx:f}),""));function w(B){return typeof B=="string"?B:v$(B)}function x(B,O){return O===void 0&&(O=null),T7(_a({pathname:m.pathname,hash:"",search:""},typeof B=="string"?g$(B):B,{state:O,key:m$()}))}function v(B,O){return[{usr:B.state,key:B.key,idx:O},w(B)]}function S(B,O,N){return!g.length||(g.call({action:B,location:O,retry:N}),!1)}function C(B){u=B;var O=a();f=O[0],m=O[1],h.call({action:u,location:m})}function E(B,O){var N=ms.Push,L=x(B,O);function I(){E(B,O)}if(S(N,L,I)){var H=v(L,f+1),W=H[0],K=H[1];try{i.pushState(W,"",K)}catch{r.location.assign(K)}C(N)}}function _(B,O){var N=ms.Replace,L=x(B,O);function I(){_(B,O)}if(S(N,L,I)){var H=v(L,f),W=H[0],K=H[1];i.replaceState(W,"",K),C(N)}}function D(B){i.go(B)}var A={get action(){return u},get location(){return m},createHref:w,push:E,replace:_,go:D,back:function(){D(-1)},forward:function(){D(1)},listen:function(O){return h.push(O)},block:function(O){var N=g.push(O);return g.length===1&&r.addEventListener(F7,B7),function(){N(),g.length||r.removeEventListener(F7,B7)}}};return A}function B7(e){e.preventDefault(),e.returnValue=""}function P7(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function m$(){return Math.random().toString(36).substr(2,8)}function v$(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,i=r===void 0?"":r,a=e.hash,l=a===void 0?"":a;return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),l&&l!=="#"&&(n+=l.charAt(0)==="#"?l:"#"+l),n}function g$(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var lp=(e=>(e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR",e))(lp||{}),L7=(e=>(e.INFO="#4caf50",e.WARN="#ff9800",e.ERROR="#f44336",e.DEBUG="#2196f3",e))(L7||{});class cp{constructor(t=1,n=!1){vn(this,"logLevel");vn(this,"isDevelopment");vn(this,"logs");this.logLevel=t,this.isDevelopment=n,this.logs=[]}debug(t,...n){this.logLevel<=0&&this.log("🐛",t,"#2196f3",...n)}info(t,...n){this.logLevel<=1&&this.log("ℹ️",t,"#4caf50",...n)}warn(t,...n){this.logLevel<=2&&this.log("⚠️",t,"#ff9800",...n)}error(t,...n){this.logLevel<=3&&this.log("🚨",t,"#f44336",...n)}log(t,n,r,...i){const a=`${t} ${n}`,l=`%c ${a}`,c=[`color: ${r}`,...i];this.isDevelopment&&console.log(l,...c),this.logs.push(a)}getLogs(){return this.logs}}const x$=["otic","otec","empresa"],b$=e=>{const t=x$.find(n=>e.includes(n));return(t==null?void 0:t.toLowerCase())==="empresa"?"cliente":t??""},N7=()=>Date.now()/1e3,y$=e=>60*e*1e3,I7=e=>e??"",vs=new cp(lp.DEBUG,!0),w$=T.memo(e=>{var B;const{app:t,layout:n=!0,navbar:r=()=>!0,sidebar:i=()=>!0,footer:a,navigation:l,environment:c,modalExpired:u,observerToken:d=!0,previousPath:f=!1,includeNavbarDropdown:m}=e,[h,g]=T.useState({}),[w,x]=T.useState(!0),v=T.useRef(h$()),S=T.useRef(0),C=T.useRef(!0);Pv(Co.ON_CONNECT_APP,()=>{x(!0)},t);const E=T.useCallback(O=>{O&&g(O)},[]),_=T.useCallback(async O=>{var N;C.current&&(C.current=!1,await za.fire({icon:"warning",text:"No tiene permisos para acceder a este recurso",title:"Acceso denegado",showCloseButton:!0,showCancelButton:!1,showConfirmButton:!1}),(N=v.current)==null||N.push({pathname:O}),C.current=!0)},[]);T.useEffect(()=>{typeof e.loading=="boolean"&&x(e.loading)},[e.loading]),T.useEffect(()=>{var O,N,L,I;if(d){if((O=h==null?void 0:h.info)!=null&&O.exp){const H=N7();vs.info("Token status",{now:H,expiresAt:(N=h==null?void 0:h.info)==null?void 0:N.exp,shouldExpire:((L=h==null?void 0:h.info)==null?void 0:L.exp)<H}),((I=h==null?void 0:h.info)==null?void 0:I.exp)<H&&(vs.warn("Token expired",Co.SSO_EXPIRED),Rl(Co.SSO_EXPIRED,"Su sesión ha expirado, por favor vuelva a iniciar sesión"),u&&D()),S.current=setInterval(()=>{var K,Y,ne,ue;const W=N7();(K=h==null?void 0:h.info)!=null&&K.exp&&(vs.info("Token status",{expiresAt:(Y=h==null?void 0:h.info)==null?void 0:Y.exp,now:W,shouldExpire:((ne=h==null?void 0:h.info)==null?void 0:ne.exp)<W}),((ue=h==null?void 0:h.info)==null?void 0:ue.exp)<W&&(vs.warn("Token expired",Co.SSO_EXPIRED),Rl(Co.SSO_EXPIRED,"Su sesión ha expirado, por favor vuelva a iniciar sesión"),u&&D()))},y$(1))}return()=>{clearInterval(S.current),S.current=0}}},[(B=h==null?void 0:h.info)==null?void 0:B.exp,d,u]),T.useEffect(()=>{d&&(f1(Co.SIGNAL,O=>{vs.info("MicrofrontHost: useObserver: signal: ",O),g(O),x(!1)}),vs.info("MicrofrontHost: useEffect: broadcast: ",t))},[t,d]);const D=async()=>{var O;await za.fire({icon:"error",position:"top",text:"Tu sesión ha expirado, por favor inicia sesión nuevamente",showCloseButton:!0,showConfirmButton:!1}),(O=v.current)==null||O.push("/login")},A=T.useMemo(()=>{var O,N,L,I;return{...h,loading:w,onSignal:E,onAcessDenied:_,history:v.current,environment:c,ref:{lastName:I7((O=h==null?void 0:h.user)==null?void 0:O.lastName),firstName:I7((N=h==null?void 0:h.user)==null?void 0:N.firstName),role:b$(((I=(L=h==null?void 0:h.info)==null?void 0:L.realm_access)==null?void 0:I.roles)??[])}}},[h,w,c,E,_]);return b.jsx(Va.Provider,{value:A,children:n?b.jsx(g8,{menu:l,includeNavbar:r==null?void 0:r(h,w),includeSidebar:i==null?void 0:i(h,w),includeNavbarDropdown:m,previousPath:f,includeFooter:a,children:w?b.jsx(yf,{status:!0}):e.children}):b.jsx(b.Fragment,{children:w?b.jsx(yf,{status:!0}):e.children})})});var M7=(e=>(e.INDEX="@app/index",e.WELCOME="@app/welcome",e.DASHBOARD="@app/dashboard",e.SERVICE_DASHBOARD="@app/serviceDashboard",e.BACKOFFICE="@app/backoffice",e.INSCRIPTIONS="@app/inscriptions",e.COMMUNICATION="@app/communication",e.MONITORING="@app/monitoring",e))(M7||{}),$7=(e=>(e.IB="Integra Negocio",e.SP="Sistema de Perfilamiento v2",e))($7||{});const H7=T.memo(({allow:e,grants:t,children:n})=>{var u;const r=T.useContext(Va),i=new cp(void 0,t==null?void 0:t.debug),[a,l]=T.useState(!1);T.useEffect(()=>{var d,f;(f=(d=r==null?void 0:r.user)==null?void 0:d.systems)!=null&&f.length&&c(r)},[(u=r==null?void 0:r.user)==null?void 0:u.systems]);const c=T.useCallback(async d=>{var m,h;const f=(h=(m=d==null?void 0:d.user)==null?void 0:m.systems)==null?void 0:h.find(g=>g.name===(t==null?void 0:t.system));i.debug("ref:",f),f!=null&&f.functions&&(f.functions.filter(w=>{const x=w==null?void 0:w.key;return e==null?void 0:e.includes(x)}).length===(e==null?void 0:e.length)?l(!0):(i.debug("denied"),r!=null&&r.onAcessDenied&&(r==null||r.onAcessDenied(t==null?void 0:t.redirect))))},[t==null?void 0:t.system,t==null?void 0:t.debug,e]);return b.jsx(b.Fragment,{children:a?n:null})});H7.defaultProps={allow:[],grants:{debug:!1,system:"Integra Negocio",redirect:"/dashboard",popup:{text:"You don't have the required permissions to access this page.",title:"Access Denied"}}};class up{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){const n={listener:t};return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const Jc=typeof window>"u"||"Deno"in window;function C$(){}function j7(e){return typeof e=="number"&&e>=0&&e!==1/0}function E$(e,t){return Math.max(e+(t||0)-Date.now(),0)}function _$(e,t,n){return S$(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function R7(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=W7(e)&&W7(t);if(r||U7(e)&&U7(t)){const i=r?e.length:Object.keys(e).length,a=r?t:Object.keys(t),l=a.length,c=r?[]:{};let u=0;for(let d=0;d<l;d++){const f=r?d:a[d];c[f]=R7(e[f],t[f],n+1),c[f]===e[f]&&u++}return i===l&&u===i?e:c}return t}function dp(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function W7(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function U7(e){if(!z7(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!z7(n)||!n.hasOwnProperty("isPrototypeOf"))}function z7(e){return Object.prototype.toString.call(e)==="[object Object]"}function S$(e){return Array.isArray(e)}function A$(e){return new Promise(t=>{setTimeout(t,e)})}function V7(e){A$(0).then(e)}function q7(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?R7(e,t):t}class k$ extends up{constructor(){super(),this.setup=t=>{if(!Jc&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused!==t&&(this.focused=t,this.onFocus())}onFocus(){this.listeners.forEach(({listener:t})=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const D$=new k$,Y7=["online","offline"];class O$ extends up{constructor(){super(),this.setup=t=>{if(!Jc&&window.addEventListener){const n=()=>t();return Y7.forEach(r=>{window.addEventListener(r,n,!1)}),()=>{Y7.forEach(r=>{window.removeEventListener(r,n)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online!==t&&(this.online=t,this.onOnline())}onOnline(){this.listeners.forEach(({listener:t})=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const T$=new O$;function F$(e){return(e??"online")==="online"?T$.isOnline():!0}class B${constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function P$(e){return e instanceof B$}function L$(){let e=[],t=0,n=f=>{f()},r=f=>{f()};const i=f=>{let m;t++;try{m=f()}finally{t--,t||c()}return m},a=f=>{t?e.push(f):V7(()=>{n(f)})},l=f=>(...m)=>{a(()=>{f(...m)})},c=()=>{const f=e;e=[],f.length&&V7(()=>{r(()=>{f.forEach(m=>{n(m)})})})};return{batch:i,batchCalls:l,schedule:a,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{r=f}}}const zl=L$();class N$ extends up{constructor(t,n){super(),this.client=t,this.options=n,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(n)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.currentQuery.addObserver(this),Z7(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return fp(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return fp(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,n){const r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),process.env.NODE_ENV!=="production"&&typeof(t==null?void 0:t.isDataEqual)<"u"&&this.client.getLogger().error("The isDataEqual option has been deprecated and will be removed in the next major version. You can achieve the same functionality by passing a function as the structuralSharing option"),dp(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();const a=this.hasListeners();a&&G7(this.currentQuery,i,this.options,r)&&this.executeFetch(),this.updateResult(n),a&&(this.currentQuery!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();const l=this.computeRefetchInterval();a&&(this.currentQuery!==i||this.options.enabled!==r.enabled||l!==this.currentRefetchInterval)&&this.updateRefetchInterval(l)}getOptimisticResult(t){const n=this.client.getQueryCache().build(this.client,t),r=this.createResult(n,t);return M$(this,r,t)&&(this.currentResult=r,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),r}getCurrentResult(){return this.currentResult}trackResult(t){const n={};return Object.keys(t).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),t[r])})}),n}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...n}={}){return this.fetch({...n,meta:{refetchPage:t}})}fetchOptimistic(t){const n=this.client.defaultQueryOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){var n;return this.executeFetch({...t,cancelRefetch:(n=t.cancelRefetch)!=null?n:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let n=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(C$)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),Jc||this.currentResult.isStale||!j7(this.options.staleTime))return;const n=E$(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},n)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!(Jc||this.options.enabled===!1||!j7(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||D$.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,n){const r=this.currentQuery,i=this.options,a=this.currentResult,l=this.currentResultState,c=this.currentResultOptions,u=t!==r,d=u?t.state:this.currentQueryInitialState,f=u?this.currentResult:this.previousQueryResult,{state:m}=t;let{dataUpdatedAt:h,error:g,errorUpdatedAt:w,fetchStatus:x,status:v}=m,S=!1,C=!1,E;if(n._optimisticResults){const O=this.hasListeners(),N=!O&&Z7(t,n),L=O&&G7(t,r,n,i);(N||L)&&(x=F$(t.options.networkMode)?"fetching":"paused",h||(v="loading")),n._optimisticResults==="isRestoring"&&(x="idle")}if(n.keepPreviousData&&!m.dataUpdatedAt&&f!=null&&f.isSuccess&&v!=="error")E=f.data,h=f.dataUpdatedAt,v=f.status,S=!0;else if(n.select&&typeof m.data<"u")if(a&&m.data===(l==null?void 0:l.data)&&n.select===this.selectFn)E=this.selectResult;else try{this.selectFn=n.select,E=n.select(m.data),E=q7(a==null?void 0:a.data,E,n),this.selectResult=E,this.selectError=null}catch(O){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(O),this.selectError=O}else E=m.data;if(typeof n.placeholderData<"u"&&typeof E>"u"&&v==="loading"){let O;if(a!=null&&a.isPlaceholderData&&n.placeholderData===(c==null?void 0:c.placeholderData))O=a.data;else if(O=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof O<"u")try{O=n.select(O),this.selectError=null}catch(N){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(N),this.selectError=N}typeof O<"u"&&(v="success",E=q7(a==null?void 0:a.data,O,n),C=!0)}this.selectError&&(g=this.selectError,E=this.selectResult,w=Date.now(),v="error");const _=x==="fetching",D=v==="loading",A=v==="error";return{status:v,fetchStatus:x,isLoading:D,isSuccess:v==="success",isError:A,isInitialLoading:D&&_,data:E,dataUpdatedAt:h,error:g,errorUpdatedAt:w,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>d.dataUpdateCount||m.errorUpdateCount>d.errorUpdateCount,isFetching:_,isRefetching:_&&!D,isLoadingError:A&&m.dataUpdatedAt===0,isPaused:x==="paused",isPlaceholderData:C,isPreviousData:S,isRefetchError:A&&m.dataUpdatedAt!==0,isStale:pp(t,n),refetch:this.refetch,remove:this.remove}}updateResult(t){const n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,dp(r,n))return;this.currentResult=r;const i={cache:!0},a=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,c=typeof l=="function"?l():l;if(c==="all"||!c&&!this.trackedProps.size)return!0;const u=new Set(c??this.trackedProps);return this.options.useErrorBoundary&&u.add("error"),Object.keys(this.currentResult).some(d=>{const f=d;return this.currentResult[f]!==n[f]&&u.has(f)})};(t==null?void 0:t.listeners)!==!1&&a()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const n=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const n={};t.type==="success"?n.onSuccess=!t.manual:t.type==="error"&&!P$(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){zl.batch(()=>{if(t.onSuccess){var n,r,i,a;(n=(r=this.options).onSuccess)==null||n.call(r,this.currentResult.data),(i=(a=this.options).onSettled)==null||i.call(a,this.currentResult.data,null)}else if(t.onError){var l,c,u,d;(l=(c=this.options).onError)==null||l.call(c,this.currentResult.error),(u=(d=this.options).onSettled)==null||u.call(d,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(({listener:f})=>{f(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function I$(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Z7(e,t){return I$(e,t)||e.state.dataUpdatedAt>0&&fp(e,t,t.refetchOnMount)}function fp(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&pp(e,t)}return!1}function G7(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&pp(e,n)}function pp(e,t){return e.isStaleByTime(t.staleTime)}function M$(e,t,n){return n.keepPreviousData?!1:n.placeholderData!==void 0?t.isPlaceholderData:!dp(e.getCurrentResult(),t)}var $$=g1();const H$=$$.useSyncExternalStore,K7=j.createContext(void 0),j$=j.createContext(!1);function R$(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=K7),window.ReactQueryClientContext):K7)}const X7=({context:e}={})=>{const t=j.useContext(R$(e,j.useContext(j$)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Q7=j.createContext(!1),W$=()=>j.useContext(Q7);Q7.Provider;function U$(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const z$=j.createContext(U$()),V$=()=>j.useContext(z$);function q$(e,t){return typeof e=="function"?e(...t):!!e}const Y$=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},Z$=e=>{j.useEffect(()=>{e.clearReset()},[e])},G$=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&q$(n,[e.error,r]),K$=e=>{e.suspense&&(typeof e.staleTime!="number"&&(e.staleTime=1e3),typeof e.cacheTime=="number"&&(e.cacheTime=Math.max(e.cacheTime,1e3)))},X$=(e,t)=>e.isLoading&&e.isFetching&&!t,Q$=(e,t,n)=>(e==null?void 0:e.suspense)&&X$(t,n),J$=(e,t,n)=>t.fetchOptimistic(e).then(({data:r})=>{e.onSuccess==null||e.onSuccess(r),e.onSettled==null||e.onSettled(r,null)}).catch(r=>{n.clearReset(),e.onError==null||e.onError(r),e.onSettled==null||e.onSettled(void 0,r)});function eH(e,t){const n=X7({context:e.context}),r=W$(),i=V$(),a=n.defaultQueryOptions(e);a._optimisticResults=r?"isRestoring":"optimistic",a.onError&&(a.onError=zl.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=zl.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=zl.batchCalls(a.onSettled)),K$(a),Y$(a,i),Z$(i);const[l]=j.useState(()=>new t(n,a)),c=l.getOptimisticResult(a);if(H$(j.useCallback(u=>{const d=r?()=>{}:l.subscribe(zl.batchCalls(u));return l.updateResult(),d},[l,r]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),j.useEffect(()=>{l.setOptions(a,{listeners:!1})},[a,l]),Q$(a,c,r))throw J$(a,l,i);if(G$({result:c,errorResetBoundary:i,useErrorBoundary:a.useErrorBoundary,query:l.getCurrentQuery()}))throw c.error;return a.notifyOnChangeProps?c:l.trackResult(c)}function tH(e,t,n){const r=_$(e,t,n);return eH(r,N$)}const hp={useQuery:null,useQueryClient:null};function nH({defaultValue:e,sequence:t,cacheKey:n}){const r=hp.useQuery??tH,i=hp.useQueryClient??X7,a=r({enabled:!1,cacheTime:1/0,refetchOnMount:!1,refetchOnWindowFocus:!1,queryFn:f=>f,queryKey:n}),l=i(),c=!!a.data,u=f=>{l.setQueryData(n,f)},d=f=>{if(t){n.forEach(m=>{m&&l.resetQueries()});return}c&&l.resetQueries(n??f)};return T.useEffect(()=>{e&&u(e)},[]),{cache:a,defaultValue:e,isStored:c,store:u,purge:d}}function rH(e=!1){const[t,n]=T.useState(e),r=T.useCallback(()=>{n(a=>!a)},[]);return{forceTo:T.useCallback(a=>{n(a)},[]),isToggled:t,handleToggle:r}}function iH(e){const[t,n]=T.useState([]),[r,i]=T.useState(!1);return T.useEffect(()=>{const c=t==null?void 0:t.length,u=t==null?void 0:t.some(f=>f.checked===!1);if(c===0||u){i(!1);return}(t==null?void 0:t.every(f=>f.checked===!0))&&i(!0)},[t,e]),{checkboxList:t,checkboxHead:r,setCheckboxList:n,setCheckboxHead:i,handleChangeCheckbox:(c,u)=>{if(e)return n(d=>d.map(f=>f[e]===u?{...f,checked:c}:f))},handleChangeCheckboxHead:c=>{const u=t.map(d=>({...d,checked:c}));n(u)}}}const oH={enabled:!1,cacheTime:1/0,refetchOnMount:!1,refetchOnWindowFocus:!1,queryFn:e=>e};function aH(e,t){const n=new Map;return n.set("DEFAULT","ASC"),n.set("ASC","DESC"),n.set("DESC","DEFAULT"),t.map(i=>e===i.title&&i.sort?{...i,sort:n.get(i.sort)}:Object.assign(i,{sort:"DEFAULT"}))}function sH(e,t,n=","){if(e.length!==0)return e.every(r=>typeof r=="object")?e.map(r=>r[t]).join(n):e.join(n)}function lH(e){return!e}function cH(e,t){return gv.map(e,n=>({to:t.valueAsHref?n[t.valueAsHref]:null,key:n[t.idAsKey],label:n[t.labelAsKey],value:n[t.valueAsKey]}))}function uH(e){const t=+e;return!isNaN(t)&&t>0}function dH(e,t,n){const r=window==null?void 0:window.atob(t),i=new Array(r.length);for(let d=0;d<r.length;d++)i[d]=r.charCodeAt(d);const a=new Uint8Array(i),l=new Blob([a],{type:e}),c=document.createElement("a");document.body.appendChild(c);const u=window.URL||window.webkitURL;Object.assign(c,{download:n,style:"display:none",href:u.createObjectURL(l)}),c.click(),u.revokeObjectURL(c.href),c.remove()}function fH(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function pH(e,t){return Array.from({length:t??24},(n,r)=>({[e??"hour"]:r.toString().padStart(2,"0")+":00"}))}function hH(e,t){return Array.from({length:(t??24)*2},(n,r)=>{const i=Math.floor(r/2),a=r%2*30,l=i.toString().padStart(2,"0"),c=a===0?"00":a.toString();return{[e??"hour"]:`${l}:${c}`}})}const _o={texts:"mb-2.5",content:"p-0 m-0",open:"rotate-180 transform transition-transform duration-300 ease-in-out",close:"rotate-0 transform transition-transform duration-300 ease-in-out",icon:"text-primary rounded-full flex items-center justify-center w-7 hover:cursor-pointer",collapse:"flex justify-between gap-2.5 border-b border-gray-300",container:"border-l border-gray-300 p-3",value:"max-w-sm leading-1"},mH=({children:e,size:t="xl",color:n="primary",initialValue:r,seeDetailsTitles:i,title:a})=>{const[l,c]=T.useState(!0);T.useEffect(()=>{typeof r=="boolean"&&c(r)},[r]);const u=()=>{c(d=>!d)};return b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:_o.collapse,children:[b.jsx("div",{className:_o.texts,onClick:()=>i&&u(),children:b.jsx(Rr,{color:n,tag:"h1",size:t,font:"bold",children:a})}),b.jsx("div",{onClick:u,children:b.jsx(Fa,{className:xe(l?_o.open:_o.close,_o.icon)})})]}),b.jsx("br",{}),l&&b.jsx("div",{className:_o.content,children:e})]})},vH=T.memo(({labelSize:e="sm",valueSize:t="lg",labelFont:n="bold",valueFont:r="bold",labelColor:i="info",valueColor:a="primary",formatAs:l,label:c,value:u})=>{const d=T.useMemo(()=>{if(l==="Hours")return`${u} Horas`;if(l==="CLP"){const f=Number(u);return new Intl.NumberFormat("es-CL",{style:"currency",currency:"CLP"}).format(f)}return u},[l,u]);return b.jsxs("div",{className:_o.container,children:[b.jsx(Rr,{tag:"h2",size:e,font:n,color:i,children:c}),b.jsx(Rr,{tag:"h3",size:t,font:r,color:a,className:_o.value,children:d})]})}),gH=re.div`
|
|
2050
|
-
display: flex;
|
|
2051
|
-
flex-direction: column;
|
|
2052
|
-
`,xH=re.div`
|
|
2053
|
-
display: flex;
|
|
2054
|
-
flex-direction: row;
|
|
2055
|
-
`,bH=re.div`
|
|
2056
|
-
margin: 5px;
|
|
2057
|
-
flex: ${e=>e!=null&&e.single?"0 0 auto":`1 1 ${(e==null?void 0:e.basis)??"0%"}`};
|
|
2058
|
-
white-space: ${e=>(e==null?void 0:e.wrap)&&"nowrap"};
|
|
2059
|
-
|
|
2060
|
-
&:nth-child(3) {
|
|
2061
|
-
margin-left: auto;
|
|
2062
|
-
}
|
|
2063
|
-
`,yH=re.div`
|
|
2064
|
-
display: flex;
|
|
2065
|
-
justify-content: ${e=>e==null?void 0:e.justify};
|
|
2066
|
-
`,wH=Object.freeze(Object.defineProperty({__proto__:null,Container:gH,Content:yH,Item:bH,Menu:mH,Row:xH,Section:vH},Symbol.toStringTag,{value:"Module"})),Xn={chevronIcon:e=>e?"rotate-180 transform h-5 w-5":"h-5 w-5",timeline:{title:"text-base text-gray-400 font-bold mb-2 ml-6",disclosure:"col-span-9 col-start-1 pl-[27px] bg-gray-100 text-sm text-gray-500 transition ease-in-out delay-150",container:"bg-white rounded-[20px] px-2 py-5",grid:"grid grid-cols-9 transition-opacity",button:{container:"cursor-pointer flex col-span-9 mb-2 text-base mx-3 justify-between py-2 text-left font-semibold text-base focus:outline-none focus-visible:ring relative",stack:"flex items-center ml-2",style:"w-2.5 h-2.5 ml-[0.188rem] bg-transparent border-2 border-black rounded-full",category:"ml-3"},list:{container:"absolute border-l-2 border-dashed border-gray-300 ",item:"mb-5 ml-4 pt-3 relative",styles:"absolute w-2 h-2 bg-gray-300 rounded-full mt-1.5 left-[-19px]",name:"text-sm font-bold text-gray-400",date:"text-sm text-secondary font-bold dark:text-white",author:"mb-4 text-xs font-bold text-gray-400 dark:text-gray-400",lastItem:"bg-black"},buttonLine:"absolute h-[76%] border-r-2 border-dashed border-gray-300 left-[15px] bottom-[-18px]",buttonLineUp:"absolute h-[76%] border-r-2 border-dashed border-gray-300 left-[15px] bottom-[25px]"}},CH=re.div`
|
|
2067
|
-
overflow: hidden;
|
|
2068
|
-
transition: max-height 0.3s ease-in-out;
|
|
2069
|
-
max-height: ${({isOpen:e})=>e?"10rem":"0"};
|
|
2070
|
-
width: 100%;
|
|
2071
|
-
grid-column: span 9;
|
|
2072
|
-
padding-left: 27px;
|
|
2073
|
-
background-color: #f0f0f0;
|
|
2074
|
-
font-size: 14px;
|
|
2075
|
-
color: #888888;
|
|
2076
|
-
overflow-y: auto;
|
|
2077
|
-
`,EH=re.div`
|
|
2078
|
-
position: absolute;
|
|
2079
|
-
border-left: 2px dashed #ccc;
|
|
2080
|
-
border-color: #ccc;
|
|
2081
|
-
height: ${e=>e.lineHeight};
|
|
2082
|
-
max-height: '10rem';
|
|
2083
|
-
`,_H=re.div`
|
|
2084
|
-
position: absolute;
|
|
2085
|
-
border-left: 2px dashed #ccc;
|
|
2086
|
-
border-color: #ccc;
|
|
2087
|
-
height: 37px;
|
|
2088
|
-
left: 15px;
|
|
2089
|
-
top: 25px;
|
|
2090
|
-
`,J7=({events:e,title:t})=>{const n=T.useRef(null),[r,i]=T.useState("0px"),[a,l]=T.useState(null);T.useLayoutEffect(()=>{setTimeout(()=>{if(n.current){const d=`${n.current.offsetHeight}px`;i(d)}},0)},[a]),T.useEffect(()=>{const d=e==null?void 0:e.find(f=>f.isOpen);l(d?d.category:null)},[e]);const c=T.useMemo(()=>e==null?void 0:e.filter(d=>d.data&&d.data.length>0),[e]),u=T.useCallback(d=>{const f=d.category===a;l(f?null:d.category)},[a]);return e?b.jsxs("div",{className:Xn.timeline.container,children:[b.jsx("div",{className:Xn.timeline.title,children:t}),c==null?void 0:c.map((d,f)=>{const m=d.category===a;return b.jsxs("div",{children:[b.jsx("div",{className:Xn.timeline.grid,children:b.jsxs("button",{className:Xn.timeline.button.container,onClick:()=>u(d),children:[b.jsxs("div",{className:Xn.timeline.button.stack,children:[b.jsx("div",{className:Xn.timeline.button.style}),c.length>1&&f<c.length-1&&b.jsx(_H,{}),b.jsx("span",{className:Xn.timeline.button.category,children:d.category})]}),b.jsx(Fa,{className:Xn.chevronIcon(m)})]})}),m&&b.jsx("div",{className:Xn.timeline.grid,children:b.jsx(CH,{isOpen:m,lineHeight:r,ref:n,children:b.jsxs("ol",{children:[b.jsx(EH,{lineHeight:r}),d.data.map((h,g)=>b.jsxs("li",{className:Xn.timeline.list.item,children:[b.jsx("span",{className:Xn.timeline.list.styles}),b.jsx("h3",{className:Xn.timeline.list.name,children:h==null?void 0:h.name}),b.jsx("h3",{className:Xn.timeline.list.date,children:h==null?void 0:h.date}),b.jsx("p",{className:Xn.timeline.list.author,children:h==null?void 0:h.author})]},g))]})})})]},f)})]}):null};J7.defaultProps={title:"Historial del Curso"};const SH=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function gs(e,t,n){const r=AH(e),{webkitRelativePath:i}=e,a=typeof t=="string"?t:typeof i=="string"&&i.length>0?i:`./${e.name}`;return typeof r.path!="string"&&eg(r,"path",a),eg(r,"relativePath",a),r}function AH(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const r=t.split(".").pop().toLowerCase(),i=SH.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}function eg(e,t,n){Object.defineProperty(e,t,{value:n,writable:!1,configurable:!1,enumerable:!0})}const kH=[".DS_Store","Thumbs.db"];function DH(e){return oa(this,void 0,void 0,function*(){return eu(e)&&OH(e.dataTransfer)?PH(e.dataTransfer,e.type):TH(e)?FH(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?BH(e):[]})}function OH(e){return eu(e)}function TH(e){return eu(e)&&eu(e.target)}function eu(e){return typeof e=="object"&&e!==null}function FH(e){return mp(e.target.files).map(t=>gs(t))}function BH(e){return oa(this,void 0,void 0,function*(){return(yield Promise.all(e.map(n=>n.getFile()))).map(n=>gs(n))})}function PH(e,t){return oa(this,void 0,void 0,function*(){if(e.items){const n=mp(e.items).filter(i=>i.kind==="file");if(t!=="drop")return n;const r=yield Promise.all(n.map(LH));return tg(ng(r))}return tg(mp(e.files).map(n=>gs(n)))})}function tg(e){return e.filter(t=>kH.indexOf(t.name)===-1)}function mp(e){if(e===null)return[];const t=[];for(let n=0;n<e.length;n++){const r=e[n];t.push(r)}return t}function LH(e){if(typeof e.webkitGetAsEntry!="function")return rg(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?ig(t):rg(e,t)}function ng(e){return e.reduce((t,n)=>[...t,...Array.isArray(n)?ng(n):[n]],[])}function rg(e,t){return oa(this,void 0,void 0,function*(){var n;if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle=="function"){const a=yield e.getAsFileSystemHandle();if(a===null)throw new Error(`${e} is not a File`);if(a!==void 0){const l=yield a.getFile();return l.handle=a,gs(l)}}const r=e.getAsFile();if(!r)throw new Error(`${e} is not a File`);return gs(r,(n=t==null?void 0:t.fullPath)!==null&&n!==void 0?n:void 0)})}function NH(e){return oa(this,void 0,void 0,function*(){return e.isDirectory?ig(e):IH(e)})}function ig(e){const t=e.createReader();return new Promise((n,r)=>{const i=[];function a(){t.readEntries(l=>oa(this,void 0,void 0,function*(){if(l.length){const c=Promise.all(l.map(NH));i.push(c),a()}else try{const c=yield Promise.all(i);n(c)}catch(c){r(c)}}),l=>{r(l)})}a()})}function IH(e){return oa(this,void 0,void 0,function*(){return new Promise((t,n)=>{e.file(r=>{const i=gs(r,e.fullPath);t(i)},r=>{n(r)})})})}var vp=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(n.length===0)return!0;var r=e.name||"",i=(e.type||"").toLowerCase(),a=i.replace(/\/.*$/,"");return n.some(function(l){var c=l.trim().toLowerCase();return c.charAt(0)==="."?r.toLowerCase().endsWith(c):c.endsWith("/*")?a===c.replace(/\/.*$/,""):i===c})}return!0};function og(e){return HH(e)||$H(e)||cg(e)||MH()}function MH(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2091
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $H(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HH(e){if(Array.isArray(e))return gp(e)}function ag(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function sg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ag(Object(n),!0).forEach(function(r){lg(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ag(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function lg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vl(e,t){return WH(e)||RH(e,t)||cg(e,t)||jH()}function jH(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2092
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cg(e,t){if(e){if(typeof e=="string")return gp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gp(e,t)}}function gp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function RH(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,l,c;try{for(n=n.call(e);!(i=(l=n.next()).done)&&(r.push(l.value),!(t&&r.length===t));i=!0);}catch(u){a=!0,c=u}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw c}}return r}}function WH(e){if(Array.isArray(e))return e}var UH=typeof vp=="function"?vp:vp.default,zH="file-invalid-type",VH="file-too-large",qH="file-too-small",YH="too-many-files",ZH=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=t.split(","),r=n.length>1?"one of ".concat(n.join(", ")):n[0];return{code:zH,message:"File type must be ".concat(r)}},ug=function(t){return{code:VH,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},dg=function(t){return{code:qH,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},GH={code:YH,message:"Too many files"};function KH(e){return e.type===""&&typeof e.getAsFile=="function"}function fg(e,t){var n=e.type==="application/x-moz-file"||UH(e,t)||KH(e);return[n,n?null:ZH(t)]}function pg(e,t,n){if(ca(e.size))if(ca(t)&&ca(n)){if(e.size>n)return[!1,ug(n)];if(e.size<t)return[!1,dg(t)]}else{if(ca(t)&&e.size<t)return[!1,dg(t)];if(ca(n)&&e.size>n)return[!1,ug(n)]}return[!0,null]}function ca(e){return e!=null}function XH(e){var t=e.files,n=e.accept,r=e.minSize,i=e.maxSize,a=e.multiple,l=e.maxFiles,c=e.validator;return!a&&t.length>1||a&&l>=1&&t.length>l?!1:t.every(function(u){var d=fg(u,n),f=Vl(d,1),m=f[0],h=pg(u,r,i),g=Vl(h,1),w=g[0],x=c?c(u):null;return m&&w&&!x})}function tu(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function ql(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function hg(e){e.preventDefault()}function QH(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function JH(e){return e.indexOf("Edge/")!==-1}function ej(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return QH(e)||JH(e)}function xi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++)a[l-1]=arguments[l];return t.some(function(c){return!tu(r)&&c&&c.apply(void 0,[r].concat(a)),tu(r)})}}function tj(){return"showOpenFilePicker"in window}function nj(e){if(ca(e)){var t=Object.entries(e).filter(function(n){var r=Vl(n,2),i=r[0],a=r[1],l=!0;return mg(i)||(console.warn('Skipped "'.concat(i,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),l=!1),(!Array.isArray(a)||!a.every(vg))&&(console.warn('Skipped "'.concat(i,'" because an invalid file extension was provided.')),l=!1),l}).reduce(function(n,r){var i=Vl(r,2),a=i[0],l=i[1];return sg(sg({},n),{},lg({},a,l))},{});return[{description:"Files",accept:t}]}return e}function rj(e){if(ca(e))return Object.entries(e).reduce(function(t,n){var r=Vl(n,2),i=r[0],a=r[1];return[].concat(og(t),[i],og(a))},[]).filter(function(t){return mg(t)||vg(t)}).join(",")}function ij(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function oj(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function mg(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||e==="application/*"||/\w+\/[-+.\w]+/g.test(e)}function vg(e){return/^.*\.[\w]+$/.test(e)}var aj=["children"],sj=["open"],lj=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],cj=["refKey","onChange","onClick"];function gg(e){return fj(e)||dj(e)||xg(e)||uj()}function uj(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2093
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fj(e){if(Array.isArray(e))return bp(e)}function xp(e,t){return mj(e)||hj(e,t)||xg(e,t)||pj()}function pj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2094
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xg(e,t){if(e){if(typeof e=="string")return bp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bp(e,t)}}function bp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hj(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,l,c;try{for(n=n.call(e);!(i=(l=n.next()).done)&&(r.push(l.value),!(t&&r.length===t));i=!0);}catch(u){a=!0,c=u}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw c}}return r}}function mj(e){if(Array.isArray(e))return e}function bg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ht(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bg(Object(n),!0).forEach(function(r){yp(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function yp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nu(e,t){if(e==null)return{};var n=vj(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function vj(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var wp=T.forwardRef(function(e,t){var n=e.children,r=nu(e,aj),i=wg(r),a=i.open,l=nu(i,sj);return T.useImperativeHandle(t,function(){return{open:a}},[a]),T.createElement(T.Fragment,null,n(Ht(Ht({},l),{},{open:a})))});wp.displayName="Dropzone";var yg={disabled:!1,getFilesFromEvent:DH,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};wp.defaultProps=yg,wp.propTypes={children:_e.func,accept:_e.objectOf(_e.arrayOf(_e.string)),multiple:_e.bool,preventDropOnDocument:_e.bool,noClick:_e.bool,noKeyboard:_e.bool,noDrag:_e.bool,noDragEventsBubbling:_e.bool,minSize:_e.number,maxSize:_e.number,maxFiles:_e.number,disabled:_e.bool,getFilesFromEvent:_e.func,onFileDialogCancel:_e.func,onFileDialogOpen:_e.func,useFsAccessApi:_e.bool,autoFocus:_e.bool,onDragEnter:_e.func,onDragLeave:_e.func,onDragOver:_e.func,onDrop:_e.func,onDropAccepted:_e.func,onDropRejected:_e.func,onError:_e.func,validator:_e.func};var Cp={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragGlobal:!1,acceptedFiles:[],fileRejections:[]};function wg(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Ht(Ht({},yg),e),n=t.accept,r=t.disabled,i=t.getFilesFromEvent,a=t.maxSize,l=t.minSize,c=t.multiple,u=t.maxFiles,d=t.onDragEnter,f=t.onDragLeave,m=t.onDragOver,h=t.onDrop,g=t.onDropAccepted,w=t.onDropRejected,x=t.onFileDialogCancel,v=t.onFileDialogOpen,S=t.useFsAccessApi,C=t.autoFocus,E=t.preventDropOnDocument,_=t.noClick,D=t.noKeyboard,A=t.noDrag,B=t.noDragEventsBubbling,O=t.onError,N=t.validator,L=T.useMemo(function(){return rj(n)},[n]),I=T.useMemo(function(){return nj(n)},[n]),H=T.useMemo(function(){return typeof v=="function"?v:Cg},[v]),W=T.useMemo(function(){return typeof x=="function"?x:Cg},[x]),K=T.useRef(null),Y=T.useRef(null),ne=T.useReducer(gj,Cp),ue=xp(ne,2),se=ue[0],ae=ue[1],Z=se.isFocused,M=se.isFileDialogActive,z=T.useRef(typeof window<"u"&&window.isSecureContext&&S&&tj()),X=function(){!z.current&&M&&setTimeout(function(){if(Y.current){var Ce=Y.current.files;Ce.length||(ae({type:"closeDialog"}),W())}},300)};T.useEffect(function(){return window.addEventListener("focus",X,!1),function(){window.removeEventListener("focus",X,!1)}},[Y,M,W,z]);var U=T.useRef([]),pe=T.useRef([]),J=function(Ce){K.current&&K.current.contains(Ce.target)||(Ce.preventDefault(),U.current=[])};T.useEffect(function(){return E&&(document.addEventListener("dragover",hg,!1),document.addEventListener("drop",J,!1)),function(){E&&(document.removeEventListener("dragover",hg),document.removeEventListener("drop",J))}},[K,E]),T.useEffect(function(){var ge=function(Ut){pe.current=[].concat(gg(pe.current),[Ut.target]),ql(Ut)&&ae({isDragGlobal:!0,type:"setDragGlobal"})},Ce=function(Ut){pe.current=pe.current.filter(function(Ot){return Ot!==Ut.target&&Ot!==null}),!(pe.current.length>0)&&ae({isDragGlobal:!1,type:"setDragGlobal"})},Qe=function(){pe.current=[],ae({isDragGlobal:!1,type:"setDragGlobal"})},ot=function(){pe.current=[],ae({isDragGlobal:!1,type:"setDragGlobal"})};return document.addEventListener("dragenter",ge,!1),document.addEventListener("dragleave",Ce,!1),document.addEventListener("dragend",Qe,!1),document.addEventListener("drop",ot,!1),function(){document.removeEventListener("dragenter",ge),document.removeEventListener("dragleave",Ce),document.removeEventListener("dragend",Qe),document.removeEventListener("drop",ot)}},[K]),T.useEffect(function(){return!r&&C&&K.current&&K.current.focus(),function(){}},[K,C,r]);var de=T.useCallback(function(ge){O?O(ge):console.error(ge)},[O]),fe=T.useCallback(function(ge){ge.preventDefault(),ge.persist(),it(ge),U.current=[].concat(gg(U.current),[ge.target]),ql(ge)&&Promise.resolve(i(ge)).then(function(Ce){if(!(tu(ge)&&!B)){var Qe=Ce.length,ot=Qe>0&&XH({files:Ce,accept:L,minSize:l,maxSize:a,multiple:c,maxFiles:u,validator:N}),ht=Qe>0&&!ot;ae({isDragAccept:ot,isDragReject:ht,isDragActive:!0,type:"setDraggedFiles"}),d&&d(ge)}}).catch(function(Ce){return de(Ce)})},[i,d,de,B,L,l,a,c,u,N]),Se=T.useCallback(function(ge){ge.preventDefault(),ge.persist(),it(ge);var Ce=ql(ge);if(Ce&&ge.dataTransfer)try{ge.dataTransfer.dropEffect="copy"}catch{}return Ce&&m&&m(ge),!1},[m,B]),Oe=T.useCallback(function(ge){ge.preventDefault(),ge.persist(),it(ge);var Ce=U.current.filter(function(ot){return K.current&&K.current.contains(ot)}),Qe=Ce.indexOf(ge.target);Qe!==-1&&Ce.splice(Qe,1),U.current=Ce,!(Ce.length>0)&&(ae({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),ql(ge)&&f&&f(ge))},[K,f,B]),We=T.useCallback(function(ge,Ce){var Qe=[],ot=[];ge.forEach(function(ht){var Ut=fg(ht,L),Ot=xp(Ut,2),ln=Ot[0],wn=Ot[1],te=pg(ht,l,a),be=xp(te,2),Te=be[0],qe=be[1],He=N?N(ht):null;if(ln&&Te&&!He)Qe.push(ht);else{var Dt=[wn,qe];He&&(Dt=Dt.concat(He)),ot.push({file:ht,errors:Dt.filter(function(Vt){return Vt})})}}),(!c&&Qe.length>1||c&&u>=1&&Qe.length>u)&&(Qe.forEach(function(ht){ot.push({file:ht,errors:[GH]})}),Qe.splice(0)),ae({acceptedFiles:Qe,fileRejections:ot,isDragReject:ot.length>0,type:"setFiles"}),h&&h(Qe,ot,Ce),ot.length>0&&w&&w(ot,Ce),Qe.length>0&&g&&g(Qe,Ce)},[ae,c,L,l,a,u,h,g,w,N]),Ie=T.useCallback(function(ge){ge.preventDefault(),ge.persist(),it(ge),U.current=[],ql(ge)&&Promise.resolve(i(ge)).then(function(Ce){tu(ge)&&!B||We(Ce,ge)}).catch(function(Ce){return de(Ce)}),ae({type:"reset"})},[i,We,de,B]),Ue=T.useCallback(function(){if(z.current){ae({type:"openDialog"}),H();var ge={multiple:c,types:I};window.showOpenFilePicker(ge).then(function(Ce){return i(Ce)}).then(function(Ce){We(Ce,null),ae({type:"closeDialog"})}).catch(function(Ce){ij(Ce)?(W(Ce),ae({type:"closeDialog"})):oj(Ce)?(z.current=!1,Y.current?(Y.current.value=null,Y.current.click()):de(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):de(Ce)});return}Y.current&&(ae({type:"openDialog"}),H(),Y.current.value=null,Y.current.click())},[ae,H,W,S,We,de,I,c]),mt=T.useCallback(function(ge){!K.current||!K.current.isEqualNode(ge.target)||(ge.key===" "||ge.key==="Enter"||ge.keyCode===32||ge.keyCode===13)&&(ge.preventDefault(),Ue())},[K,Ue]),rt=T.useCallback(function(){ae({type:"focus"})},[]),ke=T.useCallback(function(){ae({type:"blur"})},[]),dt=T.useCallback(function(){_||(ej()?setTimeout(Ue,0):Ue())},[_,Ue]),Xe=function(Ce){return r?null:Ce},kt=function(Ce){return D?null:Xe(Ce)},wt=function(Ce){return A?null:Xe(Ce)},it=function(Ce){B&&Ce.stopPropagation()},Ye=T.useMemo(function(){return function(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ce=ge.refKey,Qe=Ce===void 0?"ref":Ce,ot=ge.role,ht=ge.onKeyDown,Ut=ge.onFocus,Ot=ge.onBlur,ln=ge.onClick,wn=ge.onDragEnter,te=ge.onDragOver,be=ge.onDragLeave,Te=ge.onDrop,qe=nu(ge,lj);return Ht(Ht(yp({onKeyDown:kt(xi(ht,mt)),onFocus:kt(xi(Ut,rt)),onBlur:kt(xi(Ot,ke)),onClick:Xe(xi(ln,dt)),onDragEnter:wt(xi(wn,fe)),onDragOver:wt(xi(te,Se)),onDragLeave:wt(xi(be,Oe)),onDrop:wt(xi(Te,Ie)),role:typeof ot=="string"&&ot!==""?ot:"presentation"},Qe,K),!r&&!D?{tabIndex:0}:{}),qe)}},[K,mt,rt,ke,dt,fe,Se,Oe,Ie,D,A,r]),St=T.useCallback(function(ge){ge.stopPropagation()},[]),jt=T.useMemo(function(){return function(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ce=ge.refKey,Qe=Ce===void 0?"ref":Ce,ot=ge.onChange,ht=ge.onClick,Ut=nu(ge,cj),Ot=yp({accept:L,multiple:c,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:Xe(xi(ot,Ie)),onClick:Xe(xi(ht,St)),tabIndex:-1},Qe,Y);return Ht(Ht({},Ot),Ut)}},[Y,n,c,Ie,r]);return Ht(Ht({},se),{},{isFocused:Z&&!r,getRootProps:Ye,getInputProps:jt,rootRef:K,inputRef:Y,open:Xe(Ue)})}function gj(e,t){switch(t.type){case"focus":return Ht(Ht({},e),{},{isFocused:!0});case"blur":return Ht(Ht({},e),{},{isFocused:!1});case"openDialog":return Ht(Ht({},Cp),{},{isFileDialogActive:!0});case"closeDialog":return Ht(Ht({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Ht(Ht({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Ht(Ht({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"setDragGlobal":return Ht(Ht({},e),{},{isDragGlobal:t.isDragGlobal});case"reset":return Ht({},Cp);default:return e}}function Cg(){}var Fn=(e=>(e[e.DragActive=1]="DragActive",e[e.FileEmpty=2]="FileEmpty",e[e.InvalidType=3]="InvalidType",e[e.FileTooBig=4]="FileTooBig",e[e.WithError=5]="WithError",e[e.Reload=6]="Reload",e[e.TooManyParticipants=7]="TooManyParticipants",e[e.MoreThanFifteen=8]="MoreThanFifteen",e[e.MissingField=9]="MissingField",e))(Fn||{});const xj=re.div`
|
|
2095
|
-
display: flex;
|
|
2096
|
-
align-items: center;
|
|
2097
|
-
border-radius: 1.5rem;
|
|
2098
|
-
flex-direction: column;
|
|
2099
|
-
justify-content: center;
|
|
2100
|
-
width: ${e=>e.width||"100%"};
|
|
2101
|
-
height: ${e=>e.height||"10rem"};
|
|
2102
|
-
border: 1px dashed ${({borderColor:e})=>e};
|
|
2103
|
-
cursor: pointer;
|
|
2104
|
-
|
|
2105
|
-
&:hover {
|
|
2106
|
-
background-color: white;
|
|
2107
|
-
}
|
|
2108
|
-
`,bj=re.div`
|
|
2109
|
-
margin: 0;
|
|
2110
|
-
padding: 10px;
|
|
2111
|
-
font-size: 1rem;
|
|
2112
|
-
font-weight: 500;
|
|
2113
|
-
line-height: 120%;
|
|
2114
|
-
text-align: center;
|
|
2115
|
-
font-style: normal;
|
|
2116
|
-
font-family: Roboto;
|
|
2117
|
-
color: ${e=>e.color||"#939799"};
|
|
2118
|
-
`,yj=re.input`
|
|
2119
|
-
display: none;
|
|
2120
|
-
`,wj=re.div`
|
|
2121
|
-
color: white;
|
|
2122
|
-
display: flex;
|
|
2123
|
-
margin: 0.5rem 0;
|
|
2124
|
-
flex-direction: row;
|
|
2125
|
-
border-radius: 1.25rem;
|
|
2126
|
-
padding: 0.25rem 0.75rem;
|
|
2127
|
-
background-color: ${({backgroundColor:e})=>e};
|
|
2128
|
-
`,Eg=e=>b.jsx("svg",{fill:"none",stroke:"currentColor",strokeWidth:1.5,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"h-6 w-6 text-primary",...e,children:b.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 16.5V9.75m0 0l3 3m-3-3l-3 3M6.75 19.5a4.5 4.5 0 01-1.41-8.775 5.25 5.25 0 0110.233-2.33 3 3 0 013.758 3.848A3.752 3.752 0 0118 19.5H6.75z"})}),_g=e=>b.jsx("svg",{fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"h-6 w-6 text-red-700",...e,children:b.jsx("path",{clipRule:"evenodd",fillRule:"evenodd",d:"M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495zM10 5a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0v-3.5A.75.75 0 0110 5zm0 9a1 1 0 100-2 1 1 0 000 2z"})}),Cj=e=>b.jsx("svg",{fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"h-6 w-6 text-white",...e,children:b.jsx("path",{clipRule:"evenodd",fillRule:"evenodd",d:"M4.5 2A1.5 1.5 0 003 3.5v13A1.5 1.5 0 004.5 18h11a1.5 1.5 0 001.5-1.5V7.621a1.5 1.5 0 00-.44-1.06l-4.12-4.122A1.5 1.5 0 0011.378 2H4.5zm2.25 8.5a.75.75 0 000 1.5h6.5a.75.75 0 000-1.5h-6.5zm0 3a.75.75 0 000 1.5h6.5a.75.75 0 000-1.5h-6.5z"})}),Ej=e=>b.jsx("svg",{fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"h-6 w-6 text-primary",...e,children:b.jsx("path",{clipRule:"evenodd",fillRule:"evenodd",d:"M4.755 10.059a7.5 7.5 0 0112.548-3.364l1.903 1.903h-3.183a.75.75 0 100 1.5h4.992a.75.75 0 00.75-.75V4.356a.75.75 0 00-1.5 0v3.18l-1.9-1.9A9 9 0 003.306 9.67a.75.75 0 101.45.388zm15.408 3.352a.75.75 0 00-.919.53 7.5 7.5 0 01-12.548 3.364l-1.902-1.903h3.183a.75.75 0 000-1.5H2.984a.75.75 0 00-.75.75v4.992a.75.75 0 001.5 0v-3.18l1.9 1.9a9 9 0 0015.059-4.035.75.75 0 00-.53-.918z"})}),_j=T.memo(({status:e=Fn.DragActive,filename:t="",wrongColor:n,maxFileSize:r=5*1024*1024,successColor:i,onFileUpload:a,renderContent:l,onStatusChange:c,acceptedFileType:u,renderBelowFilename:d,statusMessages:f,statusColors:m,statusBorder:h,statusIcons:g={[Fn.DragActive]:Eg,[Fn.InvalidType]:_g,[Fn.WithError]:_g,[Fn.Reload]:Ej},...w})=>{const x={[Fn.DragActive]:["Mensaje personalizado 1","Mensaje personalizado 2"]},v={[Fn.WithError]:"red"},S={[Fn.DragActive]:"green"},C=T.useCallback(H=>{const W=H[0];a==null||a(W)},[a]),{getRootProps:E,getInputProps:_,isDragActive:D,fileRejections:A}=wg({accept:u,maxSize:r,maxFiles:1,onDrop:C,onDropRejected:()=>{if(A.length>0){const{code:H}=A[0].errors[0];switch(H){case"file-too-large":c==null||c(Fn.FileTooBig);break;case"file-invalid-type":c==null||c(Fn.InvalidType);break}}}}),B=e||Fn.DragActive,O=(g==null?void 0:g[B])||Eg;e=e||Fn.DragActive;const N=(m==null?void 0:m[e])??v[e]??[],L=(h==null?void 0:h[e])??S[e]??[],I=(f==null?void 0:f[e])??x[e]??[];return b.jsxs(xj,{...E(),isDragActive:D,borderColor:L,wrongColor:n,successColor:i,...w,children:[O&&b.jsx(O,{}),e&&[Fn.WithError,Fn.Reload].includes(e)&&t&&b.jsxs(wj,{backgroundColor:N,children:[b.jsx(Cj,{})," ",b.jsxs("p",{children:["Archivo cargado:",t," "]})]}),d&&d,b.jsxs(bj,{children:[I.filter(Boolean).map(H=>b.jsx("p",{children:H},H)),l&&l]}),b.jsx(yj,{..._()})]})}),ur={container:"flex items-center w-[562px] text-xs text-gray-900 font-medium sm:text-base",lastItem:"flex w-full relative text-gray-900",stepItem:"flex w-full relative text-gray-900 after:content-[''] after:w-full after:h-[6px] after:bg-primary after:inline-block after:absolute lg:after:top-6 after:top-3 after:left-4",stepItemDisabled:"flex w-full relative after:w-full after:h-[6px] after:bg-primary/30 after:inline-block after:absolute lg:after:top-6 after:top-3 after:left-4",label:"absolute right-8 w-[107px] h-[38px] text-center",button:{index:"block z-10",root:"size-14 text-primary rounded-full flex justify-center items-center mx-auto mb-3 text-sm",selected:"bg-white border-4 border-primary",disabled:"bg-opaque border-4 border-primary/20 text-white/70 hover:bg-white hover:border-primary hover:text-primary pointer-events-none",normal:"bg-primary border-4 border-transparent text-white hover:bg-white hover:border-primary hover:text-primary",position:"font-bold text-2xl"}},Sj=({steps:e,currentStep:t,onStepChange:n,canProceed:r})=>{const i=(l,c)=>t===l?`${ur.button.root} ${ur.button.selected}`:c?`${ur.button.root} ${ur.button.normal}`:`${ur.button.root} ${ur.button.disabled}`,a=(l,c)=>l===e.length-1?ur.lastItem:c?ur.stepItem:ur.stepItemDisabled;return b.jsx("ol",{className:ur.container,children:e.map((l,c)=>b.jsx("li",{className:a(c,r[c]),children:b.jsxs("div",{className:ur.button.index,children:[b.jsx("button",{disabled:!r[c],onClick:()=>n(l.id),className:i(l.id,r[c]),children:b.jsx("span",{className:ur.button.position,children:l.id})}),b.jsx(Rr,{className:ur.label,size:"lg",color:r[c]?"primary":"opaque",font:"bold",children:l.label})]})},l.id))})},Aj=(e,t)=>{if(Array.isArray(window.dataLayer)){const n={event:e,event_params:t};window.dataLayer.push(n)}};Q.$channels=aa,Q.$events=Zc,Q.$observers=lM,Q.Alert=ib,Q.AlertTitle=$I,Q.App=M7,Q.Badge=E6,Q.BadgeStatus=Ef,Q.Box=Si,Q.Button=Un,Q.Card=NI,Q.Chart=db,Q.CheckTitle=MI,Q.Checkbox=k2,Q.Col=ab,Q.Collapse=DP,Q.Color=nt,Q.Colspan=y6,Q.Container=uP,Q.Counter=sP,Q.DangerTitle=II,Q.Datepicker=g6,Q.Description=dw,Q.Detail=wH,Q.Dragarea=_j,Q.DropStatus=Fn,Q.Dropdown=L0,Q.Empty=w6,Q.EnterpriseContext=Fd,Q.EnterpriseProvider=mD,Q.EnterprisesFilter=pm,Q.Error=pw,Q.EventMap=Co,Q.FirstModal=Uh,Q.Flex=d0,Q.FlexItem=nb,Q.Footer=_6,Q.GrantSystem=$7,Q.Grid=b6,Q.HttpClient=Td,Q.IN_Permission=Gr,Q.Input=zB,Q.InputMode=Yn,Q.InputTable=GB,Q.Layout=g8,Q.Little=uw,Q.Loading=yf,Q.LocalStorageKeys=yv,Q.LogColors=L7,Q.LogLevel=lp,Q.Logger=cp,Q.Method=il,Q.MicrofrontHost=w$,Q.Modal=W3,Q.Navbar=v8,Q.Pagination=TI,Q.Permissions=kc,Q.Private=H7,Q.ProviderComponent=fm,Q.RadioButton=xf,Q.Row=sb,Q.SP_Permission=A6,Q.ScheduleCard=PI,Q.ScheduleHeader=LI,Q.ScrollSearch=DI,Q.Search=bI,Q.Select=Md,Q.Sidebar=D6,Q.SignalContext=Va,Q.SingleDeadlineChart=dP,Q.Stepper=Sj,Q.Subtitle=z3,Q.Success=fw,Q.SucursalUrlSSOParams=Cv,Q.Switch=AD,Q.TCModal=rC,Q.Table=fv,Q.TableData=pv,Q.TableInput=nP,Q.TableRow=pI,Q.TableWrapper=hI,Q.Text=Rr,Q.TextArea=aP,Q.Timeline=J7,Q.Title=U3,Q.Tooltip=bl,Q.TotalHours=WI,Q.UrlSSOParams=wv,Q.Wait=wf,Q.WeekdayBar=RI,Q.authorization=MP,Q.bearer=w4,Q.broadcast=Rl,Q.capitalize=fH,Q.checkSystems=$P,Q.createHalfTimeSlots=hH,Q.createObserver=hM,Q.createRef=u$,Q.createSignal=fM,Q.createTimeSlots=pH,Q.defaultCacheQueryOptions=oH,Q.defaultConfig=hp,Q.destroy=mM,Q.destroySignal=dM,Q.dispatch=pM,Q.download=dH,Q.formatHourTime=Pd,Q.initialState=sp,Q.isAmount=uH,Q.mapping=cH,Q.observe=f1,Q.removeHourFormat=oc,Q.resetAllStores=d$,Q.revert=lH,Q.signalHttps=ol,Q.sort=aH,Q.stack=sH,Q.tagEvent=Aj,Q.takeSignal=uM,Q.unsubscribeEvent=cM,Q.useBroadcaster=Pv,Q.useCache=nH,Q.useCheckbox=iH,Q.useDeviceSize=O6,Q.useObserver=sM,Q.useSessionStore=c$,Q.useSignal=al,Q.useToggle=rH,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})});
|
|
2129
|
-
//# sourceMappingURL=index.umd.js.map
|