@tender-cash/agent-sdk-react 0.0.1 → 0.0.2

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.
Files changed (29) hide show
  1. package/dist/tender-cash-agent-sdk-react.cjs.js +266 -0
  2. package/dist/tender-cash-agent-sdk-react.cjs.js.map +1 -0
  3. package/dist/tender-cash-agent-sdk-react.es.js +10975 -0
  4. package/dist/tender-cash-agent-sdk-react.es.js.map +1 -0
  5. package/dist/types/index.d.ts +2 -0
  6. package/dist/types/module/_actions/details.d.ts +22 -0
  7. package/dist/types/module/_actions/index.d.ts +29 -0
  8. package/dist/types/module/_components/button.d.ts +13 -0
  9. package/dist/types/module/_components/index.d.ts +6 -0
  10. package/dist/types/module/_components/layout.d.ts +4 -0
  11. package/dist/types/module/_components/loader.d.ts +8 -0
  12. package/dist/types/module/_components/select.d.ts +14 -0
  13. package/dist/types/module/_components/toaster.d.ts +5 -0
  14. package/dist/types/module/_components/transition.d.ts +5 -0
  15. package/dist/types/module/_context/index.d.ts +13 -0
  16. package/dist/types/module/index.d.ts +3 -0
  17. package/dist/types/module/lib/axios-instance.d.ts +5 -0
  18. package/dist/types/module/lib/error-handler.d.ts +3 -0
  19. package/dist/types/module/lib/logger.d.ts +17 -0
  20. package/dist/types/module/lib/queue.d.ts +14 -0
  21. package/dist/types/module/lib/utils/index.d.ts +18 -0
  22. package/dist/types/module/screens/details.d.ts +3 -0
  23. package/dist/types/module/screens/form.d.ts +16 -0
  24. package/dist/types/module/screens/index.d.ts +2 -0
  25. package/dist/types/module/screens/info.d.ts +5 -0
  26. package/dist/types/module/types.d.ts +202 -0
  27. package/dist/types/styles/default-theme.d.ts +3 -0
  28. package/dist/types/types.d.ts +2 -0
  29. package/package.json +2 -4
@@ -0,0 +1,266 @@
1
+ "use strict";var Ka=Object.defineProperty;var Xa=(e,t,r)=>t in e?Ka(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Me=(e,t,r)=>Xa(e,typeof t!="symbol"?t+"":t,r);/**
2
+ * agent-sdk-react.js
3
+ * @summary
4
+ * @version v0.0.2
5
+ * @author Tender
6
+ * @license Released under the MIT license.
7
+ * @copyright Tender Cash
8
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("react");function Ya(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const J=Ya(_);var Oe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Za(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var R0={exports:{}},nt={};/**
9
+ * @license React
10
+ * react-jsx-runtime.production.min.js
11
+ *
12
+ * Copyright (c) Facebook, Inc. and its affiliates.
13
+ *
14
+ * This source code is licensed under the MIT license found in the
15
+ * LICENSE file in the root directory of this source tree.
16
+ */var yr;function Ja(){if(yr)return nt;yr=1;var e=_,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function l(i,x,s){var c,v={},u=null,m=null;s!==void 0&&(u=""+s),x.key!==void 0&&(u=""+x.key),x.ref!==void 0&&(m=x.ref);for(c in x)n.call(x,c)&&!o.hasOwnProperty(c)&&(v[c]=x[c]);if(i&&i.defaultProps)for(c in x=i.defaultProps,x)v[c]===void 0&&(v[c]=x[c]);return{$$typeof:t,type:i,key:u,ref:m,props:v,_owner:a.current}}return nt.Fragment=r,nt.jsx=l,nt.jsxs=l,nt}var Cr;function $a(){return Cr||(Cr=1,R0.exports=Ja()),R0.exports}var F=$a();let eo={data:""},to=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||eo,ro=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,no=/\/\*[^]*?\*\/| +/g,Er=/\n+/g,De=(e,t)=>{let r="",n="",a="";for(let o in e){let l=e[o];o[0]=="@"?o[1]=="i"?r=o+" "+l+";":n+=o[1]=="f"?De(l,o):o+"{"+De(l,o[1]=="k"?"":t)+"}":typeof l=="object"?n+=De(l,t?t.replace(/([^,])+/g,i=>o.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,x=>/&/.test(x)?x.replace(/&/g,i):i?i+" "+x:x)):o):l!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),a+=De.p?De.p(o,l):o+":"+l+";")}return r+(t&&a?t+"{"+a+"}":a)+n},me={},Sn=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+Sn(e[r]);return t}return e},ao=(e,t,r,n,a)=>{let o=Sn(e),l=me[o]||(me[o]=(x=>{let s=0,c=11;for(;s<x.length;)c=101*c+x.charCodeAt(s++)>>>0;return"go"+c})(o));if(!me[l]){let x=o!==e?e:(s=>{let c,v,u=[{}];for(;c=ro.exec(s.replace(no,""));)c[4]?u.shift():c[3]?(v=c[3].replace(Er," ").trim(),u.unshift(u[0][v]=u[0][v]||{})):u[0][c[1]]=c[2].replace(Er," ").trim();return u[0]})(e);me[l]=De(a?{["@keyframes "+l]:x}:x,r?"":"."+l)}let i=r&&me.g?me.g:null;return r&&(me.g=me[l]),((x,s,c,v)=>{v?s.data=s.data.replace(v,x):s.data.indexOf(x)===-1&&(s.data=c?x+s.data:s.data+x)})(me[l],t,n,i),l},oo=(e,t,r)=>e.reduce((n,a,o)=>{let l=t[o];if(l&&l.call){let i=l(r),x=i&&i.props&&i.props.className||/^go/.test(i)&&i;l=x?"."+x:i&&typeof i=="object"?i.props?"":De(i,""):i===!1?"":i}return n+a+(l??"")},"");function p0(e){let t=this||{},r=e.call?e(t.p):e;return ao(r.unshift?r.raw?oo(r,[].slice.call(arguments,1),t.p):r.reduce((n,a)=>Object.assign(n,a&&a.call?a(t.p):a),{}):r,to(t.target),t.g,t.o,t.k)}let kn,L0,z0;p0.bind({g:1});let Ce=p0.bind({k:1});function so(e,t,r,n){De.p=t,kn=e,L0=r,z0=n}function Se(e,t){let r=this||{};return function(){let n=arguments;function a(o,l){let i=Object.assign({},o),x=i.className||a.className;r.p=Object.assign({theme:L0&&L0()},i),r.o=/ *go\d+/.test(x),i.className=p0.apply(r,n)+(x?" "+x:"");let s=e;return e[0]&&(s=i.as||e,delete i.as),z0&&s[0]&&z0(i),kn(s,i)}return a}}var io=e=>typeof e=="function",c0=(e,t)=>io(e)?e(t):e,co=(()=>{let e=0;return()=>(++e).toString()})(),On=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),lo=20,Tn=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,lo)};case 1:return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case 2:let{toast:r}=t;return Tn(e,{type:e.toasts.find(o=>o.id===r.id)?1:0,toast:r});case 3:let{toastId:n}=t;return{...e,toasts:e.toasts.map(o=>o.id===n||n===void 0?{...o,dismissed:!0,visible:!1}:o)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let a=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(o=>({...o,pauseDuration:o.pauseDuration+a}))}}},Ct=[],Te={toasts:[],pausedAt:void 0},Ie=e=>{Te=Tn(Te,e),Ct.forEach(t=>{t(Te)})},xo={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},uo=(e={})=>{let[t,r]=_.useState(Te),n=_.useRef(Te);_.useEffect(()=>(n.current!==Te&&r(Te),Ct.push(r),()=>{let o=Ct.indexOf(r);o>-1&&Ct.splice(o,1)}),[]);let a=t.toasts.map(o=>{var l,i,x;return{...e,...e[o.type],...o,removeDelay:o.removeDelay||((l=e[o.type])==null?void 0:l.removeDelay)||(e==null?void 0:e.removeDelay),duration:o.duration||((i=e[o.type])==null?void 0:i.duration)||(e==null?void 0:e.duration)||xo[o.type],style:{...e.style,...(x=e[o.type])==null?void 0:x.style,...o.style}}});return{...t,toasts:a}},fo=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||co()}),ut=e=>(t,r)=>{let n=fo(t,e,r);return Ie({type:2,toast:n}),n.id},ae=(e,t)=>ut("blank")(e,t);ae.error=ut("error");ae.success=ut("success");ae.loading=ut("loading");ae.custom=ut("custom");ae.dismiss=e=>{Ie({type:3,toastId:e})};ae.remove=e=>Ie({type:4,toastId:e});ae.promise=(e,t,r)=>{let n=ae.loading(t.loading,{...r,...r==null?void 0:r.loading});return typeof e=="function"&&(e=e()),e.then(a=>{let o=t.success?c0(t.success,a):void 0;return o?ae.success(o,{id:n,...r,...r==null?void 0:r.success}):ae.dismiss(n),a}).catch(a=>{let o=t.error?c0(t.error,a):void 0;o?ae.error(o,{id:n,...r,...r==null?void 0:r.error}):ae.dismiss(n)}),e};var po=(e,t)=>{Ie({type:1,toast:{id:e,height:t}})},ho=()=>{Ie({type:5,time:Date.now()})},it=new Map,vo=1e3,mo=(e,t=vo)=>{if(it.has(e))return;let r=setTimeout(()=>{it.delete(e),Ie({type:4,toastId:e})},t);it.set(e,r)},bo=e=>{let{toasts:t,pausedAt:r}=uo(e);_.useEffect(()=>{if(r)return;let o=Date.now(),l=t.map(i=>{if(i.duration===1/0)return;let x=(i.duration||0)+i.pauseDuration-(o-i.createdAt);if(x<0){i.visible&&ae.dismiss(i.id);return}return setTimeout(()=>ae.dismiss(i.id),x)});return()=>{l.forEach(i=>i&&clearTimeout(i))}},[t,r]);let n=_.useCallback(()=>{r&&Ie({type:6,time:Date.now()})},[r]),a=_.useCallback((o,l)=>{let{reverseOrder:i=!1,gutter:x=8,defaultPosition:s}=l||{},c=t.filter(m=>(m.position||s)===(o.position||s)&&m.height),v=c.findIndex(m=>m.id===o.id),u=c.filter((m,f)=>f<v&&m.visible).length;return c.filter(m=>m.visible).slice(...i?[u+1]:[0,u]).reduce((m,f)=>m+(f.height||0)+x,0)},[t]);return _.useEffect(()=>{t.forEach(o=>{if(o.dismissed)mo(o.id,o.removeDelay);else{let l=it.get(o.id);l&&(clearTimeout(l),it.delete(o.id))}})},[t]),{toasts:t,handlers:{updateHeight:po,startPause:ho,endPause:n,calculateOffset:a}}},go=Ce`
17
+ from {
18
+ transform: scale(0) rotate(45deg);
19
+ opacity: 0;
20
+ }
21
+ to {
22
+ transform: scale(1) rotate(45deg);
23
+ opacity: 1;
24
+ }`,yo=Ce`
25
+ from {
26
+ transform: scale(0);
27
+ opacity: 0;
28
+ }
29
+ to {
30
+ transform: scale(1);
31
+ opacity: 1;
32
+ }`,Co=Ce`
33
+ from {
34
+ transform: scale(0) rotate(90deg);
35
+ opacity: 0;
36
+ }
37
+ to {
38
+ transform: scale(1) rotate(90deg);
39
+ opacity: 1;
40
+ }`,Eo=Se("div")`
41
+ width: 20px;
42
+ opacity: 0;
43
+ height: 20px;
44
+ border-radius: 10px;
45
+ background: ${e=>e.primary||"#ff4b4b"};
46
+ position: relative;
47
+ transform: rotate(45deg);
48
+
49
+ animation: ${go} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
50
+ forwards;
51
+ animation-delay: 100ms;
52
+
53
+ &:after,
54
+ &:before {
55
+ content: '';
56
+ animation: ${yo} 0.15s ease-out forwards;
57
+ animation-delay: 150ms;
58
+ position: absolute;
59
+ border-radius: 3px;
60
+ opacity: 0;
61
+ background: ${e=>e.secondary||"#fff"};
62
+ bottom: 9px;
63
+ left: 4px;
64
+ height: 2px;
65
+ width: 12px;
66
+ }
67
+
68
+ &:before {
69
+ animation: ${Co} 0.15s ease-out forwards;
70
+ animation-delay: 180ms;
71
+ transform: rotate(90deg);
72
+ }
73
+ `,Ao=Ce`
74
+ from {
75
+ transform: rotate(0deg);
76
+ }
77
+ to {
78
+ transform: rotate(360deg);
79
+ }
80
+ `,Bo=Se("div")`
81
+ width: 12px;
82
+ height: 12px;
83
+ box-sizing: border-box;
84
+ border: 2px solid;
85
+ border-radius: 100%;
86
+ border-color: ${e=>e.secondary||"#e0e0e0"};
87
+ border-right-color: ${e=>e.primary||"#616161"};
88
+ animation: ${Ao} 1s linear infinite;
89
+ `,wo=Ce`
90
+ from {
91
+ transform: scale(0) rotate(45deg);
92
+ opacity: 0;
93
+ }
94
+ to {
95
+ transform: scale(1) rotate(45deg);
96
+ opacity: 1;
97
+ }`,Fo=Ce`
98
+ 0% {
99
+ height: 0;
100
+ width: 0;
101
+ opacity: 0;
102
+ }
103
+ 40% {
104
+ height: 0;
105
+ width: 6px;
106
+ opacity: 1;
107
+ }
108
+ 100% {
109
+ opacity: 1;
110
+ height: 10px;
111
+ }`,Do=Se("div")`
112
+ width: 20px;
113
+ opacity: 0;
114
+ height: 20px;
115
+ border-radius: 10px;
116
+ background: ${e=>e.primary||"#61d345"};
117
+ position: relative;
118
+ transform: rotate(45deg);
119
+
120
+ animation: ${wo} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
121
+ forwards;
122
+ animation-delay: 100ms;
123
+ &:after {
124
+ content: '';
125
+ box-sizing: border-box;
126
+ animation: ${Fo} 0.2s ease-out forwards;
127
+ opacity: 0;
128
+ animation-delay: 200ms;
129
+ position: absolute;
130
+ border-right: 2px solid;
131
+ border-bottom: 2px solid;
132
+ border-color: ${e=>e.secondary||"#fff"};
133
+ bottom: 6px;
134
+ left: 6px;
135
+ height: 10px;
136
+ width: 6px;
137
+ }
138
+ `,Ro=Se("div")`
139
+ position: absolute;
140
+ `,So=Se("div")`
141
+ position: relative;
142
+ display: flex;
143
+ justify-content: center;
144
+ align-items: center;
145
+ min-width: 20px;
146
+ min-height: 20px;
147
+ `,ko=Ce`
148
+ from {
149
+ transform: scale(0.6);
150
+ opacity: 0.4;
151
+ }
152
+ to {
153
+ transform: scale(1);
154
+ opacity: 1;
155
+ }`,Oo=Se("div")`
156
+ position: relative;
157
+ transform: scale(0.6);
158
+ opacity: 0.4;
159
+ min-width: 20px;
160
+ animation: ${ko} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
161
+ forwards;
162
+ `,To=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return t!==void 0?typeof t=="string"?J.createElement(Oo,null,t):t:r==="blank"?null:J.createElement(So,null,J.createElement(Bo,{...n}),r!=="loading"&&J.createElement(Ro,null,r==="error"?J.createElement(Eo,{...n}):J.createElement(Do,{...n})))},jo=e=>`
163
+ 0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
164
+ 100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
165
+ `,_o=e=>`
166
+ 0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
167
+ 100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;}
168
+ `,No="0%{opacity:0;} 100%{opacity:1;}",Po="0%{opacity:1;} 100%{opacity:0;}",Ho=Se("div")`
169
+ display: flex;
170
+ align-items: center;
171
+ background: #fff;
172
+ color: #363636;
173
+ line-height: 1.3;
174
+ will-change: transform;
175
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
176
+ max-width: 350px;
177
+ pointer-events: auto;
178
+ padding: 8px 10px;
179
+ border-radius: 8px;
180
+ `,Io=Se("div")`
181
+ display: flex;
182
+ justify-content: center;
183
+ margin: 4px 10px;
184
+ color: inherit;
185
+ flex: 1 1 auto;
186
+ white-space: pre-line;
187
+ `,qo=(e,t)=>{let r=e.includes("top")?1:-1,[n,a]=On()?[No,Po]:[jo(r),_o(r)];return{animation:t?`${Ce(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Ce(a)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},Lo=J.memo(({toast:e,position:t,style:r,children:n})=>{let a=e.height?qo(e.position||t||"top-center",e.visible):{opacity:0},o=J.createElement(To,{toast:e}),l=J.createElement(Io,{...e.ariaProps},c0(e.message,e));return J.createElement(Ho,{className:e.className,style:{...a,...r,...e.style}},typeof n=="function"?n({icon:o,message:l}):J.createElement(J.Fragment,null,o,l))});so(J.createElement);var zo=({id:e,className:t,style:r,onHeightUpdate:n,children:a})=>{let o=J.useCallback(l=>{if(l){let i=()=>{let x=l.getBoundingClientRect().height;n(e,x)};i(),new MutationObserver(i).observe(l,{subtree:!0,childList:!0,characterData:!0})}},[e,n]);return J.createElement("div",{ref:o,className:t,style:r},a)},Uo=(e,t)=>{let r=e.includes("top"),n=r?{top:0}:{bottom:0},a=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:On()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...n,...a}},Mo=p0`
188
+ z-index: 9999;
189
+ > * {
190
+ pointer-events: auto;
191
+ }
192
+ `,bt=16,Wo=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:a,containerStyle:o,containerClassName:l})=>{let{toasts:i,handlers:x}=bo(r);return J.createElement("div",{id:"_rht_toaster",style:{position:"fixed",zIndex:9999,top:bt,left:bt,right:bt,bottom:bt,pointerEvents:"none",...o},className:l,onMouseEnter:x.startPause,onMouseLeave:x.endPause},i.map(s=>{let c=s.position||t,v=x.calculateOffset(s,{reverseOrder:e,gutter:n,defaultPosition:t}),u=Uo(c,v);return J.createElement(zo,{id:s.id,key:s.id,onHeightUpdate:x.updateHeight,className:s.visible?Mo:"",style:u},s.type==="custom"?c0(s.message,s):a?a(s):J.createElement(Lo,{toast:s,position:c}))}))};const Go={primary:"#101828",secondary:"#C7C7C7","secondary-body":"#FAFAFA",info:"#17A2B8",warning:"#F2C94C",success:"#28A745",danger:"#DC3545"};function jn(e,t){return function(){return e.apply(t,arguments)}}const{toString:Vo}=Object.prototype,{getPrototypeOf:Q0}=Object,h0=(e=>t=>{const r=Vo.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),fe=e=>(e=e.toLowerCase(),t=>h0(t)===e),v0=e=>t=>typeof t===e,{isArray:Ke}=Array,lt=v0("undefined");function Ko(e){return e!==null&&!lt(e)&&e.constructor!==null&&!lt(e.constructor)&&ce(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const _n=fe("ArrayBuffer");function Xo(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&_n(e.buffer),t}const Yo=v0("string"),ce=v0("function"),Nn=v0("number"),m0=e=>e!==null&&typeof e=="object",Qo=e=>e===!0||e===!1,Et=e=>{if(h0(e)!=="object")return!1;const t=Q0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Zo=fe("Date"),Jo=fe("File"),$o=fe("Blob"),es=fe("FileList"),ts=e=>m0(e)&&ce(e.pipe),rs=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ce(e.append)&&((t=h0(e))==="formdata"||t==="object"&&ce(e.toString)&&e.toString()==="[object FormData]"))},ns=fe("URLSearchParams"),[as,os,ss,is]=["ReadableStream","Request","Response","Headers"].map(fe),cs=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function dt(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),Ke(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{const o=r?Object.getOwnPropertyNames(e):Object.keys(e),l=o.length;let i;for(n=0;n<l;n++)i=o[n],t.call(null,e[i],i,e)}}function Pn(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,a;for(;n-- >0;)if(a=r[n],t===a.toLowerCase())return a;return null}const je=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hn=e=>!lt(e)&&e!==je;function U0(){const{caseless:e}=Hn(this)&&this||{},t={},r=(n,a)=>{const o=e&&Pn(t,a)||a;Et(t[o])&&Et(n)?t[o]=U0(t[o],n):Et(n)?t[o]=U0({},n):Ke(n)?t[o]=n.slice():t[o]=n};for(let n=0,a=arguments.length;n<a;n++)arguments[n]&&dt(arguments[n],r);return t}const ls=(e,t,r,{allOwnKeys:n}={})=>(dt(t,(a,o)=>{r&&ce(a)?e[o]=jn(a,r):e[o]=a},{allOwnKeys:n}),e),xs=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),us=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},ds=(e,t,r,n)=>{let a,o,l;const i={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)l=a[o],(!n||n(l,e,t))&&!i[l]&&(t[l]=e[l],i[l]=!0);e=r!==!1&&Q0(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},fs=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},ps=e=>{if(!e)return null;if(Ke(e))return e;let t=e.length;if(!Nn(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},hs=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Q0(Uint8Array)),vs=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=n.next())&&!a.done;){const o=a.value;t.call(e,o[0],o[1])}},ms=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},bs=fe("HTMLFormElement"),gs=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),Ar=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),ys=fe("RegExp"),In=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};dt(r,(a,o)=>{let l;(l=t(a,o,e))!==!1&&(n[o]=l||a)}),Object.defineProperties(e,n)},Cs=e=>{In(e,(t,r)=>{if(ce(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(ce(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Es=(e,t)=>{const r={},n=a=>{a.forEach(o=>{r[o]=!0})};return Ke(e)?n(e):n(String(e).split(t)),r},As=()=>{},Bs=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function ws(e){return!!(e&&ce(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Fs=e=>{const t=new Array(10),r=(n,a)=>{if(m0(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const o=Ke(n)?[]:{};return dt(n,(l,i)=>{const x=r(l,a+1);!lt(x)&&(o[i]=x)}),t[a]=void 0,o}}return n};return r(e,0)},Ds=fe("AsyncFunction"),Rs=e=>e&&(m0(e)||ce(e))&&ce(e.then)&&ce(e.catch),qn=((e,t)=>e?setImmediate:t?((r,n)=>(je.addEventListener("message",({source:a,data:o})=>{a===je&&o===r&&n.length&&n.shift()()},!1),a=>{n.push(a),je.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",ce(je.postMessage)),Ss=typeof queueMicrotask<"u"?queueMicrotask.bind(je):typeof process<"u"&&process.nextTick||qn,S={isArray:Ke,isArrayBuffer:_n,isBuffer:Ko,isFormData:rs,isArrayBufferView:Xo,isString:Yo,isNumber:Nn,isBoolean:Qo,isObject:m0,isPlainObject:Et,isReadableStream:as,isRequest:os,isResponse:ss,isHeaders:is,isUndefined:lt,isDate:Zo,isFile:Jo,isBlob:$o,isRegExp:ys,isFunction:ce,isStream:ts,isURLSearchParams:ns,isTypedArray:hs,isFileList:es,forEach:dt,merge:U0,extend:ls,trim:cs,stripBOM:xs,inherits:us,toFlatObject:ds,kindOf:h0,kindOfTest:fe,endsWith:fs,toArray:ps,forEachEntry:vs,matchAll:ms,isHTMLForm:bs,hasOwnProperty:Ar,hasOwnProp:Ar,reduceDescriptors:In,freezeMethods:Cs,toObjectSet:Es,toCamelCase:gs,noop:As,toFiniteNumber:Bs,findKey:Pn,global:je,isContextDefined:Hn,isSpecCompliantForm:ws,toJSONObject:Fs,isAsyncFn:Ds,isThenable:Rs,setImmediate:qn,asap:Ss};function U(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a,this.status=a.status?a.status:null)}S.inherits(U,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:S.toJSONObject(this.config),code:this.code,status:this.status}}});const Ln=U.prototype,zn={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{zn[e]={value:e}});Object.defineProperties(U,zn);Object.defineProperty(Ln,"isAxiosError",{value:!0});U.from=(e,t,r,n,a,o)=>{const l=Object.create(Ln);return S.toFlatObject(e,l,function(x){return x!==Error.prototype},i=>i!=="isAxiosError"),U.call(l,e.message,t,r,n,a),l.cause=e,l.name=e.name,o&&Object.assign(l,o),l};const ks=null;function M0(e){return S.isPlainObject(e)||S.isArray(e)}function Un(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function Br(e,t,r){return e?e.concat(t).map(function(a,o){return a=Un(a),!r&&o?"["+a+"]":a}).join(r?".":""):t}function Os(e){return S.isArray(e)&&!e.some(M0)}const Ts=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function b0(e,t,r){if(!S.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=S.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,d){return!S.isUndefined(d[p])});const n=r.metaTokens,a=r.visitor||c,o=r.dots,l=r.indexes,x=(r.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(t);if(!S.isFunction(a))throw new TypeError("visitor must be a function");function s(f){if(f===null)return"";if(S.isDate(f))return f.toISOString();if(!x&&S.isBlob(f))throw new U("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(f)||S.isTypedArray(f)?x&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,p,d){let C=f;if(f&&!d&&typeof f=="object"){if(S.endsWith(p,"{}"))p=n?p:p.slice(0,-2),f=JSON.stringify(f);else if(S.isArray(f)&&Os(f)||(S.isFileList(f)||S.endsWith(p,"[]"))&&(C=S.toArray(f)))return p=Un(p),C.forEach(function(b,g){!(S.isUndefined(b)||b===null)&&t.append(l===!0?Br([p],g,o):l===null?p:p+"[]",s(b))}),!1}return M0(f)?!0:(t.append(Br(d,p,o),s(f)),!1)}const v=[],u=Object.assign(Ts,{defaultVisitor:c,convertValue:s,isVisitable:M0});function m(f,p){if(!S.isUndefined(f)){if(v.indexOf(f)!==-1)throw Error("Circular reference detected in "+p.join("."));v.push(f),S.forEach(f,function(C,h){(!(S.isUndefined(C)||C===null)&&a.call(t,C,S.isString(h)?h.trim():h,p,u))===!0&&m(C,p?p.concat(h):[h])}),v.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return m(e),t}function wr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Z0(e,t){this._pairs=[],e&&b0(e,this,t)}const Mn=Z0.prototype;Mn.append=function(t,r){this._pairs.push([t,r])};Mn.toString=function(t){const r=t?function(n){return t.call(this,n,wr)}:wr;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function js(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Wn(e,t,r){if(!t)return e;const n=r&&r.encode||js;S.isFunction(r)&&(r={serialize:r});const a=r&&r.serialize;let o;if(a?o=a(t,r):o=S.isURLSearchParams(t)?t.toString():new Z0(t,r).toString(n),o){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Fr{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){S.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Gn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},_s=typeof URLSearchParams<"u"?URLSearchParams:Z0,Ns=typeof FormData<"u"?FormData:null,Ps=typeof Blob<"u"?Blob:null,Hs={isBrowser:!0,classes:{URLSearchParams:_s,FormData:Ns,Blob:Ps},protocols:["http","https","file","blob","url","data"]},J0=typeof window<"u"&&typeof document<"u",W0=typeof navigator=="object"&&navigator||void 0,Is=J0&&(!W0||["ReactNative","NativeScript","NS"].indexOf(W0.product)<0),qs=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ls=J0&&window.location.href||"http://localhost",zs=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:J0,hasStandardBrowserEnv:Is,hasStandardBrowserWebWorkerEnv:qs,navigator:W0,origin:Ls},Symbol.toStringTag,{value:"Module"})),re={...zs,...Hs};function Us(e,t){return b0(e,new re.classes.URLSearchParams,Object.assign({visitor:function(r,n,a,o){return re.isNode&&S.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Ms(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ws(e){const t={},r=Object.keys(e);let n;const a=r.length;let o;for(n=0;n<a;n++)o=r[n],t[o]=e[o];return t}function Vn(e){function t(r,n,a,o){let l=r[o++];if(l==="__proto__")return!0;const i=Number.isFinite(+l),x=o>=r.length;return l=!l&&S.isArray(a)?a.length:l,x?(S.hasOwnProp(a,l)?a[l]=[a[l],n]:a[l]=n,!i):((!a[l]||!S.isObject(a[l]))&&(a[l]=[]),t(r,n,a[l],o)&&S.isArray(a[l])&&(a[l]=Ws(a[l])),!i)}if(S.isFormData(e)&&S.isFunction(e.entries)){const r={};return S.forEachEntry(e,(n,a)=>{t(Ms(n),a,r,0)}),r}return null}function Gs(e,t,r){if(S.isString(e))try{return(t||JSON.parse)(e),S.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const ft={transitional:Gn,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,o=S.isObject(t);if(o&&S.isHTMLForm(t)&&(t=new FormData(t)),S.isFormData(t))return a?JSON.stringify(Vn(t)):t;if(S.isArrayBuffer(t)||S.isBuffer(t)||S.isStream(t)||S.isFile(t)||S.isBlob(t)||S.isReadableStream(t))return t;if(S.isArrayBufferView(t))return t.buffer;if(S.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Us(t,this.formSerializer).toString();if((i=S.isFileList(t))||n.indexOf("multipart/form-data")>-1){const x=this.env&&this.env.FormData;return b0(i?{"files[]":t}:t,x&&new x,this.formSerializer)}}return o||a?(r.setContentType("application/json",!1),Gs(t)):t}],transformResponse:[function(t){const r=this.transitional||ft.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(S.isResponse(t)||S.isReadableStream(t))return t;if(t&&S.isString(t)&&(n&&!this.responseType||a)){const l=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(i){if(l)throw i.name==="SyntaxError"?U.from(i,U.ERR_BAD_RESPONSE,this,null,this.response):i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:re.classes.FormData,Blob:re.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],e=>{ft.headers[e]={}});const Vs=S.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"]),Ks=e=>{const t={};let r,n,a;return e&&e.split(`
193
+ `).forEach(function(l){a=l.indexOf(":"),r=l.substring(0,a).trim().toLowerCase(),n=l.substring(a+1).trim(),!(!r||t[r]&&Vs[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Dr=Symbol("internals");function at(e){return e&&String(e).trim().toLowerCase()}function At(e){return e===!1||e==null?e:S.isArray(e)?e.map(At):String(e)}function Xs(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Ys=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function S0(e,t,r,n,a){if(S.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!S.isString(t)){if(S.isString(n))return t.indexOf(n)!==-1;if(S.isRegExp(n))return n.test(t)}}function Qs(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Zs(e,t){const r=S.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,o,l){return this[n].call(this,t,a,o,l)},configurable:!0})})}let oe=class{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function o(i,x,s){const c=at(x);if(!c)throw new Error("header name must be a non-empty string");const v=S.findKey(a,c);(!v||a[v]===void 0||s===!0||s===void 0&&a[v]!==!1)&&(a[v||x]=At(i))}const l=(i,x)=>S.forEach(i,(s,c)=>o(s,c,x));if(S.isPlainObject(t)||t instanceof this.constructor)l(t,r);else if(S.isString(t)&&(t=t.trim())&&!Ys(t))l(Ks(t),r);else if(S.isHeaders(t))for(const[i,x]of t.entries())o(x,i,n);else t!=null&&o(r,t,n);return this}get(t,r){if(t=at(t),t){const n=S.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return Xs(a);if(S.isFunction(r))return r.call(this,a,n);if(S.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=at(t),t){const n=S.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||S0(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function o(l){if(l=at(l),l){const i=S.findKey(n,l);i&&(!r||S0(n,n[i],i,r))&&(delete n[i],a=!0)}}return S.isArray(t)?t.forEach(o):o(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const o=r[n];(!t||S0(this,this[o],o,t,!0))&&(delete this[o],a=!0)}return a}normalize(t){const r=this,n={};return S.forEach(this,(a,o)=>{const l=S.findKey(n,o);if(l){r[l]=At(a),delete r[o];return}const i=t?Qs(o):String(o).trim();i!==o&&delete r[o],r[i]=At(a),n[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return S.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&S.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
194
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[Dr]=this[Dr]={accessors:{}}).accessors,a=this.prototype;function o(l){const i=at(l);n[i]||(Zs(a,l),n[i]=!0)}return S.isArray(t)?t.forEach(o):o(t),this}};oe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(oe.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});S.freezeMethods(oe);function k0(e,t){const r=this||ft,n=t||r,a=oe.from(n.headers);let o=n.data;return S.forEach(e,function(i){o=i.call(r,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function Kn(e){return!!(e&&e.__CANCEL__)}function Xe(e,t,r){U.call(this,e??"canceled",U.ERR_CANCELED,t,r),this.name="CanceledError"}S.inherits(Xe,U,{__CANCEL__:!0});function Xn(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new U("Request failed with status code "+r.status,[U.ERR_BAD_REQUEST,U.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Js(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function $s(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,o=0,l;return t=t!==void 0?t:1e3,function(x){const s=Date.now(),c=n[o];l||(l=s),r[a]=x,n[a]=s;let v=o,u=0;for(;v!==a;)u+=r[v++],v=v%e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),s-l<t)return;const m=c&&s-c;return m?Math.round(u*1e3/m):void 0}}function ei(e,t){let r=0,n=1e3/t,a,o;const l=(s,c=Date.now())=>{r=c,a=null,o&&(clearTimeout(o),o=null),e.apply(null,s)};return[(...s)=>{const c=Date.now(),v=c-r;v>=n?l(s,c):(a=s,o||(o=setTimeout(()=>{o=null,l(a)},n-v)))},()=>a&&l(a)]}const l0=(e,t,r=3)=>{let n=0;const a=$s(50,250);return ei(o=>{const l=o.loaded,i=o.lengthComputable?o.total:void 0,x=l-n,s=a(x),c=l<=i;n=l;const v={loaded:l,total:i,progress:i?l/i:void 0,bytes:x,rate:s||void 0,estimated:s&&i&&c?(i-l)/s:void 0,event:o,lengthComputable:i!=null,[t?"download":"upload"]:!0};e(v)},r)},Rr=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Sr=e=>(...t)=>S.asap(()=>e(...t)),ti=re.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,re.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(re.origin),re.navigator&&/(msie|trident)/i.test(re.navigator.userAgent)):()=>!0,ri=re.hasStandardBrowserEnv?{write(e,t,r,n,a,o){const l=[e+"="+encodeURIComponent(t)];S.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),S.isString(n)&&l.push("path="+n),S.isString(a)&&l.push("domain="+a),o===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ni(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ai(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Yn(e,t,r){let n=!ni(t);return e&&(n||r==!1)?ai(e,t):t}const kr=e=>e instanceof oe?{...e}:e;function He(e,t){t=t||{};const r={};function n(s,c,v,u){return S.isPlainObject(s)&&S.isPlainObject(c)?S.merge.call({caseless:u},s,c):S.isPlainObject(c)?S.merge({},c):S.isArray(c)?c.slice():c}function a(s,c,v,u){if(S.isUndefined(c)){if(!S.isUndefined(s))return n(void 0,s,v,u)}else return n(s,c,v,u)}function o(s,c){if(!S.isUndefined(c))return n(void 0,c)}function l(s,c){if(S.isUndefined(c)){if(!S.isUndefined(s))return n(void 0,s)}else return n(void 0,c)}function i(s,c,v){if(v in t)return n(s,c);if(v in e)return n(void 0,s)}const x={url:o,method:o,data:o,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,responseEncoding:l,validateStatus:i,headers:(s,c,v)=>a(kr(s),kr(c),v,!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(c){const v=x[c]||a,u=v(e[c],t[c],c);S.isUndefined(u)&&v!==i||(r[c]=u)}),r}const Qn=e=>{const t=He({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:o,headers:l,auth:i}=t;t.headers=l=oe.from(l),t.url=Wn(Yn(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),i&&l.set("Authorization","Basic "+btoa((i.username||"")+":"+(i.password?unescape(encodeURIComponent(i.password)):"")));let x;if(S.isFormData(r)){if(re.hasStandardBrowserEnv||re.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((x=l.getContentType())!==!1){const[s,...c]=x?x.split(";").map(v=>v.trim()).filter(Boolean):[];l.setContentType([s||"multipart/form-data",...c].join("; "))}}if(re.hasStandardBrowserEnv&&(n&&S.isFunction(n)&&(n=n(t)),n||n!==!1&&ti(t.url))){const s=a&&o&&ri.read(o);s&&l.set(a,s)}return t},oi=typeof XMLHttpRequest<"u",si=oi&&function(e){return new Promise(function(r,n){const a=Qn(e);let o=a.data;const l=oe.from(a.headers).normalize();let{responseType:i,onUploadProgress:x,onDownloadProgress:s}=a,c,v,u,m,f;function p(){m&&m(),f&&f(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let d=new XMLHttpRequest;d.open(a.method.toUpperCase(),a.url,!0),d.timeout=a.timeout;function C(){if(!d)return;const b=oe.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),y={data:!i||i==="text"||i==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:b,config:e,request:d};Xn(function(B){r(B),p()},function(B){n(B),p()},y),d=null}"onloadend"in d?d.onloadend=C:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(C)},d.onabort=function(){d&&(n(new U("Request aborted",U.ECONNABORTED,e,d)),d=null)},d.onerror=function(){n(new U("Network Error",U.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let g=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const y=a.transitional||Gn;a.timeoutErrorMessage&&(g=a.timeoutErrorMessage),n(new U(g,y.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,e,d)),d=null},o===void 0&&l.setContentType(null),"setRequestHeader"in d&&S.forEach(l.toJSON(),function(g,y){d.setRequestHeader(y,g)}),S.isUndefined(a.withCredentials)||(d.withCredentials=!!a.withCredentials),i&&i!=="json"&&(d.responseType=a.responseType),s&&([u,f]=l0(s,!0),d.addEventListener("progress",u)),x&&d.upload&&([v,m]=l0(x),d.upload.addEventListener("progress",v),d.upload.addEventListener("loadend",m)),(a.cancelToken||a.signal)&&(c=b=>{d&&(n(!b||b.type?new Xe(null,e,d):b),d.abort(),d=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));const h=Js(a.url);if(h&&re.protocols.indexOf(h)===-1){n(new U("Unsupported protocol "+h+":",U.ERR_BAD_REQUEST,e));return}d.send(o||null)})},ii=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,a;const o=function(s){if(!a){a=!0,i();const c=s instanceof Error?s:this.reason;n.abort(c instanceof U?c:new Xe(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{l=null,o(new U(`timeout ${t} of ms exceeded`,U.ETIMEDOUT))},t);const i=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(s=>{s.unsubscribe?s.unsubscribe(o):s.removeEventListener("abort",o)}),e=null)};e.forEach(s=>s.addEventListener("abort",o));const{signal:x}=n;return x.unsubscribe=()=>S.asap(i),x}},ci=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,a;for(;n<r;)a=n+t,yield e.slice(n,a),n=a},li=async function*(e,t){for await(const r of xi(e))yield*ci(r,t)},xi=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},Or=(e,t,r,n)=>{const a=li(e,t);let o=0,l,i=x=>{l||(l=!0,n&&n(x))};return new ReadableStream({async pull(x){try{const{done:s,value:c}=await a.next();if(s){i(),x.close();return}let v=c.byteLength;if(r){let u=o+=v;r(u)}x.enqueue(new Uint8Array(c))}catch(s){throw i(s),s}},cancel(x){return i(x),a.return()}},{highWaterMark:2})},g0=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Zn=g0&&typeof ReadableStream=="function",ui=g0&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Jn=(e,...t)=>{try{return!!e(...t)}catch{return!1}},di=Zn&&Jn(()=>{let e=!1;const t=new Request(re.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Tr=64*1024,G0=Zn&&Jn(()=>S.isReadableStream(new Response("").body)),x0={stream:G0&&(e=>e.body)};g0&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!x0[t]&&(x0[t]=S.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new U(`Response type '${t}' is not supported`,U.ERR_NOT_SUPPORT,n)})})})(new Response);const fi=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(re.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(S.isArrayBufferView(e)||S.isArrayBuffer(e))return e.byteLength;if(S.isURLSearchParams(e)&&(e=e+""),S.isString(e))return(await ui(e)).byteLength},pi=async(e,t)=>{const r=S.toFiniteNumber(e.getContentLength());return r??fi(t)},hi=g0&&(async e=>{let{url:t,method:r,data:n,signal:a,cancelToken:o,timeout:l,onDownloadProgress:i,onUploadProgress:x,responseType:s,headers:c,withCredentials:v="same-origin",fetchOptions:u}=Qn(e);s=s?(s+"").toLowerCase():"text";let m=ii([a,o&&o.toAbortSignal()],l),f;const p=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let d;try{if(x&&di&&r!=="get"&&r!=="head"&&(d=await pi(c,n))!==0){let y=new Request(t,{method:"POST",body:n,duplex:"half"}),E;if(S.isFormData(n)&&(E=y.headers.get("content-type"))&&c.setContentType(E),y.body){const[B,R]=Rr(d,l0(Sr(x)));n=Or(y.body,Tr,B,R)}}S.isString(v)||(v=v?"include":"omit");const C="credentials"in Request.prototype;f=new Request(t,{...u,signal:m,method:r.toUpperCase(),headers:c.normalize().toJSON(),body:n,duplex:"half",credentials:C?v:void 0});let h=await fetch(f);const b=G0&&(s==="stream"||s==="response");if(G0&&(i||b&&p)){const y={};["status","statusText","headers"].forEach(N=>{y[N]=h[N]});const E=S.toFiniteNumber(h.headers.get("content-length")),[B,R]=i&&Rr(E,l0(Sr(i),!0))||[];h=new Response(Or(h.body,Tr,B,()=>{R&&R(),p&&p()}),y)}s=s||"text";let g=await x0[S.findKey(x0,s)||"text"](h,e);return!b&&p&&p(),await new Promise((y,E)=>{Xn(y,E,{data:g,headers:oe.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:f})})}catch(C){throw p&&p(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new U("Network Error",U.ERR_NETWORK,e,f),{cause:C.cause||C}):U.from(C,C&&C.code,e,f)}}),V0={http:ks,xhr:si,fetch:hi};S.forEach(V0,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const jr=e=>`- ${e}`,vi=e=>S.isFunction(e)||e===null||e===!1,$n={getAdapter:e=>{e=S.isArray(e)?e:[e];const{length:t}=e;let r,n;const a={};for(let o=0;o<t;o++){r=e[o];let l;if(n=r,!vi(r)&&(n=V0[(l=String(r)).toLowerCase()],n===void 0))throw new U(`Unknown adapter '${l}'`);if(n)break;a[l||"#"+o]=n}if(!n){const o=Object.entries(a).map(([i,x])=>`adapter ${i} `+(x===!1?"is not supported by the environment":"is not available in the build"));let l=t?o.length>1?`since :
195
+ `+o.map(jr).join(`
196
+ `):" "+jr(o[0]):"as no adapter specified";throw new U("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return n},adapters:V0};function O0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Xe(null,e)}function _r(e){return O0(e),e.headers=oe.from(e.headers),e.data=k0.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),$n.getAdapter(e.adapter||ft.adapter)(e).then(function(n){return O0(e),n.data=k0.call(e,e.transformResponse,n),n.headers=oe.from(n.headers),n},function(n){return Kn(n)||(O0(e),n&&n.response&&(n.response.data=k0.call(e,e.transformResponse,n.response),n.response.headers=oe.from(n.response.headers))),Promise.reject(n)})}const ea="1.8.4",y0={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{y0[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Nr={};y0.transitional=function(t,r,n){function a(o,l){return"[Axios v"+ea+"] Transitional option '"+o+"'"+l+(n?". "+n:"")}return(o,l,i)=>{if(t===!1)throw new U(a(l," has been removed"+(r?" in "+r:"")),U.ERR_DEPRECATED);return r&&!Nr[l]&&(Nr[l]=!0,console.warn(a(l," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(o,l,i):!0}};y0.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function mi(e,t,r){if(typeof e!="object")throw new U("options must be an object",U.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const o=n[a],l=t[o];if(l){const i=e[o],x=i===void 0||l(i,o,e);if(x!==!0)throw new U("option "+o+" must be "+x,U.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new U("Unknown option "+o,U.ERR_BAD_OPTION)}}const Bt={assertOptions:mi,validators:y0},pe=Bt.validators;let _e=class{constructor(t){this.defaults=t,this.interceptors={request:new Fr,response:new Fr}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const o=a.stack?a.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
197
+ `+o):n.stack=o}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=He(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:o}=r;n!==void 0&&Bt.assertOptions(n,{silentJSONParsing:pe.transitional(pe.boolean),forcedJSONParsing:pe.transitional(pe.boolean),clarifyTimeoutError:pe.transitional(pe.boolean)},!1),a!=null&&(S.isFunction(a)?r.paramsSerializer={serialize:a}:Bt.assertOptions(a,{encode:pe.function,serialize:pe.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Bt.assertOptions(r,{baseUrl:pe.spelling("baseURL"),withXsrfToken:pe.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let l=o&&S.merge(o.common,o[r.method]);o&&S.forEach(["delete","get","head","post","put","patch","common"],f=>{delete o[f]}),r.headers=oe.concat(l,o);const i=[];let x=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(x=x&&p.synchronous,i.unshift(p.fulfilled,p.rejected))});const s=[];this.interceptors.response.forEach(function(p){s.push(p.fulfilled,p.rejected)});let c,v=0,u;if(!x){const f=[_r.bind(this),void 0];for(f.unshift.apply(f,i),f.push.apply(f,s),u=f.length,c=Promise.resolve(r);v<u;)c=c.then(f[v++],f[v++]);return c}u=i.length;let m=r;for(v=0;v<u;){const f=i[v++],p=i[v++];try{m=f(m)}catch(d){p.call(this,d);break}}try{c=_r.call(this,m)}catch(f){return Promise.reject(f)}for(v=0,u=s.length;v<u;)c=c.then(s[v++],s[v++]);return c}getUri(t){t=He(this.defaults,t);const r=Yn(t.baseURL,t.url,t.allowAbsoluteUrls);return Wn(r,t.params,t.paramsSerializer)}};S.forEach(["delete","get","head","options"],function(t){_e.prototype[t]=function(r,n){return this.request(He(n||{},{method:t,url:r,data:(n||{}).data}))}});S.forEach(["post","put","patch"],function(t){function r(n){return function(o,l,i){return this.request(He(i||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:l}))}}_e.prototype[t]=r(),_e.prototype[t+"Form"]=r(!0)});let bi=class ta{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(a=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](a);n._listeners=null}),this.promise.then=a=>{let o;const l=new Promise(i=>{n.subscribe(i),o=i}).then(a);return l.cancel=function(){n.unsubscribe(o)},l},t(function(o,l,i){n.reason||(n.reason=new Xe(o,l,i),r(n.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 r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new ta(function(a){t=a}),cancel:t}}};function gi(e){return function(r){return e.apply(null,r)}}function yi(e){return S.isObject(e)&&e.isAxiosError===!0}const K0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(K0).forEach(([e,t])=>{K0[t]=e});function ra(e){const t=new _e(e),r=jn(_e.prototype.request,t);return S.extend(r,_e.prototype,t,{allOwnKeys:!0}),S.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return ra(He(e,a))},r}const $=ra(ft);$.Axios=_e;$.CanceledError=Xe;$.CancelToken=bi;$.isCancel=Kn;$.VERSION=ea;$.toFormData=b0;$.AxiosError=U;$.Cancel=$.CanceledError;$.all=function(t){return Promise.all(t)};$.spread=gi;$.isAxiosError=yi;$.mergeConfig=He;$.AxiosHeaders=oe;$.formToJSON=e=>Vn(S.isHTMLForm(e)?new FormData(e):e);$.getAdapter=$n.getAdapter;$.HttpStatusCode=K0;$.default=$;const{Axios:wx,AxiosError:Fx,CanceledError:Dx,isCancel:Rx,CancelToken:Sx,VERSION:kx,all:Ox,Cancel:Tx,isAxiosError:jx,spread:_x,toFormData:Nx,AxiosHeaders:Px,HttpStatusCode:Hx,formToJSON:Ix,getAdapter:qx,mergeConfig:Lx}=$,$0="-",Ci=e=>{const t=Ai(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{const i=l.split($0);return i[0]===""&&i.length!==1&&i.shift(),na(i,t)||Ei(l)},getConflictingClassGroupIds:(l,i)=>{const x=r[l]||[];return i&&n[l]?[...x,...n[l]]:x}}},na=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),a=n?na(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;const o=e.join($0);return(l=t.validators.find(({validator:i})=>i(o)))==null?void 0:l.classGroupId},Pr=/^\[(.+)\]$/,Ei=e=>{if(Pr.test(e)){const t=Pr.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ai=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return wi(Object.entries(e.classGroups),r).forEach(([o,l])=>{X0(l,n,o,t)}),n},X0=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){const o=a===""?t:Hr(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(Bi(a)){X0(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,l])=>{X0(l,Hr(t,o),r,n)})})},Hr=(e,t)=>{let r=e;return t.split($0).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Bi=e=>e.isThemeGetter,wi=(e,t)=>t?e.map(([r,n])=>{const a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,i])=>[t+l,i])):o);return[r,a]}):e,Fi=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const a=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return a(o,l),l},set(o,l){r.has(o)?r.set(o,l):a(o,l)}}},aa="!",Di=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,l=i=>{const x=[];let s=0,c=0,v;for(let d=0;d<i.length;d++){let C=i[d];if(s===0){if(C===a&&(n||i.slice(d,d+o)===t)){x.push(i.slice(c,d)),c=d+o;continue}if(C==="/"){v=d;continue}}C==="["?s++:C==="]"&&s--}const u=x.length===0?i:i.substring(c),m=u.startsWith(aa),f=m?u.substring(1):u,p=v&&v>c?v-c:void 0;return{modifiers:x,hasImportantModifier:m,baseClassName:f,maybePostfixModifierPosition:p}};return r?i=>r({className:i,parseClassName:l}):l},Ri=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Si=e=>({cache:Fi(e.cacheSize),parseClassName:Di(e),...Ci(e)}),ki=/\s+/,Oi=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],l=e.trim().split(ki);let i="";for(let x=l.length-1;x>=0;x-=1){const s=l[x],{modifiers:c,hasImportantModifier:v,baseClassName:u,maybePostfixModifierPosition:m}=r(s);let f=!!m,p=n(f?u.substring(0,m):u);if(!p){if(!f){i=s+(i.length>0?" "+i:i);continue}if(p=n(u),!p){i=s+(i.length>0?" "+i:i);continue}f=!1}const d=Ri(c).join(":"),C=v?d+aa:d,h=C+p;if(o.includes(h))continue;o.push(h);const b=a(p,f);for(let g=0;g<b.length;++g){const y=b[g];o.push(C+y)}i=s+(i.length>0?" "+i:i)}return i};function Ti(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=oa(t))&&(n&&(n+=" "),n+=r);return n}const oa=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=oa(e[n]))&&(r&&(r+=" "),r+=t);return r};function ji(e,...t){let r,n,a,o=l;function l(x){const s=t.reduce((c,v)=>v(c),e());return r=Si(s),n=r.cache.get,a=r.cache.set,o=i,i(x)}function i(x){const s=n(x);if(s)return s;const c=Oi(x,r);return a(x,c),c}return function(){return o(Ti.apply(null,arguments))}}const Z=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},sa=/^\[(?:([a-z-]+):)?(.+)\]$/i,_i=/^\d+\/\d+$/,Ni=new Set(["px","full","screen"]),Pi=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hi=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ii=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qi=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Li=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,be=e=>We(e)||Ni.has(e)||_i.test(e),Be=e=>Ye(e,"length",Xi),We=e=>!!e&&!Number.isNaN(Number(e)),T0=e=>Ye(e,"number",We),ot=e=>!!e&&Number.isInteger(Number(e)),zi=e=>e.endsWith("%")&&We(e.slice(0,-1)),M=e=>sa.test(e),we=e=>Pi.test(e),Ui=new Set(["length","size","percentage"]),Mi=e=>Ye(e,Ui,ia),Wi=e=>Ye(e,"position",ia),Gi=new Set(["image","url"]),Vi=e=>Ye(e,Gi,Qi),Ki=e=>Ye(e,"",Yi),st=()=>!0,Ye=(e,t,r)=>{const n=sa.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Xi=e=>Hi.test(e)&&!Ii.test(e),ia=()=>!1,Yi=e=>qi.test(e),Qi=e=>Li.test(e),Zi=()=>{const e=Z("colors"),t=Z("spacing"),r=Z("blur"),n=Z("brightness"),a=Z("borderColor"),o=Z("borderRadius"),l=Z("borderSpacing"),i=Z("borderWidth"),x=Z("contrast"),s=Z("grayscale"),c=Z("hueRotate"),v=Z("invert"),u=Z("gap"),m=Z("gradientColorStops"),f=Z("gradientColorStopPositions"),p=Z("inset"),d=Z("margin"),C=Z("opacity"),h=Z("padding"),b=Z("saturate"),g=Z("scale"),y=Z("sepia"),E=Z("skew"),B=Z("space"),R=Z("translate"),N=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],w=()=>["auto",M,t],D=()=>[M,t],O=()=>["",be,Be],H=()=>["auto",We,M],I=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>["start","end","center","between","around","evenly","stretch"],V=()=>["","0",M],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[We,M];return{cacheSize:500,separator:":",theme:{colors:[st],spacing:[be,Be],blur:["none","",we,M],brightness:k(),borderColor:[e],borderRadius:["none","","full",we,M],borderSpacing:D(),borderWidth:O(),contrast:k(),grayscale:V(),hueRotate:k(),invert:V(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[zi,Be],inset:w(),margin:w(),opacity:k(),padding:D(),saturate:k(),scale:k(),sepia:V(),skew:k(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",M]}],container:["container"],columns:[{columns:[we]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...I(),M]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ot,M]}],basis:[{basis:w()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",M]}],grow:[{grow:V()}],shrink:[{shrink:V()}],order:[{order:["first","last","none",ot,M]}],"grid-cols":[{"grid-cols":[st]}],"col-start-end":[{col:["auto",{span:["full",ot,M]},M]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[st]}],"row-start-end":[{row:["auto",{span:[ot,M]},M]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",M]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",M]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...W()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...W(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...W(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[d]}],mx:[{mx:[d]}],my:[{my:[d]}],ms:[{ms:[d]}],me:[{me:[d]}],mt:[{mt:[d]}],mr:[{mr:[d]}],mb:[{mb:[d]}],ml:[{ml:[d]}],"space-x":[{"space-x":[B]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[B]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",M,t]}],"min-w":[{"min-w":[M,t,"min","max","fit"]}],"max-w":[{"max-w":[M,t,"none","full","min","max","fit","prose",{screen:[we]},we]}],h:[{h:[M,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[M,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[M,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[M,t,"auto","min","max","fit"]}],"font-size":[{text:["base",we,Be]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",T0]}],"font-family":[{font:[st]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",M]}],"line-clamp":[{"line-clamp":["none",We,T0]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",be,M]}],"list-image":[{"list-image":["none",M]}],"list-style-type":[{list:["none","disc","decimal",M]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",be,Be]}],"underline-offset":[{"underline-offset":["auto",be,M]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",M]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",M]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...I(),Wi]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mi]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Vi]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:q()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[be,M]}],"outline-w":[{outline:[be,Be]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:O()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[be,Be]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",we,Ki]}],"shadow-color":[{shadow:[st]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":z()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[x]}],"drop-shadow":[{"drop-shadow":["","none",we,M]}],grayscale:[{grayscale:[s]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[v]}],saturate:[{saturate:[b]}],sepia:[{sepia:[y]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[x]}],"backdrop-grayscale":[{"backdrop-grayscale":[s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",M]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",M]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",M]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[g]}],"scale-x":[{"scale-x":[g]}],"scale-y":[{"scale-y":[g]}],rotate:[{rotate:[ot,M]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",M]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",M]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",M]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[be,Be,T0]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Ji=ji(Zi);function ca(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=ca(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function la(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=ca(e))&&(n&&(n+=" "),n+=t);return n}var wt={exports:{}};function $i(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 Ft={exports:{}};const ec={},tc=Object.freeze(Object.defineProperty({__proto__:null,default:ec},Symbol.toStringTag,{value:"Module"})),rc=Za(tc);var nc=Ft.exports,Ir;function K(){return Ir||(Ir=1,function(e,t){(function(r,n){e.exports=n()})(nc,function(){var r=r||function(n,a){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Oe<"u"&&Oe.crypto&&(o=Oe.crypto),!o&&typeof $i=="function")try{o=rc}catch{}var l=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function h(){}return function(b){var g;return h.prototype=b,g=new h,h.prototype=null,g}}(),x={},s=x.lib={},c=s.Base=function(){return{extend:function(h){var b=i(this);return h&&b.mixIn(h),(!b.hasOwnProperty("init")||this.init===b.init)&&(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var h=this.extend();return h.init.apply(h,arguments),h},init:function(){},mixIn:function(h){for(var b in h)h.hasOwnProperty(b)&&(this[b]=h[b]);h.hasOwnProperty("toString")&&(this.toString=h.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),v=s.WordArray=c.extend({init:function(h,b){h=this.words=h||[],b!=a?this.sigBytes=b:this.sigBytes=h.length*4},toString:function(h){return(h||m).stringify(this)},concat:function(h){var b=this.words,g=h.words,y=this.sigBytes,E=h.sigBytes;if(this.clamp(),y%4)for(var B=0;B<E;B++){var R=g[B>>>2]>>>24-B%4*8&255;b[y+B>>>2]|=R<<24-(y+B)%4*8}else for(var N=0;N<E;N+=4)b[y+N>>>2]=g[N>>>2];return this.sigBytes+=E,this},clamp:function(){var h=this.words,b=this.sigBytes;h[b>>>2]&=4294967295<<32-b%4*8,h.length=n.ceil(b/4)},clone:function(){var h=c.clone.call(this);return h.words=this.words.slice(0),h},random:function(h){for(var b=[],g=0;g<h;g+=4)b.push(l());return new v.init(b,h)}}),u=x.enc={},m=u.Hex={stringify:function(h){for(var b=h.words,g=h.sigBytes,y=[],E=0;E<g;E++){var B=b[E>>>2]>>>24-E%4*8&255;y.push((B>>>4).toString(16)),y.push((B&15).toString(16))}return y.join("")},parse:function(h){for(var b=h.length,g=[],y=0;y<b;y+=2)g[y>>>3]|=parseInt(h.substr(y,2),16)<<24-y%8*4;return new v.init(g,b/2)}},f=u.Latin1={stringify:function(h){for(var b=h.words,g=h.sigBytes,y=[],E=0;E<g;E++){var B=b[E>>>2]>>>24-E%4*8&255;y.push(String.fromCharCode(B))}return y.join("")},parse:function(h){for(var b=h.length,g=[],y=0;y<b;y++)g[y>>>2]|=(h.charCodeAt(y)&255)<<24-y%4*8;return new v.init(g,b)}},p=u.Utf8={stringify:function(h){try{return decodeURIComponent(escape(f.stringify(h)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(h){return f.parse(unescape(encodeURIComponent(h)))}},d=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new v.init,this._nDataBytes=0},_append:function(h){typeof h=="string"&&(h=p.parse(h)),this._data.concat(h),this._nDataBytes+=h.sigBytes},_process:function(h){var b,g=this._data,y=g.words,E=g.sigBytes,B=this.blockSize,R=B*4,N=E/R;h?N=n.ceil(N):N=n.max((N|0)-this._minBufferSize,0);var A=N*B,w=n.min(A*4,E);if(A){for(var D=0;D<A;D+=B)this._doProcessBlock(y,D);b=y.splice(0,A),g.sigBytes-=w}return new v.init(b,w)},clone:function(){var h=c.clone.call(this);return h._data=this._data.clone(),h},_minBufferSize:0});s.Hasher=d.extend({cfg:c.extend(),init:function(h){this.cfg=this.cfg.extend(h),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(h){return this._append(h),this._process(),this},finalize:function(h){h&&this._append(h);var b=this._doFinalize();return b},blockSize:16,_createHelper:function(h){return function(b,g){return new h.init(g).finalize(b)}},_createHmacHelper:function(h){return function(b,g){return new C.HMAC.init(h,g).finalize(b)}}});var C=x.algo={};return x}(Math);return r})}(Ft)),Ft.exports}var Dt={exports:{}},ac=Dt.exports,qr;function C0(){return qr||(qr=1,function(e,t){(function(r,n){e.exports=n(K())})(ac,function(r){return function(n){var a=r,o=a.lib,l=o.Base,i=o.WordArray,x=a.x64={};x.Word=l.extend({init:function(s,c){this.high=s,this.low=c}}),x.WordArray=l.extend({init:function(s,c){s=this.words=s||[],c!=n?this.sigBytes=c:this.sigBytes=s.length*8},toX32:function(){for(var s=this.words,c=s.length,v=[],u=0;u<c;u++){var m=s[u];v.push(m.high),v.push(m.low)}return i.create(v,this.sigBytes)},clone:function(){for(var s=l.clone.call(this),c=s.words=this.words.slice(0),v=c.length,u=0;u<v;u++)c[u]=c[u].clone();return s}})}(),r})}(Dt)),Dt.exports}var Rt={exports:{}},oc=Rt.exports,Lr;function sc(){return Lr||(Lr=1,function(e,t){(function(r,n){e.exports=n(K())})(oc,function(r){return function(){if(typeof ArrayBuffer=="function"){var n=r,a=n.lib,o=a.WordArray,l=o.init,i=o.init=function(x){if(x instanceof ArrayBuffer&&(x=new Uint8Array(x)),(x instanceof Int8Array||typeof Uint8ClampedArray<"u"&&x instanceof Uint8ClampedArray||x instanceof Int16Array||x instanceof Uint16Array||x instanceof Int32Array||x instanceof Uint32Array||x instanceof Float32Array||x instanceof Float64Array)&&(x=new Uint8Array(x.buffer,x.byteOffset,x.byteLength)),x instanceof Uint8Array){for(var s=x.byteLength,c=[],v=0;v<s;v++)c[v>>>2]|=x[v]<<24-v%4*8;l.call(this,c,s)}else l.apply(this,arguments)};i.prototype=o}}(),r.lib.WordArray})}(Rt)),Rt.exports}var St={exports:{}},ic=St.exports,zr;function cc(){return zr||(zr=1,function(e,t){(function(r,n){e.exports=n(K())})(ic,function(r){return function(){var n=r,a=n.lib,o=a.WordArray,l=n.enc;l.Utf16=l.Utf16BE={stringify:function(x){for(var s=x.words,c=x.sigBytes,v=[],u=0;u<c;u+=2){var m=s[u>>>2]>>>16-u%4*8&65535;v.push(String.fromCharCode(m))}return v.join("")},parse:function(x){for(var s=x.length,c=[],v=0;v<s;v++)c[v>>>1]|=x.charCodeAt(v)<<16-v%2*16;return o.create(c,s*2)}},l.Utf16LE={stringify:function(x){for(var s=x.words,c=x.sigBytes,v=[],u=0;u<c;u+=2){var m=i(s[u>>>2]>>>16-u%4*8&65535);v.push(String.fromCharCode(m))}return v.join("")},parse:function(x){for(var s=x.length,c=[],v=0;v<s;v++)c[v>>>1]|=i(x.charCodeAt(v)<<16-v%2*16);return o.create(c,s*2)}};function i(x){return x<<8&4278255360|x>>>8&16711935}}(),r.enc.Utf16})}(St)),St.exports}var kt={exports:{}},lc=kt.exports,Ur;function qe(){return Ur||(Ur=1,function(e,t){(function(r,n){e.exports=n(K())})(lc,function(r){return function(){var n=r,a=n.lib,o=a.WordArray,l=n.enc;l.Base64={stringify:function(x){var s=x.words,c=x.sigBytes,v=this._map;x.clamp();for(var u=[],m=0;m<c;m+=3)for(var f=s[m>>>2]>>>24-m%4*8&255,p=s[m+1>>>2]>>>24-(m+1)%4*8&255,d=s[m+2>>>2]>>>24-(m+2)%4*8&255,C=f<<16|p<<8|d,h=0;h<4&&m+h*.75<c;h++)u.push(v.charAt(C>>>6*(3-h)&63));var b=v.charAt(64);if(b)for(;u.length%4;)u.push(b);return u.join("")},parse:function(x){var s=x.length,c=this._map,v=this._reverseMap;if(!v){v=this._reverseMap=[];for(var u=0;u<c.length;u++)v[c.charCodeAt(u)]=u}var m=c.charAt(64);if(m){var f=x.indexOf(m);f!==-1&&(s=f)}return i(x,s,v)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function i(x,s,c){for(var v=[],u=0,m=0;m<s;m++)if(m%4){var f=c[x.charCodeAt(m-1)]<<m%4*2,p=c[x.charCodeAt(m)]>>>6-m%4*2,d=f|p;v[u>>>2]|=d<<24-u%4*8,u++}return o.create(v,u)}}(),r.enc.Base64})}(kt)),kt.exports}var Ot={exports:{}},xc=Ot.exports,Mr;function uc(){return Mr||(Mr=1,function(e,t){(function(r,n){e.exports=n(K())})(xc,function(r){return function(){var n=r,a=n.lib,o=a.WordArray,l=n.enc;l.Base64url={stringify:function(x,s){s===void 0&&(s=!0);var c=x.words,v=x.sigBytes,u=s?this._safe_map:this._map;x.clamp();for(var m=[],f=0;f<v;f+=3)for(var p=c[f>>>2]>>>24-f%4*8&255,d=c[f+1>>>2]>>>24-(f+1)%4*8&255,C=c[f+2>>>2]>>>24-(f+2)%4*8&255,h=p<<16|d<<8|C,b=0;b<4&&f+b*.75<v;b++)m.push(u.charAt(h>>>6*(3-b)&63));var g=u.charAt(64);if(g)for(;m.length%4;)m.push(g);return m.join("")},parse:function(x,s){s===void 0&&(s=!0);var c=x.length,v=s?this._safe_map:this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var m=0;m<v.length;m++)u[v.charCodeAt(m)]=m}var f=v.charAt(64);if(f){var p=x.indexOf(f);p!==-1&&(c=p)}return i(x,c,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function i(x,s,c){for(var v=[],u=0,m=0;m<s;m++)if(m%4){var f=c[x.charCodeAt(m-1)]<<m%4*2,p=c[x.charCodeAt(m)]>>>6-m%4*2,d=f|p;v[u>>>2]|=d<<24-u%4*8,u++}return o.create(v,u)}}(),r.enc.Base64url})}(Ot)),Ot.exports}var Tt={exports:{}},dc=Tt.exports,Wr;function Le(){return Wr||(Wr=1,function(e,t){(function(r,n){e.exports=n(K())})(dc,function(r){return function(n){var a=r,o=a.lib,l=o.WordArray,i=o.Hasher,x=a.algo,s=[];(function(){for(var p=0;p<64;p++)s[p]=n.abs(n.sin(p+1))*4294967296|0})();var c=x.MD5=i.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,d){for(var C=0;C<16;C++){var h=d+C,b=p[h];p[h]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360}var g=this._hash.words,y=p[d+0],E=p[d+1],B=p[d+2],R=p[d+3],N=p[d+4],A=p[d+5],w=p[d+6],D=p[d+7],O=p[d+8],H=p[d+9],I=p[d+10],q=p[d+11],z=p[d+12],W=p[d+13],V=p[d+14],G=p[d+15],k=g[0],j=g[1],P=g[2],T=g[3];k=v(k,j,P,T,y,7,s[0]),T=v(T,k,j,P,E,12,s[1]),P=v(P,T,k,j,B,17,s[2]),j=v(j,P,T,k,R,22,s[3]),k=v(k,j,P,T,N,7,s[4]),T=v(T,k,j,P,A,12,s[5]),P=v(P,T,k,j,w,17,s[6]),j=v(j,P,T,k,D,22,s[7]),k=v(k,j,P,T,O,7,s[8]),T=v(T,k,j,P,H,12,s[9]),P=v(P,T,k,j,I,17,s[10]),j=v(j,P,T,k,q,22,s[11]),k=v(k,j,P,T,z,7,s[12]),T=v(T,k,j,P,W,12,s[13]),P=v(P,T,k,j,V,17,s[14]),j=v(j,P,T,k,G,22,s[15]),k=u(k,j,P,T,E,5,s[16]),T=u(T,k,j,P,w,9,s[17]),P=u(P,T,k,j,q,14,s[18]),j=u(j,P,T,k,y,20,s[19]),k=u(k,j,P,T,A,5,s[20]),T=u(T,k,j,P,I,9,s[21]),P=u(P,T,k,j,G,14,s[22]),j=u(j,P,T,k,N,20,s[23]),k=u(k,j,P,T,H,5,s[24]),T=u(T,k,j,P,V,9,s[25]),P=u(P,T,k,j,R,14,s[26]),j=u(j,P,T,k,O,20,s[27]),k=u(k,j,P,T,W,5,s[28]),T=u(T,k,j,P,B,9,s[29]),P=u(P,T,k,j,D,14,s[30]),j=u(j,P,T,k,z,20,s[31]),k=m(k,j,P,T,A,4,s[32]),T=m(T,k,j,P,O,11,s[33]),P=m(P,T,k,j,q,16,s[34]),j=m(j,P,T,k,V,23,s[35]),k=m(k,j,P,T,E,4,s[36]),T=m(T,k,j,P,N,11,s[37]),P=m(P,T,k,j,D,16,s[38]),j=m(j,P,T,k,I,23,s[39]),k=m(k,j,P,T,W,4,s[40]),T=m(T,k,j,P,y,11,s[41]),P=m(P,T,k,j,R,16,s[42]),j=m(j,P,T,k,w,23,s[43]),k=m(k,j,P,T,H,4,s[44]),T=m(T,k,j,P,z,11,s[45]),P=m(P,T,k,j,G,16,s[46]),j=m(j,P,T,k,B,23,s[47]),k=f(k,j,P,T,y,6,s[48]),T=f(T,k,j,P,D,10,s[49]),P=f(P,T,k,j,V,15,s[50]),j=f(j,P,T,k,A,21,s[51]),k=f(k,j,P,T,z,6,s[52]),T=f(T,k,j,P,R,10,s[53]),P=f(P,T,k,j,I,15,s[54]),j=f(j,P,T,k,E,21,s[55]),k=f(k,j,P,T,O,6,s[56]),T=f(T,k,j,P,G,10,s[57]),P=f(P,T,k,j,w,15,s[58]),j=f(j,P,T,k,W,21,s[59]),k=f(k,j,P,T,N,6,s[60]),T=f(T,k,j,P,q,10,s[61]),P=f(P,T,k,j,B,15,s[62]),j=f(j,P,T,k,H,21,s[63]),g[0]=g[0]+k|0,g[1]=g[1]+j|0,g[2]=g[2]+P|0,g[3]=g[3]+T|0},_doFinalize:function(){var p=this._data,d=p.words,C=this._nDataBytes*8,h=p.sigBytes*8;d[h>>>5]|=128<<24-h%32;var b=n.floor(C/4294967296),g=C;d[(h+64>>>9<<4)+15]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,d[(h+64>>>9<<4)+14]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,p.sigBytes=(d.length+1)*4,this._process();for(var y=this._hash,E=y.words,B=0;B<4;B++){var R=E[B];E[B]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}return y},clone:function(){var p=i.clone.call(this);return p._hash=this._hash.clone(),p}});function v(p,d,C,h,b,g,y){var E=p+(d&C|~d&h)+b+y;return(E<<g|E>>>32-g)+d}function u(p,d,C,h,b,g,y){var E=p+(d&h|C&~h)+b+y;return(E<<g|E>>>32-g)+d}function m(p,d,C,h,b,g,y){var E=p+(d^C^h)+b+y;return(E<<g|E>>>32-g)+d}function f(p,d,C,h,b,g,y){var E=p+(C^(d|~h))+b+y;return(E<<g|E>>>32-g)+d}a.MD5=i._createHelper(c),a.HmacMD5=i._createHmacHelper(c)}(Math),r.MD5})}(Tt)),Tt.exports}var jt={exports:{}},fc=jt.exports,Gr;function xa(){return Gr||(Gr=1,function(e,t){(function(r,n){e.exports=n(K())})(fc,function(r){return function(){var n=r,a=n.lib,o=a.WordArray,l=a.Hasher,i=n.algo,x=[],s=i.SHA1=l.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,v){for(var u=this._hash.words,m=u[0],f=u[1],p=u[2],d=u[3],C=u[4],h=0;h<80;h++){if(h<16)x[h]=c[v+h]|0;else{var b=x[h-3]^x[h-8]^x[h-14]^x[h-16];x[h]=b<<1|b>>>31}var g=(m<<5|m>>>27)+C+x[h];h<20?g+=(f&p|~f&d)+1518500249:h<40?g+=(f^p^d)+1859775393:h<60?g+=(f&p|f&d|p&d)-1894007588:g+=(f^p^d)-899497514,C=d,d=p,p=f<<30|f>>>2,f=m,m=g}u[0]=u[0]+m|0,u[1]=u[1]+f|0,u[2]=u[2]+p|0,u[3]=u[3]+d|0,u[4]=u[4]+C|0},_doFinalize:function(){var c=this._data,v=c.words,u=this._nDataBytes*8,m=c.sigBytes*8;return v[m>>>5]|=128<<24-m%32,v[(m+64>>>9<<4)+14]=Math.floor(u/4294967296),v[(m+64>>>9<<4)+15]=u,c.sigBytes=v.length*4,this._process(),this._hash},clone:function(){var c=l.clone.call(this);return c._hash=this._hash.clone(),c}});n.SHA1=l._createHelper(s),n.HmacSHA1=l._createHmacHelper(s)}(),r.SHA1})}(jt)),jt.exports}var _t={exports:{}},pc=_t.exports,Vr;function er(){return Vr||(Vr=1,function(e,t){(function(r,n){e.exports=n(K())})(pc,function(r){return function(n){var a=r,o=a.lib,l=o.WordArray,i=o.Hasher,x=a.algo,s=[],c=[];(function(){function m(C){for(var h=n.sqrt(C),b=2;b<=h;b++)if(!(C%b))return!1;return!0}function f(C){return(C-(C|0))*4294967296|0}for(var p=2,d=0;d<64;)m(p)&&(d<8&&(s[d]=f(n.pow(p,1/2))),c[d]=f(n.pow(p,1/3)),d++),p++})();var v=[],u=x.SHA256=i.extend({_doReset:function(){this._hash=new l.init(s.slice(0))},_doProcessBlock:function(m,f){for(var p=this._hash.words,d=p[0],C=p[1],h=p[2],b=p[3],g=p[4],y=p[5],E=p[6],B=p[7],R=0;R<64;R++){if(R<16)v[R]=m[f+R]|0;else{var N=v[R-15],A=(N<<25|N>>>7)^(N<<14|N>>>18)^N>>>3,w=v[R-2],D=(w<<15|w>>>17)^(w<<13|w>>>19)^w>>>10;v[R]=A+v[R-7]+D+v[R-16]}var O=g&y^~g&E,H=d&C^d&h^C&h,I=(d<<30|d>>>2)^(d<<19|d>>>13)^(d<<10|d>>>22),q=(g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25),z=B+q+O+c[R]+v[R],W=I+H;B=E,E=y,y=g,g=b+z|0,b=h,h=C,C=d,d=z+W|0}p[0]=p[0]+d|0,p[1]=p[1]+C|0,p[2]=p[2]+h|0,p[3]=p[3]+b|0,p[4]=p[4]+g|0,p[5]=p[5]+y|0,p[6]=p[6]+E|0,p[7]=p[7]+B|0},_doFinalize:function(){var m=this._data,f=m.words,p=this._nDataBytes*8,d=m.sigBytes*8;return f[d>>>5]|=128<<24-d%32,f[(d+64>>>9<<4)+14]=n.floor(p/4294967296),f[(d+64>>>9<<4)+15]=p,m.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var m=i.clone.call(this);return m._hash=this._hash.clone(),m}});a.SHA256=i._createHelper(u),a.HmacSHA256=i._createHmacHelper(u)}(Math),r.SHA256})}(_t)),_t.exports}var Nt={exports:{}},hc=Nt.exports,Kr;function vc(){return Kr||(Kr=1,function(e,t){(function(r,n,a){e.exports=n(K(),er())})(hc,function(r){return function(){var n=r,a=n.lib,o=a.WordArray,l=n.algo,i=l.SHA256,x=l.SHA224=i.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var s=i._doFinalize.call(this);return s.sigBytes-=4,s}});n.SHA224=i._createHelper(x),n.HmacSHA224=i._createHmacHelper(x)}(),r.SHA224})}(Nt)),Nt.exports}var Pt={exports:{}},mc=Pt.exports,Xr;function ua(){return Xr||(Xr=1,function(e,t){(function(r,n,a){e.exports=n(K(),C0())})(mc,function(r){return function(){var n=r,a=n.lib,o=a.Hasher,l=n.x64,i=l.Word,x=l.WordArray,s=n.algo;function c(){return i.create.apply(i,arguments)}var v=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],u=[];(function(){for(var f=0;f<80;f++)u[f]=c()})();var m=s.SHA512=o.extend({_doReset:function(){this._hash=new x.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(f,p){for(var d=this._hash.words,C=d[0],h=d[1],b=d[2],g=d[3],y=d[4],E=d[5],B=d[6],R=d[7],N=C.high,A=C.low,w=h.high,D=h.low,O=b.high,H=b.low,I=g.high,q=g.low,z=y.high,W=y.low,V=E.high,G=E.low,k=B.high,j=B.low,P=R.high,T=R.low,Q=N,Y=A,X=w,L=D,xe=O,ve=H,F0=I,Ze=q,ue=z,se=W,ht=V,Je=G,vt=k,$e=j,D0=P,et=T,de=0;de<80;de++){var le,Ee,mt=u[de];if(de<16)Ee=mt.high=f[p+de*2]|0,le=mt.low=f[p+de*2+1]|0;else{var cr=u[de-15],ze=cr.high,tt=cr.low,_a=(ze>>>1|tt<<31)^(ze>>>8|tt<<24)^ze>>>7,lr=(tt>>>1|ze<<31)^(tt>>>8|ze<<24)^(tt>>>7|ze<<25),xr=u[de-2],Ue=xr.high,rt=xr.low,Na=(Ue>>>19|rt<<13)^(Ue<<3|rt>>>29)^Ue>>>6,ur=(rt>>>19|Ue<<13)^(rt<<3|Ue>>>29)^(rt>>>6|Ue<<26),dr=u[de-7],Pa=dr.high,Ha=dr.low,fr=u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?1:0),T=R.low=T+et,R.high=P+D0+(T>>>0<et>>>0?1:0)},_doFinalize:function(){var f=this._data,p=f.words,d=this._nDataBytes*8,C=f.sigBytes*8;p[C>>>5]|=128<<24-C%32,p[(C+128>>>10<<5)+30]=Math.floor(d/4294967296),p[(C+128>>>10<<5)+31]=d,f.sigBytes=p.length*4,this._process();var h=this._hash.toX32();return h},clone:function(){var f=o.clone.call(this);return f._hash=this._hash.clone(),f},blockSize:1024/32});n.SHA512=o._createHelper(m),n.HmacSHA512=o._createHmacHelper(m)}(),r.SHA512})}(Pt)),Pt.exports}var Ht={exports:{}},bc=Ht.exports,Yr;function gc(){return Yr||(Yr=1,function(e,t){(function(r,n,a){e.exports=n(K(),C0(),ua())})(bc,function(r){return function(){var n=r,a=n.x64,o=a.Word,l=a.WordArray,i=n.algo,x=i.SHA512,s=i.SHA384=x.extend({_doReset:function(){this._hash=new l.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var c=x._doFinalize.call(this);return c.sigBytes-=16,c}});n.SHA384=x._createHelper(s),n.HmacSHA384=x._createHmacHelper(s)}(),r.SHA384})}(Ht)),Ht.exports}var It={exports:{}},yc=It.exports,Qr;function Cc(){return Qr||(Qr=1,function(e,t){(function(r,n,a){e.exports=n(K(),C0())})(yc,function(r){return function(n){var a=r,o=a.lib,l=o.WordArray,i=o.Hasher,x=a.x64,s=x.Word,c=a.algo,v=[],u=[],m=[];(function(){for(var d=1,C=0,h=0;h<24;h++){v[d+5*C]=(h+1)*(h+2)/2%64;var b=C%5,g=(2*d+3*C)%5;d=b,C=g}for(var d=0;d<5;d++)for(var C=0;C<5;C++)u[d+5*C]=C+(2*d+3*C)%5*5;for(var y=1,E=0;E<24;E++){for(var B=0,R=0,N=0;N<7;N++){if(y&1){var A=(1<<N)-1;A<32?R^=1<<A:B^=1<<A-32}y&128?y=y<<1^113:y<<=1}m[E]=s.create(B,R)}})();var f=[];(function(){for(var d=0;d<25;d++)f[d]=s.create()})();var p=c.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var d=this._state=[],C=0;C<25;C++)d[C]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(d,C){for(var h=this._state,b=this.blockSize/2,g=0;g<b;g++){var y=d[C+2*g],E=d[C+2*g+1];y=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360;var B=h[g];B.high^=E,B.low^=y}for(var R=0;R<24;R++){for(var N=0;N<5;N++){for(var A=0,w=0,D=0;D<5;D++){var B=h[N+5*D];A^=B.high,w^=B.low}var O=f[N];O.high=A,O.low=w}for(var N=0;N<5;N++)for(var H=f[(N+4)%5],I=f[(N+1)%5],q=I.high,z=I.low,A=H.high^(q<<1|z>>>31),w=H.low^(z<<1|q>>>31),D=0;D<5;D++){var B=h[N+5*D];B.high^=A,B.low^=w}for(var W=1;W<25;W++){var A,w,B=h[W],V=B.high,G=B.low,k=v[W];k<32?(A=V<<k|G>>>32-k,w=G<<k|V>>>32-k):(A=G<<k-32|V>>>64-k,w=V<<k-32|G>>>64-k);var j=f[u[W]];j.high=A,j.low=w}var P=f[0],T=h[0];P.high=T.high,P.low=T.low;for(var N=0;N<5;N++)for(var D=0;D<5;D++){var W=N+5*D,B=h[W],Q=f[W],Y=f[(N+1)%5+5*D],X=f[(N+2)%5+5*D];B.high=Q.high^~Y.high&X.high,B.low=Q.low^~Y.low&X.low}var B=h[0],L=m[R];B.high^=L.high,B.low^=L.low}},_doFinalize:function(){var d=this._data,C=d.words;this._nDataBytes*8;var h=d.sigBytes*8,b=this.blockSize*32;C[h>>>5]|=1<<24-h%32,C[(n.ceil((h+1)/b)*b>>>5)-1]|=128,d.sigBytes=C.length*4,this._process();for(var g=this._state,y=this.cfg.outputLength/8,E=y/8,B=[],R=0;R<E;R++){var N=g[R],A=N.high,w=N.low;A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,B.push(w),B.push(A)}return new l.init(B,y)},clone:function(){for(var d=i.clone.call(this),C=d._state=this._state.slice(0),h=0;h<25;h++)C[h]=C[h].clone();return d}});a.SHA3=i._createHelper(p),a.HmacSHA3=i._createHmacHelper(p)}(Math),r.SHA3})}(It)),It.exports}var qt={exports:{}},Ec=qt.exports,Zr;function Ac(){return Zr||(Zr=1,function(e,t){(function(r,n){e.exports=n(K())})(Ec,function(r){/** @preserve
198
+ (c) 2012 by Cédric Mesnil. All rights reserved.
199
+
200
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
201
+
202
+ - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
203
+ - 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.
204
+
205
+ 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.
206
+ */return function(n){var a=r,o=a.lib,l=o.WordArray,i=o.Hasher,x=a.algo,s=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]),c=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]),v=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]),u=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]),m=l.create([0,1518500249,1859775393,2400959708,2840853838]),f=l.create([1352829926,1548603684,1836072691,2053994217,0]),p=x.RIPEMD160=i.extend({_doReset:function(){this._hash=l.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(E,B){for(var R=0;R<16;R++){var N=B+R,A=E[N];E[N]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}var w=this._hash.words,D=m.words,O=f.words,H=s.words,I=c.words,q=v.words,z=u.words,W,V,G,k,j,P,T,Q,Y,X;P=W=w[0],T=V=w[1],Q=G=w[2],Y=k=w[3],X=j=w[4];for(var L,R=0;R<80;R+=1)L=W+E[B+H[R]]|0,R<16?L+=d(V,G,k)+D[0]:R<32?L+=C(V,G,k)+D[1]:R<48?L+=h(V,G,k)+D[2]:R<64?L+=b(V,G,k)+D[3]:L+=g(V,G,k)+D[4],L=L|0,L=y(L,q[R]),L=L+j|0,W=j,j=k,k=y(G,10),G=V,V=L,L=P+E[B+I[R]]|0,R<16?L+=g(T,Q,Y)+O[0]:R<32?L+=b(T,Q,Y)+O[1]:R<48?L+=h(T,Q,Y)+O[2]:R<64?L+=C(T,Q,Y)+O[3]:L+=d(T,Q,Y)+O[4],L=L|0,L=y(L,z[R]),L=L+X|0,P=X,X=Y,Y=y(Q,10),Q=T,T=L;L=w[1]+G+Y|0,w[1]=w[2]+k+X|0,w[2]=w[3]+j+P|0,w[3]=w[4]+W+T|0,w[4]=w[0]+V+Q|0,w[0]=L},_doFinalize:function(){var E=this._data,B=E.words,R=this._nDataBytes*8,N=E.sigBytes*8;B[N>>>5]|=128<<24-N%32,B[(N+64>>>9<<4)+14]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,E.sigBytes=(B.length+1)*4,this._process();for(var A=this._hash,w=A.words,D=0;D<5;D++){var O=w[D];w[D]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360}return A},clone:function(){var E=i.clone.call(this);return E._hash=this._hash.clone(),E}});function d(E,B,R){return E^B^R}function C(E,B,R){return E&B|~E&R}function h(E,B,R){return(E|~B)^R}function b(E,B,R){return E&R|B&~R}function g(E,B,R){return E^(B|~R)}function y(E,B){return E<<B|E>>>32-B}a.RIPEMD160=i._createHelper(p),a.HmacRIPEMD160=i._createHmacHelper(p)}(),r.RIPEMD160})}(qt)),qt.exports}var Lt={exports:{}},Bc=Lt.exports,Jr;function tr(){return Jr||(Jr=1,function(e,t){(function(r,n){e.exports=n(K())})(Bc,function(r){(function(){var n=r,a=n.lib,o=a.Base,l=n.enc,i=l.Utf8,x=n.algo;x.HMAC=o.extend({init:function(s,c){s=this._hasher=new s.init,typeof c=="string"&&(c=i.parse(c));var v=s.blockSize,u=v*4;c.sigBytes>u&&(c=s.finalize(c)),c.clamp();for(var m=this._oKey=c.clone(),f=this._iKey=c.clone(),p=m.words,d=f.words,C=0;C<v;C++)p[C]^=1549556828,d[C]^=909522486;m.sigBytes=f.sigBytes=u,this.reset()},reset:function(){var s=this._hasher;s.reset(),s.update(this._iKey)},update:function(s){return this._hasher.update(s),this},finalize:function(s){var c=this._hasher,v=c.finalize(s);c.reset();var u=c.finalize(this._oKey.clone().concat(v));return u}})})()})}(Lt)),Lt.exports}var zt={exports:{}},wc=zt.exports,$r;function Fc(){return $r||($r=1,function(e,t){(function(r,n,a){e.exports=n(K(),er(),tr())})(wc,function(r){return function(){var n=r,a=n.lib,o=a.Base,l=a.WordArray,i=n.algo,x=i.SHA256,s=i.HMAC,c=i.PBKDF2=o.extend({cfg:o.extend({keySize:128/32,hasher:x,iterations:25e4}),init:function(v){this.cfg=this.cfg.extend(v)},compute:function(v,u){for(var m=this.cfg,f=s.create(m.hasher,v),p=l.create(),d=l.create([1]),C=p.words,h=d.words,b=m.keySize,g=m.iterations;C.length<b;){var y=f.update(u).finalize(d);f.reset();for(var E=y.words,B=E.length,R=y,N=1;N<g;N++){R=f.finalize(R),f.reset();for(var A=R.words,w=0;w<B;w++)E[w]^=A[w]}p.concat(y),h[0]++}return p.sigBytes=b*4,p}});n.PBKDF2=function(v,u,m){return c.create(m).compute(v,u)}}(),r.PBKDF2})}(zt)),zt.exports}var Ut={exports:{}},Dc=Ut.exports,en;function ke(){return en||(en=1,function(e,t){(function(r,n,a){e.exports=n(K(),xa(),tr())})(Dc,function(r){return function(){var n=r,a=n.lib,o=a.Base,l=a.WordArray,i=n.algo,x=i.MD5,s=i.EvpKDF=o.extend({cfg:o.extend({keySize:128/32,hasher:x,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,v){for(var u,m=this.cfg,f=m.hasher.create(),p=l.create(),d=p.words,C=m.keySize,h=m.iterations;d.length<C;){u&&f.update(u),u=f.update(c).finalize(v),f.reset();for(var b=1;b<h;b++)u=f.finalize(u),f.reset();p.concat(u)}return p.sigBytes=C*4,p}});n.EvpKDF=function(c,v,u){return s.create(u).compute(c,v)}}(),r.EvpKDF})}(Ut)),Ut.exports}var Mt={exports:{}},Rc=Mt.exports,tn;function ee(){return tn||(tn=1,function(e,t){(function(r,n,a){e.exports=n(K(),ke())})(Rc,function(r){r.lib.Cipher||function(n){var a=r,o=a.lib,l=o.Base,i=o.WordArray,x=o.BufferedBlockAlgorithm,s=a.enc;s.Utf8;var c=s.Base64,v=a.algo,u=v.EvpKDF,m=o.Cipher=x.extend({cfg:l.extend(),createEncryptor:function(A,w){return this.create(this._ENC_XFORM_MODE,A,w)},createDecryptor:function(A,w){return this.create(this._DEC_XFORM_MODE,A,w)},init:function(A,w,D){this.cfg=this.cfg.extend(D),this._xformMode=A,this._key=w,this.reset()},reset:function(){x.reset.call(this),this._doReset()},process:function(A){return this._append(A),this._process()},finalize:function(A){A&&this._append(A);var w=this._doFinalize();return w},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function A(w){return typeof w=="string"?N:E}return function(w){return{encrypt:function(D,O,H){return A(O).encrypt(w,D,O,H)},decrypt:function(D,O,H){return A(O).decrypt(w,D,O,H)}}}}()});o.StreamCipher=m.extend({_doFinalize:function(){var A=this._process(!0);return A},blockSize:1});var f=a.mode={},p=o.BlockCipherMode=l.extend({createEncryptor:function(A,w){return this.Encryptor.create(A,w)},createDecryptor:function(A,w){return this.Decryptor.create(A,w)},init:function(A,w){this._cipher=A,this._iv=w}}),d=f.CBC=function(){var A=p.extend();A.Encryptor=A.extend({processBlock:function(D,O){var H=this._cipher,I=H.blockSize;w.call(this,D,O,I),H.encryptBlock(D,O),this._prevBlock=D.slice(O,O+I)}}),A.Decryptor=A.extend({processBlock:function(D,O){var H=this._cipher,I=H.blockSize,q=D.slice(O,O+I);H.decryptBlock(D,O),w.call(this,D,O,I),this._prevBlock=q}});function w(D,O,H){var I,q=this._iv;q?(I=q,this._iv=n):I=this._prevBlock;for(var z=0;z<H;z++)D[O+z]^=I[z]}return A}(),C=a.pad={},h=C.Pkcs7={pad:function(A,w){for(var D=w*4,O=D-A.sigBytes%D,H=O<<24|O<<16|O<<8|O,I=[],q=0;q<O;q+=4)I.push(H);var z=i.create(I,O);A.concat(z)},unpad:function(A){var w=A.words[A.sigBytes-1>>>2]&255;A.sigBytes-=w}};o.BlockCipher=m.extend({cfg:m.cfg.extend({mode:d,padding:h}),reset:function(){var A;m.reset.call(this);var w=this.cfg,D=w.iv,O=w.mode;this._xformMode==this._ENC_XFORM_MODE?A=O.createEncryptor:(A=O.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==A?this._mode.init(this,D&&D.words):(this._mode=A.call(O,this,D&&D.words),this._mode.__creator=A)},_doProcessBlock:function(A,w){this._mode.processBlock(A,w)},_doFinalize:function(){var A,w=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(w.pad(this._data,this.blockSize),A=this._process(!0)):(A=this._process(!0),w.unpad(A)),A},blockSize:128/32});var b=o.CipherParams=l.extend({init:function(A){this.mixIn(A)},toString:function(A){return(A||this.formatter).stringify(this)}}),g=a.format={},y=g.OpenSSL={stringify:function(A){var w,D=A.ciphertext,O=A.salt;return O?w=i.create([1398893684,1701076831]).concat(O).concat(D):w=D,w.toString(c)},parse:function(A){var w,D=c.parse(A),O=D.words;return O[0]==1398893684&&O[1]==1701076831&&(w=i.create(O.slice(2,4)),O.splice(0,4),D.sigBytes-=16),b.create({ciphertext:D,salt:w})}},E=o.SerializableCipher=l.extend({cfg:l.extend({format:y}),encrypt:function(A,w,D,O){O=this.cfg.extend(O);var H=A.createEncryptor(D,O),I=H.finalize(w),q=H.cfg;return b.create({ciphertext:I,key:D,iv:q.iv,algorithm:A,mode:q.mode,padding:q.padding,blockSize:A.blockSize,formatter:O.format})},decrypt:function(A,w,D,O){O=this.cfg.extend(O),w=this._parse(w,O.format);var H=A.createDecryptor(D,O).finalize(w.ciphertext);return H},_parse:function(A,w){return typeof A=="string"?w.parse(A,this):A}}),B=a.kdf={},R=B.OpenSSL={execute:function(A,w,D,O,H){if(O||(O=i.random(64/8)),H)var I=u.create({keySize:w+D,hasher:H}).compute(A,O);else var I=u.create({keySize:w+D}).compute(A,O);var q=i.create(I.words.slice(w),D*4);return I.sigBytes=w*4,b.create({key:I,iv:q,salt:O})}},N=o.PasswordBasedCipher=E.extend({cfg:E.cfg.extend({kdf:R}),encrypt:function(A,w,D,O){O=this.cfg.extend(O);var H=O.kdf.execute(D,A.keySize,A.ivSize,O.salt,O.hasher);O.iv=H.iv;var I=E.encrypt.call(this,A,w,H.key,O);return I.mixIn(H),I},decrypt:function(A,w,D,O){O=this.cfg.extend(O),w=this._parse(w,O.format);var H=O.kdf.execute(D,A.keySize,A.ivSize,w.salt,O.hasher);O.iv=H.iv;var I=E.decrypt.call(this,A,w,H.key,O);return I}})}()})}(Mt)),Mt.exports}var Wt={exports:{}},Sc=Wt.exports,rn;function kc(){return rn||(rn=1,function(e,t){(function(r,n,a){e.exports=n(K(),ee())})(Sc,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(o,l){var i=this._cipher,x=i.blockSize;a.call(this,o,l,x,i),this._prevBlock=o.slice(l,l+x)}}),n.Decryptor=n.extend({processBlock:function(o,l){var i=this._cipher,x=i.blockSize,s=o.slice(l,l+x);a.call(this,o,l,x,i),this._prevBlock=s}});function a(o,l,i,x){var s,c=this._iv;c?(s=c.slice(0),this._iv=void 0):s=this._prevBlock,x.encryptBlock(s,0);for(var v=0;v<i;v++)o[l+v]^=s[v]}return n}(),r.mode.CFB})}(Wt)),Wt.exports}var Gt={exports:{}},Oc=Gt.exports,nn;function Tc(){return nn||(nn=1,function(e,t){(function(r,n,a){e.exports=n(K(),ee())})(Oc,function(r){return r.mode.CTR=function(){var n=r.lib.BlockCipherMode.extend(),a=n.Encryptor=n.extend({processBlock:function(o,l){var i=this._cipher,x=i.blockSize,s=this._iv,c=this._counter;s&&(c=this._counter=s.slice(0),this._iv=void 0);var v=c.slice(0);i.encryptBlock(v,0),c[x-1]=c[x-1]+1|0;for(var u=0;u<x;u++)o[l+u]^=v[u]}});return n.Decryptor=a,n}(),r.mode.CTR})}(Gt)),Gt.exports}var Vt={exports:{}},jc=Vt.exports,an;function _c(){return an||(an=1,function(e,t){(function(r,n,a){e.exports=n(K(),ee())})(jc,function(r){/** @preserve
207
+ * Counter block mode compatible with Dr Brian Gladman fileenc.c
208
+ * derived from CryptoJS.mode.CTR
209
+ * Jan Hruby jhruby.web@gmail.com
210
+ */return r.mode.CTRGladman=function(){var n=r.lib.BlockCipherMode.extend();function a(i){if((i>>24&255)===255){var x=i>>16&255,s=i>>8&255,c=i&255;x===255?(x=0,s===255?(s=0,c===255?c=0:++c):++s):++x,i=0,i+=x<<16,i+=s<<8,i+=c}else i+=1<<24;return i}function o(i){return(i[0]=a(i[0]))===0&&(i[1]=a(i[1])),i}var l=n.Encryptor=n.extend({processBlock:function(i,x){var s=this._cipher,c=s.blockSize,v=this._iv,u=this._counter;v&&(u=this._counter=v.slice(0),this._iv=void 0),o(u);var m=u.slice(0);s.encryptBlock(m,0);for(var f=0;f<c;f++)i[x+f]^=m[f]}});return n.Decryptor=l,n}(),r.mode.CTRGladman})}(Vt)),Vt.exports}var Kt={exports:{}},Nc=Kt.exports,on;function Pc(){return on||(on=1,function(e,t){(function(r,n,a){e.exports=n(K(),ee())})(Nc,function(r){return r.mode.OFB=function(){var n=r.lib.BlockCipherMode.extend(),a=n.Encryptor=n.extend({processBlock:function(o,l){var i=this._cipher,x=i.blockSize,s=this._iv,c=this._keystream;s&&(c=this._keystream=s.slice(0),this._iv=void 0),i.encryptBlock(c,0);for(var v=0;v<x;v++)o[l+v]^=c[v]}});return n.Decryptor=a,n}(),r.mode.OFB})}(Kt)),Kt.exports}var Xt={exports:{}},Hc=Xt.exports,sn;function Ic(){return sn||(sn=1,function(e,t){(function(r,n,a){e.exports=n(K(),ee())})(Hc,function(r){return r.mode.ECB=function(){var n=r.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(a,o){this._cipher.encryptBlock(a,o)}}),n.Decryptor=n.extend({processBlock:function(a,o){this._cipher.decryptBlock(a,o)}}),n}(),r.mode.ECB})}(Xt)),Xt.exports}var Yt={exports:{}},qc=Yt.exports,cn;function Lc(){return cn||(cn=1,function(e,t){(function(r,n,a){e.exports=n(K(),ee())})(qc,function(r){return r.pad.AnsiX923={pad:function(n,a){var o=n.sigBytes,l=a*4,i=l-o%l,x=o+i-1;n.clamp(),n.words[x>>>2]|=i<<24-x%4*8,n.sigBytes+=i},unpad:function(n){var a=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=a}},r.pad.Ansix923})}(Yt)),Yt.exports}var Qt={exports:{}},zc=Qt.exports,ln;function Uc(){return ln||(ln=1,function(e,t){(function(r,n,a){e.exports=n(K(),ee())})(zc,function(r){return r.pad.Iso10126={pad:function(n,a){var o=a*4,l=o-n.sigBytes%o;n.concat(r.lib.WordArray.random(l-1)).concat(r.lib.WordArray.create([l<<24],1))},unpad:function(n){var a=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=a}},r.pad.Iso10126})}(Qt)),Qt.exports}var Zt={exports:{}},Mc=Zt.exports,xn;function Wc(){return xn||(xn=1,function(e,t){(function(r,n,a){e.exports=n(K(),ee())})(Mc,function(r){return r.pad.Iso97971={pad:function(n,a){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,a)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(Zt)),Zt.exports}var Jt={exports:{}},Gc=Jt.exports,un;function Vc(){return un||(un=1,function(e,t){(function(r,n,a){e.exports=n(K(),ee())})(Gc,function(r){return r.pad.ZeroPadding={pad:function(n,a){var o=a*4;n.clamp(),n.sigBytes+=o-(n.sigBytes%o||o)},unpad:function(n){for(var a=n.words,o=n.sigBytes-1,o=n.sigBytes-1;o>=0;o--)if(a[o>>>2]>>>24-o%4*8&255){n.sigBytes=o+1;break}}},r.pad.ZeroPadding})}(Jt)),Jt.exports}var $t={exports:{}},Kc=$t.exports,dn;function Xc(){return dn||(dn=1,function(e,t){(function(r,n,a){e.exports=n(K(),ee())})(Kc,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}($t)),$t.exports}var e0={exports:{}},Yc=e0.exports,fn;function Qc(){return fn||(fn=1,function(e,t){(function(r,n,a){e.exports=n(K(),ee())})(Yc,function(r){return function(n){var a=r,o=a.lib,l=o.CipherParams,i=a.enc,x=i.Hex,s=a.format;s.Hex={stringify:function(c){return c.ciphertext.toString(x)},parse:function(c){var v=x.parse(c);return l.create({ciphertext:v})}}}(),r.format.Hex})}(e0)),e0.exports}var t0={exports:{}},Zc=t0.exports,pn;function Jc(){return pn||(pn=1,function(e,t){(function(r,n,a){e.exports=n(K(),qe(),Le(),ke(),ee())})(Zc,function(r){return function(){var n=r,a=n.lib,o=a.BlockCipher,l=n.algo,i=[],x=[],s=[],c=[],v=[],u=[],m=[],f=[],p=[],d=[];(function(){for(var b=[],g=0;g<256;g++)g<128?b[g]=g<<1:b[g]=g<<1^283;for(var y=0,E=0,g=0;g<256;g++){var B=E^E<<1^E<<2^E<<3^E<<4;B=B>>>8^B&255^99,i[y]=B,x[B]=y;var R=b[y],N=b[R],A=b[N],w=b[B]*257^B*16843008;s[y]=w<<24|w>>>8,c[y]=w<<16|w>>>16,v[y]=w<<8|w>>>24,u[y]=w;var w=A*16843009^N*65537^R*257^y*16843008;m[B]=w<<24|w>>>8,f[B]=w<<16|w>>>16,p[B]=w<<8|w>>>24,d[B]=w,y?(y=R^b[b[b[A^R]]],E^=b[b[E]]):y=E=1}})();var C=[0,1,2,4,8,16,32,64,128,27,54],h=l.AES=o.extend({_doReset:function(){var b;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var g=this._keyPriorReset=this._key,y=g.words,E=g.sigBytes/4,B=this._nRounds=E+6,R=(B+1)*4,N=this._keySchedule=[],A=0;A<R;A++)A<E?N[A]=y[A]:(b=N[A-1],A%E?E>6&&A%E==4&&(b=i[b>>>24]<<24|i[b>>>16&255]<<16|i[b>>>8&255]<<8|i[b&255]):(b=b<<8|b>>>24,b=i[b>>>24]<<24|i[b>>>16&255]<<16|i[b>>>8&255]<<8|i[b&255],b^=C[A/E|0]<<24),N[A]=N[A-E]^b);for(var w=this._invKeySchedule=[],D=0;D<R;D++){var A=R-D;if(D%4)var b=N[A];else var b=N[A-4];D<4||A<=4?w[D]=b:w[D]=m[i[b>>>24]]^f[i[b>>>16&255]]^p[i[b>>>8&255]]^d[i[b&255]]}}},encryptBlock:function(b,g){this._doCryptBlock(b,g,this._keySchedule,s,c,v,u,i)},decryptBlock:function(b,g){var y=b[g+1];b[g+1]=b[g+3],b[g+3]=y,this._doCryptBlock(b,g,this._invKeySchedule,m,f,p,d,x);var y=b[g+1];b[g+1]=b[g+3],b[g+3]=y},_doCryptBlock:function(b,g,y,E,B,R,N,A){for(var w=this._nRounds,D=b[g]^y[0],O=b[g+1]^y[1],H=b[g+2]^y[2],I=b[g+3]^y[3],q=4,z=1;z<w;z++){var W=E[D>>>24]^B[O>>>16&255]^R[H>>>8&255]^N[I&255]^y[q++],V=E[O>>>24]^B[H>>>16&255]^R[I>>>8&255]^N[D&255]^y[q++],G=E[H>>>24]^B[I>>>16&255]^R[D>>>8&255]^N[O&255]^y[q++],k=E[I>>>24]^B[D>>>16&255]^R[O>>>8&255]^N[H&255]^y[q++];D=W,O=V,H=G,I=k}var W=(A[D>>>24]<<24|A[O>>>16&255]<<16|A[H>>>8&255]<<8|A[I&255])^y[q++],V=(A[O>>>24]<<24|A[H>>>16&255]<<16|A[I>>>8&255]<<8|A[D&255])^y[q++],G=(A[H>>>24]<<24|A[I>>>16&255]<<16|A[D>>>8&255]<<8|A[O&255])^y[q++],k=(A[I>>>24]<<24|A[D>>>16&255]<<16|A[O>>>8&255]<<8|A[H&255])^y[q++];b[g]=W,b[g+1]=V,b[g+2]=G,b[g+3]=k},keySize:256/32});n.AES=o._createHelper(h)}(),r.AES})}(t0)),t0.exports}var r0={exports:{}},$c=r0.exports,hn;function el(){return hn||(hn=1,function(e,t){(function(r,n,a){e.exports=n(K(),qe(),Le(),ke(),ee())})($c,function(r){return function(){var n=r,a=n.lib,o=a.WordArray,l=a.BlockCipher,i=n.algo,x=[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],s=[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],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],v=[{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}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],m=i.DES=l.extend({_doReset:function(){for(var C=this._key,h=C.words,b=[],g=0;g<56;g++){var y=x[g]-1;b[g]=h[y>>>5]>>>31-y%32&1}for(var E=this._subKeys=[],B=0;B<16;B++){for(var R=E[B]=[],N=c[B],g=0;g<24;g++)R[g/6|0]|=b[(s[g]-1+N)%28]<<31-g%6,R[4+(g/6|0)]|=b[28+(s[g+24]-1+N)%28]<<31-g%6;R[0]=R[0]<<1|R[0]>>>31;for(var g=1;g<7;g++)R[g]=R[g]>>>(g-1)*4+3;R[7]=R[7]<<5|R[7]>>>27}for(var A=this._invSubKeys=[],g=0;g<16;g++)A[g]=E[15-g]},encryptBlock:function(C,h){this._doCryptBlock(C,h,this._subKeys)},decryptBlock:function(C,h){this._doCryptBlock(C,h,this._invSubKeys)},_doCryptBlock:function(C,h,b){this._lBlock=C[h],this._rBlock=C[h+1],f.call(this,4,252645135),f.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),f.call(this,1,1431655765);for(var g=0;g<16;g++){for(var y=b[g],E=this._lBlock,B=this._rBlock,R=0,N=0;N<8;N++)R|=v[N][((B^y[N])&u[N])>>>0];this._lBlock=B,this._rBlock=E^R}var A=this._lBlock;this._lBlock=this._rBlock,this._rBlock=A,f.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),f.call(this,16,65535),f.call(this,4,252645135),C[h]=this._lBlock,C[h+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function f(C,h){var b=(this._lBlock>>>C^this._rBlock)&h;this._rBlock^=b,this._lBlock^=b<<C}function p(C,h){var b=(this._rBlock>>>C^this._lBlock)&h;this._lBlock^=b,this._rBlock^=b<<C}n.DES=l._createHelper(m);var d=i.TripleDES=l.extend({_doReset:function(){var C=this._key,h=C.words;if(h.length!==2&&h.length!==4&&h.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var b=h.slice(0,2),g=h.length<4?h.slice(0,2):h.slice(2,4),y=h.length<6?h.slice(0,2):h.slice(4,6);this._des1=m.createEncryptor(o.create(b)),this._des2=m.createEncryptor(o.create(g)),this._des3=m.createEncryptor(o.create(y))},encryptBlock:function(C,h){this._des1.encryptBlock(C,h),this._des2.decryptBlock(C,h),this._des3.encryptBlock(C,h)},decryptBlock:function(C,h){this._des3.decryptBlock(C,h),this._des2.encryptBlock(C,h),this._des1.decryptBlock(C,h)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=l._createHelper(d)}(),r.TripleDES})}(r0)),r0.exports}var n0={exports:{}},tl=n0.exports,vn;function rl(){return vn||(vn=1,function(e,t){(function(r,n,a){e.exports=n(K(),qe(),Le(),ke(),ee())})(tl,function(r){return function(){var n=r,a=n.lib,o=a.StreamCipher,l=n.algo,i=l.RC4=o.extend({_doReset:function(){for(var c=this._key,v=c.words,u=c.sigBytes,m=this._S=[],f=0;f<256;f++)m[f]=f;for(var f=0,p=0;f<256;f++){var d=f%u,C=v[d>>>2]>>>24-d%4*8&255;p=(p+m[f]+C)%256;var h=m[f];m[f]=m[p],m[p]=h}this._i=this._j=0},_doProcessBlock:function(c,v){c[v]^=x.call(this)},keySize:256/32,ivSize:0});function x(){for(var c=this._S,v=this._i,u=this._j,m=0,f=0;f<4;f++){v=(v+1)%256,u=(u+c[v])%256;var p=c[v];c[v]=c[u],c[u]=p,m|=c[(c[v]+c[u])%256]<<24-f*8}return this._i=v,this._j=u,m}n.RC4=o._createHelper(i);var s=l.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)x.call(this)}});n.RC4Drop=o._createHelper(s)}(),r.RC4})}(n0)),n0.exports}var a0={exports:{}},nl=a0.exports,mn;function al(){return mn||(mn=1,function(e,t){(function(r,n,a){e.exports=n(K(),qe(),Le(),ke(),ee())})(nl,function(r){return function(){var n=r,a=n.lib,o=a.StreamCipher,l=n.algo,i=[],x=[],s=[],c=l.Rabbit=o.extend({_doReset:function(){for(var u=this._key.words,m=this.cfg.iv,f=0;f<4;f++)u[f]=(u[f]<<8|u[f]>>>24)&16711935|(u[f]<<24|u[f]>>>8)&4278255360;var p=this._X=[u[0],u[3]<<16|u[2]>>>16,u[1],u[0]<<16|u[3]>>>16,u[2],u[1]<<16|u[0]>>>16,u[3],u[2]<<16|u[1]>>>16],d=this._C=[u[2]<<16|u[2]>>>16,u[0]&4294901760|u[1]&65535,u[3]<<16|u[3]>>>16,u[1]&4294901760|u[2]&65535,u[0]<<16|u[0]>>>16,u[2]&4294901760|u[3]&65535,u[1]<<16|u[1]>>>16,u[3]&4294901760|u[0]&65535];this._b=0;for(var f=0;f<4;f++)v.call(this);for(var f=0;f<8;f++)d[f]^=p[f+4&7];if(m){var C=m.words,h=C[0],b=C[1],g=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,y=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,E=g>>>16|y&4294901760,B=y<<16|g&65535;d[0]^=g,d[1]^=E,d[2]^=y,d[3]^=B,d[4]^=g,d[5]^=E,d[6]^=y,d[7]^=B;for(var f=0;f<4;f++)v.call(this)}},_doProcessBlock:function(u,m){var f=this._X;v.call(this),i[0]=f[0]^f[5]>>>16^f[3]<<16,i[1]=f[2]^f[7]>>>16^f[5]<<16,i[2]=f[4]^f[1]>>>16^f[7]<<16,i[3]=f[6]^f[3]>>>16^f[1]<<16;for(var p=0;p<4;p++)i[p]=(i[p]<<8|i[p]>>>24)&16711935|(i[p]<<24|i[p]>>>8)&4278255360,u[m+p]^=i[p]},blockSize:128/32,ivSize:64/32});function v(){for(var u=this._X,m=this._C,f=0;f<8;f++)x[f]=m[f];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0<x[0]>>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0<x[1]>>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0<x[2]>>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0<x[3]>>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0<x[4]>>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0<x[5]>>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0<x[6]>>>0?1:0)|0,this._b=m[7]>>>0<x[7]>>>0?1:0;for(var f=0;f<8;f++){var p=u[f]+m[f],d=p&65535,C=p>>>16,h=((d*d>>>17)+d*C>>>15)+C*C,b=((p&4294901760)*p|0)+((p&65535)*p|0);s[f]=h^b}u[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,u[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,u[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,u[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,u[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,u[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,u[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,u[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}n.Rabbit=o._createHelper(c)}(),r.Rabbit})}(a0)),a0.exports}var o0={exports:{}},ol=o0.exports,bn;function sl(){return bn||(bn=1,function(e,t){(function(r,n,a){e.exports=n(K(),qe(),Le(),ke(),ee())})(ol,function(r){return function(){var n=r,a=n.lib,o=a.StreamCipher,l=n.algo,i=[],x=[],s=[],c=l.RabbitLegacy=o.extend({_doReset:function(){var u=this._key.words,m=this.cfg.iv,f=this._X=[u[0],u[3]<<16|u[2]>>>16,u[1],u[0]<<16|u[3]>>>16,u[2],u[1]<<16|u[0]>>>16,u[3],u[2]<<16|u[1]>>>16],p=this._C=[u[2]<<16|u[2]>>>16,u[0]&4294901760|u[1]&65535,u[3]<<16|u[3]>>>16,u[1]&4294901760|u[2]&65535,u[0]<<16|u[0]>>>16,u[2]&4294901760|u[3]&65535,u[1]<<16|u[1]>>>16,u[3]&4294901760|u[0]&65535];this._b=0;for(var d=0;d<4;d++)v.call(this);for(var d=0;d<8;d++)p[d]^=f[d+4&7];if(m){var C=m.words,h=C[0],b=C[1],g=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,y=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,E=g>>>16|y&4294901760,B=y<<16|g&65535;p[0]^=g,p[1]^=E,p[2]^=y,p[3]^=B,p[4]^=g,p[5]^=E,p[6]^=y,p[7]^=B;for(var d=0;d<4;d++)v.call(this)}},_doProcessBlock:function(u,m){var f=this._X;v.call(this),i[0]=f[0]^f[5]>>>16^f[3]<<16,i[1]=f[2]^f[7]>>>16^f[5]<<16,i[2]=f[4]^f[1]>>>16^f[7]<<16,i[3]=f[6]^f[3]>>>16^f[1]<<16;for(var p=0;p<4;p++)i[p]=(i[p]<<8|i[p]>>>24)&16711935|(i[p]<<24|i[p]>>>8)&4278255360,u[m+p]^=i[p]},blockSize:128/32,ivSize:64/32});function v(){for(var u=this._X,m=this._C,f=0;f<8;f++)x[f]=m[f];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0<x[0]>>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0<x[1]>>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0<x[2]>>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0<x[3]>>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0<x[4]>>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0<x[5]>>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0<x[6]>>>0?1:0)|0,this._b=m[7]>>>0<x[7]>>>0?1:0;for(var f=0;f<8;f++){var p=u[f]+m[f],d=p&65535,C=p>>>16,h=((d*d>>>17)+d*C>>>15)+C*C,b=((p&4294901760)*p|0)+((p&65535)*p|0);s[f]=h^b}u[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,u[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,u[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,u[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,u[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,u[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,u[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,u[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}n.RabbitLegacy=o._createHelper(c)}(),r.RabbitLegacy})}(o0)),o0.exports}var s0={exports:{}},il=s0.exports,gn;function cl(){return gn||(gn=1,function(e,t){(function(r,n,a){e.exports=n(K(),qe(),Le(),ke(),ee())})(il,function(r){return function(){var n=r,a=n.lib,o=a.BlockCipher,l=n.algo;const i=16,x=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[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 c={pbox:[],sbox:[]};function v(d,C){let h=C>>24&255,b=C>>16&255,g=C>>8&255,y=C&255,E=d.sbox[0][h]+d.sbox[1][b];return E=E^d.sbox[2][g],E=E+d.sbox[3][y],E}function u(d,C,h){let b=C,g=h,y;for(let E=0;E<i;++E)b=b^d.pbox[E],g=v(d,b)^g,y=b,b=g,g=y;return y=b,b=g,g=y,g=g^d.pbox[i],b=b^d.pbox[i+1],{left:b,right:g}}function m(d,C,h){let b=C,g=h,y;for(let E=i+1;E>1;--E)b=b^d.pbox[E],g=v(d,b)^g,y=b,b=g,g=y;return y=b,b=g,g=y,g=g^d.pbox[1],b=b^d.pbox[0],{left:b,right:g}}function f(d,C,h){for(let B=0;B<4;B++){d.sbox[B]=[];for(let R=0;R<256;R++)d.sbox[B][R]=s[B][R]}let b=0;for(let B=0;B<i+2;B++)d.pbox[B]=x[B]^C[b],b++,b>=h&&(b=0);let g=0,y=0,E=0;for(let B=0;B<i+2;B+=2)E=u(d,g,y),g=E.left,y=E.right,d.pbox[B]=g,d.pbox[B+1]=y;for(let B=0;B<4;B++)for(let R=0;R<256;R+=2)E=u(d,g,y),g=E.left,y=E.right,d.sbox[B][R]=g,d.sbox[B][R+1]=y;return!0}var p=l.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var d=this._keyPriorReset=this._key,C=d.words,h=d.sigBytes/4;f(c,C,h)}},encryptBlock:function(d,C){var h=u(c,d[C],d[C+1]);d[C]=h.left,d[C+1]=h.right},decryptBlock:function(d,C){var h=m(c,d[C],d[C+1]);d[C]=h.left,d[C+1]=h.right},blockSize:64/32,keySize:128/32,ivSize:64/32});n.Blowfish=o._createHelper(p)}(),r.Blowfish})}(s0)),s0.exports}var ll=wt.exports,yn;function xl(){return yn||(yn=1,function(e,t){(function(r,n,a){e.exports=n(K(),C0(),sc(),cc(),qe(),uc(),Le(),xa(),er(),vc(),ua(),gc(),Cc(),Ac(),tr(),Fc(),ke(),ee(),kc(),Tc(),_c(),Pc(),Ic(),Lc(),Uc(),Wc(),Vc(),Xc(),Qc(),Jc(),el(),rl(),al(),sl(),cl())})(ll,function(r){return r})}(wt)),wt.exports}var ul=xl();const Cn=Qa(ul),te=[];for(let e=0;e<256;++e)te.push((e+256).toString(16).slice(1));function dl(e,t=0){return(te[e[t+0]]+te[e[t+1]]+te[e[t+2]]+te[e[t+3]]+"-"+te[e[t+4]]+te[e[t+5]]+"-"+te[e[t+6]]+te[e[t+7]]+"-"+te[e[t+8]]+te[e[t+9]]+"-"+te[e[t+10]]+te[e[t+11]]+te[e[t+12]]+te[e[t+13]]+te[e[t+14]]+te[e[t+15]]).toLowerCase()}let j0;const fl=new Uint8Array(16);function pl(){if(!j0){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");j0=crypto.getRandomValues.bind(crypto)}return j0(fl)}const hl=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),En={randomUUID:hl};function vl(e,t,r){var a;if(En.randomUUID&&!e)return En.randomUUID();e=e||{};const n=e.random??((a=e.rng)==null?void 0:a.call(e))??pl();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,dl(n)}function rr(...e){return Ji(la(e))}var da=(e=>(e.test="https://stagapi.tender.cash",e.live="https://secureapi.tender.cash",e))(da||{});const u0={CHAINS:"/system/chains",COINS:"/system/coins",PAYMENT_INITIATE:"/payment/initiate",PAYMENT_VALIDATE:"/payment/validate"},ml=({accessId:e,accessSecret:t})=>{const r=Date.now(),n=vl(),a={timeStamp:String(r),requestId:n,accessId:e},o=JSON.stringify(a),l=Cn.HmacSHA256(o,String(t));return{signature:Cn.enc.Base64.stringify(l).toString(),timeStamp:String(r),requestId:n}},bl=e=>{const t=document.documentElement;Object.keys(e).forEach(r=>{const n=e[r]||"";t.style.setProperty(`--tas-${r}`,n)})},gl=e=>typeof e!="string"?"":e.charAt(0).toUpperCase()+e.slice(1);class ne{static log({level:t,message:r,meta:n}){this.logToConsole(t,r,n)}static logToConsole(t,r,n){const a={info:console.info,warn:console.warn,error:console.error,debug:console.debug}[t];this.show&&a(`[${t.toUpperCase()}]: ${r}`,n||"")}static info(t,r){this.log({level:"info",message:t,meta:r})}static warn(t,r){this.log({level:"warn",message:t,meta:r})}static error(t,r){this.log({level:"error",message:t,meta:r})}static debug(t,r){this.log({level:"debug",message:t,meta:r})}static showLogger(t){this.show=!1}}Me(ne,"show",!1);let yl=e=>{ne.error(e)};const Cl=e=>{yl(e||"Sorry, An error occurred. Please try again.")};let d0=$.create();const El=e=>{d0.defaults.baseURL=da[e.env]+"/v1/api/",d0.interceptors.request.use(t=>{const{timeStamp:r,signature:n,requestId:a}=ml({accessId:(e==null?void 0:e.accessId)||"",accessSecret:(e==null?void 0:e.accessSecret)||""});return t.headers.authorization=n,t.headers["x-timestamp"]=r,t.headers["x-access-id"]=e.accessId,t.headers["x-request-id"]=a,t})},Al=async e=>{var t;if(e.response){const{status:r}=e.response,n=window.location.pathname;(t=e.config)!=null&&t.headers.toJSON()["hide-notify"]||(ne.error("error-response",{status:r,currentPath:n,message:e==null?void 0:e.message,stack:e.cause}),Cl(e.message))}return Promise.reject(e)};d0.interceptors.response.use(e=>e,Al);const fa=()=>d0,An=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Bn=la,pa=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return Bn(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:a,defaultVariants:o}=t,l=Object.keys(a).map(s=>{const c=r==null?void 0:r[s],v=o==null?void 0:o[s];if(c===null)return null;const u=An(c)||An(v);return a[s][u]}),i=r&&Object.entries(r).reduce((s,c)=>{let[v,u]=c;return u===void 0||(s[v]=u),s},{}),x=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((s,c)=>{let{class:v,className:u,...m}=c;return Object.entries(m).every(f=>{let[p,d]=f;return Array.isArray(d)?d.includes({...o,...i}[p]):{...o,...i}[p]===d})?[...s,v,u]:s},[]);return Bn(e,l,x,r==null?void 0:r.class,r==null?void 0:r.className)},Bl=pa("ta-focus:outline-none ta-py-3 ta-whitespace-nowrap ta-duration-200 ta-capitalize ta-focus-visible:ring-1 ta-focus-visible:ring-[#19A966] ta-relative ta-z-0 ta-rounded-[10px] ta-text-center ta-w-fit ta-px-6 ta-font-semibold ta-focus-visible:border-transparent",{variants:{variant:{primary:"ta-border-white ta-border-opacity-10 ta-bg-btn-primary ta-text-white",secondary:"ta-border-primary ta-border ta-text-primary ta-bg-primary-brighter ta-hover:bg-green-100 ta-duration-200 ta-font-normal",outline:"ta-border-primary ta-border ta-text-primary ta-border-opacity-100 ta-bg-transparent ta-hover:border-opacity-50 ta-font-normal ta-duration-200",transparent:"ta-border-transparent ta-text-primary ta-bg-transparent ta-hover:bg-[#008D6C1A] ta-duration-200",danger:"ta-bg-red-200 ta-text-red-600 ta-hover:bg-red-100 ta-border ta-border-transparent"},size:{xs:"ta-px-2 ta-py-[8px] ta-text-xs",sm:"ta-px-2 ta-py-2 ta-text-sm",md:"ta-px-3 ta-py-3 ta-text-base",lg:"ta-px-4 ta-py-4 ta-text-lg",xl:"ta-px-5 ta-py-5 ta-text-xl"},fullWidth:{true:"ta-w-full"},disabled:{true:"ta-cursor-not-allowed !ta-bg-none !ta-bg-[#E3E5E5] !ta-text-[#979C9E]"}},defaultVariants:{size:"md",variant:"primary"},compoundVariants:[{variant:"outline",disabled:!0,className:"ta-border-gray-300"},{variant:"transparent",disabled:!0,className:"ta-border-none ta-hover:bg-transparent"}]}),wl=pa("ta-absolute ta-inset-0 ta-rounded-lg ta-border ta-border-transparent ta-opacity-0 ta-duration-200 ta-hover:opacity-100 ta-pointer-events-none",{variants:{variant:{primary:"ta-bg-primary",secondary:"ta-bg-transparent",outline:"ta-bg-transparent",transparent:"ta-bg-transparent",danger:"ta-bg-transparent"},disabled:{true:"ta-bg-none ta-bg-transparent"}},defaultVariants:{variant:"primary"}}),ct=_.forwardRef(({variant:e,className:t,disabled:r,fullWidth:n,size:a,children:o,...l},i)=>F.jsxs("button",{className:rr(Bl({disabled:r,size:a,fullWidth:n,variant:e}),t),disabled:r,ref:i,...l,children:[o,F.jsx("div",{className:wl({variant:e,disabled:r})})]}));/**
211
+ * @license lucide-react v0.446.0 - ISC
212
+ *
213
+ * This source code is licensed under the ISC license.
214
+ * See the LICENSE file in the root directory of this source tree.
215
+ */const Fl=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ha=(...e)=>e.filter((t,r,n)=>!!t&&n.indexOf(t)===r).join(" ");/**
216
+ * @license lucide-react v0.446.0 - ISC
217
+ *
218
+ * This source code is licensed under the ISC license.
219
+ * See the LICENSE file in the root directory of this source tree.
220
+ */var Dl={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
221
+ * @license lucide-react v0.446.0 - ISC
222
+ *
223
+ * This source code is licensed under the ISC license.
224
+ * See the LICENSE file in the root directory of this source tree.
225
+ */const Rl=_.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:o,iconNode:l,...i},x)=>_.createElement("svg",{ref:x,...Dl,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:ha("lucide",a),...i},[...l.map(([s,c])=>_.createElement(s,c)),...Array.isArray(o)?o:[o]]));/**
226
+ * @license lucide-react v0.446.0 - ISC
227
+ *
228
+ * This source code is licensed under the ISC license.
229
+ * See the LICENSE file in the root directory of this source tree.
230
+ */const Qe=(e,t)=>{const r=_.forwardRef(({className:n,...a},o)=>_.createElement(Rl,{ref:o,iconNode:t,className:ha(`lucide-${Fl(e)}`,n),...a}));return r.displayName=`${e}`,r};/**
231
+ * @license lucide-react v0.446.0 - ISC
232
+ *
233
+ * This source code is licensed under the ISC license.
234
+ * See the LICENSE file in the root directory of this source tree.
235
+ */const Sl=Qe("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
236
+ * @license lucide-react v0.446.0 - ISC
237
+ *
238
+ * This source code is licensed under the ISC license.
239
+ * See the LICENSE file in the root directory of this source tree.
240
+ */const kl=Qe("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
241
+ * @license lucide-react v0.446.0 - ISC
242
+ *
243
+ * This source code is licensed under the ISC license.
244
+ * See the LICENSE file in the root directory of this source tree.
245
+ */const va=Qe("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
246
+ * @license lucide-react v0.446.0 - ISC
247
+ *
248
+ * This source code is licensed under the ISC license.
249
+ * See the LICENSE file in the root directory of this source tree.
250
+ */const Ol=Qe("Loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]);/**
251
+ * @license lucide-react v0.446.0 - ISC
252
+ *
253
+ * This source code is licensed under the ISC license.
254
+ * See the LICENSE file in the root directory of this source tree.
255
+ */const ma=Qe("QrCode",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]]);/**
256
+ * @license lucide-react v0.446.0 - ISC
257
+ *
258
+ * This source code is licensed under the ISC license.
259
+ * See the LICENSE file in the root directory of this source tree.
260
+ */const Tl=Qe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),nr="data:image/svg+xml,%3csvg%20width='32'%20height='43'%20viewBox='0%200%2032%2043'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M32%200H0L12.3039%208.19212L1.60987%2043H19.7515L32%200Z'%20fill='%23CEDC00'/%3e%3c/svg%3e",Ne=({size:e=24,className:t})=>F.jsx("div",{className:rr("ta-flex ta-w-full ta-items-center ta-justify-center",t),children:F.jsx(Ol,{className:"ta-animate-spin",size:e})}),ba=({size:e=24,className:t})=>F.jsx("div",{className:rr("ta-flex ta-w-full ta-min-h-[60vh] ta-items-center ta-justify-center",t),children:F.jsx("img",{src:nr,alt:"loading---",className:"ta-transition-opacity ta-duration-2000 ta-animate-[shimmer_1.5s_infinite] ta-w-[100px]"})}),wn=({options:e,value:t,onChange:r,placeholder:n="Select an option",disabled:a=!1,loading:o=!1,className:l="",triggerClassName:i="",dropdownClassName:x=""})=>{const[s,c]=_.useState(!1),[v,u]=_.useState(null),[m,f]=_.useState(!1),p=_.useRef(null),d=()=>{a||c(g=>!g)},C=()=>{c(!1),u(null)},h=g=>{r(g),C()},b=g=>{if(s)if(g.key==="ArrowDown")g.preventDefault(),u(y=>y===null||y===e.length-1?0:y+1);else if(g.key==="ArrowUp")g.preventDefault(),u(y=>y===null||y===0?e.length-1:y-1);else if(g.key==="Enter"&&v!==null){g.preventDefault();const y=e[v];y&&h(y)}else g.key==="Escape"&&C()};return _.useEffect(()=>{const g=y=>{p.current&&!p.current.contains(y.target)&&C()};return document.addEventListener("mousedown",g),()=>{document.removeEventListener("mousedown",g)}},[]),_.useEffect(()=>{if(s&&p.current){const g=p.current.getBoundingClientRect(),y=window.innerHeight;f(g.bottom+200>y)}},[s]),F.jsxs("div",{ref:p,className:`ta-relative ta-w-full sm:ta-w-fit ${l}`,tabIndex:0,onKeyDown:b,children:[F.jsxs("button",{className:`ta-flex ta-items-center ta-justify-between ta-rounded-lg !ta-border ta-border-black/10 ta-px-3 ta-py-2 ta-text-sm ta-text-black ${i} ${a?"ta-cursor-not-allowed ta-opacity-50":"ta-cursor-pointer"} ${s?"!ta-bg-white":"!ta-bg-white/10"}`,onClick:d,disabled:a,type:"button",children:[F.jsxs("span",{className:"ta-flex ta-flex-row ta-gap-2",children:[(t==null?void 0:t.icon)&&F.jsx("img",{src:t.icon,className:"ta-w-[20px] ta-h-[20px]"}),(t==null?void 0:t.label)||n," "]}),F.jsx("span",{className:"ta-flex ta-flex-row ta-gap-2",children:o?F.jsx(Ne,{size:15}):F.jsx(kl,{size:15})})]}),s&&F.jsx("ul",{className:`ta-transparent_style ta-absolute ta-z-10 ta-mt-2 ta-h-fit ta-max-h-40 ta-w-full ta-overflow-y-auto ta-overflow-x-hidden ta-rounded-lg ta-border ta-border-black/10 ta-shadow-lg
261
+ ta-backdrop-blur-lg ${m?"ta-bottom-full mb-2":"ta-top-full ta-mt-2"} ${x}`,role:"listbox",children:e.map((g,y)=>F.jsxs("li",{className:`ta-relative ta-flex ta-cursor-pointer ta-items-center ta-rounded ta-p-2 ta-px-4 ta-py-2 ta-text-base ta-outline-none hover:ta-bg-white/20
262
+ ${v===y||g.label===(t==null?void 0:t.label)?"ta-bg-white/20":""}`,onClick:()=>h(g),onMouseEnter:()=>u(y),role:"option","aria-selected":(t==null?void 0:t.value)===g.value,children:[F.jsxs("span",{className:"ta-flex ta-flex-row ta-gap-2",children:[(g==null?void 0:g.icon)&&F.jsx("img",{src:g.icon,className:"ta-w-[20px] ta-h-[20px]"}),g==null?void 0:g.label," "]}),g.label===(t==null?void 0:t.label)&&F.jsx("span",{className:"ta-absolute ta-right-3 ta-flex ta-h-3.5 ta-w-3.5 ta-items-center ta-justify-center",children:F.jsx(Sl,{className:"h-4 w-4"})})]},g.value))})]})},ar=({children:e})=>F.jsx("div",{className:"ta-flex ta-gap-2 ta-justify-between ta-items-center ta-bg-[#FAFAFA] ta-p-6 ta-rounded-b-2xl ta-w-full",children:e}),E0=({title:e,description:t,icon:r})=>F.jsx("div",{className:"ta-relative tx-flex ta-flex-col ta-px-6 ta-pb-1 ta-pt-4 ta-bg-[#FAFAFA] ta-border-b-2 ta-border-[#EAECF0] ta-rounded-t-2xl ta-items-start ta-text-start ta-w-full",children:F.jsxs("div",{className:"!ta-flex ta-relative !ta-w-full !ta-flex-row",children:[F.jsxs("div",{className:"!ta-w-3/4 ta-flex ta-flex-col",children:[F.jsx("h3",{className:"ta-text-black ta-text-lg ta-font-bold",children:e}),F.jsx("p",{className:"ta-text-black",children:t})]}),r&&F.jsx("span",{className:"ta-flex ta-w-1/4 ta-top-0 ta-h-fit ta-justify-end",children:F.jsx("img",{src:r,className:"ta-w-[100px] ta-h-[100px]"})})]})});var jl=Object.defineProperty,_l=(e,t,r)=>t in e?jl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_0=(e,t,r)=>(_l(e,typeof t!="symbol"?t+"":t,r),r);let Nl=class{constructor(){_0(this,"current",this.detect()),_0(this,"handoffState","pending"),_0(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"}},i0=new Nl,xt=(e,t)=>{i0.isServer?_.useEffect(e,t):_.useLayoutEffect(e,t)};function Ge(e){let t=_.useRef(e);return xt(()=>{t.current=e},[e]),t}let ye=function(e){let t=Ge(e);return _.useCallback((...r)=>t.current(...r),[t])};function Pl(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function pt(){let e=[],t={addEventListener(r,n,a,o){return r.addEventListener(n,a,o),t.add(()=>r.removeEventListener(n,a,o))},requestAnimationFrame(...r){let n=requestAnimationFrame(...r);return t.add(()=>cancelAnimationFrame(n))},nextFrame(...r){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...r))},setTimeout(...r){let n=setTimeout(...r);return t.add(()=>clearTimeout(n))},microTask(...r){let n={current:!0};return Pl(()=>{n.current&&r[0]()}),t.add(()=>{n.current=!1})},style(r,n,a){let o=r.style.getPropertyValue(n);return Object.assign(r.style,{[n]:a}),this.add(()=>{Object.assign(r.style,{[n]:o})})},group(r){let n=pt();return r(n),this.add(()=>n.dispose())},add(r){return e.push(r),()=>{let n=e.indexOf(r);if(n>=0)for(let a of e.splice(n,1))a()}},dispose(){for(let r of e.splice(0))r()}};return t}function ga(){let[e]=_.useState(pt);return _.useEffect(()=>()=>e.dispose(),[e]),e}function Hl(){let e=typeof document>"u";return"useSyncExternalStore"in J?(t=>t.useSyncExternalStore)(J)(()=>()=>{},()=>!1,()=>!e):!1}function ya(){let e=Hl(),[t,r]=J.useState(i0.isHandoffComplete);return t&&i0.isHandoffComplete===!1&&r(!1),J.useEffect(()=>{t!==!0&&r(!0)},[t]),J.useEffect(()=>i0.handoff(),[]),e?!1:t}function he(e,t,...r){if(e in t){let a=t[e];return typeof a=="function"?a(...r):a}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,he),n}let Il=Symbol();function Ca(...e){let t=_.useRef(e);_.useEffect(()=>{t.current=e},[e]);let r=ye(n=>{for(let a of t.current)a!=null&&(typeof a=="function"?a(n):a.current=n)});return e.every(n=>n==null||(n==null?void 0:n[Il]))?void 0:r}function f0(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var Ea=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Ea||{}),Re=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Re||{});function Aa({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:a,visible:o=!0,name:l,mergeRefs:i}){i=i??ql;let x=Ba(t,e);if(o)return gt(x,r,n,l,i);let s=a??0;if(s&2){let{static:c=!1,...v}=x;if(c)return gt(v,r,n,l,i)}if(s&1){let{unmount:c=!0,...v}=x;return he(c?0:1,{0(){return null},1(){return gt({...v,hidden:!0,style:{display:"none"}},r,n,l,i)}})}return gt(x,r,n,l,i)}function gt(e,t={},r,n,a){let{as:o=r,children:l,refName:i="ref",...x}=N0(e,["unmount","static"]),s=e.ref!==void 0?{[i]:e.ref}:{},c=typeof l=="function"?l(t):l;"className"in x&&x.className&&typeof x.className=="function"&&(x.className=x.className(t));let v={};if(t){let u=!1,m=[];for(let[f,p]of Object.entries(t))typeof p=="boolean"&&(u=!0),p===!0&&m.push(f);u&&(v["data-headlessui-state"]=m.join(" "))}if(o===_.Fragment&&Object.keys(Fn(x)).length>0){if(!_.isValidElement(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(x).map(p=>` - ${p}`).join(`
263
+ `),"","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(p=>` - ${p}`).join(`
264
+ `)].join(`
265
+ `));let u=c.props,m=typeof(u==null?void 0:u.className)=="function"?(...p)=>f0(u==null?void 0:u.className(...p),x.className):f0(u==null?void 0:u.className,x.className),f=m?{className:m}:{};return _.cloneElement(c,Object.assign({},Ba(c.props,Fn(N0(x,["ref"]))),v,s,{ref:a(c.ref,s.ref)},f))}return _.createElement(o,Object.assign({},N0(x,["ref"]),o!==_.Fragment&&s,o!==_.Fragment&&v),c)}function ql(...e){return e.every(t=>t==null)?void 0:t=>{for(let r of e)r!=null&&(typeof r=="function"?r(t):r.current=t)}}function Ba(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let a in n)a.startsWith("on")&&typeof n[a]=="function"?(r[a]!=null||(r[a]=[]),r[a].push(n[a])):t[a]=n[a];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map(n=>[n,void 0])));for(let n in r)Object.assign(t,{[n](a,...o){let l=r[n];for(let i of l){if((a instanceof Event||(a==null?void 0:a.nativeEvent)instanceof Event)&&a.defaultPrevented)return;i(a,...o)}}});return t}function or(e){var t;return Object.assign(_.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Fn(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function N0(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}let sr=_.createContext(null);sr.displayName="OpenClosedContext";var ge=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(ge||{});function wa(){return _.useContext(sr)}function Ll({value:e,children:t}){return _.createElement(sr.Provider,{value:e},t)}function ir(){let e=_.useRef(!1);return xt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function zl(e=0){let[t,r]=_.useState(e),n=ir(),a=_.useCallback(x=>{n.current&&r(s=>s|x)},[t,n]),o=_.useCallback(x=>!!(t&x),[t]),l=_.useCallback(x=>{n.current&&r(s=>s&~x)},[r,n]),i=_.useCallback(x=>{n.current&&r(s=>s^x)},[r]);return{flags:t,addFlag:a,hasFlag:o,removeFlag:l,toggleFlag:i}}function Ul(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}function P0(e,...t){e&&t.length>0&&e.classList.add(...t)}function H0(e,...t){e&&t.length>0&&e.classList.remove(...t)}function Ml(e,t){let r=pt();if(!e)return r.dispose;let{transitionDuration:n,transitionDelay:a}=getComputedStyle(e),[o,l]=[n,a].map(x=>{let[s=0]=x.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,v)=>v-c);return s}),i=o+l;if(i!==0){r.group(s=>{s.setTimeout(()=>{t(),s.dispose()},i),s.addEventListener(e,"transitionrun",c=>{c.target===c.currentTarget&&s.dispose()})});let x=r.addEventListener(e,"transitionend",s=>{s.target===s.currentTarget&&(t(),x())})}else t();return r.add(()=>t()),r.dispose}function Wl(e,t,r,n){let a=r?"enter":"leave",o=pt(),l=n!==void 0?Ul(n):()=>{};a==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let i=he(a,{enter:()=>t.enter,leave:()=>t.leave}),x=he(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),s=he(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return H0(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),P0(e,...t.base,...i,...s),o.nextFrame(()=>{H0(e,...t.base,...i,...s),P0(e,...t.base,...i,...x),Ml(e,()=>(H0(e,...t.base,...i),P0(e,...t.base,...t.entered),l()))}),o.dispose}function Gl({immediate:e,container:t,direction:r,classes:n,onStart:a,onStop:o}){let l=ir(),i=ga(),x=Ge(r);xt(()=>{e&&(x.current="enter")},[e]),xt(()=>{let s=pt();i.add(s.dispose);let c=t.current;if(c&&x.current!=="idle"&&l.current)return s.dispose(),a.current(x.current),s.add(Wl(c,n.current,x.current==="enter",()=>{s.dispose(),o.current(x.current)})),s.dispose},[r])}function Fe(e=""){return e.split(/\s+/).filter(t=>t.length>1)}let A0=_.createContext(null);A0.displayName="TransitionContext";var Vl=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Vl||{});function Kl(){let e=_.useContext(A0);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function Xl(){let e=_.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=_.createContext(null);B0.displayName="NestingContext";function w0(e){return"children"in e?w0(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Fa(e,t){let r=Ge(e),n=_.useRef([]),a=ir(),o=ga(),l=ye((m,f=Re.Hidden)=>{let p=n.current.findIndex(({el:d})=>d===m);p!==-1&&(he(f,{[Re.Unmount](){n.current.splice(p,1)},[Re.Hidden](){n.current[p].state="hidden"}}),o.microTask(()=>{var d;!w0(n)&&a.current&&((d=r.current)==null||d.call(r))}))}),i=ye(m=>{let f=n.current.find(({el:p})=>p===m);return f?f.state!=="visible"&&(f.state="visible"):n.current.push({el:m,state:"visible"}),()=>l(m,Re.Unmount)}),x=_.useRef([]),s=_.useRef(Promise.resolve()),c=_.useRef({enter:[],leave:[],idle:[]}),v=ye((m,f,p)=>{x.current.splice(0),t&&(t.chains.current[f]=t.chains.current[f].filter(([d])=>d!==m)),t==null||t.chains.current[f].push([m,new Promise(d=>{x.current.push(d)})]),t==null||t.chains.current[f].push([m,new Promise(d=>{Promise.all(c.current[f].map(([C,h])=>h)).then(()=>d())})]),f==="enter"?s.current=s.current.then(()=>t==null?void 0:t.wait.current).then(()=>p(f)):p(f)}),u=ye((m,f,p)=>{Promise.all(c.current[f].splice(0).map(([d,C])=>C)).then(()=>{var d;(d=x.current.shift())==null||d()}).then(()=>p(f))});return _.useMemo(()=>({children:n,register:i,unregister:l,onStart:v,onStop:u,wait:s,chains:c}),[i,l,n,v,u,c,s])}function Yl(){}let Ql=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Dn(e){var t;let r={};for(let n of Ql)r[n]=(t=e[n])!=null?t:Yl;return r}function Zl(e){let t=_.useRef(Dn(e));return _.useEffect(()=>{t.current=Dn(e)},[e]),t}let Jl="div",Da=Ea.RenderStrategy;function $l(e,t){var r,n;let{beforeEnter:a,afterEnter:o,beforeLeave:l,afterLeave:i,enter:x,enterFrom:s,enterTo:c,entered:v,leave:u,leaveFrom:m,leaveTo:f,...p}=e,d=_.useRef(null),C=Ca(d,t),h=(r=p.unmount)==null||r?Re.Unmount:Re.Hidden,{show:b,appear:g,initial:y}=Kl(),[E,B]=_.useState(b?"visible":"hidden"),R=Xl(),{register:N,unregister:A}=R;_.useEffect(()=>N(d),[N,d]),_.useEffect(()=>{if(h===Re.Hidden&&d.current){if(b&&E!=="visible"){B("visible");return}return he(E,{hidden:()=>A(d),visible:()=>N(d)})}},[E,d,N,A,b,h]);let w=Ge({base:Fe(p.className),enter:Fe(x),enterFrom:Fe(s),enterTo:Fe(c),entered:Fe(v),leave:Fe(u),leaveFrom:Fe(m),leaveTo:Fe(f)}),D=Zl({beforeEnter:a,afterEnter:o,beforeLeave:l,afterLeave:i}),O=ya();_.useEffect(()=>{if(O&&E==="visible"&&d.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[d,E,O]);let H=y&&!g,I=g&&b&&y,q=!O||H?"idle":b?"enter":"leave",z=zl(0),W=ye(T=>he(T,{enter:()=>{z.addFlag(ge.Opening),D.current.beforeEnter()},leave:()=>{z.addFlag(ge.Closing),D.current.beforeLeave()},idle:()=>{}})),V=ye(T=>he(T,{enter:()=>{z.removeFlag(ge.Opening),D.current.afterEnter()},leave:()=>{z.removeFlag(ge.Closing),D.current.afterLeave()},idle:()=>{}})),G=Fa(()=>{B("hidden"),A(d)},R),k=_.useRef(!1);Gl({immediate:I,container:d,classes:w,direction:q,onStart:Ge(T=>{k.current=!0,G.onStart(d,T,W)}),onStop:Ge(T=>{k.current=!1,G.onStop(d,T,V),T==="leave"&&!w0(G)&&(B("hidden"),A(d))})});let j=p,P={ref:C};return I?j={...j,className:f0(p.className,...w.current.enter,...w.current.enterFrom)}:k.current&&(j.className=f0(p.className,(n=d.current)==null?void 0:n.className),j.className===""&&delete j.className),_.createElement(B0.Provider,{value:G},_.createElement(Ll,{value:he(E,{visible:ge.Open,hidden:ge.Closed})|z.flags},Aa({ourProps:P,theirProps:j,defaultTag:Jl,features:Da,visible:E==="visible",name:"Transition.Child"})))}function ex(e,t){let{show:r,appear:n=!1,unmount:a=!0,...o}=e,l=_.useRef(null),i=Ca(l,t);ya();let x=wa();if(r===void 0&&x!==null&&(r=(x&ge.Open)===ge.Open),![!0,!1].includes(r))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[s,c]=_.useState(r?"visible":"hidden"),v=Fa(()=>{c("hidden")}),[u,m]=_.useState(!0),f=_.useRef([r]);xt(()=>{u!==!1&&f.current[f.current.length-1]!==r&&(f.current.push(r),m(!1))},[f,r]);let p=_.useMemo(()=>({show:r,appear:n,initial:u}),[r,n,u]);_.useEffect(()=>{if(r)c("visible");else if(!w0(v))c("hidden");else{let b=l.current;if(!b)return;let g=b.getBoundingClientRect();g.x===0&&g.y===0&&g.width===0&&g.height===0&&c("hidden")}},[r,v]);let d={unmount:a},C=ye(()=>{var b;u&&m(!1),(b=e.beforeEnter)==null||b.call(e)}),h=ye(()=>{var b;u&&m(!1),(b=e.beforeLeave)==null||b.call(e)});return _.createElement(B0.Provider,{value:v},_.createElement(A0.Provider,{value:p},Aa({ourProps:{...d,as:_.Fragment,children:_.createElement(Ra,{ref:i,...d,...o,beforeEnter:C,beforeLeave:h})},theirProps:{},defaultTag:_.Fragment,features:Da,visible:s==="visible",name:"Transition"})))}function tx(e,t){let r=_.useContext(A0)!==null,n=wa()!==null;return _.createElement(_.Fragment,null,!r&&n?_.createElement(Y0,{ref:t,...e}):_.createElement(Ra,{ref:t,...e}))}let Y0=or(ex),Ra=or($l),rx=or(tx),I0=Object.assign(Y0,{Child:rx,Root:Y0});const nx=({children:e})=>F.jsxs(I0,{appear:!0,show:!0,as:_.Fragment,children:[F.jsx(I0.Child,{as:_.Fragment,enter:"ease-out ",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:F.jsx("div",{className:"pam-fixed pam-inset-0 pam-bg-black pam-bg-opacity-80 pam-backdrop-blur-lg"})}),F.jsx("div",{className:"pam-fixed pam-inset-0 pam-overflow-y-auto",children:F.jsx("div",{className:"pam-flex pam-min-h-full pam-items-center pam-justify-center pam-p-4 pam-text-center",children:F.jsx(I0.Child,{as:_.Fragment,enter:"ease-out ",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:e})})})]});_.memo(nx);const ax=15e3,ox=!0,Sa=_.createContext(void 0),ka=()=>{const e=_.useContext(Sa);if(!e)throw new Error("useConfig must be used within a ConfigProvider");return e},sx=({config:e,children:t})=>{const[r,n]=_.useState(!1);return _.useEffect(()=>{El(e);const a={...Go};bl(a),ne.showLogger(ox),setTimeout(()=>n(!0),3e3)},[e]),F.jsxs(Sa.Provider,{value:{...e,client:fa(),CONFIRM_INTERVAL:e.confirmationInterval||ax},children:[F.jsx("div",{className:"ta-mx-auto ta-flex ta-w-full ta-flex-col ta-gap-6 ta-bg-white ta-rounded-2xl ta-border ta-gap-4 sm:ta-w-[600px] ta-items-start ta-w-full",children:r?t:F.jsx(ba,{})}),F.jsx(Wo,{position:"top-right",gutter:8,containerClassName:"!pam-z-[999999]"})]})},ix="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKBElEQVR4nO1da6wkRRUuQcXHyp1z5q7EBERFiQkRjZuo8ZGL7tSZwcXgj70sii8SCBojSkzEiLq+UIyPBBLjg/ei8Y/4CvwiJBgXVxNMEI0CCUvch8veqep794LsgsuOOd19dbq6+jndM909/SXz596qnpo+Ved8dc6pU0K0aNGiRYsWDcXjS2e+aFUuvEn34SIl8UtK4s80wR5F+JAifExJdJTEZ/yP4/6N/yfxD9yW+3BffgY/a9a/p3YYLYnnD2lxiya4Wku4RxMc1YSjIj6K8D+a4AEl8TrVx95oIE6Z9e+tJEY7xUn8grSEXZrgyaIEkPyBJ7WE24e97lYeg5h3OD14Jc9WLWH/9ISA9o+E/Urit3hMYt6w0lt8nZZwsyJ8NpWqkbiiCe7VBNdrgst5RrNaWxucetb6YNNmVj2s6ta2LQC/0JWti2dzG27rC/xOTXAg5Xc9owluOkybXyuajrWtC69RhD9XEo8nzNZ1TfBL3YPL1ABPL+r7WVi6Bx9QhDd6Qo4VzHEmBaty4dWiaeAZrAi/rAmejnkBx9iGuPp8Wbxwo6/Th23u7Ga1JuH8pO9K2360LE4e9rvnKcLdCXbmaUV4TWMIgJJImuDRGOazV0v43PrSpkVb/3H7oiTuS/q+SdonCOYRJh6iruBZrgm+rwhPxKyKfUnsRk9RINyeVRq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AEi5NYj3508+APFhIXRV94ivbp0NBv7aDvhL+QDenXunKcz7Q1iDPxEYfGUCyLQoQYOzxx2hXv39W/Hq1Cvi4s+TzvCXvMFXpgR1u2jCJ2aOOsJtZa8rX6km3OvyGOo3BL/wlTmG9nt4EPMaQnvwFXkQG/M4inAbQrvwlRlFzPgYxrUKwcWk0035UWMYx32Oo5uFEAx8WX7IUU0V6azjiRQjf7YbQlDwQ/mHTNxlWGTID6x/QwgQvn1ZS1NNZsV8zGDkNz/A+i4cbLvh3udG5PdG46J0iWbl1ZCAQPpY+fSuwcgeTWWlGDkFFYDB6ICmunLjua0pRmvRr35yLpJLuptB5pC5TV6YjWzlW2RC/k7ovzt+O8Gig6H2BLvm0wFc+Q6SdzXlySSEABqh3QNNmnSmb19/TlgNAPyqbPTKHjXbkfyAnRwRrH/gziN4clv+LNiH9JKkQqGwJVUynzYs0mefmBhZNCy6YjDyt22LrsjX5PfkSFlONf0O1v4BQ9Y4LAgNIM8AAAAASUVORK5CYII=";var Ve=(e=>(e.PENDING="pending",e.PARTIAL="partial-payment",e.COMPLETE="completed",e.OVER="overpayment",e))(Ve||{}),Oa=(e=>(e.overpayment="over",e["partial-payment"]="partial",e.completed="complete",e.pending="pending",e.error="error",e.cancelled="cancelled",e))(Oa||{}),Ta=(e=>(e.partial="Please complete the remaining payment to finalize this transaction. If the full amount is not received within 24 hours, the transaction will be canceled. For a refund, please contact the Merchant.",e.over="You have overpaid. If the excess amount is significant, please contact your Merchant for a refund.",e.complete="",e.pending="",e.error="",e.cancelled="",e))(Ta||{});const xx={partial:ix,over:cx,complete:lx,pending:void 0,error:void 0,cancelled:void 0};var Pe=(e=>(e[e.FORM=1]="FORM",e[e.DETAILS=2]="DETAILS",e[e.INFO=3]="INFO",e))(Pe||{});class ux{constructor(){Me(this,"queue",[]);Me(this,"processing",!1);Me(this,"isCleared",!1);Me(this,"axios");this.axios=fa()}async processQueue(){if(!(this.processing||this.isCleared||this.queue.length===0)){for(this.processing=!0;this.queue.length>0;){const{config:t,resolve:r,reject:n,retries:a}=this.queue.shift();try{const o=await this.sendRequest(t,a);r(o)}catch(o){n(o)}}this.processing=!1}}async sendRequest(t,r=3){let n=0,a=1e3;for(;n<r;)try{return ne.info(`API Request: Attempt ${n+1}`),await this.axios(t)}catch(o){if(n++,ne.warn(`Request failed: ${o.message}. Retrying in ${a}ms...`),n>=r)throw new Error("Request failed after maximum retries.");await new Promise(l=>setTimeout(l,a)),a*=2}throw new Error("Request failed after retries.")}addToQueue(t,r={},n=3){return new Promise((a,o)=>{const l=`req-${Date.now()}`,i=new AbortController,x={...t,headers:{...t.headers,...r,"X-Request-ID":l},signal:i.signal};ne.info("adding-to-queue",{...r,id:l,url:t.url,retryCount:n}),this.queue.push({id:l,config:x,controller:i,resolve:a,reject:o,retries:n}),this.processQueue()})}cancelRequest(t){const r=this.queue.findIndex(n=>n.id===t);r!==-1?(ne.info(`Canceling request: ${t}`),this.queue[r],this.queue.splice(r,1)):ne.warn(`Request with ID ${t} not found in the queue.`)}clearQueue(){ne.info("Clearing all requests in the queue..."),this.queue.forEach(t=>this.cancelRequest(t.id)),this.queue=[],this.processing=!1,this.isCleared=!0}}const yt=new ux,dx=({nextScreen:e,setPageLoading:t})=>{let r;const{client:n,CONFIRM_INTERVAL:a,onEventResponse:o}=ka(),[l,i]=_.useState(void 0),[x,s]=_.useState(!1),[c,v]=_.useState(void 0),u=async({amount:C,chain:h,coin:b,fiatCurrency:g})=>{var E;s(!0),t(!0);const y=await(n==null?void 0:n.post(`${u0.PAYMENT_INITIATE}/${g.toLowerCase()}`,{amount:String(C),chain:h,currency:b.toLowerCase()}));if((E=y==null?void 0:y.data)!=null&&E.data){const B=y.data.data,R={id:B.txId,address:B.walletAddress,chain:B.chain,coin:b,coinAmount:Number(B.coinAmount),amount:Number(B.usdAmount),amountPaid:"0",status:"pending"};i(R),s(!1),t(!1),e(Pe.DETAILS),p(B.txId)}},m=C=>{var b,g;ne.debug("API Confirm-Response",{response:C});const h=C;if((b=h==null?void 0:h.data)!=null&&b.data){const y={status:h.data.data.status,amountPaid:h.data.data.amountReceived,balance:h.data.data.balanceRequired,coin:(g=h.data.data.chainId)==null?void 0:g.coin};i(E=>({...E,...y})),o&&o({status:h.data.data.status,message:"user cancelled transaction",data:l}),[Ve.OVER,Ve.COMPLETE].includes(h.data.data.status)&&r&&(yt.clearQueue(),clearInterval(r))}},f=async(C,h)=>{ne.debug("confirming...");const b=h?{"hide-notify":"true"}:void 0;try{const g=await yt.addToQueue({url:`${u0.PAYMENT_VALIDATE}/${C}`,method:"POST"},{...b},1);m(g)}catch(g){ne.error("no payment yet..",{error:g})}finally{s(!1),o&&o({status:"error",message:"no payment made yet",data:l})}},p=C=>{r=setInterval(()=>f(C,!0),a)},d=C=>{if(s(!0),C)return ne.debug("canceling-payment...."),yt.clearQueue(),o&&o({status:"error",message:"user cancelled transaction",data:{...l,status:"cancelled"}}),s(!1),v({title:"User Cancelled Payment",message:"You've cancelled the payment request. Please try again.",data:{...l,status:"cancelled"}}),yt.clearQueue(),e(Pe.INFO);if(l!=null&&l.id)return f(l.id,!1)};return _.useMemo(()=>({paymentDetails:l,isFetching:x,initiatePayment:u,paymentError:c,confirmPayment:()=>d(!1),cancelPayment:()=>d(!0)}),[l,x,u,d,c])},fx=()=>{const{amount:e,fiatCurrency:t,client:r}=ka(),[n,a]=_.useState(Pe.FORM),[o,l]=_.useState([]),[i,x]=_.useState([]),[s,c]=_.useState(null),[v,u]=_.useState(null),[m,f]=_.useState(!1),[p,d]=_.useState(!0),[C,h]=_.useState(!1),{paymentDetails:b,isFetching:g,initiatePayment:y,confirmPayment:E,cancelPayment:B,paymentError:R}=dx({nextScreen:a,setPageLoading:d}),N=async()=>{var H,I;const O=await(r==null?void 0:r.get(`${u0.CHAINS}`));if(O.data.status==="success"){const q=(I=(H=O.data)==null?void 0:H.data)==null?void 0:I.data;l(q.map(z=>({label:z.name,value:z.id,icon:z.icon}))),d(!1)}},A=async O=>{var I;h(!0),c(O);const H=await(r==null?void 0:r.get(`${u0.CHAINS}/${O.value}/currency`));if(H.data.status==="success"){const q=(I=H.data)==null?void 0:I.data;x(q.map(z=>({label:z.name,value:z.id,icon:z.icon}))),h(!1)}};_.useEffect(()=>{N()},[]);const w=async()=>!v||!s?null:(f(!0),await y({amount:e,fiatCurrency:t,chain:s==null?void 0:s.value,coin:v==null?void 0:v.value})),D=_.useMemo(()=>({...b,disabled:g,loading:g,cancelPayment:B,confirmPayment:E}),[b,g,E,E,a,d]);return _.useMemo(()=>({currentStage:n,amount:e,fiatCurrency:t,networks:o,coins:i,selectedCoin:v,selectedNetwork:s,setCoin:u,setNetwork:A,submitForm:w,formDisabled:!s||!v,formLoading:m,paymentData:D,pageLoading:p,coinFetching:C,paymentError:R}),[n,e,t,v,s,u,c,w,m,D,C,R])},px=({amount:e,fiatCurrency:t,networks:r,selectedNetwork:n,selectedCoin:a,coins:o,formDisabled:l,formLoading:i,selectCoin:x,selectNetwork:s,submitForm:c})=>F.jsxs(F.Fragment,{children:[F.jsx(E0,{title:"Checkout Details",description:"Complete your purchase by selecting your preferred chain",icon:nr}),F.jsxs("div",{className:"ta-border-t-1 ta-px-6 ta-my-4 ta-w-full",children:[F.jsxs("div",{className:"ta-flex ta-flex-row ta-bg-[#FAFAFA] ta-w-full ta-justify-between ta-p-4 ta-border-y-1 ta-border-[#EAECF0]",children:[F.jsx("h3",{className:"ta-text-base ta-font-bold",children:"Total"}),F.jsxs("p",{className:"ta-text-2xl ta-font-bold",children:[e," ",t.toUpperCase()," "]})]}),F.jsxs("div",{className:"ta-flex ta-flex-col ta-p-4 ta-gap-4",children:[F.jsxs("div",{className:"ta-flex ta-flex-col ta-gap-2 ta-w-full",children:[F.jsx("label",{children:"Network / Chain"}),F.jsx(wn,{onChange:s,options:r,value:n,className:"sm:ta-w-full",disabled:i,triggerClassName:"ta-w-full focus:ta-outline-none",placeholder:"Select Network / Chain",loading:i})]}),F.jsxs("div",{className:"ta-flex ta-flex-col ta-gap-2 ta-w-full",children:[F.jsx("label",{children:"Select Currency"}),F.jsx(wn,{onChange:x,options:o,value:a,disabled:!n||i,loading:i,className:"sm:ta-w-full",triggerClassName:"ta-w-full focus:ta-outline-none",placeholder:"Select Currency"})]})]})]}),F.jsx("div",{className:"ta-flex ta-gap-2 ta-justify-center ta-items-center ta-bg-[#FAFAFA] ta-p-6 ta-w-full",children:F.jsx(ct,{className:"ta-block ta-p-2 ta-bg-black ta-text-white ta-rounded-lg ta-min-w-[280px]",type:"button",disabled:i||l,onClick:()=>i?null:c(),children:i?F.jsx(Ne,{size:16}):"Continue"})})]});var q0,Rn;function hx(){if(Rn)return q0;Rn=1;var e="Expected a function",t=NaN,r="[object Symbol]",n=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,l=/^0o[0-7]+$/i,i=parseInt,x=typeof Oe=="object"&&Oe&&Oe.Object===Object&&Oe,s=typeof self=="object"&&self&&self.Object===Object&&self,c=x||s||Function("return this")(),v=Object.prototype,u=v.toString,m=Math.max,f=Math.min,p=function(){return c.Date.now()};function d(y,E,B){var R,N,A,w,D,O,H=0,I=!1,q=!1,z=!0;if(typeof y!="function")throw new TypeError(e);E=g(E)||0,C(B)&&(I=!!B.leading,q="maxWait"in B,A=q?m(g(B.maxWait)||0,E):A,z="trailing"in B?!!B.trailing:z);function W(X){var L=R,xe=N;return R=N=void 0,H=X,w=y.apply(xe,L),w}function V(X){return H=X,D=setTimeout(j,E),I?W(X):w}function G(X){var L=X-O,xe=X-H,ve=E-L;return q?f(ve,A-xe):ve}function k(X){var L=X-O,xe=X-H;return O===void 0||L>=E||L<0||q&&xe>=A}function j(){var X=p();if(k(X))return P(X);D=setTimeout(j,G(X))}function P(X){return D=void 0,z&&R?W(X):(R=N=void 0,w)}function T(){D!==void 0&&clearTimeout(D),H=0,R=O=N=D=void 0}function Q(){return D===void 0?w:P(p())}function Y(){var X=p(),L=k(X);if(R=arguments,N=this,O=X,L){if(D===void 0)return V(O);if(q)return D=setTimeout(j,E),W(O)}return D===void 0&&(D=setTimeout(j,E)),w}return Y.cancel=T,Y.flush=Q,Y}function C(y){var E=typeof y;return!!y&&(E=="object"||E=="function")}function h(y){return!!y&&typeof y=="object"}function b(y){return typeof y=="symbol"||h(y)&&u.call(y)==r}function g(y){if(typeof y=="number")return y;if(b(y))return t;if(C(y)){var E=typeof y.valueOf=="function"?y.valueOf():y;y=C(E)?E+"":E}if(typeof y!="string")return y===0?y:+y;y=y.replace(n,"");var B=o.test(y);return B||l.test(y)?i(y.slice(2),B?2:8):a.test(y)?t:+y}return q0=d,q0}hx();function ja(){const[e,t]=_.useState(null),r=_.useCallback(async n=>{if(!(navigator!=null&&navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(n),t(n),!0}catch(a){return console.warn("Copy failed",a),t(null),!1}},[]);return[e,r]}const vx=({address:e,amount:t,amountPaid:r,coin:n,loading:a,cancelPayment:o,confirmPayment:l})=>{const[i,x]=ja();return F.jsxs(F.Fragment,{children:[F.jsx(E0,{title:"Payment Details",description:"Copy and paste payout wallet to complete your purchase."}),F.jsxs("div",{className:"ta-flex ta-flex-col ta-border-t-1 ta-px-6 ta-my-4 ta-gep-2 ta-w-full",children:[F.jsxs("div",{className:"ta-flex ta-flex-col ta-p-4 ta-justify-center ta-items-center",children:[F.jsx("p",{children:"YOU'RE PAYING"}),F.jsxs("div",{className:"ta-flex ta-flex-row ta-gap-2",children:[F.jsx("span",{className:"ta-text-[48px] leading-[48px] ta-font-bold",children:t}),F.jsx("span",{className:"ta-text-xl ta-mt-auto ta-mb-4 ta-text-secondary ta-font-bold",children:n==null?void 0:n.toUpperCase()})]})]}),F.jsxs("div",{className:"ta-flex ta-flex-row ta-bg-[#FAFAFA] ta-w-max-full ta-justify-between ta-p-4 ta-border ta-border-[#E6E6E6] ta-border-dashed ta-rounded-2xl ta-text-wrap ta-gap-4",children:[F.jsx("div",{className:"ta-flex ta-flex-row ta-w-1/4",children:F.jsx(ma,{size:140})}),F.jsxs("div",{className:"ta-flex ta-flex-col ta-text-pretty ta-w-2/4 ta-my-auto",children:[F.jsx("h3",{className:"ta-text-base ta-text-secondary",children:"USDC Deposit Address"}),F.jsx("p",{className:"ta-text-[13px] ta-underline ta-underline-offset-4 ta-break-all",children:e})]}),F.jsx("div",{className:"ta-flex ta-flex-row ta-w-1/4 ta-my-auto ta-justify-end",children:F.jsx(ct,{className:"!ta-px-3 !ta-py-1 ta-flex-row !ta-bg-white !ta-border-[#D0D5DD] ta-rounded-2xl",variant:"outline",onClick:()=>x(e),children:F.jsxs("span",{className:"ta-flex ta-flex-row ta-text-[14px] ta-text-[#344054] ta-font-medium ta-gap-1 ta-justify-center ta-items-center",children:[F.jsx(va,{size:18}),F.jsx("span",{children:"Copy"})]})})})]}),F.jsx("div",{className:"ta-text-[14px] ta-text-secondary ta-my-4",children:F.jsx("p",{children:"Send only USDC to this deposit address - supports only USDC tokens on movement network. If you send wrong tokens, they'll be lost."})})]}),F.jsx(ar,{children:a?F.jsxs("div",{className:"ta-flex ta-flex-row ta-w-full ta-items-center ta-gap-4",children:[F.jsxs("span",{children:[F.jsx(Ne,{size:16})," "]}),F.jsx("span",{className:"ta-text-sm ta-text-secondary",children:"Confirming Payment...."})]}):F.jsxs(F.Fragment,{children:[F.jsx(ct,{className:"ta-block ta-p-2 ta-bg-transparent !ta-border !ta-border-secondary !ta-text-black/40 ta-rounded-lg ta-min-w-[60px]",type:"button",disabled:a,onClick:()=>a?null:o(),children:a?F.jsx(Ne,{size:16}):"Cancel"}),F.jsx(ct,{className:"ta-block ta-p-2 ta-bg-black ta-text-white ta-rounded-lg ta-min-w-[60px]",type:"button",disabled:a,onClick:()=>a?null:l(),children:a?F.jsx(Ne,{size:16}):"I've paid this amount"})]})})]})},mx=({address:e,amount:t,amountPaid:r,coin:n,status:a="pending",balance:o})=>{const[l,i]=ja(),x=Oa[a],s=xx[x],c=a==Ve.COMPLETE,v=a==Ve.PARTIAL,u=Ta[x];return F.jsxs(F.Fragment,{children:[F.jsx(E0,{title:`${gl(x)} Payment received`,description:"The customer made a partial or part payment of the requested amount.",icon:s}),F.jsxs("div",{className:"ta-flex ta-flex-col ta-border-t-1 ta-px-6 ta-gap-2",children:[F.jsxs("div",{className:"ta-flex ta-flex-row ta-bg-[#FAFAFA] ta-w-max-full ta-justify-between ta-p-4 ta-border ta-border-[#E6E6E6] ta-border-dashed ta-rounded-2xl ta-text-wrap ta-gap-4",children:[F.jsx("div",{className:"ta-flex ta-flex-row ta-w-1/4",children:F.jsx(ma,{size:140})}),F.jsxs("div",{className:"ta-flex ta-flex-col ta-text-pretty ta-w-2/4 ta-my-auto",children:[F.jsxs("h3",{className:"ta-text-base ta-text-secondary",children:[n.toUpperCase()," Deposit Address"]}),F.jsx("p",{className:"ta-text-[13px] ta-underline ta-underline-offset-4 ta-break-all",children:e})]}),F.jsx("div",{className:"ta-flex ta-flex-row ta-w-1/4 ta-my-auto ta-justify-end",children:F.jsx(ct,{className:"!ta-px-3 !ta-py-1 ta-flex-row !ta-bg-white !ta-border-[#D0D5DD] ta-rounded-2xl",variant:"outline",onClick:()=>i(e),children:F.jsxs("span",{className:"ta-flex ta-flex-row ta-text-[14px] ta-text-[#344054] ta-font-medium ta-gap-1 ta-justify-center ta-items-center",children:[F.jsx(va,{size:18}),F.jsx("span",{children:"Copy"})]})})})]}),c?F.jsxs("div",{className:"ta-flex ta-flex-col ta-p-4 ta-justify-center ta-items-center",children:[F.jsx("p",{children:"YOU PAID"}),F.jsxs("div",{className:"ta-flex ta-flex-row ta-gap-2",children:[F.jsx("span",{className:"ta-text-[38px] leading-[48px] ta-font-bold",children:r||t}),F.jsx("span",{className:"ta-text-xl ta-mt-auto ta-mb-4 ta-text-secondary ta-font-bold",children:n.toUpperCase()})]})]}):F.jsxs("div",{className:"ta-flex ta-flex-row ta-p-4 ta-justify-between ta-items-center ta-w-full",children:[F.jsxs("div",{className:"ta-flex ta-flex-col ta-p-4 ta-justify-center ta-items-center ta-w-1/2",children:[F.jsx("p",{className:"ta-text-[12px] ta-text-secondary",children:"YOU PAID"}),F.jsxs("div",{className:"ta-flex ta-flex-row ta-gap-2",children:[F.jsx("span",{className:"ta-text-[38px] leading-[48px] ta-font-bold",children:r}),F.jsx("span",{className:"ta-text-xl ta-mt-auto ta-mb-4 ta-text-secondary ta-font-bold",children:n.toUpperCase()})]})]}),F.jsxs("div",{className:"ta-flex ta-flex-col ta-p-4 ta-justify-center ta-items-center ta-w-1/2",children:[F.jsx("p",{className:"ta-text-[12px] ta-text-secondary",children:x=="over"?"EXCESS":"REMAINING"}),F.jsxs("div",{className:"ta-flex ta-flex-row ta-gap-2",children:[F.jsx("span",{className:"ta-text-[38px] leading-[48px] ta-font-bold",children:o}),F.jsx("span",{className:"ta-text-xl ta-mt-auto ta-mb-4 ta-text-secondary ta-font-bold",children:n.toUpperCase()})]})]})]}),F.jsx("div",{className:"ta-text-[14px] ta-text-secondary ta-my-4",children:F.jsx("p",{className:"ta-text-sm ta-text-secondary",children:u})})]}),F.jsx(ar,{children:v?F.jsxs("div",{className:"ta-flex ta-flex-row ta-w-full ta-items-center ta-gap-4",children:[F.jsxs("span",{children:[F.jsx(Ne,{size:16})," "]}),F.jsx("span",{className:"ta-text-sm ta-text-secondary",children:"Transaction is pending ..."})]}):F.jsx("span",{className:"ta-text-sm ta-text-secondary",children:"You will be redirected shortly"})})]})},bx=({address:e,amount:t,amountPaid:r,coin:n,loading:a,status:o,balance:l,cancelPayment:i,confirmPayment:x})=>o==Ve.PENDING?F.jsx(vx,{address:String(e),amount:Number(t),amountPaid:Number(r),coin:String(n),loading:a,status:o,balance:l,cancelPayment:i,confirmPayment:x}):F.jsx(mx,{address:String(e),amount:Number(t),amountPaid:Number(r),coin:String(n),loading:a,status:o,balance:l}),gx=({title:e="An Error Occured",message:t="An error occurred while processing your payment. Please try again."})=>F.jsxs(F.Fragment,{children:[F.jsx(E0,{title:e,description:t,icon:nr}),F.jsxs("div",{className:"ta-flex ta-flex-col ta-p-4 ta-gap-2 ta-justify-center ta-items-center ta-w-full ta-min-h-[250px] ta-text-2xl ta-text-secondary ta-text-center ta-w-[70%] ta-mx-auto",children:[F.jsx(Tl,{size:60,className:"ta-text-danger"}),F.jsx("p",{className:"",children:t})]}),F.jsx(ar,{children:F.jsxs("div",{className:"ta-flex ta-flex-row ta-items-center ta-gap-1 ta-w-full ta-text-sm ta-text-secondary",children:[F.jsx("span",{children:F.jsx(Ne,{size:16})}),F.jsx("span",{children:"You will be redirected shortly"})]})})]}),yx=()=>{const{currentStage:e,networks:t,coins:r,amount:n,fiatCurrency:a,selectedNetwork:o,selectedCoin:l,formDisabled:i,formLoading:x,setCoin:s,setNetwork:c,submitForm:v,paymentData:u,pageLoading:m,coinFetching:f,paymentError:p}=fx();return ne.info("stage-->",{currentStage:e,pageLoading:m,coinFetching:f}),F.jsx("div",{className:"ta-mx-auto ta-flex ta-w-full ta-flex-col ta-gap-6 ta-bg-white ta-rounded-2xl ta-border-2 ta-gap-4 ta-text-black ta-items-start",children:m?F.jsx(ba,{}):F.jsxs(F.Fragment,{children:[e===Pe.FORM&&F.jsx(px,{coins:r,networks:t,amount:n,fiatCurrency:a,selectCoin:s,selectNetwork:c,selectedCoin:l,selectedNetwork:o,submitForm:v,formDisabled:i,formLoading:x||f}),e===Pe.DETAILS&&u&&F.jsx(bx,{address:String(u.address),amount:Number(u==null?void 0:u.coinAmount),amountPaid:Number(u==null?void 0:u.amountPaid),coin:String(u==null?void 0:u.coin),loading:u.loading,cancelPayment:u.cancelPayment,confirmPayment:u.confirmPayment,balance:u.balance,status:u.status}),e===Pe.INFO&&F.jsx(gx,{title:p==null?void 0:p.title,message:p==null?void 0:p.message})]})})},Cx=({amount:e,accessId:t,accessSecret:r,env:n,fiatCurrency:a,onEventResponse:o})=>F.jsx(sx,{config:{accessId:t,accessSecret:r,amount:e,fiatCurrency:a,env:n,onEventResponse:o},children:F.jsx(yx,{})});exports.TenderAgentSdk=Cx;
266
+ //# sourceMappingURL=tender-cash-agent-sdk-react.cjs.js.map